VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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 Types

typedef vtkVolumeMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkVolumeTextureMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Render (vtkRenderer *ren, vtkVolume *vol)=0
virtual void Update ()
virtual void Update (int port)
virtual void SetGradientEstimator (vtkEncodedGradientEstimator *gradest)
virtual
vtkEncodedGradientEstimator
GetGradientEstimator ()
virtual vtkEncodedGradientShaderGetGradientShader ()
floatGetGradientOpacityArray ()
unsigned char * GetRGBAArray ()
floatGetRedDiffuseShadingTable ()
floatGetGreenDiffuseShadingTable ()
floatGetBlueDiffuseShadingTable ()
floatGetRedSpecularShadingTable ()
floatGetGreenSpecularShadingTable ()
floatGetBlueSpecularShadingTable ()
unsigned short * GetEncodedNormals ()
unsigned char * GetGradientMagnitudes ()
virtual int GetShade ()
virtual vtkRenderWindowGetRenderWindow ()
virtual doubleGetDataOrigin ()
virtual void GetDataOrigin (double data[3])
virtual doubleGetDataSpacing ()
virtual void GetDataSpacing (double data[3])
virtual float GetGradientMagnitudeScale ()
virtual float GetGradientMagnitudeBias ()
virtual float GetGradientMagnitudeScale (int)
virtual float GetGradientMagnitudeBias (int)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkVolumeTextureMapperSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkVolumeTextureMapper ()
 ~vtkVolumeTextureMapper ()
void InitializeRender (vtkRenderer *ren, vtkVolume *vol)
virtual void ReportReferences (vtkGarbageCollector *)

Protected Attributes

vtkEncodedGradientEstimatorGradientEstimator
vtkEncodedGradientShaderGradientShader
int Shade
floatGradientOpacityArray
unsigned char * RGBAArray
int ArraySize
int NumberOfComponents
floatRedDiffuseShadingTable
floatGreenDiffuseShadingTable
floatBlueDiffuseShadingTable
floatRedSpecularShadingTable
floatGreenSpecularShadingTable
floatBlueSpecularShadingTable
double DataOrigin [3]
double DataSpacing [3]
unsigned short * EncodedNormals
unsigned char * GradientMagnitudes
float SampleDistance
vtkRenderWindowRenderWindow

Detailed Description

Abstract class for a volume mapper.

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

See also:
vtkVolumeMapper

Definition at line 38 of file vtkVolumeTextureMapper.h.


Member Typedef Documentation

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

Definition at line 41 of file vtkVolumeTextureMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkVolumeTextureMapper::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 vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

virtual int vtkVolumeTextureMapper::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 vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

virtual vtkObjectBase* vtkVolumeTextureMapper::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

Reimplemented from vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

void vtkVolumeTextureMapper::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 vtkVolumeMapper.

Reimplemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

virtual void vtkVolumeTextureMapper::Update ( ) [virtual]

Update the volume rendering pipeline by updating the scalar input

Reimplemented from vtkAlgorithm.

virtual void vtkVolumeTextureMapper::Update ( int  port) [virtual]

Update the volume rendering pipeline by updating the scalar input

Reimplemented from vtkAlgorithm.

Set / Get the gradient estimator used to estimate normals

Set / Get the gradient estimator used to estimate normals

Get the gradient shader.

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

Definition at line 65 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 66 of file vtkVolumeTextureMapper.h.

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

Definition at line 67 of file vtkVolumeTextureMapper.h.

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

Definition at line 68 of file vtkVolumeTextureMapper.h.

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

Definition at line 69 of file vtkVolumeTextureMapper.h.

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

Definition at line 70 of file vtkVolumeTextureMapper.h.

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

Definition at line 71 of file vtkVolumeTextureMapper.h.

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

Definition at line 72 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 73 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 74 of file vtkVolumeTextureMapper.h.

virtual int vtkVolumeTextureMapper::GetShade ( ) [virtual]

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

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

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

virtual void vtkVolumeTextureMapper::GetDataOrigin ( double  data[3]) [virtual]

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

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

virtual void vtkVolumeTextureMapper::GetDataSpacing ( double  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

Implements vtkVolumeMapper.

Implemented in vtkVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.

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

Reimplemented from vtkAbstractVolumeMapper.

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

Reimplemented from vtkAbstractVolumeMapper.

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

Reimplemented from vtkAbstractVolumeMapper.

Definition at line 90 of file vtkVolumeTextureMapper.h.

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

Reimplemented from vtkAbstractVolumeMapper.

Definition at line 92 of file vtkVolumeTextureMapper.h.

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

Reimplemented in vtkVolumeTextureMapper2D.

virtual void vtkVolumeTextureMapper::ReportReferences ( vtkGarbageCollector ) [protected, virtual]

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 109 of file vtkVolumeTextureMapper.h.

Definition at line 110 of file vtkVolumeTextureMapper.h.

Definition at line 111 of file vtkVolumeTextureMapper.h.

Definition at line 113 of file vtkVolumeTextureMapper.h.

unsigned char* vtkVolumeTextureMapper::RGBAArray [protected]

Definition at line 114 of file vtkVolumeTextureMapper.h.

Definition at line 115 of file vtkVolumeTextureMapper.h.

Definition at line 116 of file vtkVolumeTextureMapper.h.

Definition at line 118 of file vtkVolumeTextureMapper.h.

Definition at line 119 of file vtkVolumeTextureMapper.h.

Definition at line 120 of file vtkVolumeTextureMapper.h.

Definition at line 121 of file vtkVolumeTextureMapper.h.

Definition at line 122 of file vtkVolumeTextureMapper.h.

Definition at line 123 of file vtkVolumeTextureMapper.h.

Definition at line 125 of file vtkVolumeTextureMapper.h.

Definition at line 126 of file vtkVolumeTextureMapper.h.

unsigned short* vtkVolumeTextureMapper::EncodedNormals [protected]

Definition at line 128 of file vtkVolumeTextureMapper.h.

unsigned char* vtkVolumeTextureMapper::GradientMagnitudes [protected]

Definition at line 129 of file vtkVolumeTextureMapper.h.

Definition at line 131 of file vtkVolumeTextureMapper.h.

Definition at line 133 of file vtkVolumeTextureMapper.h.


The documentation for this class was generated from the following file: