25 #ifndef vtkVolumeMapper_h
26 #define vtkVolumeMapper_h
29 #include "vtkRenderingVolumeModule.h"
35 #define VTK_CROP_SUBVOLUME 0x0002000
36 #define VTK_CROP_FENCE 0x2ebfeba
37 #define VTK_CROP_INVERTED_FENCE 0x5140145
38 #define VTK_CROP_CROSS 0x0417410
39 #define VTK_CROP_INVERTED_CROSS 0x7be8bef
102 vtkSetMacro(BlendMode,
int);
119 vtkGetMacro(BlendMode,
int);
131 vtkSetVector2Macro(AverageIPScalarRange,
double);
132 vtkGetVectorMacro(AverageIPScalarRange,
double, 2);
151 vtkSetVector6Macro(CroppingRegionPlanes,
double);
152 vtkGetVectorMacro(CroppingRegionPlanes,
double, 6);
160 vtkGetVectorMacro(VoxelCroppingRegionPlanes,
double, 6);
175 vtkSetClampMacro(CroppingRegionFlags,
int, 0x0, 0x7ffffff);
176 vtkGetMacro(CroppingRegionFlags,
int);
274 double AverageIPScalarRange[2];
282 double CroppingRegionPlanes[6];
283 double VoxelCroppingRegionPlanes[6];
Abstract class for a volume mapper.
abstract class to specify dataset behavior
topologically and geometrically regular array of data
a simple class to control print indentation
abstract specification for renderers
Abstract class for a volume mapper.
double SpacingAdjustedSampleDistance(double inputSpacing[3], int inputExtent[6])
Compute a sample distance from the data spacing.
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...
void ConvertCroppingRegionPlanesToVoxels()
void SetCroppingRegionFlagsToInvertedFence()
virtual void SetInputData(vtkDataSet *)
virtual void SetInputData(vtkImageData *)
Set/Get the input data.
void SetBlendModeToSlice()
void SetCroppingRegionFlagsToFence()
void SetCroppingRegionFlagsToInvertedCross()
void SetBlendModeToMinimumIntensity()
void SetBlendModeToAdditive()
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkImageData * GetInput(const int port)
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual vtkImageData * GetInput()
void SetBlendModeToMaximumIntensity()
void SetBlendModeToIsoSurface()
void SetCroppingRegionFlagsToCross()
@ AVERAGE_INTENSITY_BLEND
@ MAXIMUM_INTENSITY_BLEND
@ MINIMUM_INTENSITY_BLEND
~vtkVolumeMapper() override
void SetBlendModeToComposite()
void SetCroppingRegionFlagsToSubVolume()
void SetBlendModeToAverageIntensity()
vtkTypeBool Cropping
Cropping variables, and a method for converting the world coordinate cropping region planes to voxel ...
represents a volume (data & properties) in a rendered scene
window superclass for vtkRenderWindow
#define VTK_CROP_INVERTED_FENCE
#define VTK_CROP_SUBVOLUME
#define VTK_CROP_INVERTED_CROSS