Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.AnimationWin Class Reference

#include <AnimationWin.h>

List of all members.


Detailed Description

GUI class for creating the Animation dialog window and handling the animation calculation..

This class is part of the main application namespace IDVR and contains the definition of the Animation dialog window.

Furthermore, the entire calculation of the user-defined animation calculation is implemented here. This animation calculation consists of the rendering of all needed frames of the resulting video sequence. Note that the video sequence starts at the current position of the image plane and rotate around center of the volume data set by an arbitrary coordinate axis. All rendering setting which includes the choice of the render model will be adopted from the main GUI window (see class Neu).

This dialog provides several video settting possibilities like:



The API documentation for this class shows only the most important member variables and function. Event handling functions and GUI components (e.g. labels, textboxes,...) will not be included but all essential parts of the class are surely documented.

See also:
Neu - the main GUI window class of this application.
Author:
Bernhard Pflugfelder
Version:
1.0
Date:
02-21-2005


Public Member Functions

 AnimationWin (RenderMachineSW *n_RayCaster, String *n_VolumeDataDescription, int n_CanvasWidth, int n_CanvasHeight, Light *n_Light)
 This is the unique constructor of this class.

Protected Member Functions

void Dispose (Boolean disposing)
 Destroys all GUI components before this current instance will be actually discarded.

Private Member Functions

void InitializeComponent (void)
 The main function to create the all needed GUI components.
void actualizeStatusBarDisplay (void)
 Displays the new calculated user-defined video dettings to the status bar.
void actualizeRenderModels (void)
 Actualizes all included render models with the new calculated view and light directions.
void renderAnimation (void)
 Starts the rendering process for all needed frames of the video sequence.

Private Attributes

int m_CanvasWidth
 Saves the current canvas width.
int m_CanvasHeight
 Saves the current canvas height.
int m_LengthInSeconds
 Saves the user-defined video length in seconds.
int m_FrameCount
 Saves the user-defined overall frame count of the video sequence.
RenderMachineSWm_RayCaster
 Saves the assigned raycaster.
Lightm_Light
 Saves the assigned light model.


Constructor & Destructor Documentation

IDVR.AnimationWin.AnimationWin RenderMachineSW n_RayCaster,
String *  n_VolumeDataDescription,
int  n_CanvasWidth,
int  n_CanvasHeight,
Light n_Light
 

This is the unique constructor of this class.

It implements the standard initialization of the GUI window and actually start a thread to create and control a specific dialog window.

Parameters:
n_RayCaster the current instance of the class RenderMachineSW which contains the actual raycaster.
n_VolumeDataDescription the description of the current loaded volume data set.
n_CanvasWidth the width of the current canvas.
n_CanvasHeight the height of the current canvas.
n_Light tje current choosen light model.


Member Function Documentation

void AnimationWin::actualizeRenderModels void   )  [private]
 

Actualizes all included render models with the new calculated view and light directions.

If two-level rendering is selected several local and the global render model must be updated. Otherwise only the global render model have to be updated.

void AnimationWin::actualizeStatusBarDisplay void   )  [private]
 

Displays the new calculated user-defined video dettings to the status bar.

This is just a help for the user to overlook the choosen video settings.

void IDVR.AnimationWin.Dispose Boolean  disposing  )  [protected]
 

Destroys all GUI components before this current instance will be actually discarded.

Parameters:
disposing is a flag variable which is true if the instance have to be discarded.

void IDVR.AnimationWin.InitializeComponent void   )  [private]
 

The main function to create the all needed GUI components.

Furthermore, the linking of those created GUI components (e.g. labels, textboxes,...) to the current container is implemented. After the correct linking all GUI items will be shown on the screen.

Note:
This function must not be changed in a code editor because otherwise the GUI builder could be working incorrectly.

void AnimationWin::renderAnimation void   )  [private]
 

Starts the rendering process for all needed frames of the video sequence.

This function is implemented as a thread to guarantee correct functionality of the other parts of this apllication.


Member Data Documentation

Light* IDVR.AnimationWin.m_Light [private]
 

Saves the assigned light model.

The instance includes all needed light model settings

RenderMachineSW* IDVR.AnimationWin.m_RayCaster [private]
 

Saves the assigned raycaster.

The instance includes all needed rendering settings and the render model.


The documentation for this class was generated from the following files:
Generated on Sat Apr 9 11:50:59 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1