Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
vtkMitkGPUVolumeRayCastMapper Class Referenceabstract

#include <vtkMitkGPUVolumeRayCastMapper.h>

Inheritance diagram for vtkMitkGPUVolumeRayCastMapper:
Collaboration diagram for vtkMitkGPUVolumeRayCastMapper:

Public Member Functions

 vtkTypeMacro (vtkMitkGPUVolumeRayCastMapper, vtkVolumeMapper)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
 vtkSetClampMacro (AutoAdjustSampleDistances, int, 0, 1)
 
 vtkGetMacro (AutoAdjustSampleDistances, int)
 
 vtkBooleanMacro (AutoAdjustSampleDistances, int)
 
 vtkSetMacro (SampleDistance, float)
 
 vtkGetMacro (SampleDistance, float)
 
 vtkSetClampMacro (ImageSampleDistance, float, 0.1f, 100.0f)
 
 vtkGetMacro (ImageSampleDistance, float)
 
 vtkSetClampMacro (MinimumImageSampleDistance, float, 0.1f, 100.0f)
 
 vtkGetMacro (MinimumImageSampleDistance, float)
 
 vtkSetClampMacro (MaximumImageSampleDistance, float, 0.1f, 100.0f)
 
 vtkGetMacro (MaximumImageSampleDistance, float)
 
 vtkSetMacro (FinalColorWindow, float)
 
 vtkGetMacro (FinalColorWindow, float)
 
 vtkSetMacro (FinalColorLevel, float)
 
 vtkGetMacro (FinalColorLevel, float)
 
 vtkSetMacro (MaxMemoryInBytes, vtkIdType)
 
 vtkGetMacro (MaxMemoryInBytes, vtkIdType)
 
 vtkSetClampMacro (MaxMemoryFraction, float, 0.1f, 1.0f)
 
 vtkGetMacro (MaxMemoryFraction, float)
 
 vtkSetMacro (ReportProgress, bool)
 
 vtkGetMacro (ReportProgress, bool)
 
virtual int IsRenderSupported (vtkRenderWindow *vtkNotUsed(window), vtkVolumeProperty *vtkNotUsed(property))
 
void CreateCanonicalView (vtkRenderer *ren, vtkVolume *volume, vtkImageData *image, int blend_mode, double viewDirection[3], double viewUp[3])
 
void SetMaskInput (vtkImageData *mask)
 
 vtkGetObjectMacro (MaskInput, vtkImageData)
 
 vtkSetClampMacro (MaskBlendFactor, float, 0.0f, 1.0f)
 
 vtkGetMacro (MaskBlendFactor, float)
 
void Render (vtkRenderer *, vtkVolume *) override
 
virtual void GPURender (vtkRenderer *, vtkVolume *)
 
void ReleaseGraphicsResources (vtkWindow *) override
 
virtual void GetReductionRatio (double ratio[3])=0
 

Protected Member Functions

 vtkMitkGPUVolumeRayCastMapper ()
 
 ~vtkMitkGPUVolumeRayCastMapper () override
 
int ValidateRender (vtkRenderer *, vtkVolume *)
 
void CanonicalViewRender (vtkRenderer *, vtkVolume *)
 
virtual void PreRender (vtkRenderer *ren, vtkVolume *vol, double datasetBounds[6], double scalarRange[2], int numberOfScalarComponents, unsigned int numberOfLevels)=0
 
virtual void RenderBlock (vtkRenderer *ren, vtkVolume *vol, unsigned int level)=0
 
virtual void PostRender (vtkRenderer *ren, int numberOfScalarComponents)=0
 
void SetCellFlag (int cellFlag)
 
 vtkSetClampMacro (AMRMode, int, 0, 1)
 
 vtkGetMacro (AMRMode, int)
 
 vtkBooleanMacro (AMRMode, int)
 
virtual void ClipCroppingRegionPlanes ()
 
 vtkGetObjectMacro (TransformedInput, vtkImageData)
 
void SetTransformedInput (vtkImageData *)
 

Protected Attributes

float SampleDistance
 
float ImageSampleDistance
 
float MinimumImageSampleDistance
 
float MaximumImageSampleDistance
 
int AutoAdjustSampleDistances
 
int SmallVolumeRender
 
double BigTimeToDraw
 
double SmallTimeToDraw
 
float FinalColorWindow
 
float FinalColorLevel
 
vtkIdType MaxMemoryInBytes
 
float MaxMemoryFraction
 
int GeneratingCanonicalView
 
vtkImageData * CanonicalViewImageData
 
int AMRMode
 
int CellFlag
 
double ClippedCroppingRegionPlanes [6]
 
bool ReportProgress
 
vtkImageData * MaskInput
 
float MaskBlendFactor
 
vtkImageData * TransformedInput
 
vtkImageData * LastInput
 

Detailed Description

Definition at line 45 of file vtkMitkGPUVolumeRayCastMapper.h.

Constructor & Destructor Documentation

◆ vtkMitkGPUVolumeRayCastMapper()

◆ ~vtkMitkGPUVolumeRayCastMapper()

vtkMitkGPUVolumeRayCastMapper::~vtkMitkGPUVolumeRayCastMapper ( )
overrideprotected

Member Function Documentation

◆ CanonicalViewRender()

void vtkMitkGPUVolumeRayCastMapper::CanonicalViewRender ( vtkRenderer *  ren,
vtkVolume *  vol 
)
protected

Definition at line 173 of file vtkMitkGPUVolumeRayCastMapper.cpp.

References GPURender(), and ValidateRender().

Referenced by Render().

◆ ClipCroppingRegionPlanes()

void vtkMitkGPUVolumeRayCastMapper::ClipCroppingRegionPlanes ( )
protectedvirtual

Definition at line 575 of file vtkMitkGPUVolumeRayCastMapper.cpp.

References ClippedCroppingRegionPlanes.

◆ CreateCanonicalView()

void vtkMitkGPUVolumeRayCastMapper::CreateCanonicalView ( vtkRenderer *  ren,
vtkVolume *  volume,
vtkImageData *  image,
int  blend_mode,
double  viewDirection[3],
double  viewUp[3] 
)

◆ GetReductionRatio()

virtual void vtkMitkGPUVolumeRayCastMapper::GetReductionRatio ( double  ratio[3])
pure virtual

◆ GPURender()

virtual void vtkMitkGPUVolumeRayCastMapper::GPURender ( vtkRenderer *  ,
vtkVolume *   
)
inlinevirtual

Definition at line 168 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by CanonicalViewRender(), and Render().

◆ IsRenderSupported()

virtual int vtkMitkGPUVolumeRayCastMapper::IsRenderSupported ( vtkRenderWindow *  vtkNotUsedwindow,
vtkVolumeProperty *  vtkNotUsedproperty 
)
inlinevirtual

Definition at line 135 of file vtkMitkGPUVolumeRayCastMapper.h.

References image, and mask.

◆ PostRender()

virtual void vtkMitkGPUVolumeRayCastMapper::PostRender ( vtkRenderer *  ren,
int  numberOfScalarComponents 
)
protectedpure virtual

◆ PreRender()

virtual void vtkMitkGPUVolumeRayCastMapper::PreRender ( vtkRenderer *  ren,
vtkVolume *  vol,
double  datasetBounds[6],
double  scalarRange[2],
int  numberOfScalarComponents,
unsigned int  numberOfLevels 
)
protectedpure virtual

◆ PrintSelf()

void vtkMitkGPUVolumeRayCastMapper::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ ReleaseGraphicsResources()

void vtkMitkGPUVolumeRayCastMapper::ReleaseGraphicsResources ( vtkWindow *  )
inlineoverride

Definition at line 175 of file vtkMitkGPUVolumeRayCastMapper.h.

◆ Render()

void vtkMitkGPUVolumeRayCastMapper::Render ( vtkRenderer *  ren,
vtkVolume *  vol 
)
override

◆ RenderBlock()

virtual void vtkMitkGPUVolumeRayCastMapper::RenderBlock ( vtkRenderer *  ren,
vtkVolume *  vol,
unsigned int  level 
)
protectedpure virtual

◆ SetCellFlag()

void vtkMitkGPUVolumeRayCastMapper::SetCellFlag ( int  cellFlag)
protected

Definition at line 401 of file vtkMitkGPUVolumeRayCastMapper.cpp.

References CellFlag.

◆ SetMaskInput()

void vtkMitkGPUVolumeRayCastMapper::SetMaskInput ( vtkImageData *  mask)

◆ SetTransformedInput()

void vtkMitkGPUVolumeRayCastMapper::SetTransformedInput ( vtkImageData *  )
protected

◆ ValidateRender()

int vtkMitkGPUVolumeRayCastMapper::ValidateRender ( vtkRenderer *  ren,
vtkVolume *  vol 
)
protected

◆ vtkBooleanMacro() [1/2]

vtkMitkGPUVolumeRayCastMapper::vtkBooleanMacro ( AutoAdjustSampleDistances  ,
int   
)

◆ vtkBooleanMacro() [2/2]

vtkMitkGPUVolumeRayCastMapper::vtkBooleanMacro ( AMRMode  ,
int   
)
protected

◆ vtkGetMacro() [1/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( AutoAdjustSampleDistances  ,
int   
)

◆ vtkGetMacro() [2/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( SampleDistance  ,
float   
)

◆ vtkGetMacro() [3/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( ImageSampleDistance  ,
float   
)

◆ vtkGetMacro() [4/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( MinimumImageSampleDistance  ,
float   
)

◆ vtkGetMacro() [5/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( MaximumImageSampleDistance  ,
float   
)

◆ vtkGetMacro() [6/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( FinalColorWindow  ,
float   
)

◆ vtkGetMacro() [7/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( FinalColorLevel  ,
float   
)

◆ vtkGetMacro() [8/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( MaxMemoryInBytes  ,
vtkIdType   
)

◆ vtkGetMacro() [9/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( MaxMemoryFraction  ,
float   
)

◆ vtkGetMacro() [10/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( ReportProgress  ,
bool   
)

◆ vtkGetMacro() [11/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( MaskBlendFactor  ,
float   
)

◆ vtkGetMacro() [12/12]

vtkMitkGPUVolumeRayCastMapper::vtkGetMacro ( AMRMode  ,
int   
)
protected

◆ vtkGetObjectMacro() [1/2]

vtkMitkGPUVolumeRayCastMapper::vtkGetObjectMacro ( MaskInput  ,
vtkImageData   
)

◆ vtkGetObjectMacro() [2/2]

vtkMitkGPUVolumeRayCastMapper::vtkGetObjectMacro ( TransformedInput  ,
vtkImageData   
)
protected

◆ vtkSetClampMacro() [1/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( AutoAdjustSampleDistances  ,
int  ,
,
 
)

◆ vtkSetClampMacro() [2/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( ImageSampleDistance  ,
float  ,
0.  1f,
100.  0f 
)

◆ vtkSetClampMacro() [3/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( MinimumImageSampleDistance  ,
float  ,
0.  1f,
100.  0f 
)

◆ vtkSetClampMacro() [4/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( MaximumImageSampleDistance  ,
float  ,
0.  1f,
100.  0f 
)

◆ vtkSetClampMacro() [5/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( MaxMemoryFraction  ,
float  ,
0.  1f,
1.  0f 
)

◆ vtkSetClampMacro() [6/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( MaskBlendFactor  ,
float  ,
0.  0f,
1.  0f 
)

◆ vtkSetClampMacro() [7/7]

vtkMitkGPUVolumeRayCastMapper::vtkSetClampMacro ( AMRMode  ,
int  ,
,
 
)
protected

◆ vtkSetMacro() [1/5]

vtkMitkGPUVolumeRayCastMapper::vtkSetMacro ( SampleDistance  ,
float   
)

◆ vtkSetMacro() [2/5]

vtkMitkGPUVolumeRayCastMapper::vtkSetMacro ( FinalColorWindow  ,
float   
)

◆ vtkSetMacro() [3/5]

vtkMitkGPUVolumeRayCastMapper::vtkSetMacro ( FinalColorLevel  ,
float   
)

◆ vtkSetMacro() [4/5]

vtkMitkGPUVolumeRayCastMapper::vtkSetMacro ( MaxMemoryInBytes  ,
vtkIdType   
)

◆ vtkSetMacro() [5/5]

vtkMitkGPUVolumeRayCastMapper::vtkSetMacro ( ReportProgress  ,
bool   
)

◆ vtkTypeMacro()

vtkMitkGPUVolumeRayCastMapper::vtkTypeMacro ( vtkMitkGPUVolumeRayCastMapper  ,
vtkVolumeMapper   
)

Member Data Documentation

◆ AMRMode

int vtkMitkGPUVolumeRayCastMapper::AMRMode
protected

Definition at line 251 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by vtkMitkGPUVolumeRayCastMapper().

◆ AutoAdjustSampleDistances

int vtkMitkGPUVolumeRayCastMapper::AutoAdjustSampleDistances
protected

Definition at line 228 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ BigTimeToDraw

double vtkMitkGPUVolumeRayCastMapper::BigTimeToDraw
protected

Definition at line 231 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by Render(), and vtkMitkGPUVolumeRayCastMapper().

◆ CanonicalViewImageData

vtkImageData* vtkMitkGPUVolumeRayCastMapper::CanonicalViewImageData
protected

◆ CellFlag

int vtkMitkGPUVolumeRayCastMapper::CellFlag
protected

Definition at line 252 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by SetCellFlag(), and ValidateRender().

◆ ClippedCroppingRegionPlanes

double vtkMitkGPUVolumeRayCastMapper::ClippedCroppingRegionPlanes[6]
protected

◆ FinalColorLevel

float vtkMitkGPUVolumeRayCastMapper::FinalColorLevel
protected

Definition at line 235 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ FinalColorWindow

float vtkMitkGPUVolumeRayCastMapper::FinalColorWindow
protected

Definition at line 234 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ GeneratingCanonicalView

int vtkMitkGPUVolumeRayCastMapper::GeneratingCanonicalView
protected

◆ ImageSampleDistance

float vtkMitkGPUVolumeRayCastMapper::ImageSampleDistance
protected

Definition at line 225 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ LastInput

vtkImageData* vtkMitkGPUVolumeRayCastMapper::LastInput
protected

◆ MaskBlendFactor

float vtkMitkGPUVolumeRayCastMapper::MaskBlendFactor
protected

Definition at line 273 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ MaskInput

vtkImageData* vtkMitkGPUVolumeRayCastMapper::MaskInput
protected

Definition at line 271 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ MaximumImageSampleDistance

float vtkMitkGPUVolumeRayCastMapper::MaximumImageSampleDistance
protected

Definition at line 227 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ MaxMemoryFraction

float vtkMitkGPUVolumeRayCastMapper::MaxMemoryFraction
protected

Definition at line 238 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ MaxMemoryInBytes

vtkIdType vtkMitkGPUVolumeRayCastMapper::MaxMemoryInBytes
protected

Definition at line 237 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ MinimumImageSampleDistance

float vtkMitkGPUVolumeRayCastMapper::MinimumImageSampleDistance
protected

Definition at line 226 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ ReportProgress

bool vtkMitkGPUVolumeRayCastMapper::ReportProgress
protected

Definition at line 269 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ SampleDistance

float vtkMitkGPUVolumeRayCastMapper::SampleDistance
protected

Definition at line 223 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by PrintSelf(), and vtkMitkGPUVolumeRayCastMapper().

◆ SmallTimeToDraw

double vtkMitkGPUVolumeRayCastMapper::SmallTimeToDraw
protected

Definition at line 232 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by Render(), and vtkMitkGPUVolumeRayCastMapper().

◆ SmallVolumeRender

int vtkMitkGPUVolumeRayCastMapper::SmallVolumeRender
protected

Definition at line 230 of file vtkMitkGPUVolumeRayCastMapper.h.

Referenced by vtkMitkGPUVolumeRayCastMapper().

◆ TransformedInput

vtkImageData* vtkMitkGPUVolumeRayCastMapper::TransformedInput
protected

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