 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkAMRVolumeMapper_h
27 #define vtkAMRVolumeMapper_h
30 #include "vtkRenderingVolumeAMRModule.h"
133 double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6)
override;
153 void SetCroppingRegionFlags(
int mode) override;
154 int GetCroppingRegionFlags() override;
160 DefaultRenderMode = 0,
174 void SetRequestedRenderMode(
int mode);
175 int GetRequestedRenderMode();
236 void SetInterpolationMode(
int mode);
237 int GetInterpolationMode();
251 vtkSetVector3Macro(NumberOfSamples,
int);
252 vtkGetVector3Macro(NumberOfSamples,
int);
281 vtkSetMacro(RequestedResamplingMode,
int);
282 vtkGetMacro(RequestedResamplingMode,
int);
283 vtkSetMacro(FreezeFocalPoint,
bool);
284 vtkGetMacro(FreezeFocalPoint,
bool);
292 vtkSetMacro(ResamplerUpdateTolerance,
double);
293 vtkGetMacro(ResamplerUpdateTolerance,
double);
302 vtkSetMacro(UseDefaultThreading,
bool);
303 vtkGetMacro(UseDefaultThreading,
bool);
310 static bool ComputeResamplerBoundsFrustumMethod(
324 int NumberOfSamples[3];
334 double LastFocalPointPosition[3];
virtual char * GetArrayName()
Get the array name or number and component to use for rendering.
virtual void SetCropping(vtkTypeBool)
Turn On/Off orthogonal cropping.
Abstract class for a volume mapper.
virtual vtkTypeBool GetCropping()
vtkSmartVolumeMapper * InternalMapper
represents a volume (data & properties) in a rendered scene
double ResamplerUpdateTolerance
const char * GetScalarModeAsString()
Return the method for obtaining scalar data.
double LastPostionFPDistance
int RequestedResamplingMode
virtual int GetBlendMode()
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.
virtual int GetArrayAccessMode()
virtual void SetScalarMode(int)
Control how the mapper works with scalar point data and cell attribute data.
void SetInterpolationModeToNearestNeighbor()
window superclass for vtkRenderWindow
void SetInterpolationModeToCubic()
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetCroppingRegionPlanes(const double *planes) override
void UpdateGrid(const int iteration)
void GetBounds(double bounds[6]) override
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
#define VTK_SIZEHINT(...)
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...
virtual void SetBlendMode(int)
Set/Get the blend mode.
#define VTK_RESLICE_CUBIC
topologically and geometrically regular array of data
a simple class to control print indentation
a virtual camera for 3D rendering
bool GridNeedsToBeUpdated
void SetInputConnection(vtkAlgorithmOutput *input) override
#define VTK_RESLICE_NEAREST
void SetInterpolationModeToLinear()
hierarchical dataset of vtkUniformGrids
void SetRequestedRenderModeToRayCast()
Set the requested render mode to vtkAMRVolumeMapper::RayCastRenderMode.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
abstract class to specify dataset behavior
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
static vtkAlgorithm * New()
@ RayCastAndTextureRenderMode
void SetRequestedRenderModeToTexture()
Set the requested render mode to vtkAMRVolumeMapper::TextureRenderMode.
Proxy object to connect input/output ports.
abstract specification for renderers
virtual double * GetCroppingRegionPlanes()
#define VTK_RESLICE_LINEAR
virtual void SelectScalarArray(int arrayNum)
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array t...
virtual void SetInputData(vtkImageData *)
Set/Get the input data.
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.
AMR class for a volume mapper.
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.