 |
VTK
9.1.0
|
Go to the documentation of this file.
26 #ifndef vtkAMRVolumeMapper_h
27 #define vtkAMRVolumeMapper_h
30 #include "vtkRenderingVolumeAMRModule.h"
134 double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6)
override;
154 void SetCroppingRegionFlags(
int mode) override;
155 int GetCroppingRegionFlags() override;
161 DefaultRenderMode = 0,
252 vtkSetVector3Macro(NumberOfSamples,
int);
253 vtkGetVector3Macro(NumberOfSamples,
int);
282 vtkSetMacro(RequestedResamplingMode,
int);
283 vtkGetMacro(RequestedResamplingMode,
int);
284 vtkSetMacro(FreezeFocalPoint,
bool);
285 vtkGetMacro(FreezeFocalPoint,
bool);
293 vtkSetMacro(ResamplerUpdateTolerance,
double);
294 vtkGetMacro(ResamplerUpdateTolerance,
double);
303 vtkSetMacro(UseDefaultThreading,
bool);
304 vtkGetMacro(UseDefaultThreading,
bool);
325 int NumberOfSamples[3];
335 double LastFocalPointPosition[3];
Abstract class for a volume mapper.
void UpdateResamplerFrustrumMethod(vtkRenderer *ren, vtkOverlappingAMR *amr)
void SetCroppingRegionPlanes(double arg1, double arg2, double arg3, double arg4, double arg5, double arg6) override
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
vtkSmartVolumeMapper * InternalMapper
represents a volume (data & properties) in a rendered scene
static vtkAMRVolumeMapper * New()
double ResamplerUpdateTolerance
void SetInputData(vtkDataSet *) override
Set the input data.
int GetBlendMode() override
Set/Get the blend mode.
double LastPostionFPDistance
void SetCropping(vtkTypeBool) override
Turn On/Off orthogonal cropping.
double * GetCroppingRegionPlanes() override
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
int GetInterpolationMode()
Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).
a dataset that is topologically regular with variable spacing in the three coordinate directions
int RequestedResamplingMode
void UpdateResampler(vtkRenderer *ren, vtkOverlappingAMR *amr)
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...
vtkTypeBool GetCropping() override
Turn On/Off orthogonal cropping.
void SetRequestedRenderModeToDefault()
Set the requested render mode to vtkAMRVolumeMapper::DefaultRenderMode.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void GetCroppingRegionPlanes(double *planes) override
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
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 SelectScalarArray(int arrayNum) override
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array t...
void SetScalarMode(int mode) override
Control how the mapper works with scalar point data and cell attribute data.
void SetInterpolationModeToNearestNeighbor()
~vtkAMRVolumeMapper() override
window superclass for vtkRenderWindow
void SetInterpolationModeToCubic()
void SetCroppingRegionPlanes(const double *planes) override
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in...
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
@ RayCastAndTextureRenderMode
void GetBounds(double bounds[6]) override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
#define VTK_SIZEHINT(...)
#define VTK_RESLICE_CUBIC
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void SelectScalarArray(const char *arrayName) override
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array t...
int GetArrayId() override
Get the array name or number and component to use for rendering.
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
bool GridNeedsToBeUpdated
void SetInputConnection(vtkAlgorithmOutput *input) override
Set the input data.
#define VTK_RESLICE_NEAREST
void SetInterpolationModeToLinear()
hierarchical dataset of vtkUniformGrids
void SetRequestedRenderModeToRayCast()
Set the requested render mode to vtkAMRVolumeMapper::RayCastRenderMode.
abstract class to specify dataset behavior
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
void SetInterpolationMode(int mode)
Set interpolation mode for downsampling (lowres GPU) (initial value: cubic).
virtual void SetInputData(vtkOverlappingAMR *)
Set the input data.
int GetArrayAccessMode() override
Get the array name or number and component to use for rendering.
void SetInputConnection(int port, vtkAlgorithmOutput *input) override
Set the input data.
void SetRequestedRenderModeToTexture()
Set the requested render mode to vtkAMRVolumeMapper::TextureRenderMode.
void Render(vtkRenderer *ren, vtkVolume *vol) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
Proxy object to connect input/output ports.
abstract specification for renderers
void SetInputData(vtkImageData *) override
Set the input data.
#define VTK_RESLICE_LINEAR
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void SetRequestedRenderModeToGPU()
Set the requested render mode to vtkAMRVolumeMapper::GPURenderMode.
int GetRequestedRenderMode()
Set the requested render mode.
void SetBlendMode(int mode) override
Set/Get the blend mode.
AMR class for a volume mapper.
void ProcessInformationRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetInputData(vtkRectilinearGrid *) override
Set the input data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAMRResampleFilter * Resampler
void SetRequestedRenderModeToRayCastAndTexture()
Set the requested render mode to vtkAMRVolumeMapper::RayCastAndTextureRenderMode.
char * GetArrayName() override
Get the array name or number and component to use for rendering.
This filter is a concrete instance of vtkMultiBlockDataSetAlgorithm and provides functionality for ex...
void ProcessUpdateExtentRequest(vtkRenderer *renderer, vtkInformation *info, vtkInformationVector **inputVector, vtkInformationVector *outputVector)