VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkFixedPointVolumeRayCastMapper Class Reference

A fixed point mapper for volumes. More...

#include <vtkFixedPointVolumeRayCastMapper.h>

Inheritance diagram for vtkFixedPointVolumeRayCastMapper:
Inheritance graph
[legend]
Collaboration diagram for vtkFixedPointVolumeRayCastMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkVolumeMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkFixedPointVolumeRayCastMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
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, int flip)
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
vtkFixedPointVolumeRayCastMIPHelper
GetMIPHelper ()
virtual
vtkFixedPointVolumeRayCastCompositeHelper
GetCompositeHelper ()
virtual
vtkFixedPointVolumeRayCastCompositeGOHelper
GetCompositeGOHelper ()
virtual
vtkFixedPointVolumeRayCastCompositeGOShadeHelper
GetCompositeGOShadeHelper ()
virtual
vtkFixedPointVolumeRayCastCompositeShadeHelper
GetCompositeShadeHelper ()
virtual floatGetTableShift ()
virtual void GetTableShift (float data[4])
virtual floatGetTableScale ()
virtual void GetTableScale (float data[4])
virtual int GetShadingRequired ()
virtual int GetGradientOpacityRequired ()
virtual vtkDataArrayGetCurrentScalars ()
virtual vtkDataArrayGetPreviousScalars ()
intGetRowBounds ()
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 ShouldUseNearestNeighborInterpolation (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 CreateCanonicalView (vtkVolume *volume, vtkImageData *image, int blend_mode, double viewDirection[3], double viewUp[3])
virtual int GetFlipMIPComparison ()
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 ()
virtual void SetLockSampleDistanceToInputSpacing (int)
virtual int GetLockSampleDistanceToInputSpacing ()
virtual void LockSampleDistanceToInputSpacingOn ()
virtual void LockSampleDistanceToInputSpacingOff ()
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)
void SetRayCastImage (vtkFixedPointRayCastImage *)
virtual vtkFixedPointRayCastImageGetRayCastImage ()
float GetEstimatedRenderTime (vtkRenderer *ren, vtkVolume *vol)
float GetEstimatedRenderTime (vtkRenderer *ren)
virtual void SetFinalColorWindow (float)
virtual float GetFinalColorWindow ()
virtual void SetFinalColorLevel (float)
virtual float GetFinalColorLevel ()

Static Public Member Functions

static
vtkFixedPointVolumeRayCastMapper
New ()
static int IsTypeOf (const char *type)
static
vtkFixedPointVolumeRayCastMapper
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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])
void ApplyFinalColorWindowLevel ()

Protected Attributes

vtkRayCastImageDisplayHelperImageDisplayHelper
float SampleDistance
float InteractiveSampleDistance
float ImageSampleDistance
float MinimumImageSampleDistance
float MaximumImageSampleDistance
int AutoAdjustSampleDistances
int LockSampleDistanceToInputSpacing
float OldSampleDistance
float OldImageSampleDistance
vtkMultiThreaderThreader
vtkMatrix4x4PerspectiveMatrix
vtkMatrix4x4ViewToWorldMatrix
vtkMatrix4x4ViewToVoxelsMatrix
vtkMatrix4x4VoxelsToViewMatrix
vtkMatrix4x4WorldToVoxelsMatrix
vtkMatrix4x4VoxelsToWorldMatrix
vtkMatrix4x4VolumeMatrix
vtkTransformPerspectiveTransform
vtkTransformVoxelsTransform
vtkTransformVoxelsToViewTransform
vtkFixedPointRayCastImageRayCastImage
intRowBounds
intOldRowBounds
floatRenderTimeTable
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
vtkDataArrayCurrentScalars
vtkDataArrayPreviousScalars
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
floatTransformedClippingPlanes
double SavedSpacing [3]
unsigned short * MinMaxVolume
int MinMaxVolumeSize [4]
vtkImageDataSavedMinMaxInput
vtkImageDataMinMaxVolumeCache
vtkVolumeRayCastSpaceLeapingImageFilterSpaceLeapFilter
float FinalColorWindow
float FinalColorLevel
int FlipMIPComparison

Friends

VTK_THREAD_RETURN_TYPE FixedPointVolumeRayCastMapper_CastRays (void *arg)
VTK_THREAD_RETURN_TYPE vtkFPVRCMSwitchOnDataType (void *arg)

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.

WARNING: This ray caster may not produce consistent results when the number of threads exceeds 1. The class warns if the number of threads > 1. The differences may be subtle. Applications should decide if the trade-off in performance is worth the lack of consistency.

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 minimum 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::VolumeMapperRenderEndEvent vtkCommand::VolumeMapperComputeGradientsEndEvent vtkCommand::VolumeMapperComputeGradientsProgressEvent vtkCommand::VolumeMapperComputeGradientsStartEvent vtkCommand::VolumeMapperRenderStartEvent
Examples:
vtkFixedPointVolumeRayCastMapper (Examples)
Tests:
vtkFixedPointVolumeRayCastMapper (Tests)

Definition at line 109 of file vtkFixedPointVolumeRayCastMapper.h.


Member Typedef Documentation

Reimplemented from vtkVolumeMapper.

Definition at line 113 of file vtkFixedPointVolumeRayCastMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

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

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

Reimplemented from vtkVolumeMapper.

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.

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.

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.

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.

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.

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.

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.

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

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

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

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

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).

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).

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).

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).

Automatically compute the sample distance from the data spacing. When the number of voxels is 8, the sample distance will be roughly 1/200 the average voxel size. The distance will grow proportionally to numVoxels^(1/3) until it reaches 1/2 average voxel size when number of voxels is 1E6. Note that ScalarOpacityUnitDistance is still taken into account and if different than 1, will effect the sample distance.

Automatically compute the sample distance from the data spacing. When the number of voxels is 8, the sample distance will be roughly 1/200 the average voxel size. The distance will grow proportionally to numVoxels^(1/3) until it reaches 1/2 average voxel size when number of voxels is 1E6. Note that ScalarOpacityUnitDistance is still taken into account and if different than 1, will effect the sample distance.

Automatically compute the sample distance from the data spacing. When the number of voxels is 8, the sample distance will be roughly 1/200 the average voxel size. The distance will grow proportionally to numVoxels^(1/3) until it reaches 1/2 average voxel size when number of voxels is 1E6. Note that ScalarOpacityUnitDistance is still taken into account and if different than 1, will effect the sample distance.

Automatically compute the sample distance from the data spacing. When the number of voxels is 8, the sample distance will be roughly 1/200 the average voxel size. The distance will grow proportionally to numVoxels^(1/3) until it reaches 1/2 average voxel size when number of voxels is 1E6. Note that ScalarOpacityUnitDistance is still taken into account and if different than 1, will effect the sample distance.

Set/Get the number of threads to use. This by default is equal to the number of available processors detected. WARNING: If number of threads > 1, results may not be consistent.

Set/Get the number of threads to use. This by default is equal to the number of available processors detected. WARNING: If number of threads > 1, results may not be consistent.

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

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

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

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

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)

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)

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

Implements vtkVolumeMapper.

Definition at line 535 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 540 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 547 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 554 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 570 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 599 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 606 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 613 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 621 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 633 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 660 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 675 of file vtkFixedPointVolumeRayCastMapper.h.

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 705 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 730 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 266 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 267 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 268 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 269 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 270 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 271 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 272 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 273 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 274 of file vtkFixedPointVolumeRayCastMapper.h.

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

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.

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.

void vtkFixedPointVolumeRayCastMapper::CreateCanonicalView ( vtkVolume volume,
vtkImageData image,
int  blend_mode,
double  viewDirection[3],
double  viewUp[3] 
)

Get an estimate of the rendering time for a given volume / renderer. Only valid if this mapper has been used to render that volume for that renderer previously. Estimate is good when the viewing parameters have not changed much since that last render.

Definition at line 312 of file vtkFixedPointVolumeRayCastMapper.h.

Get an estimate of the rendering time for a given volume / renderer. Only valid if this mapper has been used to render that volume for that renderer previously. Estimate is good when the viewing parameters have not changed much since that last render.

Definition at line 315 of file vtkFixedPointVolumeRayCastMapper.h.

Set/Get the window / level applied to the final color. This allows brightness / contrast adjustments on the final image. window is the width of the window. level is the center of the window. Initial window value is 1.0 Initial level value is 0.5 window cannot be null but can be negative, this way values will be reversed. |window| can be larger than 1.0 level can be any real value.

Set/Get the window / level applied to the final color. This allows brightness / contrast adjustments on the final image. window is the width of the window. level is the center of the window. Initial window value is 1.0 Initial level value is 0.5 window cannot be null but can be negative, this way values will be reversed. |window| can be larger than 1.0 level can be any real value.

Set/Get the window / level applied to the final color. This allows brightness / contrast adjustments on the final image. window is the width of the window. level is the center of the window. Initial window value is 1.0 Initial level value is 0.5 window cannot be null but can be negative, this way values will be reversed. |window| can be larger than 1.0 level can be any real value.

Set/Get the window / level applied to the final color. This allows brightness / contrast adjustments on the final image. window is the width of the window. level is the center of the window. Initial window value is 1.0 Initial level value is 0.5 window cannot be null but can be negative, this way values will be reversed. |window| can be larger than 1.0 level can be any real value.

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::StoreRenderTime ( vtkRenderer ren,
vtkVolume vol,
float  t 
) [protected]
int vtkFixedPointVolumeRayCastMapper::ClipRayAgainstVolume ( float  rayStart[3],
float  rayEnd[3],
float  rayDirection[3],
double  bounds[6] 
) [protected]
int vtkFixedPointVolumeRayCastMapper::ClipRayAgainstClippingPlanes ( float  rayStart[3],
float  rayEnd[3],
int  numClippingPlanes,
float clippingPlanes 
) [protected]
void vtkFixedPointVolumeRayCastMapper::FillInMaxGradientMagnitudes ( int  fullDim[3],
int  smallDim[3] 
) [protected]

Friends And Related Function Documentation


Member Data Documentation

Definition at line 344 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 347 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 348 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 351 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 352 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 353 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 354 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 355 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 358 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 359 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 378 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 380 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 381 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 382 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 383 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 384 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 385 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 387 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 389 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 390 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 391 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 394 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 396 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 397 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 399 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 400 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 401 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 402 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 403 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 409 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 411 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 413 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 414 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 415 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 416 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 417 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 418 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 419 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 420 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 421 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 423 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 424 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 426 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 429 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 430 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 431 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 432 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 433 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 434 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 436 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 437 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 439 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 440 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 441 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 442 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 444 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 446 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 448 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 450 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 452 of file vtkFixedPointVolumeRayCastMapper.h.

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

Definition at line 453 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 455 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 456 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 458 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 459 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 461 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 462 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 482 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 483 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 490 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 491 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 492 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 493 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 494 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 497 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 498 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 499 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 501 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 503 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 504 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 506 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 510 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 511 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 512 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 513 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 514 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 520 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 521 of file vtkFixedPointVolumeRayCastMapper.h.

Definition at line 523 of file vtkFixedPointVolumeRayCastMapper.h.


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