33 #ifndef vtkImageSliceMapper_h
34 #define vtkImageSliceMapper_h
36 #include "vtkRenderingCoreModule.h"
53 virtual void SetSliceNumber(
int slice);
54 virtual int GetSliceNumber();
63 virtual int GetSliceNumberMinValue();
64 virtual int GetSliceNumberMaxValue();
72 vtkSetClampMacro(Orientation,
int, 0, 2);
73 vtkGetMacro(Orientation,
int);
86 vtkGetMacro(Cropping,
int);
94 vtkSetVector6Macro(CroppingRegion,
int);
95 vtkGetVector6Macro(CroppingRegion,
int);
156 this->ExactPixelMatch = (v != 0); }
163 this->PassColorData = (v != 0); }
171 this->DisplayExtent[0] = extent[0];
172 this->DisplayExtent[1] = extent[1];
173 this->DisplayExtent[2] = extent[2];
174 this->DisplayExtent[3] = extent[3];
175 this->DisplayExtent[4] = extent[4];
176 this->DisplayExtent[5] = extent[5]; }
194 static void GetDimensionIndices(
int orientation,
int &xdim,
int &ydim);
201 int CroppingRegion[6];
202 int DisplayExtent[6];
void SetExactPixelMatch(int v)
Force linear interpolation.
represent and manipulate 4x4 transformation matrices
virtual vtkMTimeType GetMTime()
Override Modifiedtime as we have added Clipping planes.
void SetDisplayExtent(int extent[6])
Set the display extent.
abstract specification for renderers
void GetBounds(double bounds[6])
The bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
virtual void ReleaseGraphicsResources(vtkWindow *)=0
Release any graphics resources that are being consumed by this mapper.
vtkTypeUInt64 vtkMTimeType
void SetPassColorData(int v)
Pass color data.
window superclass for vtkRenderWindow
void SetOrientationToX()
Set the orientation of the slices to display.
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
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)=0
This should only be called by the renderer.
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
void SetOrientationToZ()
Set the orientation of the slices to display.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Handle requests from the pipeline executive.
represents an image in a 3D scene
void SetOrientationToY()
Set the orientation of the slices to display.
map a slice of a vtkImageData to the screen
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void GetSlicePlaneInDataCoords(vtkMatrix4x4 *propMatrix, double plane[4])
Get the plane as a homogeneous 4-vector that gives the plane equation coefficients.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
represent and manipulate 3D points