#include <vtkVolumeRayCastMapper.h>
This is a software ray caster for rendering volumes in vtkImageData.
Definition at line 83 of file vtkVolumeRayCastMapper.h.
vtkVolumeRayCastMapper::vtkVolumeRayCastMapper | ( | ) | [protected] |
vtkVolumeRayCastMapper::~vtkVolumeRayCastMapper | ( | ) | [protected] |
static vtkVolumeRayCastMapper* vtkVolumeRayCastMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual const char* vtkVolumeRayCastMapper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkVolumeMapper.
static int vtkVolumeRayCastMapper::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkVolumeMapper.
virtual int vtkVolumeRayCastMapper::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkVolumeMapper.
static vtkVolumeRayCastMapper* vtkVolumeRayCastMapper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkVolumeMapper.
void vtkVolumeRayCastMapper::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 vtkVolumeRayCastMapper::SetSampleDistance | ( | double | ) | [virtual] |
Set/Get the distance between samples. This variable is only used for sampling ray casting methods. Methods that compute a ray value by stepping cell-by-cell are not affected by this value.
virtual double vtkVolumeRayCastMapper::GetSampleDistance | ( | ) | [virtual] |
Set/Get the distance between samples. This variable is only used for sampling ray casting methods. Methods that compute a ray value by stepping cell-by-cell are not affected by this value.
virtual void vtkVolumeRayCastMapper::SetVolumeRayCastFunction | ( | vtkVolumeRayCastFunction * | ) | [virtual] |
Get / Set the volume ray cast function. This is used to process values found along the ray to compute a final pixel value.
virtual vtkVolumeRayCastFunction* vtkVolumeRayCastMapper::GetVolumeRayCastFunction | ( | ) | [virtual] |
Get / Set the volume ray cast function. This is used to process values found along the ray to compute a final pixel value.
virtual void vtkVolumeRayCastMapper::SetGradientEstimator | ( | vtkEncodedGradientEstimator * | gradest | ) | [virtual] |
Set / Get the gradient estimator used to estimate normals
virtual vtkEncodedGradientEstimator* vtkVolumeRayCastMapper::GetGradientEstimator | ( | ) | [virtual] |
Set / Get the gradient estimator used to estimate normals
virtual vtkEncodedGradientShader* vtkVolumeRayCastMapper::GetGradientShader | ( | ) | [virtual] |
Get the gradient shader.
virtual void vtkVolumeRayCastMapper::SetImageSampleDistance | ( | double | ) | [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.
virtual double vtkVolumeRayCastMapper::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.
virtual void vtkVolumeRayCastMapper::SetMinimumImageSampleDistance | ( | double | ) | [virtual] |
This is the minimum image sample distance allow when the image sample distance is being automatically adjusted
virtual double vtkVolumeRayCastMapper::GetMinimumImageSampleDistance | ( | ) | [virtual] |
This is the minimum image sample distance allow when the image sample distance is being automatically adjusted
virtual void vtkVolumeRayCastMapper::SetMaximumImageSampleDistance | ( | double | ) | [virtual] |
This is the maximum image sample distance allow when the image sample distance is being automatically adjusted
virtual double vtkVolumeRayCastMapper::GetMaximumImageSampleDistance | ( | ) | [virtual] |
This is the maximum image sample distance allow when the image sample distance is being automatically adjusted
virtual void vtkVolumeRayCastMapper::SetAutoAdjustSampleDistances | ( | int | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual int vtkVolumeRayCastMapper::GetAutoAdjustSampleDistances | ( | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual void vtkVolumeRayCastMapper::AutoAdjustSampleDistancesOn | ( | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
virtual void vtkVolumeRayCastMapper::AutoAdjustSampleDistancesOff | ( | ) | [virtual] |
If AutoAdjustSampleDistances is on, the the ImageSampleDistance will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).
void vtkVolumeRayCastMapper::SetNumberOfThreads | ( | int | num | ) |
Set/Get the number of threads to use. This by default is equal to the number of available processors detected.
int vtkVolumeRayCastMapper::GetNumberOfThreads | ( | ) |
Set/Get the number of threads to use. This by default is equal to the number of available processors detected.
virtual void vtkVolumeRayCastMapper::SetIntermixIntersectingGeometry | ( | int | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
virtual int vtkVolumeRayCastMapper::GetIntermixIntersectingGeometry | ( | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
virtual void vtkVolumeRayCastMapper::IntermixIntersectingGeometryOn | ( | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
virtual void vtkVolumeRayCastMapper::IntermixIntersectingGeometryOff | ( | ) | [virtual] |
If IntermixIntersectingGeometry is turned on, the zbuffer will be captured and used to limit the traversal of the rays.
void vtkVolumeRayCastMapper::Render | ( | vtkRenderer * | , | |
vtkVolume * | ||||
) | [virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Initialize rendering for this volume.
Implements vtkVolumeMapper.
void vtkVolumeRayCastMapper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkVolumeMapper.
float vtkVolumeRayCastMapper::GetZeroOpacityThreshold | ( | vtkVolume * | vol | ) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Return the scalar value below which all opacities are zero
virtual float vtkVolumeRayCastMapper::GetGradientMagnitudeScale | ( | ) | [virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume
Reimplemented from vtkAbstractVolumeMapper.
virtual float vtkVolumeRayCastMapper::GetGradientMagnitudeBias | ( | ) | [virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume
Reimplemented from vtkAbstractVolumeMapper.
virtual float vtkVolumeRayCastMapper::GetGradientMagnitudeScale | ( | int | ) | [inline, virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume
Reimplemented from vtkAbstractVolumeMapper.
Definition at line 182 of file vtkVolumeRayCastMapper.h.
virtual float vtkVolumeRayCastMapper::GetGradientMagnitudeBias | ( | int | ) | [inline, virtual] |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Values needed by the volume
Reimplemented from vtkAbstractVolumeMapper.
Definition at line 184 of file vtkVolumeRayCastMapper.h.
virtual void vtkVolumeRayCastMapper::ReportReferences | ( | vtkGarbageCollector * | ) | [protected, virtual] |
Reimplemented from vtkAlgorithm.
void vtkVolumeRayCastMapper::UpdateShadingTables | ( | vtkRenderer * | ren, | |
vtkVolume * | vol | |||
) | [protected] |
void vtkVolumeRayCastMapper::ComputeMatrices | ( | vtkImageData * | data, | |
vtkVolume * | vol | |||
) | [protected] |
int vtkVolumeRayCastMapper::ComputeRowBounds | ( | vtkVolume * | vol, | |
vtkRenderer * | ren | |||
) | [protected] |
void vtkVolumeRayCastMapper::StoreRenderTime | ( | vtkRenderer * | ren, | |
vtkVolume * | vol, | |||
float | t | |||
) | [protected] |
float vtkVolumeRayCastMapper::RetrieveRenderTime | ( | vtkRenderer * | ren, | |
vtkVolume * | vol | |||
) | [protected] |
int vtkVolumeRayCastMapper::ClipRayAgainstVolume | ( | vtkVolumeRayCastDynamicInfo * | dynamicInfo, | |
float | bounds[6] | |||
) | [protected] |
void vtkVolumeRayCastMapper::InitializeClippingPlanes | ( | vtkVolumeRayCastStaticInfo * | staticInfo, | |
vtkPlaneCollection * | planes | |||
) | [protected] |
int vtkVolumeRayCastMapper::ClipRayAgainstClippingPlanes | ( | vtkVolumeRayCastDynamicInfo * | dynamicInfo, | |
vtkVolumeRayCastStaticInfo * | staticInfo | |||
) | [protected] |
double vtkVolumeRayCastMapper::GetZBufferValue | ( | int | x, | |
int | y | |||
) | [protected] |
VTK_THREAD_RETURN_TYPE VolumeRayCastMapper_CastRays | ( | void * | arg | ) | [friend] |
Definition at line 194 of file vtkVolumeRayCastMapper.h.
Definition at line 195 of file vtkVolumeRayCastMapper.h.
Definition at line 196 of file vtkVolumeRayCastMapper.h.
Definition at line 197 of file vtkVolumeRayCastMapper.h.
double vtkVolumeRayCastMapper::SampleDistance [protected] |
Definition at line 202 of file vtkVolumeRayCastMapper.h.
double vtkVolumeRayCastMapper::ImageSampleDistance [protected] |
Definition at line 203 of file vtkVolumeRayCastMapper.h.
double vtkVolumeRayCastMapper::MinimumImageSampleDistance [protected] |
Definition at line 204 of file vtkVolumeRayCastMapper.h.
double vtkVolumeRayCastMapper::MaximumImageSampleDistance [protected] |
Definition at line 205 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::AutoAdjustSampleDistances [protected] |
Definition at line 206 of file vtkVolumeRayCastMapper.h.
double vtkVolumeRayCastMapper::WorldSampleDistance [protected] |
Definition at line 208 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ScalarDataType [protected] |
Definition at line 209 of file vtkVolumeRayCastMapper.h.
void* vtkVolumeRayCastMapper::ScalarDataPointer [protected] |
Definition at line 210 of file vtkVolumeRayCastMapper.h.
vtkMultiThreader* vtkVolumeRayCastMapper::Threader [protected] |
Definition at line 220 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::PerspectiveMatrix [protected] |
Definition at line 222 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::ViewToWorldMatrix [protected] |
Definition at line 223 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::ViewToVoxelsMatrix [protected] |
Definition at line 224 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::VoxelsToViewMatrix [protected] |
Definition at line 225 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::WorldToVoxelsMatrix [protected] |
Definition at line 226 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::VoxelsToWorldMatrix [protected] |
Definition at line 227 of file vtkVolumeRayCastMapper.h.
vtkMatrix4x4* vtkVolumeRayCastMapper::VolumeMatrix [protected] |
Definition at line 229 of file vtkVolumeRayCastMapper.h.
vtkTransform* vtkVolumeRayCastMapper::PerspectiveTransform [protected] |
Definition at line 231 of file vtkVolumeRayCastMapper.h.
vtkTransform* vtkVolumeRayCastMapper::VoxelsTransform [protected] |
Definition at line 232 of file vtkVolumeRayCastMapper.h.
Definition at line 233 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ImageViewportSize[2] [protected] |
Definition at line 236 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ImageMemorySize[2] [protected] |
Definition at line 242 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ImageInUseSize[2] [protected] |
Definition at line 248 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ImageOrigin[2] [protected] |
Definition at line 252 of file vtkVolumeRayCastMapper.h.
unsigned char* vtkVolumeRayCastMapper::Image [protected] |
Definition at line 255 of file vtkVolumeRayCastMapper.h.
int* vtkVolumeRayCastMapper::RowBounds [protected] |
Definition at line 257 of file vtkVolumeRayCastMapper.h.
int* vtkVolumeRayCastMapper::OldRowBounds [protected] |
Definition at line 258 of file vtkVolumeRayCastMapper.h.
float* vtkVolumeRayCastMapper::RenderTimeTable [protected] |
Definition at line 260 of file vtkVolumeRayCastMapper.h.
vtkVolume** vtkVolumeRayCastMapper::RenderVolumeTable [protected] |
Definition at line 261 of file vtkVolumeRayCastMapper.h.
vtkRenderer** vtkVolumeRayCastMapper::RenderRendererTable [protected] |
Definition at line 262 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::RenderTableSize [protected] |
Definition at line 263 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::RenderTableEntries [protected] |
Definition at line 264 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::IntermixIntersectingGeometry [protected] |
Definition at line 269 of file vtkVolumeRayCastMapper.h.
float* vtkVolumeRayCastMapper::ZBuffer [protected] |
Definition at line 271 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ZBufferSize[2] [protected] |
Definition at line 272 of file vtkVolumeRayCastMapper.h.
int vtkVolumeRayCastMapper::ZBufferOrigin[2] [protected] |
Definition at line 273 of file vtkVolumeRayCastMapper.h.
float vtkVolumeRayCastMapper::MinimumViewDistance [protected] |
Definition at line 275 of file vtkVolumeRayCastMapper.h.