VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkUnstructuredGridVolumeZSweepMapper Class Reference

Unstructured grid volume mapper based the ZSweep Algorithm. More...

#include <vtkUnstructuredGridVolumeZSweepMapper.h>

Inheritance diagram for vtkUnstructuredGridVolumeZSweepMapper:
[legend]
Collaboration diagram for vtkUnstructuredGridVolumeZSweepMapper:
[legend]

Public Types

typedef vtkUnstructuredGridVolumeMapper Superclass
 
- Public Types inherited from vtkUnstructuredGridVolumeMapper
enum  { COMPOSITE_BLEND, MAXIMUM_INTENSITY_BLEND }
 
typedef vtkAbstractVolumeMapper Superclass
 
- Public Types inherited from vtkAbstractVolumeMapper
typedef vtkAbstractMapper3D Superclass
 
- Public Types inherited from vtkAbstractMapper3D
typedef vtkAbstractMapper Superclass
 
- Public Types inherited from vtkAbstractMapper
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
 
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkUnstructuredGridVolumeZSweepMapperNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int GetMaxPixelListSize ()
 
void SetMaxPixelListSize (int size)
 
virtual intGetImageInUseSize ()
 
virtual void GetImageInUseSize (int data[2])
 
virtual intGetImageOrigin ()
 
virtual void GetImageOrigin (int data[2])
 
virtual intGetImageViewportSize ()
 
virtual void GetImageViewportSize (int data[2])
 
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 SetIntermixIntersectingGeometry (int)
 
virtual int GetIntermixIntersectingGeometry ()
 
virtual void IntermixIntersectingGeometryOn ()
 
virtual void IntermixIntersectingGeometryOff ()
 
virtual void SetRayIntegrator (vtkUnstructuredGridVolumeRayIntegrator *ri)
 
virtual vtkUnstructuredGridVolumeRayIntegratorGetRayIntegrator ()
 
void Render (vtkRenderer *ren, vtkVolume *vol)
 
- Public Member Functions inherited from vtkUnstructuredGridVolumeMapper
vtkUnstructuredGridVolumeMapperNewInstance () const
 
virtual void SetBlendMode (int)
 
void SetBlendModeToComposite ()
 
void SetBlendModeToMaximumIntensity ()
 
virtual int GetBlendMode ()
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
virtual void SetInputData (vtkUnstructuredGridBase *)
 
virtual void SetInputData (vtkDataSet *)
 
vtkUnstructuredGridBaseGetInput ()
 
- Public Member Functions inherited from vtkAbstractVolumeMapper
vtkAbstractVolumeMapperNewInstance () const
 
const char * GetScalarModeAsString ()
 
vtkDataSetGetDataSetInput ()
 
vtkDataObjectGetDataObjectInput ()
 
virtual doubleGetBounds ()
 
virtual void GetBounds (double bounds[6])
 
virtual void SetScalarMode (int)
 
virtual int GetScalarMode ()
 
void SetScalarModeToDefault ()
 
void SetScalarModeToUsePointData ()
 
void SetScalarModeToUseCellData ()
 
void SetScalarModeToUsePointFieldData ()
 
void SetScalarModeToUseCellFieldData ()
 
virtual void SelectScalarArray (int arrayNum)
 
virtual void SelectScalarArray (const char *arrayName)
 
virtual char * GetArrayName ()
 
virtual int GetArrayId ()
 
virtual int GetArrayAccessMode ()
 
virtual float GetGradientMagnitudeScale ()
 
virtual float GetGradientMagnitudeBias ()
 
virtual float GetGradientMagnitudeScale (int)
 
virtual float GetGradientMagnitudeBias (int)
 
- Public Member Functions inherited from vtkAbstractMapper3D
vtkAbstractMapper3DNewInstance () const
 
double GetLength ()
 
int GetNumberOfClippingPlanes ()
 
doubleGetCenter ()
 
void GetCenter (double center[3])
 
virtual int IsARayCastMapper ()
 
virtual int IsARenderIntoImageMapper ()
 
void GetClippingPlaneInDataCoords (vtkMatrix4x4 *propMatrix, int i, double planeEquation[4])
 
- Public Member Functions inherited from vtkAbstractMapper
vtkAbstractMapperNewInstance () const
 
virtual unsigned long GetMTime ()
 
void SetClippingPlanes (vtkPlanes *planes)
 
void ShallowCopy (vtkAbstractMapper *m)
 
virtual double GetTimeToDraw ()
 
void AddClippingPlane (vtkPlane *plane)
 
void RemoveClippingPlane (vtkPlane *plane)
 
void RemoveAllClippingPlanes ()
 
virtual void SetClippingPlanes (vtkPlaneCollection *)
 
virtual vtkPlaneCollectionGetClippingPlanes ()
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int extent[6])
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkUnstructuredGridVolumeZSweepMapperSafeDownCast (vtkObjectBase *o)
 
static vtkUnstructuredGridVolumeZSweepMapperNew ()
 
- Static Public Member Functions inherited from vtkUnstructuredGridVolumeMapper
static int IsTypeOf (const char *type)
 
static vtkUnstructuredGridVolumeMapperSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractVolumeMapper
static int IsTypeOf (const char *type)
 
static vtkAbstractVolumeMapperSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractMapper3D
static int IsTypeOf (const char *type)
 
static vtkAbstractMapper3DSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAbstractMapper
static int IsTypeOf (const char *type)
 
static vtkAbstractMapperSafeDownCast (vtkObjectBase *o)
 
static vtkDataArrayGetScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)
 
static vtkAbstractArrayGetAbstractScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkUnstructuredGridVolumeZSweepMapper ()
 
 ~vtkUnstructuredGridVolumeZSweepMapper ()
 
void BuildUseSets ()
 
void CreateAndCleanPixelList ()
 
void MainLoop (vtkRenderWindow *renWin)
 
void CompositeFunction (double zTarget)
 
unsigned char ColorComponentRealToByte (float color)
 
void RasterizeFace (vtkIdType faceIds[3], int externalSide)
 
void StoreRenderTime (vtkRenderer *ren, vtkVolume *vol, float t)
 
float RetrieveRenderTime (vtkRenderer *ren, vtkVolume *vol)
 
double GetMinimumBoundsDepth (vtkRenderer *ren, vtkVolume *vol)
 
void AllocateUseSet (vtkIdType size)
 
void AllocateVertices (vtkIdType size)
 
void SavePixelListFrame ()
 
int ReorderTriangle (vtkIdType v[3], vtkIdType w[3])
 
void ProjectAndSortVertices (vtkRenderer *ren, vtkVolume *vol)
 
void RasterizeTriangle (vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *ve0, vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *ve1, vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *ve2, bool exitFace)
 
void RasterizeSpan (int y, vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkScreenEdge *left, vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkScreenEdge *right, bool exitFace)
 
void RasterizeLine (vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *v0, vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *v1, bool exitFace)
 
double GetZBufferValue (int x, int y)
 
- Protected Member Functions inherited from vtkUnstructuredGridVolumeMapper
 vtkUnstructuredGridVolumeMapper ()
 
 ~vtkUnstructuredGridVolumeMapper ()
 
virtual int FillInputPortInformation (int, vtkInformation *)
 
- Protected Member Functions inherited from vtkAbstractVolumeMapper
 vtkAbstractVolumeMapper ()
 
 ~vtkAbstractVolumeMapper ()
 
- Protected Member Functions inherited from vtkAbstractMapper3D
 vtkAbstractMapper3D ()
 
 ~vtkAbstractMapper3D ()
 
- Protected Member Functions inherited from vtkAbstractMapper
 vtkAbstractMapper ()
 
 ~vtkAbstractMapper ()
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
virtual void SetErrorCode (unsigned long)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int MaxPixelListSize
 
float ImageSampleDistance
 
float MinimumImageSampleDistance
 
float MaximumImageSampleDistance
 
int AutoAdjustSampleDistances
 
vtkRayCastImageDisplayHelperImageDisplayHelper
 
int ImageViewportSize [2]
 
int ImageMemorySize [2]
 
int ImageInUseSize [2]
 
int ImageOrigin [2]
 
unsigned char * Image
 
floatRealRGBAImage
 
floatRenderTimeTable
 
vtkVolume ** RenderVolumeTable
 
vtkRenderer ** RenderRendererTable
 
int RenderTableSize
 
int RenderTableEntries
 
int IntermixIntersectingGeometry
 
floatZBuffer
 
int ZBufferSize [2]
 
int ZBufferOrigin [2]
 
vtkDataArrayScalars
 
int CellScalars
 
double FaceScalars [2]
 
int FaceSide
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkSpan * Span
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkPixelListFrame * PixelListFrame
 
vtkGenericCellCell
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkUseSet * UseSet
 
vtkPriorityQueueEventList
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertices * Vertices
 
vtkTransformPerspectiveTransform
 
vtkMatrix4x4PerspectiveMatrix
 
int MaxPixelListSizeReached
 
int XBounds [2]
 
int YBounds [2]
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkSimpleScreenEdge * SimpleEdge
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkDoubleScreenEdge * DoubleEdge
 
vtkUnstructuredGridVolumeRayIntegratorRayIntegrator
 
vtkUnstructuredGridVolumeRayIntegratorRealRayIntegrator
 
vtkTimeStamp SavedTriangleListMTime
 
vtkDoubleArrayIntersectionLengths
 
vtkDoubleArrayNearIntersections
 
vtkDoubleArrayFarIntersections
 
vtkIdType MaxRecordedPixelListSize
 
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkPixelListEntryMemory * MemoryManager
 
- Protected Attributes inherited from vtkUnstructuredGridVolumeMapper
int BlendMode
 
- Protected Attributes inherited from vtkAbstractVolumeMapper
int ScalarMode
 
char * ArrayName
 
int ArrayId
 
int ArrayAccessMode
 
- Protected Attributes inherited from vtkAbstractMapper3D
double Bounds [6]
 
double Center [3]
 
- Protected Attributes inherited from vtkAbstractMapper
vtkTimerLogTimer
 
double TimeToDraw
 
vtkWindowLastWindow
 
vtkPlaneCollectionClippingPlanes
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
int AbortExecute
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

Unstructured grid volume mapper based the ZSweep Algorithm.

This is a volume mapper for unstructured grid implemented with the ZSweep algorithm. This is a software projective method.

See also
vtkVolumetMapper
Background:
The algorithm is described in the following paper: Ricardo Farias, Joseph S. B. Mitchell and Claudio T. Silva. ZSWEEP: An Efficient and Exact Projection Algorithm for Unstructured Volume Rendering. In 2000 Volume Visualization Symposium, pages 91–99. October 2000. http://www.cse.ogi.edu/~csilva/papers/volvis2000.pdf
Tests:
vtkUnstructuredGridVolumeZSweepMapper (Tests)

Definition at line 73 of file vtkUnstructuredGridVolumeZSweepMapper.h.

Member Typedef Documentation

Definition at line 76 of file vtkUnstructuredGridVolumeZSweepMapper.h.

Constructor & Destructor Documentation

vtkUnstructuredGridVolumeZSweepMapper::vtkUnstructuredGridVolumeZSweepMapper ( )
protected
vtkUnstructuredGridVolumeZSweepMapper::~vtkUnstructuredGridVolumeZSweepMapper ( )
protected

Member Function Documentation

static int vtkUnstructuredGridVolumeZSweepMapper::IsTypeOf ( const char *  type)
static
virtual int vtkUnstructuredGridVolumeZSweepMapper::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.

static vtkUnstructuredGridVolumeZSweepMapper* vtkUnstructuredGridVolumeZSweepMapper::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkUnstructuredGridVolumeZSweepMapper::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkUnstructuredGridVolumeMapper.

vtkUnstructuredGridVolumeZSweepMapper* vtkUnstructuredGridVolumeZSweepMapper::NewInstance ( ) const
void vtkUnstructuredGridVolumeZSweepMapper::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.

static vtkUnstructuredGridVolumeZSweepMapper* vtkUnstructuredGridVolumeZSweepMapper::New ( )
static

Set MaxPixelListSize to 32.

virtual void vtkUnstructuredGridVolumeZSweepMapper::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.

virtual float vtkUnstructuredGridVolumeZSweepMapper::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 vtkUnstructuredGridVolumeZSweepMapper::SetMinimumImageSampleDistance ( float  )
virtual

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

virtual float vtkUnstructuredGridVolumeZSweepMapper::GetMinimumImageSampleDistance ( )
virtual

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

virtual void vtkUnstructuredGridVolumeZSweepMapper::SetMaximumImageSampleDistance ( float  )
virtual

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

virtual float vtkUnstructuredGridVolumeZSweepMapper::GetMaximumImageSampleDistance ( )
virtual

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

virtual void vtkUnstructuredGridVolumeZSweepMapper::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 vtkUnstructuredGridVolumeZSweepMapper::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 vtkUnstructuredGridVolumeZSweepMapper::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 vtkUnstructuredGridVolumeZSweepMapper::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).

virtual void vtkUnstructuredGridVolumeZSweepMapper::SetIntermixIntersectingGeometry ( int  )
virtual

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

virtual int vtkUnstructuredGridVolumeZSweepMapper::GetIntermixIntersectingGeometry ( )
virtual

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

virtual void vtkUnstructuredGridVolumeZSweepMapper::IntermixIntersectingGeometryOn ( )
virtual

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

virtual void vtkUnstructuredGridVolumeZSweepMapper::IntermixIntersectingGeometryOff ( )
virtual

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

int vtkUnstructuredGridVolumeZSweepMapper::GetMaxPixelListSize ( )

Maximum size allowed for a pixel list. Default is 32. During the rendering, if a list of pixel is full, incremental compositing is performed. Even if it is a user setting, it is an advanced parameter. You have to understand how the algorithm works to change this value.

void vtkUnstructuredGridVolumeZSweepMapper::SetMaxPixelListSize ( int  size)

Change the maximum size allowed for a pixel list. It is an advanced parameter.

Precondition
positive_size: size>1
virtual void vtkUnstructuredGridVolumeZSweepMapper::SetRayIntegrator ( vtkUnstructuredGridVolumeRayIntegrator ri)
virtual

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

virtual vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeZSweepMapper::GetRayIntegrator ( )
virtual

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

void vtkUnstructuredGridVolumeZSweepMapper::Render ( vtkRenderer ren,
vtkVolume vol 
)
virtual

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume

Implements vtkUnstructuredGridVolumeMapper.

virtual int* vtkUnstructuredGridVolumeZSweepMapper::GetImageInUseSize ( )
virtual
virtual void vtkUnstructuredGridVolumeZSweepMapper::GetImageInUseSize ( int  data[2])
virtual
virtual int* vtkUnstructuredGridVolumeZSweepMapper::GetImageOrigin ( )
virtual
virtual void vtkUnstructuredGridVolumeZSweepMapper::GetImageOrigin ( int  data[2])
virtual
virtual int* vtkUnstructuredGridVolumeZSweepMapper::GetImageViewportSize ( )
virtual
virtual void vtkUnstructuredGridVolumeZSweepMapper::GetImageViewportSize ( int  data[2])
virtual
void vtkUnstructuredGridVolumeZSweepMapper::BuildUseSets ( )
protected

For each vertex, find the list of incident faces.

int vtkUnstructuredGridVolumeZSweepMapper::ReorderTriangle ( vtkIdType  v[3],
vtkIdType  w[3] 
)
protected

Reorder vertices `v' in increasing order in `w'. Return if the orientation has changed.

void vtkUnstructuredGridVolumeZSweepMapper::ProjectAndSortVertices ( vtkRenderer ren,
vtkVolume vol 
)
protected

Project and sort the vertices by z-coordinates in view space in the "event list" (an heap).

Precondition
empty_list: this->EventList->GetNumberOfItems()==0
void vtkUnstructuredGridVolumeZSweepMapper::CreateAndCleanPixelList ( )
protected

Create an empty "pixel list" for each pixel of the screen.

void vtkUnstructuredGridVolumeZSweepMapper::MainLoop ( vtkRenderWindow renWin)
protected

MainLoop of the Zsweep algorithm.

Postcondition
empty_list: this->EventList->GetNumberOfItems()==0
void vtkUnstructuredGridVolumeZSweepMapper::CompositeFunction ( double  zTarget)
protected

Do delayed compositing from back to front, stopping at zTarget for each pixel inside the bounding box.

unsigned char vtkUnstructuredGridVolumeZSweepMapper::ColorComponentRealToByte ( float  color)
protected

Convert and clamp a float color component into a unsigned char.

void vtkUnstructuredGridVolumeZSweepMapper::RasterizeFace ( vtkIdType  faceIds[3],
int  externalSide 
)
protected

Perform scan conversion of a triangle face.

void vtkUnstructuredGridVolumeZSweepMapper::RasterizeTriangle ( vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *  ve0,
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *  ve1,
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *  ve2,
bool  exitFace 
)
protected

Perform scan conversion of a triangle defined by its vertices.

Precondition
ve0_exists: ve0!=0
ve1_exists: ve1!=0
ve2_exists: ve2!=0
void vtkUnstructuredGridVolumeZSweepMapper::RasterizeSpan ( int  y,
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkScreenEdge *  left,
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkScreenEdge *  right,
bool  exitFace 
)
protected

Perform scan conversion of an horizontal span from left ro right at line y.

Precondition
left_exists: left!=0
right_exists: right!=0
void vtkUnstructuredGridVolumeZSweepMapper::RasterizeLine ( vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *  v0,
vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertexEntry *  v1,
bool  exitFace 
)
protected

Scan conversion of a straight line defined by endpoints v0 and v1.

Precondition
v0_exists: v0!=0
v1_exists: v1!=0
y_ordered v0->GetScreenY()<=v1->GetScreenY()
void vtkUnstructuredGridVolumeZSweepMapper::StoreRenderTime ( vtkRenderer ren,
vtkVolume vol,
float  t 
)
protected
float vtkUnstructuredGridVolumeZSweepMapper::RetrieveRenderTime ( vtkRenderer ren,
vtkVolume vol 
)
protected
double vtkUnstructuredGridVolumeZSweepMapper::GetZBufferValue ( int  x,
int  y 
)
protected

Return the value of the z-buffer at screen coordinates (x,y).

double vtkUnstructuredGridVolumeZSweepMapper::GetMinimumBoundsDepth ( vtkRenderer ren,
vtkVolume vol 
)
protected
void vtkUnstructuredGridVolumeZSweepMapper::AllocateUseSet ( vtkIdType  size)
protected

Allocate an array of usesets of size `size' only if the current one is not large enough. Otherwise clear each use set of each vertex.

void vtkUnstructuredGridVolumeZSweepMapper::AllocateVertices ( vtkIdType  size)
protected

Allocate a vertex array of size `size' only if the current one is not large enough.

void vtkUnstructuredGridVolumeZSweepMapper::SavePixelListFrame ( )
protected

For debugging purpose, save the pixel list frame as a dataset.

Member Data Documentation

int vtkUnstructuredGridVolumeZSweepMapper::MaxPixelListSize
protected

Definition at line 248 of file vtkUnstructuredGridVolumeZSweepMapper.h.

float vtkUnstructuredGridVolumeZSweepMapper::ImageSampleDistance
protected

Definition at line 250 of file vtkUnstructuredGridVolumeZSweepMapper.h.

float vtkUnstructuredGridVolumeZSweepMapper::MinimumImageSampleDistance
protected

Definition at line 251 of file vtkUnstructuredGridVolumeZSweepMapper.h.

float vtkUnstructuredGridVolumeZSweepMapper::MaximumImageSampleDistance
protected

Definition at line 252 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::AutoAdjustSampleDistances
protected

Definition at line 253 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkRayCastImageDisplayHelper* vtkUnstructuredGridVolumeZSweepMapper::ImageDisplayHelper
protected

Definition at line 255 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::ImageViewportSize[2]
protected

Definition at line 258 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::ImageMemorySize[2]
protected

Definition at line 264 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::ImageInUseSize[2]
protected

Definition at line 270 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::ImageOrigin[2]
protected

Definition at line 274 of file vtkUnstructuredGridVolumeZSweepMapper.h.

unsigned char* vtkUnstructuredGridVolumeZSweepMapper::Image
protected

Definition at line 277 of file vtkUnstructuredGridVolumeZSweepMapper.h.

float* vtkUnstructuredGridVolumeZSweepMapper::RealRGBAImage
protected

Definition at line 280 of file vtkUnstructuredGridVolumeZSweepMapper.h.

float* vtkUnstructuredGridVolumeZSweepMapper::RenderTimeTable
protected

Definition at line 282 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkVolume** vtkUnstructuredGridVolumeZSweepMapper::RenderVolumeTable
protected

Definition at line 283 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkRenderer** vtkUnstructuredGridVolumeZSweepMapper::RenderRendererTable
protected

Definition at line 284 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::RenderTableSize
protected

Definition at line 285 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::RenderTableEntries
protected

Definition at line 286 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::IntermixIntersectingGeometry
protected

Definition at line 288 of file vtkUnstructuredGridVolumeZSweepMapper.h.

float* vtkUnstructuredGridVolumeZSweepMapper::ZBuffer
protected

Definition at line 290 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::ZBufferSize[2]
protected

Definition at line 291 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::ZBufferOrigin[2]
protected

Definition at line 292 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkDataArray* vtkUnstructuredGridVolumeZSweepMapper::Scalars
protected

Definition at line 294 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::CellScalars
protected

Definition at line 295 of file vtkUnstructuredGridVolumeZSweepMapper.h.

double vtkUnstructuredGridVolumeZSweepMapper::FaceScalars[2]
protected

Definition at line 300 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::FaceSide
protected

Definition at line 301 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkSpan* vtkUnstructuredGridVolumeZSweepMapper::Span
protected

Definition at line 304 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkPixelListFrame* vtkUnstructuredGridVolumeZSweepMapper::PixelListFrame
protected

Definition at line 305 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkGenericCell* vtkUnstructuredGridVolumeZSweepMapper::Cell
protected

Definition at line 308 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkUseSet* vtkUnstructuredGridVolumeZSweepMapper::UseSet
protected

Definition at line 310 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkPriorityQueue* vtkUnstructuredGridVolumeZSweepMapper::EventList
protected

Definition at line 312 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkVertices* vtkUnstructuredGridVolumeZSweepMapper::Vertices
protected

Definition at line 313 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkTransform* vtkUnstructuredGridVolumeZSweepMapper::PerspectiveTransform
protected

Definition at line 315 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkMatrix4x4* vtkUnstructuredGridVolumeZSweepMapper::PerspectiveMatrix
protected

Definition at line 316 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::MaxPixelListSizeReached
protected

Definition at line 319 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::XBounds[2]
protected

Definition at line 320 of file vtkUnstructuredGridVolumeZSweepMapper.h.

int vtkUnstructuredGridVolumeZSweepMapper::YBounds[2]
protected

Definition at line 321 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkSimpleScreenEdge* vtkUnstructuredGridVolumeZSweepMapper::SimpleEdge
protected

Definition at line 323 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkDoubleScreenEdge* vtkUnstructuredGridVolumeZSweepMapper::DoubleEdge
protected

Definition at line 324 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeZSweepMapper::RayIntegrator
protected

Definition at line 326 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeRayIntegrator* vtkUnstructuredGridVolumeZSweepMapper::RealRayIntegrator
protected

Definition at line 327 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkTimeStamp vtkUnstructuredGridVolumeZSweepMapper::SavedTriangleListMTime
protected

Definition at line 329 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkDoubleArray* vtkUnstructuredGridVolumeZSweepMapper::IntersectionLengths
protected

Definition at line 332 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkDoubleArray* vtkUnstructuredGridVolumeZSweepMapper::NearIntersections
protected

Definition at line 333 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkDoubleArray* vtkUnstructuredGridVolumeZSweepMapper::FarIntersections
protected

Definition at line 334 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkIdType vtkUnstructuredGridVolumeZSweepMapper::MaxRecordedPixelListSize
protected

Definition at line 337 of file vtkUnstructuredGridVolumeZSweepMapper.h.

vtkUnstructuredGridVolumeZSweepMapperNamespace::vtkPixelListEntryMemory* vtkUnstructuredGridVolumeZSweepMapper::MemoryManager
protected

Definition at line 340 of file vtkUnstructuredGridVolumeZSweepMapper.h.


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