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

vu1712_1< SIZE > Class Template Reference

Implements the standard FVR rendering method. More...

#include <StandardFVR.h>

Inheritance diagram for vu1712_1< SIZE >:

Inheritance graph
[legend]
Collaboration diagram for vu1712_1< SIZE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vu1712_1 ()
 ~vu1712_1 ()
virtual bool read (void)
 Reads volume data from the data file set with setFileName().
virtual bool write (void)
 Writes volume data to the data file set with setFileName().
void setViewVectors (const vuVector &lookAt, const vuVector &up, const vuVector &right)
void render ()
void glResize (dword width, dword height)
void setIsReRendering (bool flag)
bool getIsReRendering ()

Detailed Description

template<int SIZE>
class vu1712_1< SIZE >

Implements the standard FVR rendering method.

Definition at line 10 of file StandardFVR.h.


Constructor & Destructor Documentation

template<int SIZE>
vu1712_1< SIZE >::vu1712_1  ) 
 

Definition at line 9 of file StandardFVR.cpp.

References vuCamera::getLookAtVector(), vuCamera::init(), and vuCamera::setPosition().

Here is the call graph for this function:

template<int SIZE>
vu1712_1< SIZE >::~vu1712_1  ) 
 

Definition at line 21 of file StandardFVR.cpp.

References CHECKNDELETE.


Member Function Documentation

template<int SIZE>
bool vu1712_1< SIZE >::getIsReRendering  ) 
 

Reimplemented from vuFourierVolume< SIZE >.

Definition at line 122 of file StandardFVR.cpp.

References vuFourierVolume< SIZE >::getIsReRendering().

Here is the call graph for this function:

template<int SIZE>
void vu1712_1< SIZE >::glResize dword  width,
dword  height
 

Reimplemented from vuFourierVolume< SIZE >.

Definition at line 105 of file StandardFVR.cpp.

References vuFourierVolume< SIZE >::glResize(), vuCamera::init(), vuCamera::setHeight(), and vuCamera::setWidth().

Here is the call graph for this function:

template<int SIZE>
bool vu1712_1< SIZE >::read void   )  [virtual]
 

Reads volume data from the data file set with setFileName().

This is the abstract method for reading in all types of volume data. It can only be called once a specific node of the volume tree has been instantiated, a node which corresponds to the type of data being read.

If the read is successful, the function returns true. If the file does not exist or is in an invalid format, the function returns false. In this case, the error information is set for the instance.

Once the read method is called, the volume instance is fully initialized and all the other methods may be called on it. This includes initializing OpenGL for the render method.

Returns:
True if successful, false otherwise.

Implements vu1.

Definition at line 27 of file StandardFVR.cpp.

References vuString::isEmpty(), MAX_FILTER_WIDTH, vu1712< SIZE >::readData(), vu1712< SIZE >::readHeader(), vu1::setError(), vuFourierVolume< SIZE >::setWrap(), and vuFourierVolume< SIZE >::wrapAndInitialize().

Here is the call graph for this function:

template<int SIZE>
void vu1712_1< SIZE >::render  ) 
 

Reimplemented from vuFourierVolume< SIZE >.

Definition at line 89 of file StandardFVR.cpp.

References vuFourierVolume< SIZE >::render(), and vuFourierVolume< SIZE >::setCamera().

Here is the call graph for this function:

template<int SIZE>
void vu1712_1< SIZE >::setIsReRendering bool  flag  ) 
 

Reimplemented from vuFourierVolume< SIZE >.

Definition at line 116 of file StandardFVR.cpp.

References vuFourierVolume< SIZE >::setIsReRendering().

Here is the call graph for this function:

template<int SIZE>
void vu1712_1< SIZE >::setViewVectors const vuVector lookAt,
const vuVector up,
const vuVector right
 

Reimplemented from vuFourierVolume< SIZE >.

Definition at line 96 of file StandardFVR.cpp.

References vuFourierVolume< SIZE >::setViewVectors().

Here is the call graph for this function:

template<int SIZE>
bool vu1712_1< SIZE >::write void   )  [virtual]
 

Writes volume data to the data file set with setFileName().

Returns:
True if successful, false otherwise.

Implements vu1.

Definition at line 66 of file StandardFVR.cpp.

References vuString::isEmpty(), vu1::setError(), vu1712< SIZE >::writeData(), and vu1712< SIZE >::writeHeader().

Here is the call graph for this function:


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