\section{TFirst\-Hit\-Form Class Reference}
\label{classTFirstHitForm}\index{TFirstHitForm@{TFirstHitForm}}
MDI-Child for the First-Hit-Raycaster. 


{\tt \#include $<$MDIFirst\-Hit.h$>$}

\subsection*{Private Methods}
\begin{CompactItemize}
\item 
\index{PaintGL@{PaintGL}!TFirstHitForm@{TFirstHitForm}}\index{TFirstHitForm@{TFirstHitForm}!PaintGL@{PaintGL}}
void \_\-\_\-fastcall {\bf Paint\-GL} ()\label{classTFirstHitForm_TFirstHitFormc0}

\begin{CompactList}\small\item\em Paint\-GL is redrawing the precalculated view in the Open\-GL-Window - if the window size changes, Prepare\-GLWindow has to be called first to calculate the new aspect ratio.\item\end{CompactList}\item 
void \_\-\_\-fastcall {\bf Prepare\-GLWindow} ()
\begin{CompactList}\small\item\em Aspect ratio and Position of the GLWindow within the client area of the window are recalculated in Prepare\-GLWindow, this is necessary whenever the window was resized.\item\end{CompactList}\item 
void \_\-\_\-fastcall {\bf Ray\-Cast} ()
\begin{CompactList}\small\item\em Ray\-Cast has to be called after one or more of the raycaster parameters have been changed.\item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
MDI-Child for the First-Hit-Raycaster.

The First-Hit Raycaster terminates the Ray when a data value reaches a certain threshold, its primary use is the visualization of the iso-surface of this  threshold. Since are no calculations besides the shading of the final surface and the gradient values can be precalculated, the first-hit-raycaster is one  of the fastest visualization methods.  Trilinear Fiiltering can be adjusted both for the Threshold Calculation (Hit)  and the Gradient Calculation (Grad.). The adjustable detail level is the step length of the raycaster, with which  the volume is scanned. With adaptive detail enabled, the step length is  automatically reduced when the data value is near the Threshold. 



Definition at line 40 of file MDIFirst\-Hit.h.

\subsection{Member Function Documentation}
\index{TFirstHitForm@{TFirst\-Hit\-Form}!PrepareGLWindow@{PrepareGLWindow}}
\index{PrepareGLWindow@{PrepareGLWindow}!TFirstHitForm@{TFirst\-Hit\-Form}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void \_\-\_\-fastcall TFirst\-Hit\-Form::Prepare\-GLWindow ()\hspace{0.3cm}{\tt  [private]}}\label{classTFirstHitForm_TFirstHitFormc1}


Aspect ratio and Position of the GLWindow within the client area of the window are recalculated in Prepare\-GLWindow, this is necessary whenever the window was resized.

An additional call to Paint\-GL is neccessary to redraw the changes. 

Definition at line 139 of file MDIFirst\-Hit.cpp.

Referenced by Paint\-GL().\index{TFirstHitForm@{TFirst\-Hit\-Form}!RayCast@{RayCast}}
\index{RayCast@{RayCast}!TFirstHitForm@{TFirst\-Hit\-Form}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void \_\-\_\-fastcall TFirst\-Hit\-Form::Ray\-Cast ()\hspace{0.3cm}{\tt  [private]}}\label{classTFirstHitForm_TFirstHitFormc2}


Ray\-Cast has to be called after one or more of the raycaster parameters have been changed.

The raycaster will reset all values and recalculate the whole viewing  array again. An additional call to Paint\-GL is neccessary to redraw the changes. 

Definition at line 171 of file MDIFirst\-Hit.cpp.

References rgb::b, rgb::g, rgb::r, vertex::x, vertex::y, and vertex::z.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
MDIFirst\-Hit.h\item 
MDIFirst\-Hit3.h\item 
MDIFirst\-Hit.cpp\item 
MDIFirst\-Hit3.cpp\end{CompactItemize}
