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