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

vuBasicSubWindow Class Reference

#include <vuBasicSubWindow.h>

Inheritance diagram for vuBasicSubWindow:

Inheritance graph
[legend]
Collaboration diagram for vuBasicSubWindow:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuBasicSubWindow (vuBasicUtility *parent, int Xsize, int Ysize)
 constructor
 ~vuBasicSubWindow ()
 destructor
void setVolume (vuVolume *vol)
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 Attributes

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

Detailed Description

Basic class for a subwindow

Definition at line 9 of file vuBasicSubWindow.h.


Constructor & Destructor Documentation

vuBasicSubWindow::vuBasicSubWindow vuBasicUtility parent,
int  Xsize,
int  Ysize
 

constructor

Parameters:
parent parent window
Xsixe,Ysize the desired size of preview window

Definition at line 14 of file vuBasicSubWindow.cpp.

vuBasicSubWindow::~vuBasicSubWindow  ) 
 

destructor

Definition at line 20 of file vuBasicSubWindow.cpp.


Member Function Documentation

bool vuBasicSubWindow::glInit  )  [virtual]
 

our own init function

Reimplemented from vuGLCanvas.

Definition at line 50 of file vuBasicSubWindow.cpp.

References vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), vu1::glResize(), and m_Volume.

Here is the call graph for this function:

void vuBasicSubWindow::glOnMouse wxMouseEvent &  ev  ) 
 

mouse handler that performs the arc ball transformation

Definition at line 62 of file vuBasicSubWindow.cpp.

void vuBasicSubWindow::render  )  [virtual]
 

implementation of the virtual render function

Reimplemented from vuGLCanvas.

Definition at line 29 of file vuBasicSubWindow.cpp.

References byte, dword, vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), GL_LUMINANCE, GL_UNSIGNED_BYTE, glDrawPixels(), glPixelZoom(), vu1::IsReRendering(), m_Volume, vu1::render(), and vu1::setIsReRendering().

Here is the call graph for this function:

void vuBasicSubWindow::setVolume vuVolume vol  ) 
 

set the volume to display

Definition at line 24 of file vuBasicSubWindow.cpp.

References m_Volume, and vuVolume.


Member Data Documentation

vuBasicUtility* vuBasicSubWindow::m_Parent [protected]
 

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

Definition at line 34 of file vuBasicSubWindow.h.

vuVolume* vuBasicSubWindow::m_Volume [protected]
 

Definition at line 35 of file vuBasicSubWindow.h.

Referenced by glInit(), render(), and setVolume().


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