copied diagram
This commit is contained in:
parent
87e71fb35c
commit
ed9f7d0977
1 changed files with 62 additions and 0 deletions
62
handout/diagramm_occlusion.tex
Normal file
62
handout/diagramm_occlusion.tex
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
\begin{tikzpicture}
|
||||
|
||||
\def\raynum{60}
|
||||
|
||||
\foreach \x in {0,...,\raynum} {
|
||||
\ifthenelse{\x < 10 \OR \x>50}
|
||||
{
|
||||
\draw[color = kit-blue100] (\x /\raynum * 6 ,0) -- (3,4);
|
||||
}{
|
||||
\draw[color = kit-green100] (\x /\raynum * 6 ,0) -- (3,4);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
\fill[
|
||||
white
|
||||
] (1.49,1) -- (4.51,1) -- (5.01,0) -- (0.99,0) -- cycle;
|
||||
|
||||
|
||||
\draw [color=kit-blue100] (0,0) -- node[below]{wall} (6,0) ; % wall
|
||||
\draw [color=kit-green100](1.5,1) -- node[below]{blocker} (4.5,1); %blocker
|
||||
|
||||
%cam
|
||||
\node[
|
||||
circle,
|
||||
fill = kit-gray70,
|
||||
minimum width = 1mm,
|
||||
outer sep = 2mm
|
||||
] (camera) at (3,4) {};
|
||||
\node at (camera.north) {camera};
|
||||
|
||||
%magnifier
|
||||
\node[
|
||||
circle,
|
||||
draw
|
||||
] (mag) at (4.5, 1){};
|
||||
|
||||
|
||||
\fill[
|
||||
kit-green100
|
||||
] (7,2) -- (9,2) -- (9,1.7) -- (7,1.7) -- cycle;
|
||||
|
||||
\draw[kit-blue100] (10,1) coordinate (blue_ray_isec) -- (7,4) coordinate (orig);
|
||||
\draw[kit-green100] (8.7,2) coordinate (green_ray_isec) -- (7,4);
|
||||
|
||||
%line
|
||||
\draw (mag.north east) -- (7,2);
|
||||
|
||||
%magnifier box
|
||||
\draw (7,4) -- (10,4) -- (10,1) -- (7,1) -- cycle;
|
||||
|
||||
\pic [
|
||||
draw,
|
||||
->,
|
||||
"$d\omega$",
|
||||
angle radius=20mm,
|
||||
angle eccentricity=1.1,
|
||||
pic text options={shift={(3mm,3mm)}}
|
||||
]
|
||||
{angle = green_ray_isec--orig--blue_ray_isec};
|
||||
|
||||
\end{tikzpicture}
|
||||
Loading…
Add table
Add a link
Reference in a new issue