LUVis::Viewer Class Reference

#include <Viewer.h>

Inheritance diagram for LUVis::Viewer:

LUVis::ViewerDevice List of all members.

Public Member Functions

 Viewer (Environment^_env, PictureBox^object)
 ~Viewer (void)
void add (RayCaster^Render)
void add (Slicer^Render)
void Resize (GLsizei width, GLsizei height)
void Render ()
void OnMouse (MouseEventArgs^button, int mode)
void ClearView (ViewerView _enView)
ViewerView GetView ()
void setDrawCoordCross (bool _DrawCoordCross)
void setDrawDebugCube (bool _DrawDebugCube)
void setEnableShaders (bool _EnableShaders)
void setDrawDebugBBox (bool _DrawDebugBBox)

Private Member Functions

bool InitGL ()
void UpdateViewMatrix ()

Private Attributes

Matrix matInteractionZoom
 Zoom Matrix, handles all User interactions.
Matrix matInteractionPan
 Pan Matrix, handles all User interactions.
Matrix matInteractionRotate
 Rotation Matrix, handles all User interactions.
Matrix matViewingMatrix
 the complete Viewing Matrix
Vector vecPrevPoint
 prev Point while moving the mouse
Vector vecCurrPoint
 current Point while moving the mouse
ViewerInteraction enInteract
ViewerView enView
float Height
 height of the viewing window
float Width
 Width of the viewing window.
bool DrawCoordCross
bool DrawDebugCube
bool EnableShaders
bool DrawDebugBBox
RayCaster RendererRayCaster
 pointer to the Raycaster Shader
Slicer RendererSlicer
 pointer to the Slicer Shader
ArrayList RendererList
 Renderlist that contains links to all renderer.
LUVis::Environment env
 Pointer to the environment.

Constructor & Destructor Documentation

Viewer::Viewer ( Environment _env,
PictureBox^  object 
)

Viewer::~Viewer ( void   ) 


Member Function Documentation

void Viewer::add ( Slicer Render  ) 

adds a Slicerrenderer to the viewer

Parameters:
Render pointer to the Slicer

void Viewer::add ( RayCaster Render  ) 

adds a Raycasterrenderer to the viewer

Parameters:
Render pointer to the Raycaster

void Viewer::ClearView ( ViewerView  _enView  ) 

Viewer::ViewerView Viewer::GetView (  ) 

bool Viewer::InitGL (  )  [private]

void LUVis::Viewer::OnMouse ( MouseEventArgs^  button,
int  mode 
)

void Viewer::Render (  ) 

void Viewer::Resize ( GLsizei  width,
GLsizei  height 
)

Resize window

Parameters:
width Specifies the width of the window
height Specifies the height of the window

void Viewer::setDrawCoordCross ( bool  _DrawCoordCross  ) 

void Viewer::setDrawDebugBBox ( bool  _DrawDebugBBox  ) 

void Viewer::setDrawDebugCube ( bool  _DrawDebugCube  ) 

void Viewer::setEnableShaders ( bool  _EnableShaders  ) 

void Viewer::UpdateViewMatrix (  )  [private]


Member Data Documentation

bool LUVis::Viewer::DrawCoordCross [private]

bool LUVis::Viewer::DrawDebugBBox [private]

bool LUVis::Viewer::DrawDebugCube [private]

bool LUVis::Viewer::EnableShaders [private]

ViewerInteraction LUVis::Viewer::enInteract [private]

LUVis::Environment LUVis::Viewer::env [private]

Pointer to the environment.

ViewerView LUVis::Viewer::enView [private]

float LUVis::Viewer::Height [private]

height of the viewing window

Matrix LUVis::Viewer::matInteractionPan [private]

Pan Matrix, handles all User interactions.

Matrix LUVis::Viewer::matInteractionRotate [private]

Rotation Matrix, handles all User interactions.

Matrix LUVis::Viewer::matInteractionZoom [private]

Zoom Matrix, handles all User interactions.

Matrix LUVis::Viewer::matViewingMatrix [private]

the complete Viewing Matrix

ArrayList LUVis::Viewer::RendererList [private]

Renderlist that contains links to all renderer.

RayCaster LUVis::Viewer::RendererRayCaster [private]

pointer to the Raycaster Shader

Slicer LUVis::Viewer::RendererSlicer [private]

pointer to the Slicer Shader

Vector LUVis::Viewer::vecCurrPoint [private]

current Point while moving the mouse

Vector LUVis::Viewer::vecPrevPoint [private]

prev Point while moving the mouse

float LUVis::Viewer::Width [private]

Width of the viewing window.


The documentation for this class was generated from the following files:
Generated on Wed Dec 6 16:25:59 2006 by  doxygen 1.4.7