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];
This filter is a concrete instance of vtkMultiBlockDataSetAlgorithm and provides functionality for ex...
AMR class for a volume mapper.
void SetInterpolationMode(int mode)
Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).
virtual void SetInputData(vtkImageData *)
Set the input data.
virtual void GetCroppingRegionPlanes(double *planes)
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...
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)
virtual void SetCroppingRegionPlanes(double *planes)
virtual void SelectScalarArray(int arrayNum)
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array t...
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void SetRequestedRenderModeToRayCast()
Set the requested render mode to vtkAMRVolumeMapper::RayCastRenderMode.
virtual void SetCropping(int mode)
Turn On/Off orthogonal cropping.
const char * GetScalarModeAsString()
Return the method for obtaining scalar data.
virtual char * GetArrayName()
Get the array name or number and component to use for rendering.
void UpdateResamplerFrustrumMethod(vtkRenderer *ren, vtkOverlappingAMR *amr)
@ RayCastAndTextureRenderMode
void ProcessUpdateExtentRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetBlendMode(int mode)
Set/Get the blend mode.
virtual double * GetCroppingRegionPlanes()
vtkSmartVolumeMapper * InternalMapper
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetCroppingRegionFlags(int mode)
Set the flags for the cropping regions.
virtual void SetInputData(vtkOverlappingAMR *)
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
static vtkAMRVolumeMapper * New()
virtual int GetBlendMode()
int GetInterpolationMode()
void SetRequestedRenderModeToTexture()
Set the requested render mode to vtkAMRVolumeMapper::TextureRenderMode.
virtual void SetScalarMode(int mode)
Control how the mapper works with scalar point data and cell attribute data.
virtual void SetInputConnection(vtkAlgorithmOutput *input)
virtual void SelectScalarArray(const char *arrayName)
void ProcessInformationRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetInterpolationModeToNearestNeighbor()
virtual void Render(vtkRenderer *ren, vtkVolume *vol)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
double ResamplerUpdateTolerance
virtual void SetInputData(vtkDataSet *)
void SetRequestedRenderMode(int mode)
Set the requested render mode.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetRequestedRenderModeToRayCastAndTexture()
Set the requested render mode to vtkAMRVolumeMapper::RayCastAndTextureRenderMode.
virtual int GetCropping()
virtual int GetCroppingRegionFlags()
void SetInterpolationModeToCubic()
void SetRequestedRenderModeToGPU()
Set the requested render mode to vtkAMRVolumeMapper::GPURenderMode.
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 SetInterpolationModeToLinear()
double LastPostionFPDistance
bool GridNeedsToBeUpdated
int GetRequestedRenderMode()
virtual void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual int GetArrayAccessMode()
void SetRequestedRenderModeToDefault()
Set the requested render mode to vtkAMRVolumeMapper::DefaultRenderMode.
vtkAMRResampleFilter * Resampler
virtual double * GetBounds()
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
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.