28 #ifndef vtkVolumeMapper_h
29 #define vtkVolumeMapper_h
32 #include "vtkRenderingVolumeModule.h"
39 #define VTK_CROP_SUBVOLUME 0x0002000
40 #define VTK_CROP_FENCE 0x2ebfeba
41 #define VTK_CROP_INVERTED_FENCE 0x5140145
42 #define VTK_CROP_CROSS 0x0417410
43 #define VTK_CROP_INVERTED_CROSS 0x7be8bef
107 vtkSetMacro(BlendMode,
int);
124 vtkGetMacro(BlendMode,
int);
136 vtkSetVector2Macro(AverageIPScalarRange,
double);
137 vtkGetVectorMacro(AverageIPScalarRange,
double, 2);
156 vtkSetVector6Macro(CroppingRegionPlanes,
double);
157 vtkGetVectorMacro(CroppingRegionPlanes,
double, 6);
165 vtkGetVectorMacro(VoxelCroppingRegionPlanes,
double, 6);
180 vtkSetMacro(ComputeNormalFromOpacity,
bool);
181 vtkGetMacro(ComputeNormalFromOpacity,
bool);
182 vtkBooleanMacro(ComputeNormalFromOpacity,
bool);
197 vtkSetClampMacro(CroppingRegionFlags,
int, 0x0, 0x7ffffff);
198 vtkGetMacro(CroppingRegionFlags,
int);
289 double SpacingAdjustedSampleDistance(
double inputSpacing[3],
int inputExtent[6]);
296 bool ComputeNormalFromOpacity =
false;
301 double AverageIPScalarRange[2];
309 double CroppingRegionPlanes[6];
310 double VoxelCroppingRegionPlanes[6];
312 void ConvertCroppingRegionPlanesToVoxels();
void SetBlendModeToAdditive()
Set/Get the blend mode.
int CroppingRegionFlags
Cropping variables, and a method for converting the world coordinate cropping region planes to voxel ...
represents a volume (data & properties) in a rendered scene
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
Abstract class for a volume mapper.
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
abstract class to specify dataset behavior
void SetBlendModeToIsoSurface()
Set/Get the blend mode.
void SetCroppingRegionFlagsToCross()
Set the flags for the cropping regions.
Abstract class for a volume mapper.
abstract specification for renderers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCroppingRegionFlagsToSubVolume()
Set the flags for the cropping regions.
window superclass for vtkRenderWindow
void SetBlendModeToSlice()
Set/Get the blend mode.
void SetCroppingRegionFlagsToInvertedFence()
Set the flags for the cropping regions.
#define VTK_CROP_INVERTED_CROSS
void SetBlendModeToComposite()
Set/Get the blend mode.
a simple class to control print indentation
topologically and geometrically regular array of data
void SetCroppingRegionFlagsToFence()
Set the flags for the cropping regions.
#define VTK_CROP_SUBVOLUME
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void SetCroppingRegionFlagsToInvertedCross()
Set the flags for the cropping regions.
void SetBlendModeToMinimumIntensity()
Set/Get the blend mode.
void SetBlendModeToAverageIntensity()
Set/Get the blend mode.
vtkTypeBool Cropping
Cropping variables, and a method for converting the world coordinate cropping region planes to voxel ...
void SetBlendModeToMaximumIntensity()
Set/Get the blend mode.
#define VTK_CROP_INVERTED_FENCE