VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkUnstructuredGridVolumeRayCastMapper Class Reference

A software mapper for unstructured volumes. More...

#include <vtkUnstructuredGridVolumeRayCastMapper.h>

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

List of all members.

Public Types

typedef
vtkUnstructuredGridVolumeMapper 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkUnstructuredGridVolumeRayCastMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *, vtkVolume *)
void ReleaseGraphicsResources (vtkWindow *)
virtual intGetImageInUseSize ()
virtual void GetImageInUseSize (int data[2])
virtual intGetImageOrigin ()
virtual void GetImageOrigin (int data[2])
virtual intGetImageViewportSize ()
virtual void GetImageViewportSize (int data[2])
void CastRays (int threadID, int threadCount)
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 SetNumberOfThreads (int)
virtual int GetNumberOfThreads ()
virtual void SetIntermixIntersectingGeometry (int)
virtual int GetIntermixIntersectingGeometry ()
virtual void IntermixIntersectingGeometryOn ()
virtual void IntermixIntersectingGeometryOff ()
virtual void SetRayCastFunction (vtkUnstructuredGridVolumeRayCastFunction *f)
virtual
vtkUnstructuredGridVolumeRayCastFunction
GetRayCastFunction ()
virtual void SetRayIntegrator (vtkUnstructuredGridVolumeRayIntegrator *ri)
virtual
vtkUnstructuredGridVolumeRayIntegrator
GetRayIntegrator ()

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkUnstructuredGridVolumeRayCastMapper ()
 ~vtkUnstructuredGridVolumeRayCastMapper ()
void StoreRenderTime (vtkRenderer *ren, vtkVolume *vol, float t)
float RetrieveRenderTime (vtkRenderer *ren, vtkVolume *vol)
double GetZBufferValue (int x, int y)
double GetMinimumBoundsDepth (vtkRenderer *ren, vtkVolume *vol)

Protected Attributes

float ImageSampleDistance
float MinimumImageSampleDistance
float MaximumImageSampleDistance
int AutoAdjustSampleDistances
vtkMultiThreaderThreader
int NumberOfThreads
vtkRayCastImageDisplayHelperImageDisplayHelper
int ImageViewportSize [2]
int ImageMemorySize [2]
int ImageInUseSize [2]
int ImageOrigin [2]
unsigned char * Image
floatRenderTimeTable
vtkVolume ** RenderVolumeTable
vtkRenderer ** RenderRendererTable
int RenderTableSize
int RenderTableEntries
int IntermixIntersectingGeometry
floatZBuffer
int ZBufferSize [2]
int ZBufferOrigin [2]
vtkUnstructuredGridVolumeRayCastFunctionRayCastFunction
vtkUnstructuredGridVolumeRayCastIterator ** RayCastIterators
vtkUnstructuredGridVolumeRayIntegratorRayIntegrator
vtkUnstructuredGridVolumeRayIntegratorRealRayIntegrator
vtkIdList ** IntersectedCellsBuffer
vtkDoubleArray ** IntersectionLengthsBuffer
vtkDataArray ** NearIntersectionsBuffer
vtkDataArray ** FarIntersectionsBuffer
vtkVolumeCurrentVolume
vtkRendererCurrentRenderer
vtkDataArrayScalars
int CellScalars

Detailed Description

A software mapper for unstructured volumes.

This is a software ray caster for rendering volumes in vtkUnstructuredGrid.

See also:
vtkVolumeMapper
Examples:
vtkUnstructuredGridVolumeRayCastMapper (Examples)
Tests:
vtkUnstructuredGridVolumeRayCastMapper (Tests)

Definition at line 48 of file vtkUnstructuredGridVolumeRayCastMapper.h.


Member Typedef Documentation

Reimplemented from vtkUnstructuredGridVolumeMapper.

Definition at line 52 of file vtkUnstructuredGridVolumeRayCastMapper.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 vtkUnstructuredGridVolumeRayCastMapper::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 vtkUnstructuredGridVolumeMapper.

virtual int vtkUnstructuredGridVolumeRayCastMapper::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 vtkUnstructuredGridVolumeMapper.

Reimplemented from vtkUnstructuredGridVolumeMapper.

Reimplemented from vtkUnstructuredGridVolumeMapper.

Reimplemented from vtkUnstructuredGridVolumeMapper.

void vtkUnstructuredGridVolumeRayCastMapper::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 vtkUnstructuredGridVolumeMapper.

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.

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 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 will be varied to achieve the allocated render time of this prop (controlled by the desired update rate and any culling in use).

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

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

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

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

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

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.

Set/Get the helper class for casting rays.

Set/Get the helper class for casting rays.

Set/Get the helper class for integrating rays. If set to NULL, a default integrator will be assigned.

Set/Get the helper class for integrating rays. If set to NULL, a default integrator will be assigned.

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

Implements vtkUnstructuredGridVolumeMapper.

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

virtual void vtkUnstructuredGridVolumeRayCastMapper::GetImageOrigin ( int  data[2]) [virtual]
void vtkUnstructuredGridVolumeRayCastMapper::CastRays ( int  threadID,
int  threadCount 
)

Member Data Documentation

Definition at line 137 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 138 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 139 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 140 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 142 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 143 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 145 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 148 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 154 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 160 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 164 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 167 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 169 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 170 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 171 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 172 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 173 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 178 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 180 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 181 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 182 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 192 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 193 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 194 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 195 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 197 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 198 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 199 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 200 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 202 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 203 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 205 of file vtkUnstructuredGridVolumeRayCastMapper.h.

Definition at line 206 of file vtkUnstructuredGridVolumeRayCastMapper.h.


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