Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkMitkVolumeTextureMapper3D Class Referenceabstract

#include <vtkMitkVolumeTextureMapper3D.h>

Inheritance diagram for vtkMitkVolumeTextureMapper3D:
Collaboration diagram for vtkMitkVolumeTextureMapper3D:

Public Member Functions

 vtkTypeMacro (vtkMitkVolumeTextureMapper3D, vtkVolumeMapper)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
 vtkSetMacro (SampleDistance, float)
 
 vtkGetMacro (SampleDistance, float)
 
 vtkGetVectorMacro (VolumeDimensions, int, 3)
 
 vtkGetVectorMacro (VolumeSpacing, float, 3)
 
virtual int IsRenderSupported (vtkRenderer *, vtkVolumeProperty *)=0
 
 vtkGetMacro (NumberOfPolygons, int)
 
 vtkGetMacro (ActualSampleDistance, float)
 
virtual void Render (vtkRenderer *, vtkVolume *) override
 
 vtkSetMacro (UseCompressedTexture, bool)
 
 vtkGetMacro (UseCompressedTexture, bool)
 
void UpdateMTime ()
 

Protected Member Functions

 vtkMitkVolumeTextureMapper3D ()
 
 ~vtkMitkVolumeTextureMapper3D ()
 
void ComputePolygons (vtkRenderer *ren, vtkVolume *vol, double bounds[6])
 
int UpdateColorLookup (vtkVolume *)
 
virtual int IsTextureSizeSupported (int vtkNotUsed(size)[3], int vtkNotUsed(components))
 

Protected Attributes

float * PolygonBuffer
 
float * IntersectionBuffer
 
int NumberOfPolygons
 
int BufferSize
 
int VolumeDimensions [3]
 
float VolumeSpacing [3]
 
float SampleDistance
 
float ActualSampleDistance
 
vtkImageData * SavedTextureInput
 
vtkImageData * SavedParametersInput
 
vtkColorTransferFunction * SavedRGBFunction
 
vtkPiecewiseFunction * SavedGrayFunction
 
vtkPiecewiseFunction * SavedScalarOpacityFunction
 
vtkPiecewiseFunction * SavedGradientOpacityFunction
 
int SavedColorChannels
 
float SavedSampleDistance
 
float SavedScalarOpacityDistance
 
unsigned char ColorLookup [65536 *4]
 
unsigned char AlphaLookup [65536]
 
float TempArray1 [3 *4096]
 
float TempArray2 [4096]
 
int ColorTableSize
 
float ColorTableScale
 
float ColorTableOffset
 
unsigned char DiffuseLookup [65536 *4]
 
unsigned char SpecularLookup [65536 *4]
 
vtkTimeStamp SavedTextureMTime
 
vtkTimeStamp SavedParametersMTime
 
bool UseCompressedTexture
 
bool SupportsNonPowerOfTwoTextures
 

Detailed Description

Definition at line 88 of file vtkMitkVolumeTextureMapper3D.h.

Constructor & Destructor Documentation

vtkMitkVolumeTextureMapper3D::~vtkMitkVolumeTextureMapper3D ( )
protected

Definition at line 90 of file vtkMitkVolumeTextureMapper3D.cpp.

References IntersectionBuffer, and PolygonBuffer.

Member Function Documentation

void vtkMitkVolumeTextureMapper3D::ComputePolygons ( vtkRenderer *  ren,
vtkVolume *  vol,
double  bounds[6] 
)
protected
virtual int vtkMitkVolumeTextureMapper3D::IsRenderSupported ( vtkRenderer *  ,
vtkVolumeProperty *   
)
pure virtual
virtual int vtkMitkVolumeTextureMapper3D::IsTextureSizeSupported ( int   vtkNotUsed(size)[3],
int   vtkNotUsedcomponents 
)
inlineprotectedvirtual

Definition at line 215 of file vtkMitkVolumeTextureMapper3D.h.

void vtkMitkVolumeTextureMapper3D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override
virtual void vtkMitkVolumeTextureMapper3D::Render ( vtkRenderer *  ,
vtkVolume *   
)
inlineoverridevirtual

Reimplemented in vtkMitkOpenGLVolumeTextureMapper3D.

Definition at line 135 of file vtkMitkVolumeTextureMapper3D.h.

void vtkMitkVolumeTextureMapper3D::UpdateMTime ( )

Definition at line 418 of file vtkMitkVolumeTextureMapper3D.cpp.

References SavedTextureMTime.

vtkMitkVolumeTextureMapper3D::vtkGetMacro ( SampleDistance  ,
float   
)
vtkMitkVolumeTextureMapper3D::vtkGetMacro ( NumberOfPolygons  ,
int   
)
vtkMitkVolumeTextureMapper3D::vtkGetMacro ( ActualSampleDistance  ,
float   
)
vtkMitkVolumeTextureMapper3D::vtkGetMacro ( UseCompressedTexture  ,
bool   
)
vtkMitkVolumeTextureMapper3D::vtkGetVectorMacro ( VolumeDimensions  ,
int  ,
 
)
vtkMitkVolumeTextureMapper3D::vtkGetVectorMacro ( VolumeSpacing  ,
float  ,
 
)
vtkMitkVolumeTextureMapper3D::vtkSetMacro ( SampleDistance  ,
float   
)
vtkMitkVolumeTextureMapper3D::vtkSetMacro ( UseCompressedTexture  ,
bool   
)
vtkMitkVolumeTextureMapper3D::vtkTypeMacro ( vtkMitkVolumeTextureMapper3D  ,
vtkVolumeMapper   
)

Member Data Documentation

float vtkMitkVolumeTextureMapper3D::ActualSampleDistance
protected
unsigned char vtkMitkVolumeTextureMapper3D::AlphaLookup[65536]
protected

Definition at line 186 of file vtkMitkVolumeTextureMapper3D.h.

Referenced by UpdateColorLookup().

int vtkMitkVolumeTextureMapper3D::BufferSize
protected
unsigned char vtkMitkVolumeTextureMapper3D::ColorLookup[65536 *4]
protected
float vtkMitkVolumeTextureMapper3D::ColorTableOffset
protected
float vtkMitkVolumeTextureMapper3D::ColorTableScale
protected
int vtkMitkVolumeTextureMapper3D::ColorTableSize
protected
unsigned char vtkMitkVolumeTextureMapper3D::DiffuseLookup[65536 *4]
protected

Definition at line 193 of file vtkMitkVolumeTextureMapper3D.h.

float* vtkMitkVolumeTextureMapper3D::IntersectionBuffer
protected
int vtkMitkVolumeTextureMapper3D::NumberOfPolygons
protected
float* vtkMitkVolumeTextureMapper3D::PolygonBuffer
protected
float vtkMitkVolumeTextureMapper3D::SampleDistance
protected
int vtkMitkVolumeTextureMapper3D::SavedColorChannels
protected
vtkPiecewiseFunction* vtkMitkVolumeTextureMapper3D::SavedGradientOpacityFunction
protected
vtkPiecewiseFunction* vtkMitkVolumeTextureMapper3D::SavedGrayFunction
protected
vtkImageData* vtkMitkVolumeTextureMapper3D::SavedParametersInput
protected
vtkTimeStamp vtkMitkVolumeTextureMapper3D::SavedParametersMTime
protected

Definition at line 197 of file vtkMitkVolumeTextureMapper3D.h.

Referenced by UpdateColorLookup().

vtkColorTransferFunction* vtkMitkVolumeTextureMapper3D::SavedRGBFunction
protected
float vtkMitkVolumeTextureMapper3D::SavedSampleDistance
protected
float vtkMitkVolumeTextureMapper3D::SavedScalarOpacityDistance
protected
vtkPiecewiseFunction* vtkMitkVolumeTextureMapper3D::SavedScalarOpacityFunction
protected
vtkImageData* vtkMitkVolumeTextureMapper3D::SavedTextureInput
protected
vtkTimeStamp vtkMitkVolumeTextureMapper3D::SavedTextureMTime
protected
unsigned char vtkMitkVolumeTextureMapper3D::SpecularLookup[65536 *4]
protected

Definition at line 194 of file vtkMitkVolumeTextureMapper3D.h.

float vtkMitkVolumeTextureMapper3D::TempArray1[3 *4096]
protected

Definition at line 187 of file vtkMitkVolumeTextureMapper3D.h.

Referenced by UpdateColorLookup().

float vtkMitkVolumeTextureMapper3D::TempArray2[4096]
protected

Definition at line 188 of file vtkMitkVolumeTextureMapper3D.h.

Referenced by UpdateColorLookup().

int vtkMitkVolumeTextureMapper3D::VolumeDimensions[3]
protected
float vtkMitkVolumeTextureMapper3D::VolumeSpacing[3]
protected

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