#include <AnimationWin.h>
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:
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. | |
RenderMachineSW * | m_RayCaster |
Saves the assigned raycaster. | |
Light * | m_Light |
Saves the assigned light model. |
|
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.
|
|
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. |
|
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. |
|
Destroys all GUI components before this current instance will be actually discarded.
|
|
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.
|
|
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. |
|
Saves the assigned light model. The instance includes all needed light model settings |
|
Saves the assigned raycaster. The instance includes all needed rendering settings and the render model. |