Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkVolumeTextureMapper Class Reference

Abstract class for a volume mapper. More...

#include <vtkVolumeTextureMapper.h>

Inheritance diagram for vtkVolumeTextureMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkVolumeTextureMapper:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent index)
virtual void Update ()
virtual void Render (vtkRenderer *ren, vtkVolume *vol)=0
void SetGradientEstimator (vtkEncodedGradientEstimator *gradest)
virtual vtkEncodedGradientEstimatorGetGradientEstimator ()
virtual vtkEncodedGradientShaderGetGradientShader ()
float * GetGradientOpacityArray ()
unsigned char * GetRGBAArray ()
float * GetRedDiffuseShadingTable ()
float * GetGreenDiffuseShadingTable ()
float * GetBlueDiffuseShadingTable ()
float * GetRedSpecularShadingTable ()
float * GetGreenSpecularShadingTable ()
float * GetBlueSpecularShadingTable ()
unsigned short * GetEncodedNormals ()
unsigned char * GetGradientMagnitudes ()
virtual int GetShade ()
virtual vtkRenderWindowGetRenderWindow ()
virtual float * GetDataOrigin ()
virtual void GetDataOrigin (float data[3])
virtual float * GetDataSpacing ()
virtual void GetDataSpacing (float data[3])
virtual float GetGradientMagnitudeScale ()
virtual float GetGradientMagnitudeBias ()

Static Public Methods

int IsTypeOf (const char *type)
vtkVolumeTextureMapper * SafeDownCast (vtkObject *o)

Protected Methods

 vtkVolumeTextureMapper ()
 ~vtkVolumeTextureMapper ()
void InitializeRender (vtkRenderer *ren, vtkVolume *vol)

Protected Attributes

vtkEncodedGradientEstimatorGradientEstimator
vtkEncodedGradientShaderGradientShader
int Shade
float * GradientOpacityArray
unsigned char * RGBAArray
int ArraySize
float * RedDiffuseShadingTable
float * GreenDiffuseShadingTable
float * BlueDiffuseShadingTable
float * RedSpecularShadingTable
float * GreenSpecularShadingTable
float * BlueSpecularShadingTable
float DataOrigin [3]
float DataSpacing [3]
unsigned short * EncodedNormals
unsigned char * GradientMagnitudes
float SampleDistance
vtkRenderWindowRenderWindow

Detailed Description

Abstract class for a volume mapper.

Date:
2001/10/11 13:38:32
Revision:
1.20

vtkVolumeTextureMapper is the abstract definition of a volume mapper that uses a texture mapping approach.

See also:
vtkVolumeMapper

Definition at line 65 of file vtkVolumeTextureMapper.h.


Constructor & Destructor Documentation

vtkVolumeTextureMapper::vtkVolumeTextureMapper   [protected]
 

vtkVolumeTextureMapper::~vtkVolumeTextureMapper   [protected]
 


Member Function Documentation

virtual const char* vtkVolumeTextureMapper::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, and vtkVolumeTextureMapper2D.

int vtkVolumeTextureMapper::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, and vtkVolumeTextureMapper2D.

virtual int vtkVolumeTextureMapper::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, and vtkVolumeTextureMapper2D.

vtkVolumeTextureMapper* vtkVolumeTextureMapper::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, and vtkVolumeTextureMapper2D.

void vtkVolumeTextureMapper::PrintSelf ostream &    os,
vtkIndent    index
[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 vtkVolumeMapper.

Reimplemented in vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, and vtkVolumeTextureMapper2D.

virtual void vtkVolumeTextureMapper::Update void    [virtual]
 

Update the volume rendering pipeline by updating the scalar input

Reimplemented from vtkVolumeMapper.

void vtkVolumeTextureMapper::SetGradientEstimator vtkEncodedGradientEstimator   gradest
 

Set / Get the gradient estimator used to estimate normals

virtual vtkEncodedGradientEstimator* vtkVolumeTextureMapper::GetGradientEstimator   [virtual]
 

Set / Get the gradient estimator used to estimate normals

virtual vtkEncodedGradientShader* vtkVolumeTextureMapper::GetGradientShader   [virtual]
 

Get the gradient shader.

float* vtkVolumeTextureMapper::GetGradientOpacityArray   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 89 of file vtkVolumeTextureMapper.h.

unsigned char* vtkVolumeTextureMapper::GetRGBAArray   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 90 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GetRedDiffuseShadingTable   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 91 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GetGreenDiffuseShadingTable   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 92 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GetBlueDiffuseShadingTable   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 93 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GetRedSpecularShadingTable   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 94 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GetGreenSpecularShadingTable   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 95 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GetBlueSpecularShadingTable   [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 96 of file vtkVolumeTextureMapper.h.

unsigned short* vtkVolumeTextureMapper::GetEncodedNormals void    [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 97 of file vtkVolumeTextureMapper.h.

unsigned char* vtkVolumeTextureMapper::GetGradientMagnitudes void    [inline]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

Definition at line 98 of file vtkVolumeTextureMapper.h.

virtual int vtkVolumeTextureMapper::GetShade   [virtual]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

virtual vtkRenderWindow* vtkVolumeTextureMapper::GetRenderWindow   [virtual]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

virtual float* vtkVolumeTextureMapper::GetDataOrigin   [virtual]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

virtual void vtkVolumeTextureMapper::GetDataOrigin float    data[3] [virtual]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

virtual float* vtkVolumeTextureMapper::GetDataSpacing   [virtual]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

virtual void vtkVolumeTextureMapper::GetDataSpacing float    data[3] [virtual]
 

Allow access to the arrays / variables from the templated functions in the subclasses.

virtual void vtkVolumeTextureMapper::Render vtkRenderer   ren,
vtkVolume   vol
[pure virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, and vtkVolumeTextureMapper2D.

virtual float vtkVolumeTextureMapper::GetGradientMagnitudeScale   [virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume

Reimplemented from vtkVolumeMapper.

virtual float vtkVolumeTextureMapper::GetGradientMagnitudeBias   [virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume

Reimplemented from vtkVolumeMapper.

void vtkVolumeTextureMapper::InitializeRender vtkRenderer   ren,
vtkVolume   vol
[protected]
 

Reimplemented in vtkVolumeTextureMapper2D.

Referenced by vtkVolumeTextureMapper2D::InitializeRender().


Member Data Documentation

vtkEncodedGradientEstimator* vtkVolumeTextureMapper::GradientEstimator [protected]
 

Definition at line 127 of file vtkVolumeTextureMapper.h.

vtkEncodedGradientShader* vtkVolumeTextureMapper::GradientShader [protected]
 

Definition at line 128 of file vtkVolumeTextureMapper.h.

int vtkVolumeTextureMapper::Shade [protected]
 

Definition at line 129 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GradientOpacityArray [protected]
 

Definition at line 131 of file vtkVolumeTextureMapper.h.

unsigned char* vtkVolumeTextureMapper::RGBAArray [protected]
 

Definition at line 132 of file vtkVolumeTextureMapper.h.

int vtkVolumeTextureMapper::ArraySize [protected]
 

Definition at line 133 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::RedDiffuseShadingTable [protected]
 

Definition at line 135 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GreenDiffuseShadingTable [protected]
 

Definition at line 136 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::BlueDiffuseShadingTable [protected]
 

Definition at line 137 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::RedSpecularShadingTable [protected]
 

Definition at line 138 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::GreenSpecularShadingTable [protected]
 

Definition at line 139 of file vtkVolumeTextureMapper.h.

float* vtkVolumeTextureMapper::BlueSpecularShadingTable [protected]
 

Definition at line 140 of file vtkVolumeTextureMapper.h.

float vtkVolumeTextureMapper::DataOrigin[3] [protected]
 

Definition at line 142 of file vtkVolumeTextureMapper.h.

float vtkVolumeTextureMapper::DataSpacing[3] [protected]
 

Definition at line 143 of file vtkVolumeTextureMapper.h.

unsigned short* vtkVolumeTextureMapper::EncodedNormals [protected]
 

Definition at line 145 of file vtkVolumeTextureMapper.h.

unsigned char* vtkVolumeTextureMapper::GradientMagnitudes [protected]
 

Definition at line 146 of file vtkVolumeTextureMapper.h.

float vtkVolumeTextureMapper::SampleDistance [protected]
 

Definition at line 148 of file vtkVolumeTextureMapper.h.

vtkRenderWindow* vtkVolumeTextureMapper::RenderWindow [protected]
 

Definition at line 150 of file vtkVolumeTextureMapper.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:46:26 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001