concrete implementation of 3D volume texture mapping
More...
#include <vtkOpenGLVolumeTextureMapper3D.h>
List of all members.
Public Types |
typedef vtkVolumeTextureMapper3D | Superclass |
Public Member Functions |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | IsRenderSupported (vtkVolumeProperty *) |
virtual void | Render (vtkRenderer *ren, vtkVolume *vol) |
virtual int | GetInitialized () |
void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Member Functions |
static int | IsTypeOf (const char *type) |
static
vtkOpenGLVolumeTextureMapper3D * | SafeDownCast (vtkObject *o) |
static
vtkOpenGLVolumeTextureMapper3D * | New () |
Protected Member Functions |
| vtkOpenGLVolumeTextureMapper3D () |
| ~vtkOpenGLVolumeTextureMapper3D () |
void | GetLightInformation (vtkRenderer *ren, vtkVolume *vol, GLfloat lightDirection[2][4], GLfloat lightDiffuseColor[2][4], GLfloat lightSpecularColor[2][4], GLfloat halfwayVector[2][4], GLfloat *ambient) |
void | Initialize () |
virtual void | RenderNV (vtkRenderer *ren, vtkVolume *vol) |
virtual void | RenderFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderOneIndependentNoShadeFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderOneIndependentShadeFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderTwoDependentNoShadeFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderTwoDependentShadeFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderFourDependentNoShadeFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderFourDependentShadeFP (vtkRenderer *ren, vtkVolume *vol) |
void | RenderOneIndependentNoShadeNV (vtkRenderer *ren, vtkVolume *vol) |
void | RenderOneIndependentShadeNV (vtkRenderer *ren, vtkVolume *vol) |
void | RenderTwoDependentNoShadeNV (vtkRenderer *ren, vtkVolume *vol) |
void | RenderTwoDependentShadeNV (vtkRenderer *ren, vtkVolume *vol) |
void | RenderFourDependentNoShadeNV (vtkRenderer *ren, vtkVolume *vol) |
void | RenderFourDependentShadeNV (vtkRenderer *ren, vtkVolume *vol) |
void | SetupOneIndependentTextures (vtkRenderer *ren, vtkVolume *vol) |
void | SetupTwoDependentTextures (vtkRenderer *ren, vtkVolume *vol) |
void | SetupFourDependentTextures (vtkRenderer *ren, vtkVolume *vol) |
void | SetupRegisterCombinersNoShadeNV (vtkRenderer *ren, vtkVolume *vol, int components) |
void | SetupRegisterCombinersShadeNV (vtkRenderer *ren, vtkVolume *vol, int components) |
void | DeleteTextureIndex (GLuint *index) |
void | CreateTextureIndex (GLuint *index) |
void | RenderPolygons (vtkRenderer *ren, vtkVolume *vol, int stages[4]) |
void | SetupProgramLocalsForShadingFP (vtkRenderer *ren, vtkVolume *vol) |
int | IsTextureSizeSupported (int size[3]) |
void | Setup3DTextureParameters (vtkVolumeProperty *property) |
Protected Attributes |
int | Initialized |
GLuint | Volume1Index |
GLuint | Volume2Index |
GLuint | Volume3Index |
GLuint | ColorLookupIndex |
GLuint | AlphaLookupIndex |
vtkRenderWindow * | RenderWindow |
Detailed Description
concrete implementation of 3D volume texture mapping
vtkOpenGLVolumeTextureMapper3D renders a volume using 3D texture mapping. See vtkVolumeTextureMapper3D for full description.
- See also:
- vtkVolumeTextureMapper3D vtkVolumeMapper
Definition at line 39 of file vtkOpenGLVolumeTextureMapper3D.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkOpenGLVolumeTextureMapper3D::vtkOpenGLVolumeTextureMapper3D |
( |
|
) |
[protected] |
vtkOpenGLVolumeTextureMapper3D::~vtkOpenGLVolumeTextureMapper3D |
( |
|
) |
[protected] |
Member Function Documentation
virtual const char* vtkOpenGLVolumeTextureMapper3D::GetClassName |
( |
|
) |
[virtual] |
static int vtkOpenGLVolumeTextureMapper3D::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 vtkVolumeTextureMapper3D.
virtual int vtkOpenGLVolumeTextureMapper3D::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 vtkVolumeTextureMapper3D.
void vtkOpenGLVolumeTextureMapper3D::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 vtkVolumeTextureMapper3D.
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkVolumeTextureMapper3D.
int vtkOpenGLVolumeTextureMapper3D::IsRenderSupported |
( |
vtkVolumeProperty * |
|
) |
[virtual] |
Is hardware rendering supported? No if the input data is more than one independent component, or if the hardware does not support the required extensions
Reimplemented from vtkVolumeTextureMapper3D.
virtual void vtkOpenGLVolumeTextureMapper3D::Render |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume
Reimplemented from vtkVolumeTextureMapper3D.
virtual int vtkOpenGLVolumeTextureMapper3D::GetInitialized |
( |
|
) |
[virtual] |
void vtkOpenGLVolumeTextureMapper3D::ReleaseGraphicsResources |
( |
vtkWindow * |
|
) |
[virtual] |
Release any graphics resources that are being consumed by this texture. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkVolumeMapper.
void vtkOpenGLVolumeTextureMapper3D::GetLightInformation |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol, |
|
|
GLfloat |
lightDirection[2][4], |
|
|
GLfloat |
lightDiffuseColor[2][4], |
|
|
GLfloat |
lightSpecularColor[2][4], |
|
|
GLfloat |
halfwayVector[2][4], |
|
|
GLfloat * |
ambient | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::Initialize |
( |
|
) |
[protected] |
virtual void vtkOpenGLVolumeTextureMapper3D::RenderNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected, virtual] |
virtual void vtkOpenGLVolumeTextureMapper3D::RenderFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected, virtual] |
void vtkOpenGLVolumeTextureMapper3D::RenderOneIndependentNoShadeFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderOneIndependentShadeFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderTwoDependentNoShadeFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderTwoDependentShadeFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderFourDependentNoShadeFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderFourDependentShadeFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderOneIndependentNoShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderOneIndependentShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderTwoDependentNoShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderTwoDependentShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderFourDependentNoShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderFourDependentShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::SetupOneIndependentTextures |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::SetupTwoDependentTextures |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::SetupFourDependentTextures |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::SetupRegisterCombinersNoShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol, |
|
|
int |
components | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::SetupRegisterCombinersShadeNV |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol, |
|
|
int |
components | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::DeleteTextureIndex |
( |
GLuint * |
index |
) |
[protected] |
void vtkOpenGLVolumeTextureMapper3D::CreateTextureIndex |
( |
GLuint * |
index |
) |
[protected] |
void vtkOpenGLVolumeTextureMapper3D::RenderPolygons |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol, |
|
|
int |
stages[4] | |
|
) |
| | [protected] |
void vtkOpenGLVolumeTextureMapper3D::SetupProgramLocalsForShadingFP |
( |
vtkRenderer * |
ren, |
|
|
vtkVolume * |
vol | |
|
) |
| | [protected] |
int vtkOpenGLVolumeTextureMapper3D::IsTextureSizeSupported |
( |
int |
size[3] |
) |
[protected, virtual] |
void vtkOpenGLVolumeTextureMapper3D::Setup3DTextureParameters |
( |
vtkVolumeProperty * |
property |
) |
[protected] |
Common code for setting up interpolation / clamping on 3D textures
Member Data Documentation
The documentation for this class was generated from the following file: