Go to the documentation of this file.
35 #ifndef vtkImageResliceMapper_h
36 #define vtkImageResliceMapper_h
38 #include "vtkRenderingImageModule.h"
76 vtkGetMacro(JumpToNearestSlice,
int);
84 vtkGetMacro(SlabThickness,
double);
98 vtkGetMacro(SlabType,
int);
116 vtkSetClampMacro(SlabSampleFactor,
int, 1, 2);
117 vtkGetMacro(SlabSampleFactor,
int);
127 vtkSetClampMacro(ImageSampleFactor,
int, 1, 16);
128 vtkGetMacro(ImageSampleFactor,
int);
138 vtkGetMacro(AutoAdjustImageQuality,
int);
150 vtkGetMacro(ResampleToScreenPixels,
int);
162 vtkGetMacro(SeparateWindowLevelOperation,
int);
void UpdateColorInformation(vtkImageProperty *property)
Update anything related to the image coloring.
static vtkImageResliceMapper * New()
int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Handle requests from the pipeline executive.
perform various plane computations
int InternalResampleToScreenPixels
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
vtkMatrix4x4 * SliceToWorldMatrix
#define VTK_IMAGE_SLAB_MAX
void UpdateResliceInformation(vtkRenderer *ren)
Set all of the reslicing parameters.
virtual vtkAbstractImageInterpolator * GetInterpolator()
record modification and/or execution time
virtual const char * GetSlabTypeAsString()
void ReportReferences(vtkGarbageCollector *) override
Garbage collection for reference loops.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Update(int port)
Override Update to handle some tricky details.
map a slice of a vtkImageData to the screen
window superclass for vtkRenderWindow
vtkTypeUInt64 vtkMTimeType
void UpdateResliceInterpolation(vtkImageProperty *property)
Set the interpolation.
void UpdateSliceToWorldMatrix(vtkCamera *camera)
Update the slice-to-world matrix from the camera.
#define VTK_IMAGE_SLAB_MEAN
represents an image in a 3D scene
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)
This should only be called by the renderer.
#define VTK_IMAGE_SLAB_MIN
int ResampleToScreenPixels
virtual void SetInterpolator(vtkAbstractImageInterpolator *sampler)
Set a custom interpolator.
void UpdateResliceMatrix(vtkRenderer *ren, vtkImageSlice *prop)
Update the reslice matrix, which is the slice-to-data matrix.
vtkMatrix4x4 * WorldToDataMatrix
topologically and geometrically regular array of data
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
void UpdateWorldToDataMatrix(vtkImageSlice *prop)
Check if the vtkProp3D matrix has changed, and if so, set the WorldToDataMatrix to its inverse.
map a slice of a vtkImageData to the screen
a virtual camera for 3D rendering
virtual int Update(int port, vtkInformationVector *requests)
This method enables the passing of data requests to the algorithm to be used during execution (in add...
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
void CheckerboardImage(vtkImageData *input, vtkCamera *camera, vtkImageProperty *property)
Do a checkerboard pattern to the alpha of an RGBA image.
virtual int Update(vtkInformation *requests)
Convenience method to update an algorithm after passing requests to its first output port.
virtual void SetSlicePlane(vtkPlane *plane)
Set the slice that will be used to cut through the image.
vtkImageSliceMapper * SliceMapper
Detect and break reference loops.
void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
double * GetBounds()
The bounding box (array of six doubles) of the data expressed as (xmin,xmax, ymin,...
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
map scalar values into colors via a lookup table
abstract class for mapping images to the screen
vtkMTimeType GetMTime()
Get the mtime for the mapper.
vtkMatrix4x4 * ResliceMatrix
#define VTK_IMAGE_SLAB_SUM
Reslice and produce color scalars.
abstract specification for renderers
int AutoAdjustImageQuality
int SeparateWindowLevelOperation
create a window for renderers to draw into
interpolate data values from images
void UpdatePolygonCoords(vtkRenderer *ren)
Make a polygon by cutting the data bounds with a plane.
vtkImageResliceToColors * ImageReslice