Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkFixedPointVolumeRayCastMapper Class Reference

#include <vtkFixedPointVolumeRayCastMapper.h>

Inheritance diagram for vtkFixedPointVolumeRayCastMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkFixedPointVolumeRayCastMapper:

Collaboration graph
[legend]
List of all members.

Detailed Description

A fixed point mapper for volumes.

This is a software ray caster for rendering volumes in vtkImageData. It works with all input data types and up to four components. It performs composite or MIP rendering, and can be intermixed with geometric data. Space leaping is used to speed up the rendering process. In addition, calculation are performed in 15 bit fixed point precision. This mapper is threaded, and will interleave scan lines across processors.

This mapper is a good replacement for vtkVolumeRayCastMapper EXCEPT:

The vtkVolumeRayCastMapper CANNOT be used in these instances when a vtkFixedPointVolumeRayCastMapper can be used:

This mapper handles all data type from unsigned char through double. However, some of the internal calcultions are performed in float and therefore even the full float range may cause problems for this mapper (both in scalar data values and in spacing between samples).

Space leaping is performed by creating a sub-sampled volume. 4x4x4 cells in the original volume are represented by a min, max, and combined gradient and flag value. The min max volume has three unsigned shorts per 4x4x4 group of cells from the original volume - one reprenting the minumum scalar index (the scalar value adjusted to fit in the 15 bit range), the maximum scalar index, and a third unsigned short which is both the maximum gradient opacity in the neighborhood (an unsigned char) and the flag that is filled in for the current lookup tables to indicate whether this region can be skipped.

See also:
vtkVolumeMapper
Events:
vtkCommand::StartEvent vtkCommand::ProgressEvent vtkCommand::EndEvent
Tests:
vtkFixedPointVolumeRayCastMapper (Tests)

Definition at line 95 of file vtkFixedPointVolumeRayCastMapper.h.

Public Types

typedef vtkVolumeMapper Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void Render (vtkRenderer *, vtkVolume *)
unsigned int ToFixedPointPosition (float val)
void ToFixedPointPosition (float in[3], unsigned int out[3])
unsigned int ToFixedPointDirection (float dir)
void ToFixedPointDirection (float in[3], unsigned int out[3])
void FixedPointIncrement (unsigned int position[3], unsigned int increment[3])
void GetFloatTripleFromPointer (float v[3], float *ptr)
void GetUIntTripleFromPointer (unsigned int v[3], unsigned int *ptr)
void ShiftVectorDown (unsigned int in[3], unsigned int out[3])
int CheckMinMaxVolumeFlag (unsigned int pos[3], int c)
int CheckMIPMinMaxVolumeFlag (unsigned int pos[3], int c, unsigned short maxIdx)
void LookupColorUC (unsigned short *colorTable, unsigned short *scalarOpacityTable, unsigned short index, unsigned char color[4])
void LookupDependentColorUC (unsigned short *colorTable, unsigned short *scalarOpacityTable, unsigned short index[4], int components, unsigned char color[4])
void LookupAndCombineIndependentColorsUC (unsigned short *colorTable[4], unsigned short *scalarOpacityTable[4], unsigned short index[4], float weights[4], int components, unsigned char color[4])
int CheckIfCropped (unsigned int pos[3])
virtual vtkRenderWindowGetRenderWindow ()
virtual vtkFixedPointVolumeRayCastMIPHelperGetMIPHelper ()
virtual vtkFixedPointVolumeRayCastCompositeHelperGetCompositeHelper ()
virtual vtkFixedPointVolumeRayCastCompositeGOHelperGetCompositeGOHelper ()
virtual vtkFixedPointVolumeRayCastCompositeGOShadeHelperGetCompositeGOShadeHelper ()
virtual vtkFixedPointVolumeRayCastCompositeShadeHelperGetCompositeShadeHelper ()
virtual float * GetTableShift ()
virtual void GetTableShift (float data[4])
virtual float * GetTableScale ()
virtual void GetTableScale (float data[4])
virtual int GetShadingRequired ()
virtual int GetGradientOpacityRequired ()
int * GetRowBounds ()
unsigned short * GetColorTable (int c)
unsigned short * GetScalarOpacityTable (int c)
unsigned short * GetGradientOpacityTable (int c)
vtkVolumeGetVolume ()
unsigned short ** GetGradientNormal ()
unsigned char ** GetGradientMagnitude ()
unsigned short * GetDiffuseShadingTable (int c)
unsigned short * GetSpecularShadingTable (int c)
void ComputeRayInfo (int x, int y, unsigned int pos[3], unsigned int dir[3], unsigned int *numSteps)
void InitializeRayInfo (vtkVolume *vol)
int PerImageInitialization (vtkRenderer *, vtkVolume *, int, double *, double *, int *)
void PerVolumeInitialization (vtkRenderer *, vtkVolume *)
void PerSubVolumeInitialization (vtkRenderer *, vtkVolume *, int)
void RenderSubVolume ()
void DisplayRenderedImage (vtkRenderer *, vtkVolume *)
void AbortRender ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetSampleDistance (float)
virtual float GetSampleDistance ()
virtual void SetInteractiveSampleDistance (float)
virtual float GetInteractiveSampleDistance ()
virtual void SetImageSampleDistance (float)
virtual float GetImageSampleDistance ()
virtual void SetMinimumImageSampleDistance (float)
virtual float GetMinimumImageSampleDistance ()
virtual void SetMaximumImageSampleDistance (float)
virtual float GetMaximumImageSampleDistance ()
virtual void SetAutoAdjustSampleDistances (int)
virtual int GetAutoAdjustSampleDistances ()
virtual void AutoAdjustSampleDistancesOn ()
virtual void AutoAdjustSampleDistancesOff ()
void SetNumberOfThreads (int num)
int GetNumberOfThreads ()
virtual void SetIntermixIntersectingGeometry (int)
virtual int GetIntermixIntersectingGeometry ()
virtual void IntermixIntersectingGeometryOn ()
virtual void IntermixIntersectingGeometryOff ()
float ComputeRequiredImageSampleDistance (float desiredTime, vtkRenderer *ren)
float ComputeRequiredImageSampleDistance (float desiredTime, vtkRenderer *ren, vtkVolume *vol)
int ShouldUseNearestNeighborInterpolation (vtkVolume *vol)
void SetRayCastImage (vtkFixedPointRayCastImage *)
virtual vtkFixedPointRayCastImageGetRayCastImage ()

Static Public Member Functions

static vtkFixedPointVolumeRayCastMapperNew ()
static int IsTypeOf (const char *type)
static vtkFixedPointVolumeRayCastMapperSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkFixedPointVolumeRayCastMapper ()
 ~vtkFixedPointVolumeRayCastMapper ()
void ComputeMatrices (double volumeOrigin[3], double volumeSpacing[3], int volumeExtent[6], vtkRenderer *ren, vtkVolume *vol)
int ComputeRowBounds (vtkRenderer *ren, int imageFlag, int rowBoundsFlag, int volumeExtent[6])
void CaptureZBuffer (vtkRenderer *ren)
void StoreRenderTime (vtkRenderer *ren, vtkVolume *vol, float t)
float RetrieveRenderTime (vtkRenderer *ren, vtkVolume *vol)
float RetrieveRenderTime (vtkRenderer *ren)
int ClipRayAgainstVolume (float rayStart[3], float rayEnd[3], float rayDirection[3], double bounds[6])
int UpdateColorTable (vtkVolume *vol)
int UpdateGradients (vtkVolume *vol)
int UpdateShadingTable (vtkRenderer *ren, vtkVolume *vol)
void UpdateCroppingRegions ()
void ComputeGradients (vtkVolume *vol)
int ClipRayAgainstClippingPlanes (float rayStart[3], float rayEnd[3], int numClippingPlanes, float *clippingPlanes)
float GetZBufferValue (int x, int y)
void UpdateMinMaxVolume (vtkVolume *vol)
void FillInMaxGradientMagnitudes (int fullDim[3], int smallDim[3])

Protected Attributes

vtkRayCastImageDisplayHelperImageDisplayHelper
float SampleDistance
float InteractiveSampleDistance
float ImageSampleDistance
float MinimumImageSampleDistance
float MaximumImageSampleDistance
int AutoAdjustSampleDistances
float OldSampleDistance
float OldImageSampleDistance
vtkMultiThreaderThreader
vtkMatrix4x4PerspectiveMatrix
vtkMatrix4x4ViewToWorldMatrix
vtkMatrix4x4ViewToVoxelsMatrix
vtkMatrix4x4VoxelsToViewMatrix
vtkMatrix4x4WorldToVoxelsMatrix
vtkMatrix4x4VoxelsToWorldMatrix
vtkMatrix4x4VolumeMatrix
vtkTransformPerspectiveTransform
vtkTransformVoxelsTransform
vtkTransformVoxelsToViewTransform
vtkFixedPointRayCastImageRayCastImage
int * RowBounds
int * OldRowBounds
float * RenderTimeTable
vtkVolume ** RenderVolumeTable
vtkRenderer ** RenderRendererTable
int RenderTableSize
int RenderTableEntries
int IntermixIntersectingGeometry
float MinimumViewDistance
vtkColorTransferFunctionSavedRGBFunction [4]
vtkPiecewiseFunctionSavedGrayFunction [4]
vtkPiecewiseFunctionSavedScalarOpacityFunction [4]
vtkPiecewiseFunctionSavedGradientOpacityFunction [4]
int SavedColorChannels [4]
float SavedScalarOpacityDistance [4]
int SavedBlendMode
vtkImageDataSavedParametersInput
vtkTimeStamp SavedParametersMTime
vtkImageDataSavedGradientsInput
vtkTimeStamp SavedGradientsMTime
float SavedSampleDistance
unsigned short ColorTable [4][32768 *3]
unsigned short ScalarOpacityTable [4][32768]
unsigned short GradientOpacityTable [4][256]
int TableSize [4]
float TableScale [4]
float TableShift [4]
float GradientMagnitudeScale [4]
float GradientMagnitudeShift [4]
unsigned short ** GradientNormal
unsigned char ** GradientMagnitude
unsigned short * ContiguousGradientNormal
unsigned char * ContiguousGradientMagnitude
int NumberOfGradientSlices
vtkDirectionEncoderDirectionEncoder
vtkEncodedGradientShaderGradientShader
vtkFiniteDifferenceGradientEstimatorGradientEstimator
unsigned short DiffuseShadingTable [4][65536 *3]
unsigned short SpecularShadingTable [4][65536 *3]
int ShadingRequired
int GradientOpacityRequired
vtkRenderWindowRenderWindow
vtkVolumeVolume
unsigned int FixedPointCroppingRegionPlanes [6]
unsigned int CroppingRegionMask [27]
vtkFixedPointVolumeRayCastMIPHelperMIPHelper
vtkFixedPointVolumeRayCastCompositeHelperCompositeHelper
vtkFixedPointVolumeRayCastCompositeGOHelperCompositeGOHelper
vtkFixedPointVolumeRayCastCompositeShadeHelperCompositeShadeHelper
vtkFixedPointVolumeRayCastCompositeGOShadeHelperCompositeGOShadeHelper
float ViewToVoxelsArray [16]
float WorldToVoxelsArray [16]
float VoxelsToWorldArray [16]
double CroppingBounds [6]
int NumTransformedClippingPlanes
float * TransformedClippingPlanes
double SavedSpacing [3]
unsigned short * MinMaxVolume
int MinMaxVolumeSize [4]
vtkImageDataSavedMinMaxInput
vtkTimeStamp SavedMinMaxBuildTime
vtkTimeStamp SavedMinMaxGradientTime
vtkTimeStamp SavedMinMaxFlagTime

Friends

VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays (void *arg)


Member Typedef Documentation

typedef vtkVolumeMapper vtkFixedPointVolumeRayCastMapper::Superclass
 

Reimplemented from vtkVolumeMapper.

Definition at line 99 of file vtkFixedPointVolumeRayCastMapper.h.


Constructor & Destructor Documentation

vtkFixedPointVolumeRayCastMapper::vtkFixedPointVolumeRayCastMapper  )  [protected]
 

vtkFixedPointVolumeRayCastMapper::~vtkFixedPointVolumeRayCastMapper  )  [protected]
 


Member Function Documentation

static vtkFixedPointVolumeRayCastMapper* vtkFixedPointVolumeRayCastMapper::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkFixedPointVolumeRayCastMapper::GetClassName  )  [virtual]
 

Reimplemented from vtkVolumeMapper.

static int vtkFixedPointVolumeRayCastMapper::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkVolumeMapper.

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

Reimplemented from vtkVolumeMapper.

static vtkFixedPointVolumeRayCastMapper* vtkFixedPointVolumeRayCastMapper::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkVolumeMapper.

void vtkFixedPointVolumeRayCastMapper::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.

virtual void vtkFixedPointVolumeRayCastMapper::SetSampleDistance float   )  [virtual]
 

Set/Get the distance between samples used for rendering when AutoAdjustSampleDistances is off, or when this mapper has more than 1 second allocated to it for rendering.

virtual float vtkFixedPointVolumeRayCastMapper::GetSampleDistance  )  [virtual]
 

virtual void vtkFixedPointVolumeRayCastMapper::SetInteractiveSampleDistance float   )  [virtual]
 

Set/Get the distance between samples when interactive rendering is happening. In this case, interactive is defined as this volume mapper having less than 1 second allocated for rendering. When AutoAdjustSampleDistance is On, and the allocated render time is less than 1 second, then this InteractiveSampleDistance will be used instead of the SampleDistance above.

virtual float vtkFixedPointVolumeRayCastMapper::GetInteractiveSampleDistance  )  [virtual]
 

Set/Get the distance between samples when interactive rendering is happening. In this case, interactive is defined as this volume mapper having less than 1 second allocated for rendering. When AutoAdjustSampleDistance is On, and the allocated render time is less than 1 second, then this InteractiveSampleDistance will be used instead of the SampleDistance above.

virtual void vtkFixedPointVolumeRayCastMapper::SetImageSampleDistance float   )  [virtual]
 

Sampling distance in the XY image dimensions. Default value of 1 meaning 1 ray cast per pixel. If set to 0.5, 4 rays will be cast per pixel. If set to 2.0, 1 ray will be cast for every 4 (2 by 2) pixels. This value will be adjusted to meet a desired frame rate when AutoAdjustSampleDistances is on.

virtual float vtkFixedPointVolumeRayCastMapper::GetImageSampleDistance  )  [virtual]
 

Sampling distance in the XY image dimensions. Default value of 1 meaning 1 ray cast per pixel. If set to 0.5, 4 rays will be cast per pixel. If set to 2.0, 1 ray will be cast for every 4 (2 by 2) pixels. This value will be adjusted to meet a desired frame rate when AutoAdjustSampleDistances is on.

virtual void vtkFixedPointVolumeRayCastMapper::SetMinimumImageSampleDistance float   )  [virtual]
 

This is the minimum image sample distance allow when the image sample distance is being automatically adjusted.

virtual float vtkFixedPointVolumeRayCastMapper::GetMinimumImageSampleDistance  )  [virtual]
 

This is the minimum image sample distance allow when the image sample distance is being automatically adjusted.

virtual void vtkFixedPointVolumeRayCastMapper::SetMaximumImageSampleDistance float   )  [virtual]
 

This is the maximum image sample distance allow when the image sample distance is being automatically adjusted.

virtual float vtkFixedPointVolumeRayCastMapper::GetMaximumImageSampleDistance  )  [virtual]
 

This is the maximum image sample distance allow when the image sample distance is being automatically adjusted.

virtual void vtkFixedPointVolumeRayCastMapper::SetAutoAdjustSampleDistances int   )  [virtual]
 

If AutoAdjustSampleDistances is on, the the ImageSampleDistance and the SampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use). If this is an interactive render (more than 1 frame per second) the SampleDistance will be increased, otherwise it will not be altered (a binary decision, as opposed to the ImageSampleDistance which will vary continuously).

virtual int vtkFixedPointVolumeRayCastMapper::GetAutoAdjustSampleDistances  )  [virtual]
 

If AutoAdjustSampleDistances is on, the the ImageSampleDistance and the SampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use). If this is an interactive render (more than 1 frame per second) the SampleDistance will be increased, otherwise it will not be altered (a binary decision, as opposed to the ImageSampleDistance which will vary continuously).

virtual void vtkFixedPointVolumeRayCastMapper::AutoAdjustSampleDistancesOn  )  [virtual]
 

If AutoAdjustSampleDistances is on, the the ImageSampleDistance and the SampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use). If this is an interactive render (more than 1 frame per second) the SampleDistance will be increased, otherwise it will not be altered (a binary decision, as opposed to the ImageSampleDistance which will vary continuously).

virtual void vtkFixedPointVolumeRayCastMapper::AutoAdjustSampleDistancesOff  )  [virtual]
 

If AutoAdjustSampleDistances is on, the the ImageSampleDistance and the SampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use). If this is an interactive render (more than 1 frame per second) the SampleDistance will be increased, otherwise it will not be altered (a binary decision, as opposed to the ImageSampleDistance which will vary continuously).

void vtkFixedPointVolumeRayCastMapper::SetNumberOfThreads int  num  ) 
 

Set/Get the number of threads to use. This by default is equal to the number of available processors detected.

int vtkFixedPointVolumeRayCastMapper::GetNumberOfThreads  ) 
 

Set/Get the number of threads to use. This by default is equal to the number of available processors detected.

virtual void vtkFixedPointVolumeRayCastMapper::SetIntermixIntersectingGeometry int   )  [virtual]
 

If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.

virtual int vtkFixedPointVolumeRayCastMapper::GetIntermixIntersectingGeometry  )  [virtual]
 

If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.

virtual void vtkFixedPointVolumeRayCastMapper::IntermixIntersectingGeometryOn  )  [virtual]
 

If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.

virtual void vtkFixedPointVolumeRayCastMapper::IntermixIntersectingGeometryOff  )  [virtual]
 

If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.

float vtkFixedPointVolumeRayCastMapper::ComputeRequiredImageSampleDistance float  desiredTime,
vtkRenderer ren
 

What is the image sample distance required to achieve the desired time? A version of this method is provided that does not require the volume argument since if you are using an LODProp3D you may not know this information. If you use this version you must be certain that the ray cast mapper is only used for one volume (and not shared among multiple volumes)

float vtkFixedPointVolumeRayCastMapper::ComputeRequiredImageSampleDistance float  desiredTime,
vtkRenderer ren,
vtkVolume vol
 

What is the image sample distance required to achieve the desired time? A version of this method is provided that does not require the volume argument since if you are using an LODProp3D you may not know this information. If you use this version you must be certain that the ray cast mapper is only used for one volume (and not shared among multiple volumes)

void vtkFixedPointVolumeRayCastMapper::Render vtkRenderer ,
vtkVolume
[virtual]
 

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Initialize rendering for this volume.

Implements vtkVolumeMapper.

unsigned int vtkFixedPointVolumeRayCastMapper::ToFixedPointPosition float  val  )  [inline]
 

Definition at line 453 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SCALE.

void vtkFixedPointVolumeRayCastMapper::ToFixedPointPosition float  in[3],
unsigned int  out[3]
[inline]
 

Definition at line 458 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SCALE.

unsigned int vtkFixedPointVolumeRayCastMapper::ToFixedPointDirection float  dir  )  [inline]
 

Definition at line 465 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SCALE.

void vtkFixedPointVolumeRayCastMapper::ToFixedPointDirection float  in[3],
unsigned int  out[3]
[inline]
 

Definition at line 472 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SCALE.

void vtkFixedPointVolumeRayCastMapper::FixedPointIncrement unsigned int  position[3],
unsigned int  increment[3]
[inline]
 

Definition at line 488 of file vtkFixedPointVolumeRayCastMapper.h.

void vtkFixedPointVolumeRayCastMapper::GetFloatTripleFromPointer float  v[3],
float *  ptr
[inline]
 

Definition at line 517 of file vtkFixedPointVolumeRayCastMapper.h.

void vtkFixedPointVolumeRayCastMapper::GetUIntTripleFromPointer unsigned int  v[3],
unsigned int *  ptr
[inline]
 

Definition at line 524 of file vtkFixedPointVolumeRayCastMapper.h.

void vtkFixedPointVolumeRayCastMapper::ShiftVectorDown unsigned int  in[3],
unsigned int  out[3]
[inline]
 

Definition at line 531 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SHIFT.

int vtkFixedPointVolumeRayCastMapper::CheckMinMaxVolumeFlag unsigned int  pos[3],
int  c
[inline]
 

Definition at line 539 of file vtkFixedPointVolumeRayCastMapper.h.

References MinMaxVolumeSize.

int vtkFixedPointVolumeRayCastMapper::CheckMIPMinMaxVolumeFlag unsigned int  pos[3],
int  c,
unsigned short  maxIdx
[inline]
 

Definition at line 550 of file vtkFixedPointVolumeRayCastMapper.h.

References MinMaxVolumeSize.

void vtkFixedPointVolumeRayCastMapper::LookupColorUC unsigned short *  colorTable,
unsigned short *  scalarOpacityTable,
unsigned short  index,
unsigned char  color[4]
[inline]
 

Definition at line 569 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SHIFT.

void vtkFixedPointVolumeRayCastMapper::LookupDependentColorUC unsigned short *  colorTable,
unsigned short *  scalarOpacityTable,
unsigned short  index[4],
int  components,
unsigned char  color[4]
[inline]
 

Definition at line 584 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SHIFT.

void vtkFixedPointVolumeRayCastMapper::LookupAndCombineIndependentColorsUC unsigned short *  colorTable[4],
unsigned short *  scalarOpacityTable[4],
unsigned short  index[4],
float  weights[4],
int  components,
unsigned char  color[4]
[inline]
 

Definition at line 614 of file vtkFixedPointVolumeRayCastMapper.h.

References VTKKW_FP_SHIFT.

int vtkFixedPointVolumeRayCastMapper::CheckIfCropped unsigned int  pos[3]  )  [inline]
 

Definition at line 639 of file vtkFixedPointVolumeRayCastMapper.h.

References vtkVolumeMapper::CroppingRegionFlags, and CroppingRegionMask.

virtual vtkRenderWindow* vtkFixedPointVolumeRayCastMapper::GetRenderWindow  )  [virtual]
 

virtual vtkFixedPointVolumeRayCastMIPHelper* vtkFixedPointVolumeRayCastMapper::GetMIPHelper  )  [virtual]
 

virtual vtkFixedPointVolumeRayCastCompositeHelper* vtkFixedPointVolumeRayCastMapper::GetCompositeHelper  )  [virtual]
 

virtual vtkFixedPointVolumeRayCastCompositeGOHelper* vtkFixedPointVolumeRayCastMapper::GetCompositeGOHelper  )  [virtual]
 

virtual vtkFixedPointVolumeRayCastCompositeGOShadeHelper* vtkFixedPointVolumeRayCastMapper::GetCompositeGOShadeHelper  )  [virtual]
 

virtual vtkFixedPointVolumeRayCastCompositeShadeHelper* vtkFixedPointVolumeRayCastMapper::GetCompositeShadeHelper  )  [virtual]
 

virtual float* vtkFixedPointVolumeRayCastMapper::GetTableShift  )  [virtual]
 

virtual void vtkFixedPointVolumeRayCastMapper::GetTableShift float  data[4]  )  [virtual]
 

virtual float* vtkFixedPointVolumeRayCastMapper::GetTableScale  )  [virtual]
 

virtual void vtkFixedPointVolumeRayCastMapper::GetTableScale float  data[4]  )  [virtual]
 

virtual int vtkFixedPointVolumeRayCastMapper::GetShadingRequired  )  [virtual]
 

virtual int vtkFixedPointVolumeRayCastMapper::GetGradientOpacityRequired  )  [virtual]
 

int* vtkFixedPointVolumeRayCastMapper::GetRowBounds  )  [inline]
 

Definition at line 234 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::GetColorTable int  c  )  [inline]
 

Definition at line 235 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::GetScalarOpacityTable int  c  )  [inline]
 

Definition at line 236 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::GetGradientOpacityTable int  c  )  [inline]
 

Definition at line 237 of file vtkFixedPointVolumeRayCastMapper.h.

vtkVolume* vtkFixedPointVolumeRayCastMapper::GetVolume  )  [inline]
 

Definition at line 238 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short** vtkFixedPointVolumeRayCastMapper::GetGradientNormal  )  [inline]
 

Definition at line 239 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned char** vtkFixedPointVolumeRayCastMapper::GetGradientMagnitude  )  [inline]
 

Definition at line 240 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::GetDiffuseShadingTable int  c  )  [inline]
 

Definition at line 241 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::GetSpecularShadingTable int  c  )  [inline]
 

Definition at line 242 of file vtkFixedPointVolumeRayCastMapper.h.

void vtkFixedPointVolumeRayCastMapper::ComputeRayInfo int  x,
int  y,
unsigned int  pos[3],
unsigned int  dir[3],
unsigned int *  numSteps
 

void vtkFixedPointVolumeRayCastMapper::InitializeRayInfo vtkVolume vol  ) 
 

int vtkFixedPointVolumeRayCastMapper::ShouldUseNearestNeighborInterpolation vtkVolume vol  ) 
 

void vtkFixedPointVolumeRayCastMapper::SetRayCastImage vtkFixedPointRayCastImage  ) 
 

Set / Get the underlying image object. One will be automatically created - only need to set it when using from an AMR mapper which renders multiple times into the same image.

virtual vtkFixedPointRayCastImage* vtkFixedPointVolumeRayCastMapper::GetRayCastImage  )  [virtual]
 

int vtkFixedPointVolumeRayCastMapper::PerImageInitialization vtkRenderer ,
vtkVolume ,
int  ,
double *  ,
double *  ,
int * 
 

void vtkFixedPointVolumeRayCastMapper::PerVolumeInitialization vtkRenderer ,
vtkVolume
 

void vtkFixedPointVolumeRayCastMapper::PerSubVolumeInitialization vtkRenderer ,
vtkVolume ,
int 
 

void vtkFixedPointVolumeRayCastMapper::RenderSubVolume  ) 
 

void vtkFixedPointVolumeRayCastMapper::DisplayRenderedImage vtkRenderer ,
vtkVolume
 

void vtkFixedPointVolumeRayCastMapper::AbortRender  ) 
 

void vtkFixedPointVolumeRayCastMapper::ComputeMatrices double  volumeOrigin[3],
double  volumeSpacing[3],
int  volumeExtent[6],
vtkRenderer ren,
vtkVolume vol
[protected]
 

int vtkFixedPointVolumeRayCastMapper::ComputeRowBounds vtkRenderer ren,
int  imageFlag,
int  rowBoundsFlag,
int  volumeExtent[6]
[protected]
 

void vtkFixedPointVolumeRayCastMapper::CaptureZBuffer vtkRenderer ren  )  [protected]
 

void vtkFixedPointVolumeRayCastMapper::StoreRenderTime vtkRenderer ren,
vtkVolume vol,
float  t
[protected]
 

float vtkFixedPointVolumeRayCastMapper::RetrieveRenderTime vtkRenderer ren,
vtkVolume vol
[protected]
 

float vtkFixedPointVolumeRayCastMapper::RetrieveRenderTime vtkRenderer ren  )  [protected]
 

int vtkFixedPointVolumeRayCastMapper::ClipRayAgainstVolume float  rayStart[3],
float  rayEnd[3],
float  rayDirection[3],
double  bounds[6]
[protected]
 

int vtkFixedPointVolumeRayCastMapper::UpdateColorTable vtkVolume vol  )  [protected]
 

int vtkFixedPointVolumeRayCastMapper::UpdateGradients vtkVolume vol  )  [protected]
 

int vtkFixedPointVolumeRayCastMapper::UpdateShadingTable vtkRenderer ren,
vtkVolume vol
[protected]
 

void vtkFixedPointVolumeRayCastMapper::UpdateCroppingRegions  )  [protected]
 

void vtkFixedPointVolumeRayCastMapper::ComputeGradients vtkVolume vol  )  [protected]
 

int vtkFixedPointVolumeRayCastMapper::ClipRayAgainstClippingPlanes float  rayStart[3],
float  rayEnd[3],
int  numClippingPlanes,
float *  clippingPlanes
[protected]
 

float vtkFixedPointVolumeRayCastMapper::GetZBufferValue int  x,
int  y
[protected]
 

void vtkFixedPointVolumeRayCastMapper::UpdateMinMaxVolume vtkVolume vol  )  [protected]
 

void vtkFixedPointVolumeRayCastMapper::FillInMaxGradientMagnitudes int  fullDim[3],
int  smallDim[3]
[protected]
 


Friends And Related Function Documentation

VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays void *  arg  )  [friend]
 


Member Data Documentation

vtkRayCastImageDisplayHelper* vtkFixedPointVolumeRayCastMapper::ImageDisplayHelper [protected]
 

Definition at line 275 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::SampleDistance [protected]
 

Definition at line 278 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::InteractiveSampleDistance [protected]
 

Definition at line 279 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::ImageSampleDistance [protected]
 

Definition at line 282 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::MinimumImageSampleDistance [protected]
 

Definition at line 283 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::MaximumImageSampleDistance [protected]
 

Definition at line 284 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::AutoAdjustSampleDistances [protected]
 

Definition at line 285 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::OldSampleDistance [protected]
 

Definition at line 288 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::OldImageSampleDistance [protected]
 

Definition at line 289 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMultiThreader* vtkFixedPointVolumeRayCastMapper::Threader [protected]
 

Definition at line 307 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::PerspectiveMatrix [protected]
 

Definition at line 309 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::ViewToWorldMatrix [protected]
 

Definition at line 310 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::ViewToVoxelsMatrix [protected]
 

Definition at line 311 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::VoxelsToViewMatrix [protected]
 

Definition at line 312 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::WorldToVoxelsMatrix [protected]
 

Definition at line 313 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::VoxelsToWorldMatrix [protected]
 

Definition at line 314 of file vtkFixedPointVolumeRayCastMapper.h.

vtkMatrix4x4* vtkFixedPointVolumeRayCastMapper::VolumeMatrix [protected]
 

Definition at line 316 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTransform* vtkFixedPointVolumeRayCastMapper::PerspectiveTransform [protected]
 

Definition at line 318 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTransform* vtkFixedPointVolumeRayCastMapper::VoxelsTransform [protected]
 

Definition at line 319 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTransform* vtkFixedPointVolumeRayCastMapper::VoxelsToViewTransform [protected]
 

Definition at line 320 of file vtkFixedPointVolumeRayCastMapper.h.

vtkFixedPointRayCastImage* vtkFixedPointVolumeRayCastMapper::RayCastImage [protected]
 

Definition at line 323 of file vtkFixedPointVolumeRayCastMapper.h.

int* vtkFixedPointVolumeRayCastMapper::RowBounds [protected]
 

Definition at line 325 of file vtkFixedPointVolumeRayCastMapper.h.

int* vtkFixedPointVolumeRayCastMapper::OldRowBounds [protected]
 

Definition at line 326 of file vtkFixedPointVolumeRayCastMapper.h.

float* vtkFixedPointVolumeRayCastMapper::RenderTimeTable [protected]
 

Definition at line 328 of file vtkFixedPointVolumeRayCastMapper.h.

vtkVolume** vtkFixedPointVolumeRayCastMapper::RenderVolumeTable [protected]
 

Definition at line 329 of file vtkFixedPointVolumeRayCastMapper.h.

vtkRenderer** vtkFixedPointVolumeRayCastMapper::RenderRendererTable [protected]
 

Definition at line 330 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::RenderTableSize [protected]
 

Definition at line 331 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::RenderTableEntries [protected]
 

Definition at line 332 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::IntermixIntersectingGeometry [protected]
 

Definition at line 338 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::MinimumViewDistance [protected]
 

Definition at line 340 of file vtkFixedPointVolumeRayCastMapper.h.

vtkColorTransferFunction* vtkFixedPointVolumeRayCastMapper::SavedRGBFunction[4] [protected]
 

Definition at line 342 of file vtkFixedPointVolumeRayCastMapper.h.

vtkPiecewiseFunction* vtkFixedPointVolumeRayCastMapper::SavedGrayFunction[4] [protected]
 

Definition at line 343 of file vtkFixedPointVolumeRayCastMapper.h.

vtkPiecewiseFunction* vtkFixedPointVolumeRayCastMapper::SavedScalarOpacityFunction[4] [protected]
 

Definition at line 344 of file vtkFixedPointVolumeRayCastMapper.h.

vtkPiecewiseFunction* vtkFixedPointVolumeRayCastMapper::SavedGradientOpacityFunction[4] [protected]
 

Definition at line 345 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::SavedColorChannels[4] [protected]
 

Definition at line 346 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::SavedScalarOpacityDistance[4] [protected]
 

Definition at line 347 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::SavedBlendMode [protected]
 

Definition at line 348 of file vtkFixedPointVolumeRayCastMapper.h.

vtkImageData* vtkFixedPointVolumeRayCastMapper::SavedParametersInput [protected]
 

Definition at line 349 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTimeStamp vtkFixedPointVolumeRayCastMapper::SavedParametersMTime [protected]
 

Definition at line 350 of file vtkFixedPointVolumeRayCastMapper.h.

vtkImageData* vtkFixedPointVolumeRayCastMapper::SavedGradientsInput [protected]
 

Definition at line 352 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTimeStamp vtkFixedPointVolumeRayCastMapper::SavedGradientsMTime [protected]
 

Definition at line 353 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::SavedSampleDistance [protected]
 

Definition at line 355 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short vtkFixedPointVolumeRayCastMapper::ColorTable[4][32768 *3] [protected]
 

Definition at line 358 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short vtkFixedPointVolumeRayCastMapper::ScalarOpacityTable[4][32768] [protected]
 

Definition at line 359 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short vtkFixedPointVolumeRayCastMapper::GradientOpacityTable[4][256] [protected]
 

Definition at line 360 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::TableSize[4] [protected]
 

Definition at line 361 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::TableScale[4] [protected]
 

Definition at line 362 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::TableShift[4] [protected]
 

Definition at line 363 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::GradientMagnitudeScale[4] [protected]
 

Definition at line 365 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::GradientMagnitudeShift[4] [protected]
 

Definition at line 366 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short** vtkFixedPointVolumeRayCastMapper::GradientNormal [protected]
 

Definition at line 368 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned char** vtkFixedPointVolumeRayCastMapper::GradientMagnitude [protected]
 

Definition at line 369 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::ContiguousGradientNormal [protected]
 

Definition at line 370 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned char* vtkFixedPointVolumeRayCastMapper::ContiguousGradientMagnitude [protected]
 

Definition at line 371 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::NumberOfGradientSlices [protected]
 

Definition at line 373 of file vtkFixedPointVolumeRayCastMapper.h.

vtkDirectionEncoder* vtkFixedPointVolumeRayCastMapper::DirectionEncoder [protected]
 

Definition at line 375 of file vtkFixedPointVolumeRayCastMapper.h.

vtkEncodedGradientShader* vtkFixedPointVolumeRayCastMapper::GradientShader [protected]
 

Definition at line 377 of file vtkFixedPointVolumeRayCastMapper.h.

vtkFiniteDifferenceGradientEstimator* vtkFixedPointVolumeRayCastMapper::GradientEstimator [protected]
 

Definition at line 379 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short vtkFixedPointVolumeRayCastMapper::DiffuseShadingTable[4][65536 *3] [protected]
 

Definition at line 381 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short vtkFixedPointVolumeRayCastMapper::SpecularShadingTable[4][65536 *3] [protected]
 

Definition at line 382 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::ShadingRequired [protected]
 

Definition at line 384 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::GradientOpacityRequired [protected]
 

Definition at line 385 of file vtkFixedPointVolumeRayCastMapper.h.

vtkRenderWindow* vtkFixedPointVolumeRayCastMapper::RenderWindow [protected]
 

Definition at line 387 of file vtkFixedPointVolumeRayCastMapper.h.

vtkVolume* vtkFixedPointVolumeRayCastMapper::Volume [protected]
 

Definition at line 388 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned int vtkFixedPointVolumeRayCastMapper::FixedPointCroppingRegionPlanes[6] [protected]
 

Definition at line 408 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned int vtkFixedPointVolumeRayCastMapper::CroppingRegionMask[27] [protected]
 

Definition at line 409 of file vtkFixedPointVolumeRayCastMapper.h.

Referenced by CheckIfCropped().

vtkFixedPointVolumeRayCastMIPHelper* vtkFixedPointVolumeRayCastMapper::MIPHelper [protected]
 

Definition at line 416 of file vtkFixedPointVolumeRayCastMapper.h.

vtkFixedPointVolumeRayCastCompositeHelper* vtkFixedPointVolumeRayCastMapper::CompositeHelper [protected]
 

Definition at line 417 of file vtkFixedPointVolumeRayCastMapper.h.

vtkFixedPointVolumeRayCastCompositeGOHelper* vtkFixedPointVolumeRayCastMapper::CompositeGOHelper [protected]
 

Definition at line 418 of file vtkFixedPointVolumeRayCastMapper.h.

vtkFixedPointVolumeRayCastCompositeShadeHelper* vtkFixedPointVolumeRayCastMapper::CompositeShadeHelper [protected]
 

Definition at line 419 of file vtkFixedPointVolumeRayCastMapper.h.

vtkFixedPointVolumeRayCastCompositeGOShadeHelper* vtkFixedPointVolumeRayCastMapper::CompositeGOShadeHelper [protected]
 

Definition at line 420 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::ViewToVoxelsArray[16] [protected]
 

Definition at line 423 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::WorldToVoxelsArray[16] [protected]
 

Definition at line 424 of file vtkFixedPointVolumeRayCastMapper.h.

float vtkFixedPointVolumeRayCastMapper::VoxelsToWorldArray[16] [protected]
 

Definition at line 425 of file vtkFixedPointVolumeRayCastMapper.h.

double vtkFixedPointVolumeRayCastMapper::CroppingBounds[6] [protected]
 

Definition at line 427 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::NumTransformedClippingPlanes [protected]
 

Definition at line 429 of file vtkFixedPointVolumeRayCastMapper.h.

float* vtkFixedPointVolumeRayCastMapper::TransformedClippingPlanes [protected]
 

Definition at line 430 of file vtkFixedPointVolumeRayCastMapper.h.

double vtkFixedPointVolumeRayCastMapper::SavedSpacing[3] [protected]
 

Definition at line 432 of file vtkFixedPointVolumeRayCastMapper.h.

unsigned short* vtkFixedPointVolumeRayCastMapper::MinMaxVolume [protected]
 

Definition at line 436 of file vtkFixedPointVolumeRayCastMapper.h.

int vtkFixedPointVolumeRayCastMapper::MinMaxVolumeSize[4] [protected]
 

Definition at line 437 of file vtkFixedPointVolumeRayCastMapper.h.

Referenced by CheckMinMaxVolumeFlag(), and CheckMIPMinMaxVolumeFlag().

vtkImageData* vtkFixedPointVolumeRayCastMapper::SavedMinMaxInput [protected]
 

Definition at line 438 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTimeStamp vtkFixedPointVolumeRayCastMapper::SavedMinMaxBuildTime [protected]
 

Definition at line 439 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTimeStamp vtkFixedPointVolumeRayCastMapper::SavedMinMaxGradientTime [protected]
 

Definition at line 440 of file vtkFixedPointVolumeRayCastMapper.h.

vtkTimeStamp vtkFixedPointVolumeRayCastMapper::SavedMinMaxFlagTime [protected]
 

Definition at line 441 of file vtkFixedPointVolumeRayCastMapper.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:44:37 2008 for VTK by  doxygen 1.4.3-20050530