Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuSphericViewWin Class Reference

#include <vuSphericViewWin.h>

Inheritance diagram for vuSphericViewWin:

Inheritance graph
[legend]
Collaboration diagram for vuSphericViewWin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuSphericViewWin (vuBasicUtility *parent, int size_x, int size_y)
 constructor
 ~vuSphericViewWin ()
 destructor
void setVolume (vu1611_ST *vol)
 attaches a vuCamera that should be controled by the vuSphericViewWin
void render ()
 implementation of the virtual render function
bool glInit ()
 our own init function
void glOnMouse (wxMouseEvent &ev)
 mouse handler that performs the arc ball transformation

Protected Member Functions

void drawRepresentation (float sx, float sy, float sz)

Protected Attributes

vuBasicUtilitym_Parent
 pointer to the window that owns this Preview (not used)
vu1611_STm_Volume
 reference to the camere that should be controled by the previewer

Detailed Description

Creates a little subwindow showing the view directions of a spherical lightfield

Definition at line 12 of file vuSphericViewWin.h.


Constructor & Destructor Documentation

vuSphericViewWin::vuSphericViewWin vuBasicUtility parent,
int  size_x,
int  size_y
 

constructor

Parameters:
parent parent window
sixe_xy the desired size of preview window

Definition at line 14 of file vuSphericViewWin.cpp.

vuSphericViewWin::~vuSphericViewWin  ) 
 

destructor

Definition at line 20 of file vuSphericViewWin.cpp.


Member Function Documentation

void vuSphericViewWin::drawRepresentation float  sx,
float  sy,
float  sz
[protected]
 

bool vuSphericViewWin::glInit  )  [virtual]
 

our own init function

Reimplemented from vuGLCanvas.

Definition at line 39 of file vuSphericViewWin.cpp.

void vuSphericViewWin::glOnMouse wxMouseEvent &  ev  ) 
 

mouse handler that performs the arc ball transformation

Definition at line 48 of file vuSphericViewWin.cpp.

void vuSphericViewWin::render  )  [virtual]
 

implementation of the virtual render function

Reimplemented from vuGLCanvas.

Definition at line 29 of file vuSphericViewWin.cpp.

References GL_COLOR_BUFFER_BIT, glClear(), m_Volume, and vu1::preview().

Here is the call graph for this function:

void vuSphericViewWin::setVolume vu1611_ST vol  ) 
 

attaches a vuCamera that should be controled by the vuSphericViewWin

Parameters:
cam pointer to the camera that should be manipulated

Definition at line 24 of file vuSphericViewWin.cpp.

References m_Volume.

Referenced by vuSphericIBR< SIZE, TYPE >::init().


Member Data Documentation

vuBasicUtility* vuSphericViewWin::m_Parent [protected]
 

pointer to the window that owns this Preview (not used)

Definition at line 38 of file vuSphericViewWin.h.

vu1611_ST* vuSphericViewWin::m_Volume [protected]
 

reference to the camere that should be controled by the previewer

Definition at line 41 of file vuSphericViewWin.h.

Referenced by render(), and setVolume().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:22:05 2004 for vuVolume by  doxygen 1.3.9.1