Go to the documentation of this file.
30 #ifndef vtkImageSliceMapper_h
31 #define vtkImageSliceMapper_h
33 #include "vtkRenderingCoreModule.h"
50 virtual void SetSliceNumber(
int slice);
51 virtual int GetSliceNumber();
60 virtual int GetSliceNumberMinValue();
61 virtual int GetSliceNumberMaxValue();
69 vtkSetClampMacro(Orientation,
int, 0, 2);
70 vtkGetMacro(Orientation,
int);
91 vtkSetVector6Macro(CroppingRegion,
int);
92 vtkGetVector6Macro(CroppingRegion,
int);
128 double plane[4])
override;
153 this->ExactPixelMatch = (v != 0); }
160 this->PassColorData = (v != 0); }
168 this->DisplayExtent[0] =
extent[0];
169 this->DisplayExtent[1] =
extent[1];
170 this->DisplayExtent[2] =
extent[2];
171 this->DisplayExtent[3] =
extent[3];
172 this->DisplayExtent[4] =
extent[4];
173 this->DisplayExtent[5] =
extent[5]; }
191 static void GetDimensionIndices(
int orientation,
int &xdim,
int &ydim);
198 int CroppingRegion[6];
199 int DisplayExtent[6];
represent and manipulate 3D points
void GetBounds(double bounds[6]) override
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
virtual void Render(vtkRenderer *renderer, vtkImageSlice *prop)=0
This should only be called by the renderer.
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added Clipping planes.
int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Handle requests from the pipeline executive.
map a slice of a vtkImageData to the screen
window superclass for vtkRenderWindow
virtual void GetSlicePlaneInDataCoords(vtkMatrix4x4 *propMatrix, double plane[4])
Get the plane as a homogeneous 4-vector that gives the plane equation coefficients.
represents an image in a 3D scene
void SetExactPixelMatch(int v)
Force linear interpolation.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
map a slice of a vtkImageData to the screen
a virtual camera for 3D rendering
void ReleaseGraphicsResources(vtkWindow *) override=0
Release any graphics resources that are being consumed by this mapper.
abstract class for mapping images to the screen
static vtkAlgorithm * New()
abstract specification for renderers
void SetPassColorData(int v)
Pass color data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt32 vtkMTimeType
void SetDisplayExtent(const int extent[6])
Set the display extent.