35 #ifndef vtkImageResliceMapper_h 36 #define vtkImageResliceMapper_h 38 #include "vtkRenderingImageModule.h" 65 virtual void SetSlicePlane(
vtkPlane *plane);
83 vtkSetMacro(SlabThickness,
double);
84 vtkGetMacro(SlabThickness,
double);
98 vtkGetMacro(SlabType,
int);
107 virtual const char *GetSlabTypeAsString();
116 vtkSetClampMacro(SlabSampleFactor,
int, 1, 2);
117 vtkGetMacro(SlabSampleFactor,
int);
127 vtkSetClampMacro(ImageSampleFactor,
int, 1, 16);
128 vtkGetMacro(ImageSampleFactor,
int);
137 vtkBooleanMacro(AutoAdjustImageQuality,
vtkTypeBool);
149 vtkBooleanMacro(ResampleToScreenPixels,
vtkTypeBool);
160 vtkSetMacro(SeparateWindowLevelOperation,
vtkTypeBool);
161 vtkBooleanMacro(SeparateWindowLevelOperation,
vtkTypeBool);
162 vtkGetMacro(SeparateWindowLevelOperation,
vtkTypeBool);
215 void CheckerboardImage(
221 void UpdateSliceToWorldMatrix(
vtkCamera *camera);
void ReleaseGraphicsResources(vtkWindow *) override=0
Release any graphics resources that are being consumed by this mapper.
interpolate data values from images
#define VTK_IMAGE_SLAB_MAX
vtkMatrix4x4 * ResliceMatrix
Reslice and produce color scalars.
represent and manipulate 4x4 transformation matrices
#define VTK_IMAGE_SLAB_MIN
vtkTypeUInt32 vtkMTimeType
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added Clipping planes.
vtkTypeBool ResampleToScreenPixels
vtkMatrix4x4 * SliceToWorldMatrix
#define VTK_IMAGE_SLAB_SUM
#define VTK_IMAGE_SLAB_MEAN
void ReportReferences(vtkGarbageCollector *) override
record modification and/or execution time
int InternalResampleToScreenPixels
map scalar values into colors via a lookup table
abstract specification for renderers
vtkImageResliceToColors * ImageReslice
void SetSlabTypeToMin()
The slab type, for thick slicing (default: Mean).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Detect and break reference loops.
void GetBounds(double bounds[6]) override
The bounding box (array of six doubles) of the data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
vtkTypeBool SeparateWindowLevelOperation
void SetSlabTypeToMax()
The slab type, for thick slicing (default: Mean).
window superclass for vtkRenderWindow
vtkMatrix4x4 * WorldToDataMatrix
a simple class to control print indentation
abstract class for mapping images to the screen
map a slice of a vtkImageData to the screen
a virtual camera for 3D rendering
topologically and geometrically regular array of data
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)=0
This should only be called by the renderer.
int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Handle requests from the pipeline executive.
perform various plane computations
vtkImageSliceMapper * SliceMapper
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
vtkTypeBool AutoAdjustImageQuality
virtual void Update()
Bring this algorithm's outputs up-to-date.
vtkTypeBool JumpToNearestSlice
create a window for renderers to draw into
represents an image in a 3D scene
map a slice of a vtkImageData to the screen
static vtkAlgorithm * New()
void SetSlabTypeToSum()
The slab type, for thick slicing (default: Mean).
void SetSlabTypeToMean()
The slab type, for thick slicing (default: Mean).