LUVis::Viewer Class Reference

#include <Viewer.h>

Inheritance diagram for LUVis::Viewer:

LUVis::ViewerDevice List of all members.

Public Member Functions

 Viewer (PictureBox^object)
 ~Viewer (void)
void add (Renderer^Renderer)
void UpdateRenderer ()
void UpdateRenderer (TabPage^Tab)
void UpdateRenderer (TabPage^Tab, System::Object^arg0)
void UpdateInteractor ()
void UpdateInteractor (TabPage^activeTab)
void RemoveRenderer ()
Interactor getActiveInteractor (TabPage^activeTab)
Renderer getActiveRenderer (TabPage^activeTab)
void Resize (GLsizei mfWidth, GLsizei mfHeight)
void Render ()
 renders all Renderer
void RenderInteractor (TabPage^activeTab)
void OnMouse (MouseEventArgs^button, int mode)
 processes Mouseevents
void ClearView ()
 clears the View
void SetView (bool ViewPerspective)
void SetBackgroundColor (Color _Background)
void SetBackgroundColor ()
ArrayList GetRenderer ()
void SetRenderer (ArrayList^RendererList)

Private Member Functions

bool InitGL ()
void UpdateViewMatrix ()

Private Attributes

Matrix mmatInteractionZoom
 Zoom Matrix, handles all User interactions.
Matrix mmatInteractionPan
 Pan Matrix, handles all User interactions.
Matrix mmatInteractionRotate
 Rotation Matrix, handles all User interactions.
Matrix mmatViewingMatrix
 the complete Viewing Matrix
Vector mvecPrevPoint
 prev Point while moving the mouse
Vector mvecCurrPoint
 current Point while moving the mouse
ViewerInteraction meInteract
 current interaction status
float mfHeight
 mfHeight of the viewing window
float mfWidth
 mfWidth of the viewing window
ArrayList maRendererList
 Renderlist that contains links to all renderer and to there GUI objects.
bool mbViewPerspective
 bool to check if we render in Orthogonal or Perspective View
Color mclBackground
 default BackgroundColor

Constructor & Destructor Documentation

Viewer::Viewer ( PictureBox^  object  ) 

Constructor PictureBox that defines the Render Context

Viewer::~Viewer ( void   ) 


Member Function Documentation

void Viewer::add ( Renderer Renderer  ) 

adds a Raycasterrenderer to the viewer

Parameters:
Render pointer to the Renderer
Object pointer to the Object

void Viewer::ClearView (  ) 

clears the View

Interactor Viewer::getActiveInteractor ( TabPage^  activeTab  ) 

Renderer Viewer::getActiveRenderer ( TabPage^  activeTab  ) 

ArrayList Viewer::GetRenderer (  ) 

bool Viewer::InitGL (  )  [private]

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

processes Mouseevents

void Viewer::RemoveRenderer (  ) 

void Viewer::Render (  ) 

renders all Renderer

void Viewer::RenderInteractor ( TabPage^  activeTab  ) 

void Viewer::Resize ( GLsizei  mfWidth,
GLsizei  mfHeight 
)

Resize window

Parameters:
mfWidth Specifies the mfWidth of the window
mfHeight Specifies the mfHeight of the window

void Viewer::SetBackgroundColor (  ) 

void Viewer::SetBackgroundColor ( Color  _Background  ) 

void Viewer::SetRenderer ( ArrayList^  RendererList  ) 

void Viewer::SetView ( bool  ViewPerspective  ) 

void Viewer::UpdateInteractor ( TabPage^  activeTab  ) 

void Viewer::UpdateInteractor (  ) 

void Viewer::UpdateRenderer ( TabPage^  Tab,
System::Object^  arg0 
)

void Viewer::UpdateRenderer ( TabPage^  Tab  ) 

void Viewer::UpdateRenderer (  ) 

void Viewer::UpdateViewMatrix (  )  [private]


Member Data Documentation

ArrayList LUVis::Viewer::maRendererList [private]

Renderlist that contains links to all renderer and to there GUI objects.

bool LUVis::Viewer::mbViewPerspective [private]

bool to check if we render in Orthogonal or Perspective View

Color LUVis::Viewer::mclBackground [private]

default BackgroundColor

ViewerInteraction LUVis::Viewer::meInteract [private]

current interaction status

float LUVis::Viewer::mfHeight [private]

mfHeight of the viewing window

float LUVis::Viewer::mfWidth [private]

mfWidth of the viewing window

Matrix LUVis::Viewer::mmatInteractionPan [private]

Pan Matrix, handles all User interactions.

Matrix LUVis::Viewer::mmatInteractionRotate [private]

Rotation Matrix, handles all User interactions.

Matrix LUVis::Viewer::mmatInteractionZoom [private]

Zoom Matrix, handles all User interactions.

Matrix LUVis::Viewer::mmatViewingMatrix [private]

the complete Viewing Matrix

Vector LUVis::Viewer::mvecCurrPoint [private]

current Point while moving the mouse

Vector LUVis::Viewer::mvecPrevPoint [private]

prev Point while moving the mouse


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 16:23:55 2007 by  doxygen 1.4.7