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

AMR class for a volume mapper. More...

#include <vtkAMRVolumeMapper.h>

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

Public Types

enum  {
  DefaultRenderMode =0, RayCastAndTextureRenderMode, RayCastRenderMode, TextureRenderMode,
  GPURenderMode, UndefinedRenderMode, InvalidRenderMode
}
 
typedef vtkVolumeMapper Superclass
 
- Public Types inherited from vtkVolumeMapper
enum  { COMPOSITE_BLEND, MAXIMUM_INTENSITY_BLEND, MINIMUM_INTENSITY_BLEND, ADDITIVE_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)
 
vtkAMRVolumeMapperNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetScalarMode (int mode)
 
const char * GetScalarModeAsString ()
 
void SetInterpolationModeToNearestNeighbor ()
 
void SetInterpolationModeToLinear ()
 
void SetInterpolationModeToCubic ()
 
virtual void Render (vtkRenderer *ren, vtkVolume *vol)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
void ProcessUpdateExtentRequest (vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void ProcessInformationRequest (vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void UpdateResampler (vtkRenderer *ren, vtkOverlappingAMR *amr)
 
void UpdateResamplerFrustrumMethod (vtkRenderer *ren, vtkOverlappingAMR *amr)
 
virtual void SetInputData (vtkImageData *)
 
virtual void SetInputData (vtkDataSet *)
 
virtual void SetInputData (vtkOverlappingAMR *)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual doubleGetBounds ()
 
virtual void GetBounds (double bounds[6])
 
virtual void SetBlendMode (int mode)
 
virtual int GetBlendMode ()
 
virtual void SelectScalarArray (int arrayNum)
 
virtual void SelectScalarArray (const char *arrayName)
 
virtual char * GetArrayName ()
 
virtual int GetArrayId ()
 
virtual int GetArrayAccessMode ()
 
virtual void SetCropping (int mode)
 
virtual int GetCropping ()
 
virtual void SetCroppingRegionPlanes (double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
 
virtual void SetCroppingRegionPlanes (double *planes)
 
virtual void GetCroppingRegionPlanes (double *planes)
 
virtual doubleGetCroppingRegionPlanes ()
 
virtual void SetCroppingRegionFlags (int mode)
 
virtual int GetCroppingRegionFlags ()
 
void SetRequestedRenderMode (int mode)
 
int GetRequestedRenderMode ()
 
void SetRequestedRenderModeToDefault ()
 
void SetRequestedRenderModeToRayCastAndTexture ()
 
void SetRequestedRenderModeToRayCast ()
 
void SetRequestedRenderModeToTexture ()
 
void SetRequestedRenderModeToGPU ()
 
void SetInterpolationMode (int mode)
 
int GetInterpolationMode ()
 
virtual void SetNumberOfSamples (int, int, int)
 
virtual void SetNumberOfSamples (int[3])
 
virtual intGetNumberOfSamples ()
 
virtual void GetNumberOfSamples (int &, int &, int &)
 
virtual void GetNumberOfSamples (int[3])
 
virtual void SetRequestedResamplingMode (int)
 
virtual int GetRequestedResamplingMode ()
 
virtual void SetFreezeFocalPoint (bool)
 
virtual bool GetFreezeFocalPoint ()
 
virtual void SetResamplerUpdateTolerance (double)
 
virtual double GetResamplerUpdateTolerance ()
 
virtual void SetUseDefaultThreading (bool)
 
virtual bool GetUseDefaultThreading ()
 
- Public Member Functions inherited from vtkVolumeMapper
vtkVolumeMapperNewInstance () const
 
vtkImageDataGetInput ()
 
void SetBlendModeToComposite ()
 
void SetBlendModeToMaximumIntensity ()
 
void SetBlendModeToMinimumIntensity ()
 
void SetBlendModeToAdditive ()
 
virtual void CroppingOn ()
 
virtual void CroppingOff ()
 
virtual void SetCroppingRegionPlanes (double[6])
 
virtual void GetCroppingRegionPlanes (double data[6])
 
virtual doubleGetVoxelCroppingRegionPlanes ()
 
virtual void GetVoxelCroppingRegionPlanes (double data[6])
 
void SetCroppingRegionFlagsToSubVolume ()
 
void SetCroppingRegionFlagsToFence ()
 
void SetCroppingRegionFlagsToInvertedFence ()
 
void SetCroppingRegionFlagsToCross ()
 
void SetCroppingRegionFlagsToInvertedCross ()
 
- Public Member Functions inherited from vtkAbstractVolumeMapper
vtkAbstractVolumeMapperNewInstance () const
 
const char * GetScalarModeAsString ()
 
vtkDataSetGetDataSetInput ()
 
vtkDataObjectGetDataObjectInput ()
 
virtual int GetScalarMode ()
 
void SetScalarModeToDefault ()
 
void SetScalarModeToUsePointData ()
 
void SetScalarModeToUseCellData ()
 
void SetScalarModeToUsePointFieldData ()
 
void SetScalarModeToUseCellFieldData ()
 
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 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 vtkAMRVolumeMapperNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAMRVolumeMapperSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkVolumeMapper
static int IsTypeOf (const char *type)
 
static vtkVolumeMapperSafeDownCast (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
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
void UpdateGrid ()
 
- Protected Member Functions inherited from vtkVolumeMapper
 vtkVolumeMapper ()
 
 ~vtkVolumeMapper ()
 
void ConvertCroppingRegionPlanesToVoxels ()
 
- 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

vtkSmartVolumeMapperInternalMapper
 
vtkAMRResampleFilterResampler
 
vtkUniformGridGrid
 
int NumberOfSamples [3]
 
double Bounds [6]
 
bool HasMetaData
 
int RequestedResamplingMode
 
bool FreezeFocalPoint
 
double LastFocalPointPosition [3]
 
double LastPostionFPDistance
 
double ResamplerUpdateTolerance
 
bool GridNeedsToBeUpdated
 
bool UseDefaultThreading
 
- Protected Attributes inherited from vtkVolumeMapper
int BlendMode
 
int Cropping
 
double CroppingRegionPlanes [6]
 
double VoxelCroppingRegionPlanes [6]
 
int CroppingRegionFlags
 
- 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
 
static bool ComputeResamplerBoundsFrustumMethod (vtkCamera *camera, vtkRenderer *renderer, const double data_bounds[6], double out_bounds[6])
 
 vtkAMRVolumeMapper ()
 
 ~vtkAMRVolumeMapper ()
 

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

AMR class for a volume mapper.

vtkAMRVolumeMapper is the definition of a volume mapper. for AMR Structured Data

Definition at line 39 of file vtkAMRVolumeMapper.h.

Member Typedef Documentation

Definition at line 43 of file vtkAMRVolumeMapper.h.

Member Enumeration Documentation

anonymous enum
Enumerator
DefaultRenderMode 
RayCastAndTextureRenderMode 
RayCastRenderMode 
TextureRenderMode 
GPURenderMode 
UndefinedRenderMode 
InvalidRenderMode 

Definition at line 140 of file vtkAMRVolumeMapper.h.

Constructor & Destructor Documentation

vtkAMRVolumeMapper::vtkAMRVolumeMapper ( )
protected

Utility method used by UpdateResamplerFrustrumMethod() to compute the bounds.

vtkAMRVolumeMapper::~vtkAMRVolumeMapper ( )
protected

Utility method used by UpdateResamplerFrustrumMethod() to compute the bounds.

Member Function Documentation

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

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

Reimplemented from vtkVolumeMapper.

vtkAMRVolumeMapper* vtkAMRVolumeMapper::NewInstance ( ) const
void vtkAMRVolumeMapper::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 vtkAMRVolumeMapper::SetInputData ( vtkImageData )
virtual

Set the input data

Reimplemented from vtkVolumeMapper.

virtual void vtkAMRVolumeMapper::SetInputData ( vtkDataSet )
virtual

Set the input data

Reimplemented from vtkVolumeMapper.

virtual void vtkAMRVolumeMapper::SetInputData ( vtkOverlappingAMR )
virtual

Set the input data

virtual void vtkAMRVolumeMapper::SetInputConnection ( int  port,
vtkAlgorithmOutput input 
)
virtual

Set the input data

Reimplemented from vtkAlgorithm.

virtual void vtkAMRVolumeMapper::SetInputConnection ( vtkAlgorithmOutput input)
inlinevirtual

Set the input data

Reimplemented from vtkAlgorithm.

Definition at line 52 of file vtkAMRVolumeMapper.h.

virtual double* vtkAMRVolumeMapper::GetBounds ( )
virtual

Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).

Reimplemented from vtkAbstractVolumeMapper.

virtual void vtkAMRVolumeMapper::GetBounds ( double  bounds[6])
inlinevirtual

Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).

Reimplemented from vtkAbstractVolumeMapper.

Definition at line 60 of file vtkAMRVolumeMapper.h.

virtual void vtkAMRVolumeMapper::SetScalarMode ( int  mode)
virtual

Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.

Reimplemented from vtkAbstractVolumeMapper.

virtual void vtkAMRVolumeMapper::SetBlendMode ( int  mode)
virtual

Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.

Reimplemented from vtkVolumeMapper.

virtual int vtkAMRVolumeMapper::GetBlendMode ( )
virtual

Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.

Reimplemented from vtkVolumeMapper.

virtual void vtkAMRVolumeMapper::SelectScalarArray ( int  arrayNum)
virtual

When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array to use during rendering. The transfer function in the vtkVolumeProperty (attached to the calling vtkVolume) will decide how to convert vectors to colors.

Reimplemented from vtkAbstractVolumeMapper.

virtual void vtkAMRVolumeMapper::SelectScalarArray ( const char *  arrayName)
virtual

When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array to use during rendering. The transfer function in the vtkVolumeProperty (attached to the calling vtkVolume) will decide how to convert vectors to colors.

Reimplemented from vtkAbstractVolumeMapper.

virtual char* vtkAMRVolumeMapper::GetArrayName ( )
virtual

Get the array name or number and component to use for rendering.

Reimplemented from vtkAbstractVolumeMapper.

virtual int vtkAMRVolumeMapper::GetArrayId ( )
virtual

Get the array name or number and component to use for rendering.

Reimplemented from vtkAbstractVolumeMapper.

virtual int vtkAMRVolumeMapper::GetArrayAccessMode ( )
virtual

Get the array name or number and component to use for rendering.

Reimplemented from vtkAbstractVolumeMapper.

const char* vtkAMRVolumeMapper::GetScalarModeAsString ( )

Return the method for obtaining scalar data.

virtual void vtkAMRVolumeMapper::SetCropping ( int  mode)
virtual

Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.)

Reimplemented from vtkVolumeMapper.

virtual int vtkAMRVolumeMapper::GetCropping ( )
virtual

Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.)

Reimplemented from vtkVolumeMapper.

virtual void vtkAMRVolumeMapper::SetCroppingRegionPlanes ( double  arg1,
double  arg2,
double  arg3,
double  arg4,
double  arg5,
double  arg6 
)
virtual

Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.

Reimplemented from vtkVolumeMapper.

virtual void vtkAMRVolumeMapper::SetCroppingRegionPlanes ( double planes)
inlinevirtual

Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.

Definition at line 117 of file vtkAMRVolumeMapper.h.

virtual void vtkAMRVolumeMapper::GetCroppingRegionPlanes ( double planes)
virtual

Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.

virtual double* vtkAMRVolumeMapper::GetCroppingRegionPlanes ( )
virtual

Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.

Reimplemented from vtkVolumeMapper.

virtual void vtkAMRVolumeMapper::SetCroppingRegionFlags ( int  mode)
virtual

Set the flags for the cropping regions. The clipping planes divide the volume into 27 regions - there is one bit for each region. The regions start from the one containing voxel (0,0,0), moving along the x axis fastest, the y axis next, and the z axis slowest. These are represented from the lowest bit to bit number 27 in the integer containing the flags. There are several convenience functions to set some common configurations - subvolume (the default), fence (between any of the clip plane pairs), inverted fence, cross (between any two of the clip plane pairs) and inverted cross.

Reimplemented from vtkVolumeMapper.

virtual int vtkAMRVolumeMapper::GetCroppingRegionFlags ( )
virtual

Set the flags for the cropping regions. The clipping planes divide the volume into 27 regions - there is one bit for each region. The regions start from the one containing voxel (0,0,0), moving along the x axis fastest, the y axis next, and the z axis slowest. These are represented from the lowest bit to bit number 27 in the integer containing the flags. There are several convenience functions to set some common configurations - subvolume (the default), fence (between any of the clip plane pairs), inverted fence, cross (between any two of the clip plane pairs) and inverted cross.

Reimplemented from vtkVolumeMapper.

void vtkAMRVolumeMapper::SetRequestedRenderMode ( int  mode)

Set the requested render mode. The default is vtkSmartVolumeMapper::DefaultRenderMode.

int vtkAMRVolumeMapper::GetRequestedRenderMode ( )

Set the requested render mode. The default is vtkSmartVolumeMapper::DefaultRenderMode.

void vtkAMRVolumeMapper::SetRequestedRenderModeToDefault ( )
inline

Set the requested render mode to vtkAMRVolumeMapper::DefaultRenderMode. This is the best option for an application that must adapt to different data types, hardware, and rendering parameters.

Definition at line 164 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetRequestedRenderModeToRayCastAndTexture ( )
inline

Set the requested render mode to vtkAMRVolumeMapper::RayCastAndTextureRenderMode. This is a good option if you want to avoid using advanced OpenGL functionality, but would still like to used 3D texture mapping, if available, for interactive rendering.

Definition at line 174 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetRequestedRenderModeToRayCast ( )
inline

Set the requested render mode to vtkAMRVolumeMapper::RayCastRenderMode. This option will use software rendering exclusively. This is a good option if you know there is no hardware acceleration.

Definition at line 183 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetRequestedRenderModeToTexture ( )
inline

Set the requested render mode to vtkAMRVolumeMapper::TextureRenderMode. This is a good option if you want to use 3D texture mapping, if available, for interactive rendering.

Definition at line 192 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetRequestedRenderModeToGPU ( )
inline

Set the requested render mode to vtkAMRVolumeMapper::GPURenderMode. This will do the volume rendering on the GPU

Definition at line 199 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetInterpolationMode ( int  mode)

Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).

int vtkAMRVolumeMapper::GetInterpolationMode ( )

Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).

void vtkAMRVolumeMapper::SetInterpolationModeToNearestNeighbor ( )
inline

Definition at line 210 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetInterpolationModeToLinear ( )
inline

Definition at line 213 of file vtkAMRVolumeMapper.h.

void vtkAMRVolumeMapper::SetInterpolationModeToCubic ( )
inline

Definition at line 216 of file vtkAMRVolumeMapper.h.

virtual void vtkAMRVolumeMapper::SetNumberOfSamples ( int  ,
int  ,
int   
)
virtual

Set/Get the number of samples/cells along the i/j/k directions. The default is 128x128x128

virtual void vtkAMRVolumeMapper::SetNumberOfSamples ( int  [3])
virtual

Set/Get the number of samples/cells along the i/j/k directions. The default is 128x128x128

virtual int* vtkAMRVolumeMapper::GetNumberOfSamples ( )
virtual

Set/Get the number of samples/cells along the i/j/k directions. The default is 128x128x128

virtual void vtkAMRVolumeMapper::GetNumberOfSamples ( int ,
int ,
int  
)
virtual

Set/Get the number of samples/cells along the i/j/k directions. The default is 128x128x128

virtual void vtkAMRVolumeMapper::GetNumberOfSamples ( int  [3])
virtual

Set/Get the number of samples/cells along the i/j/k directions. The default is 128x128x128

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

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

void vtkAMRVolumeMapper::ProcessUpdateExtentRequest ( vtkRenderer renderer,
vtkInformation info,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
void vtkAMRVolumeMapper::ProcessInformationRequest ( vtkRenderer renderer,
vtkInformation info,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
void vtkAMRVolumeMapper::UpdateResampler ( vtkRenderer ren,
vtkOverlappingAMR amr 
)
void vtkAMRVolumeMapper::UpdateResamplerFrustrumMethod ( vtkRenderer ren,
vtkOverlappingAMR amr 
)
virtual void vtkAMRVolumeMapper::SetRequestedResamplingMode ( int  )
virtual

Select the type of resampling techinque approach to use.

virtual int vtkAMRVolumeMapper::GetRequestedResamplingMode ( )
virtual

Select the type of resampling techinque approach to use.

virtual void vtkAMRVolumeMapper::SetFreezeFocalPoint ( bool  )
virtual

Select the type of resampling techinque approach to use.

virtual bool vtkAMRVolumeMapper::GetFreezeFocalPoint ( )
virtual

Select the type of resampling techinque approach to use.

virtual void vtkAMRVolumeMapper::SetResamplerUpdateTolerance ( double  )
virtual

Sets/Gets the tolerance used to determine if the resampler needs to be updated. Default is 10e-8

virtual double vtkAMRVolumeMapper::GetResamplerUpdateTolerance ( )
virtual

Sets/Gets the tolerance used to determine if the resampler needs to be updated. Default is 10e-8

virtual void vtkAMRVolumeMapper::SetUseDefaultThreading ( bool  )
virtual

Sets/Gets a flag that indicates the internal volume mapper should use the default number of threads. This is useful in applications such as ParaView that will turn off multiple threads by default. Default is false

virtual bool vtkAMRVolumeMapper::GetUseDefaultThreading ( )
virtual

Sets/Gets a flag that indicates the internal volume mapper should use the default number of threads. This is useful in applications such as ParaView that will turn off multiple threads by default. Default is false

static bool vtkAMRVolumeMapper::ComputeResamplerBoundsFrustumMethod ( vtkCamera camera,
vtkRenderer renderer,
const double  data_bounds[6],
double  out_bounds[6] 
)
static

Utility method used by UpdateResamplerFrustrumMethod() to compute the bounds.

virtual int vtkAMRVolumeMapper::FillInputPortInformation ( int  port,
vtkInformation info 
)
protectedvirtual

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkVolumeMapper.

void vtkAMRVolumeMapper::UpdateGrid ( )
protected

Member Data Documentation

vtkSmartVolumeMapper* vtkAMRVolumeMapper::InternalMapper
protected

Definition at line 286 of file vtkAMRVolumeMapper.h.

vtkAMRResampleFilter* vtkAMRVolumeMapper::Resampler
protected

Definition at line 287 of file vtkAMRVolumeMapper.h.

vtkUniformGrid* vtkAMRVolumeMapper::Grid
protected

Definition at line 288 of file vtkAMRVolumeMapper.h.

int vtkAMRVolumeMapper::NumberOfSamples[3]
protected

Definition at line 289 of file vtkAMRVolumeMapper.h.

double vtkAMRVolumeMapper::Bounds[6]
protected

Definition at line 290 of file vtkAMRVolumeMapper.h.

bool vtkAMRVolumeMapper::HasMetaData
protected

Definition at line 293 of file vtkAMRVolumeMapper.h.

int vtkAMRVolumeMapper::RequestedResamplingMode
protected

Definition at line 294 of file vtkAMRVolumeMapper.h.

bool vtkAMRVolumeMapper::FreezeFocalPoint
protected

Definition at line 295 of file vtkAMRVolumeMapper.h.

double vtkAMRVolumeMapper::LastFocalPointPosition[3]
protected

Definition at line 299 of file vtkAMRVolumeMapper.h.

double vtkAMRVolumeMapper::LastPostionFPDistance
protected

Definition at line 300 of file vtkAMRVolumeMapper.h.

double vtkAMRVolumeMapper::ResamplerUpdateTolerance
protected

Definition at line 304 of file vtkAMRVolumeMapper.h.

bool vtkAMRVolumeMapper::GridNeedsToBeUpdated
protected

Definition at line 305 of file vtkAMRVolumeMapper.h.

bool vtkAMRVolumeMapper::UseDefaultThreading
protected

Definition at line 306 of file vtkAMRVolumeMapper.h.


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