17#ifndef vtkAMRVolumeMapper_h
18#define vtkAMRVolumeMapper_h
21#include "vtkRenderingVolumeAMRModule.h"
24VTK_ABI_NAMESPACE_BEGIN
93 void SelectScalarArray(
int arrayNum) override;
94 void SelectScalarArray(const
char* arrayName) override;
101 char* GetArrayName() override;
102 int GetArrayId() override;
103 int GetArrayAccessMode() override;
109 const
char* GetScalarModeAsString();
125 void SetCroppingRegionPlanes(
126 double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6) override;
127 void SetCroppingRegionPlanes(const
double* planes)
override
146 void SetCroppingRegionFlags(
int mode) override;
147 int GetCroppingRegionFlags() VTK_FUTURE_CONST override;
153 DefaultRenderMode = 0,
244 vtkSetVector3Macro(NumberOfSamples,
int);
245 vtkGetVector3Macro(NumberOfSamples,
int);
274 vtkSetMacro(RequestedResamplingMode,
int);
275 vtkGetMacro(RequestedResamplingMode,
int);
276 vtkSetMacro(FreezeFocalPoint,
bool);
277 vtkGetMacro(FreezeFocalPoint,
bool);
285 vtkSetMacro(ResamplerUpdateTolerance,
double);
286 vtkGetMacro(ResamplerUpdateTolerance,
double);
295 vtkSetMacro(UseDefaultThreading,
bool);
296 vtkGetMacro(UseDefaultThreading,
bool);
317 int NumberOfSamples[3];
327 double LastFocalPointPosition[3];
This filter is a concrete instance of vtkMultiBlockDataSetAlgorithm and provides functionality for ex...
AMR class for a volume mapper.
void SetInputData(vtkRectilinearGrid *) override
Set the input data.
void SetInterpolationMode(int mode)
Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).
@ RayCastAndTextureRenderMode
int RequestedResamplingMode
void UpdateResampler(vtkRenderer *ren, vtkOverlappingAMR *amr)
void SetRequestedRenderModeToRayCast()
Set the requested render mode to vtkAMRVolumeMapper::RayCastRenderMode.
void SetInputData(vtkImageData *) override
Set the input data.
void SetInputData(vtkDataSet *) override
Set the input data.
void UpdateResamplerFrustrumMethod(vtkRenderer *ren, vtkOverlappingAMR *amr)
void SetInputConnection(int port, vtkAlgorithmOutput *input) override
Set the input data.
void ProcessUpdateExtentRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSmartVolumeMapper * InternalMapper
void GetCroppingRegionPlanes(double *planes) override
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
virtual void SetInputData(vtkOverlappingAMR *)
Set the input data.
double * GetCroppingRegionPlanes() override
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
~vtkAMRVolumeMapper() override
void SetBlendMode(int mode) override
Set/Get the blend mode.
static vtkAMRVolumeMapper * New()
int GetInterpolationMode()
Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).
void SetRequestedRenderModeToTexture()
Set the requested render mode to vtkAMRVolumeMapper::TextureRenderMode.
void SetScalarMode(int mode) override
Control how the mapper works with scalar point data and cell attribute data.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void ProcessInformationRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void GetBounds(double bounds[6]) override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void SetInterpolationModeToNearestNeighbor()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
double ResamplerUpdateTolerance
void SetRequestedRenderMode(int mode)
Set the requested render mode.
void SetRequestedRenderModeToRayCastAndTexture()
Set the requested render mode to vtkAMRVolumeMapper::RayCastAndTextureRenderMode.
void SetInterpolationModeToCubic()
void SetRequestedRenderModeToGPU()
Set the requested render mode to vtkAMRVolumeMapper::GPURenderMode.
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInterpolationModeToLinear()
double LastPostionFPDistance
bool GridNeedsToBeUpdated
int GetRequestedRenderMode()
Set the requested render mode.
int GetBlendMode() VTK_FUTURE_CONST override
Set/Get the blend mode.
void SetInputConnection(vtkAlgorithmOutput *input) override
Set the input data.
void SetRequestedRenderModeToDefault()
Set the requested render mode to vtkAMRVolumeMapper::DefaultRenderMode.
void Render(vtkRenderer *ren, vtkVolume *vol) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkAMRResampleFilter * Resampler
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
Proxy object to connect input/output ports.
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
a virtual camera for 3D rendering
abstract class to specify dataset behavior
topologically and geometrically regular array of data
a simple class to control print indentation
hierarchical dataset of vtkUniformGrids
a dataset that is topologically regular with variable spacing in the three coordinate directions
abstract specification for renderers
Abstract class for a volume mapper.
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...
represents a volume (data & properties) in a rendered scene
window superclass for vtkRenderWindow
#define VTK_RESLICE_CUBIC
#define VTK_RESLICE_NEAREST
#define VTK_RESLICE_LINEAR
#define VTK_SIZEHINT(...)