Go to the documentation of this file.
26 #ifndef vtkAMRVolumeMapper_h
27 #define vtkAMRVolumeMapper_h
29 #include "vtkRenderingVolumeAMRModule.h"
136 double arg4,
double arg5,
double arg6);
139 planes[0],planes[1],planes[2],
140 planes[3],planes[4],planes[5]);}
247 vtkSetVector3Macro(NumberOfSamples,
int);
248 vtkGetVector3Macro(NumberOfSamples,
int);
280 vtkGetMacro(RequestedResamplingMode,
int);
282 vtkGetMacro(FreezeFocalPoint,
bool);
291 vtkGetMacro(ResamplerUpdateTolerance,
double);
301 vtkGetMacro(UseDefaultThreading,
bool);
310 const double data_bounds[6],
double out_bounds[6]);
323 int NumberOfSamples[3];
333 double LastFocalPointPosition[3];
Abstract class for a volume mapper.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
virtual void SetInputConnection(vtkAlgorithmOutput *input)
void UpdateResamplerFrustrumMethod(vtkRenderer *ren, vtkOverlappingAMR *amr)
virtual void SetCroppingRegionFlags(int mode)
Set the flags for the cropping regions.
vtkSmartVolumeMapper * InternalMapper
represents a volume (data & properties) in a rendered scene
static vtkAMRVolumeMapper * New()
double ResamplerUpdateTolerance
double LastPostionFPDistance
virtual void SetCroppingRegionPlanes(double *planes)
virtual void Render(vtkRenderer *ren, vtkVolume *vol)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
int GetInterpolationMode()
int RequestedResamplingMode
virtual double * GetBounds()
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void UpdateResampler(vtkRenderer *ren, vtkOverlappingAMR *amr)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetCroppingRegionPlanes(double, double, double, double, double, double)
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
void SetRequestedRenderModeToDefault()
Set the requested render mode to vtkAMRVolumeMapper::DefaultRenderMode.
const char * GetScalarModeAsString()
Return the method for obtaining scalar data.
static bool ComputeResamplerBoundsFrustumMethod(vtkCamera *camera, vtkRenderer *renderer, const double data_bounds[6], double out_bounds[6])
Utility method used by UpdateResamplerFrustrumMethod() to compute the bounds.
void SetInterpolationModeToNearestNeighbor()
window superclass for vtkRenderWindow
virtual void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetInterpolationModeToCubic()
virtual void SelectScalarArray(const char *arrayName)
virtual char * GetArrayName()
Get the array name or number and component to use for rendering.
#define VTK_RESLICE_CUBIC
virtual void SetScalarMode(int mode)
Control how the mapper works with scalar point data and cell attribute data.
topologically and geometrically regular array of data
a simple class to control print indentation
void SetRequestedRenderMode(int mode)
Set the requested render mode.
a virtual camera for 3D rendering
virtual void GetCroppingRegionPlanes(double *planes)
bool GridNeedsToBeUpdated
virtual void SetInputData(vtkImageData *)
Set the input data.
#define VTK_RESLICE_NEAREST
void SetInterpolationModeToLinear()
virtual void SetCropping(int mode)
Turn On/Off orthogonal cropping.
virtual int GetCroppingRegionFlags()
hierarchical dataset of vtkUniformGrids
void SetRequestedRenderModeToRayCast()
Set the requested render mode to vtkAMRVolumeMapper::RayCastRenderMode.
virtual double * GetCroppingRegionPlanes()
abstract class to specify dataset behavior
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
virtual double * GetBounds()
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void SetInterpolationMode(int mode)
Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).
virtual void SetInputData(vtkOverlappingAMR *)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
@ RayCastAndTextureRenderMode
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetRequestedRenderModeToTexture()
Set the requested render mode to vtkAMRVolumeMapper::TextureRenderMode.
virtual int GetCropping()
Proxy object to connect input/output ports.
virtual int GetBlendMode()
abstract specification for renderers
#define VTK_RESLICE_LINEAR
void SetRequestedRenderModeToGPU()
Set the requested render mode to vtkAMRVolumeMapper::GPURenderMode.
int GetRequestedRenderMode()
AMR class for a volume mapper.
virtual void SetInputData(vtkDataSet *)
void ProcessInformationRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkAMRResampleFilter * Resampler
void SetRequestedRenderModeToRayCastAndTexture()
Set the requested render mode to vtkAMRVolumeMapper::RayCastAndTextureRenderMode.
virtual void SetBlendMode(int mode)
Set/Get the blend mode.
This filter is a concrete instance of vtkMultiBlockDataSetAlgorithm and provides functionality for ex...
virtual int GetArrayAccessMode()
virtual void SetCroppingRegionPlanes(double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void SelectScalarArray(int arrayNum)
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array t...
void ProcessUpdateExtentRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)