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

vtkOpenGLVolumeTextureMapper3D Class Reference

#include <vtkOpenGLVolumeTextureMapper3D.h>

Inheritance diagram for vtkOpenGLVolumeTextureMapper3D:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLVolumeTextureMapper3D:

Collaboration graph
[legend]
List of all members.

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.

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 vtkOpenGLVolumeTextureMapper3DSafeDownCast (vtkObject *o)
static vtkOpenGLVolumeTextureMapper3DNew ()

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
vtkRenderWindowRenderWindow


Member Typedef Documentation

typedef vtkVolumeTextureMapper3D vtkOpenGLVolumeTextureMapper3D::Superclass
 

Reimplemented from vtkVolumeTextureMapper3D.

Definition at line 42 of file vtkOpenGLVolumeTextureMapper3D.h.


Constructor & Destructor Documentation

vtkOpenGLVolumeTextureMapper3D::vtkOpenGLVolumeTextureMapper3D  )  [protected]
 

vtkOpenGLVolumeTextureMapper3D::~vtkOpenGLVolumeTextureMapper3D  )  [protected]
 


Member Function Documentation

virtual const char* vtkOpenGLVolumeTextureMapper3D::GetClassName  )  [virtual]
 

Reimplemented from vtkVolumeTextureMapper3D.

static int vtkOpenGLVolumeTextureMapper3D::IsTypeOf const char *  type  )  [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 *  type  )  [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.

static vtkOpenGLVolumeTextureMapper3D* vtkOpenGLVolumeTextureMapper3D::SafeDownCast vtkObject o  )  [static]
 

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.

static vtkOpenGLVolumeTextureMapper3D* vtkOpenGLVolumeTextureMapper3D::New  )  [static]
 

The distance at which to space sampling planes. This may not be honored for interactive renders. An interactive render is defined as one that has less than 1 second of allocated render time.

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]
 

Check if we can support this texture size.

Reimplemented from vtkVolumeTextureMapper3D.

void vtkOpenGLVolumeTextureMapper3D::Setup3DTextureParameters vtkVolumeProperty property  )  [protected]
 

Common code for setting up interpolation / clamping on 3D textures


Member Data Documentation

int vtkOpenGLVolumeTextureMapper3D::Initialized [protected]
 

Definition at line 86 of file vtkOpenGLVolumeTextureMapper3D.h.

GLuint vtkOpenGLVolumeTextureMapper3D::Volume1Index [protected]
 

Definition at line 87 of file vtkOpenGLVolumeTextureMapper3D.h.

GLuint vtkOpenGLVolumeTextureMapper3D::Volume2Index [protected]
 

Definition at line 88 of file vtkOpenGLVolumeTextureMapper3D.h.

GLuint vtkOpenGLVolumeTextureMapper3D::Volume3Index [protected]
 

Definition at line 89 of file vtkOpenGLVolumeTextureMapper3D.h.

GLuint vtkOpenGLVolumeTextureMapper3D::ColorLookupIndex [protected]
 

Definition at line 90 of file vtkOpenGLVolumeTextureMapper3D.h.

GLuint vtkOpenGLVolumeTextureMapper3D::AlphaLookupIndex [protected]
 

Definition at line 91 of file vtkOpenGLVolumeTextureMapper3D.h.

vtkRenderWindow* vtkOpenGLVolumeTextureMapper3D::RenderWindow [protected]
 

Definition at line 92 of file vtkOpenGLVolumeTextureMapper3D.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:04:31 2008 for VTK by  doxygen 1.4.3-20050530