\section{TTransparent\-Form Class Reference}
\label{classTTransparentForm}\index{TTransparentForm@{TTransparentForm}}
MDI-Child for the transparent raycaster. 


{\tt \#include $<$MDITransparent.h$>$}

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

\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 transparent raycaster.

The transparent raycaster is the highest quality vizualiation. It can be highly modified by using the transfer function editor to change the volume data ranges that will show up in the final image. Color and alpha garadients can be defined in the transfer function editor to visualize both transparent lower density  and opaque high density tissue.  Optimization of rendering time was achieved by front-to-back raycasting, where a ray can be terminated once a alpha value near 1 is reached. Furthermore,  voxels with an alpha value of 0.0 are not calculated. 



Definition at line 36 of file MDITransparent.h.

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


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 131 of file MDITransparent.cpp.

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


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 161 of file MDITransparent.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 
MDITransparent.h\item 
MDITransparent.cpp\end{CompactItemize}
