VTK
|
concrete implementation of 3D volume texture mapping More...
#include <vtkOpenGLVolumeTextureMapper3D.h>
concrete implementation of 3D volume texture mapping
vtkOpenGLVolumeTextureMapper3D renders a volume using 3D texture mapping. See vtkVolumeTextureMapper3D for full description.
Definition at line 36 of file vtkOpenGLVolumeTextureMapper3D.h.
Reimplemented from vtkVolumeTextureMapper3D.
Definition at line 40 of file vtkOpenGLVolumeTextureMapper3D.h.
vtkOpenGLVolumeTextureMapper3D::vtkOpenGLVolumeTextureMapper3D | ( | ) | [protected] |
vtkOpenGLVolumeTextureMapper3D::~vtkOpenGLVolumeTextureMapper3D | ( | ) | [protected] |
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkVolumeTextureMapper3D.
static vtkOpenGLVolumeTextureMapper3D* vtkOpenGLVolumeTextureMapper3D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkVolumeTextureMapper3D.
virtual vtkObjectBase* vtkOpenGLVolumeTextureMapper3D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkVolumeTextureMapper3D.
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] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkVolumeTextureMapper3D.
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
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 | ( | vtkRenderer * | r | ) | [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], |
int | components | ||
) | [protected] |
Check if we can support this texture size for the number of components.
void vtkOpenGLVolumeTextureMapper3D::Setup3DTextureParameters | ( | vtkVolumeProperty * | property | ) | [protected] |
Common code for setting up interpolation / clamping on 3D textures
int vtkOpenGLVolumeTextureMapper3D::Initialized [protected] |
Definition at line 87 of file vtkOpenGLVolumeTextureMapper3D.h.
GLuint vtkOpenGLVolumeTextureMapper3D::Volume1Index [protected] |
Definition at line 88 of file vtkOpenGLVolumeTextureMapper3D.h.
GLuint vtkOpenGLVolumeTextureMapper3D::Volume2Index [protected] |
Definition at line 89 of file vtkOpenGLVolumeTextureMapper3D.h.
GLuint vtkOpenGLVolumeTextureMapper3D::Volume3Index [protected] |
Definition at line 90 of file vtkOpenGLVolumeTextureMapper3D.h.
GLuint vtkOpenGLVolumeTextureMapper3D::ColorLookupIndex [protected] |
Definition at line 91 of file vtkOpenGLVolumeTextureMapper3D.h.
GLuint vtkOpenGLVolumeTextureMapper3D::AlphaLookupIndex [protected] |
Definition at line 92 of file vtkOpenGLVolumeTextureMapper3D.h.
Definition at line 93 of file vtkOpenGLVolumeTextureMapper3D.h.
bool vtkOpenGLVolumeTextureMapper3D::SupportsCompressedTexture [protected] |
Definition at line 95 of file vtkOpenGLVolumeTextureMapper3D.h.
bool vtkOpenGLVolumeTextureMapper3D::SupportsNonPowerOfTwoTextures [protected] |
Reimplemented from vtkVolumeTextureMapper3D.
Definition at line 96 of file vtkOpenGLVolumeTextureMapper3D.h.
int vtkOpenGLVolumeTextureMapper3D::InternalAlpha [protected] |
Definition at line 100 of file vtkOpenGLVolumeTextureMapper3D.h.
int vtkOpenGLVolumeTextureMapper3D::InternalLA [protected] |
Definition at line 101 of file vtkOpenGLVolumeTextureMapper3D.h.
int vtkOpenGLVolumeTextureMapper3D::InternalRGB [protected] |
Definition at line 102 of file vtkOpenGLVolumeTextureMapper3D.h.
int vtkOpenGLVolumeTextureMapper3D::InternalRGBA [protected] |
Definition at line 103 of file vtkOpenGLVolumeTextureMapper3D.h.