#include <vtkVolumeProVP1000Mapper.h>
vtkVolumeProVP1000Mapper is the superclass for VolumePRO volume rendering mappers based on the VP1000 chip. Subclasses are for underlying graphics languages. Users should not create subclasses directly - a vtkVolumeProMapper will automatically create the object of the right type.
This class is not included in the Rendering CMakeLists by default. If you want to add this class to your vtk build, you need to have the vli header and library files, and you will need to perform the following steps:
1. Run cmake; if VLI_LIBRARY_FOR_VP1000 and VLI_INCLUDE_PATH_FOR_VP1000 are set by cmake, then VTK_USE_VOLUMEPRO_1000 will be set to ON. 2. If the VTK_USE_VOLUMEPRO_1000 is OFF, set it to ON in cmake. 3. If the libary file (VLI_LIBRARY_FOR_VP1000) is not found by cmake, set the path to that file, and rerun cmake. 4. If the header file (VLI_INCLUDE_PATH_FOR_VP1000) is not found by cmake, set the path to that file, and rerun cmake. 5. Rebuild VTK.
For more information on the VolumePRO hardware, please see:
http://www.terarecon.com/products/volumepro_prod.html
If you encounter any problems with this class, please inform Kitware, Inc. at kitware@kitware.com.
Definition at line 70 of file vtkVolumeProVP1000Mapper.h.
Public Types | |
typedef vtkVolumeProMapper | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetSuperSamplingFactor (double x, double y, double z) |
virtual void | SetMipmapLevel (int level) |
virtual void | Render (vtkRenderer *, vtkVolume *) |
virtual int | GetAvailableBoardMemory () |
virtual void | GetLockSizesForBoardMemory (unsigned int type, unsigned int *xSize, unsigned int *ySize, unsigned int *zSize) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkVolumeProVP1000Mapper * | SafeDownCast (vtkObject *o) |
static vtkVolumeProVP1000Mapper * | New () |
Protected Member Functions | |
vtkVolumeProVP1000Mapper () | |
~vtkVolumeProVP1000Mapper () | |
void | UpdateCamera (vtkRenderer *, vtkVolume *) |
void | UpdateLights (vtkRenderer *, vtkVolume *) |
void | UpdateProperties (vtkRenderer *, vtkVolume *) |
void | UpdateVolume (vtkRenderer *, vtkVolume *) |
void | UpdateCropping (vtkRenderer *, vtkVolume *) |
void | UpdateCursor (vtkRenderer *, vtkVolume *) |
void | UpdateCutPlane (vtkRenderer *, vtkVolume *) |
virtual void | RenderImageBuffer (vtkRenderer *vtkNotUsed(ren), vtkVolume *vol, int size[2], unsigned int *outData) |
virtual void | RenderBoundingBox (vtkRenderer *vtkNotUsed(ren), vtkVolume *vol) |
virtual void | GetDepthBufferValues (vtkRenderer *vtkNotUsed(ren), int vtkNotUsed(size)[2], unsigned int *outData) |
VLIStatus | CheckSubSampling (const VLIVolume *inVolume, const VLIContext *inContext, int &outImageWidth, int &outImageHeight) |
Protected Attributes | |
int | LoadedDataSize [3] |
VLIImageBuffer * | ImageBuffer |
VLIDepthBuffer * | DepthBuffer |
int | DrawBoundingBox |
Reimplemented from vtkVolumeProMapper.
Reimplemented in vtkOpenGLVolumeProVP1000Mapper.
Definition at line 73 of file vtkVolumeProVP1000Mapper.h.
vtkVolumeProVP1000Mapper::vtkVolumeProVP1000Mapper | ( | ) | [protected] |
vtkVolumeProVP1000Mapper::~vtkVolumeProVP1000Mapper | ( | ) | [protected] |
virtual const char* vtkVolumeProVP1000Mapper::GetClassName | ( | ) | [virtual] |
static int vtkVolumeProVP1000Mapper::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkVolumeProMapper.
Reimplemented in vtkOpenGLVolumeProVP1000Mapper.
virtual int vtkVolumeProVP1000Mapper::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkVolumeProMapper.
Reimplemented in vtkOpenGLVolumeProVP1000Mapper.
static vtkVolumeProVP1000Mapper* vtkVolumeProVP1000Mapper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
static vtkVolumeProVP1000Mapper* vtkVolumeProVP1000Mapper::New | ( | ) | [static] |
Automatically create the proper subclass
Reimplemented from vtkVolumeProMapper.
Reimplemented in vtkOpenGLVolumeProVP1000Mapper.
virtual void vtkVolumeProVP1000Mapper::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkVolumeProMapper.
Reimplemented in vtkOpenGLVolumeProVP1000Mapper.
virtual void vtkVolumeProVP1000Mapper::Render | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [virtual] |
Render the image using the hardware and place it in the frame buffer
Reimplemented from vtkVolumeProMapper.
virtual int vtkVolumeProVP1000Mapper::GetAvailableBoardMemory | ( | ) | [virtual] |
Render the image using the hardware and place it in the frame buffer
Reimplemented from vtkVolumeProMapper.
virtual void vtkVolumeProVP1000Mapper::GetLockSizesForBoardMemory | ( | unsigned int | type, | |
unsigned int * | xSize, | |||
unsigned int * | ySize, | |||
unsigned int * | zSize | |||
) | [virtual] |
Render the image using the hardware and place it in the frame buffer
virtual void vtkVolumeProVP1000Mapper::SetSuperSamplingFactor | ( | double | x, | |
double | y, | |||
double | z | |||
) | [virtual] |
Set the supersampling factors
Reimplemented from vtkVolumeProMapper.
virtual void vtkVolumeProVP1000Mapper::SetMipmapLevel | ( | int | ) | [virtual] |
Choose a mipmap level. If AutoAdjustMipmapLevels is off, then this specifies the mipmap level to use during interaction. If AutoAdjustMipmapLevels is on, then this specifies the initial mipmap level to use.
Reimplemented from vtkVolumeProMapper.
void vtkVolumeProVP1000Mapper::UpdateCamera | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
void vtkVolumeProVP1000Mapper::UpdateLights | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
void vtkVolumeProVP1000Mapper::UpdateProperties | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
void vtkVolumeProVP1000Mapper::UpdateVolume | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
void vtkVolumeProVP1000Mapper::UpdateCropping | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
void vtkVolumeProVP1000Mapper::UpdateCursor | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
void vtkVolumeProVP1000Mapper::UpdateCutPlane | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [protected] |
virtual void vtkVolumeProVP1000Mapper::RenderImageBuffer | ( | vtkRenderer * | vtkNotUsedren, | |
vtkVolume * | vol, | |||
int | size[2], | |||
unsigned int * | outData | |||
) | [inline, protected, virtual] |
Definition at line 120 of file vtkVolumeProVP1000Mapper.h.
virtual void vtkVolumeProVP1000Mapper::RenderBoundingBox | ( | vtkRenderer * | vtkNotUsedren, | |
vtkVolume * | vol | |||
) | [inline, protected, virtual] |
Definition at line 128 of file vtkVolumeProVP1000Mapper.h.
virtual void vtkVolumeProVP1000Mapper::GetDepthBufferValues | ( | vtkRenderer * | vtkNotUsedren, | |
int | vtkNotUsed(size)[2], | |||
unsigned int * | outData | |||
) | [inline, protected, virtual] |
Definition at line 134 of file vtkVolumeProVP1000Mapper.h.
VLIStatus vtkVolumeProVP1000Mapper::CheckSubSampling | ( | const VLIVolume * | inVolume, | |
const VLIContext * | inContext, | |||
int & | outImageWidth, | |||
int & | outImageHeight | |||
) | [protected] |
int vtkVolumeProVP1000Mapper::LoadedDataSize[3] [protected] |
Definition at line 150 of file vtkVolumeProVP1000Mapper.h.
VLIImageBuffer* vtkVolumeProVP1000Mapper::ImageBuffer [protected] |
Definition at line 152 of file vtkVolumeProVP1000Mapper.h.
VLIDepthBuffer* vtkVolumeProVP1000Mapper::DepthBuffer [protected] |
Definition at line 153 of file vtkVolumeProVP1000Mapper.h.
int vtkVolumeProVP1000Mapper::DrawBoundingBox [protected] |
Definition at line 161 of file vtkVolumeProVP1000Mapper.h.