 |
VTK
9.1.0
|
Go to the documentation of this file.
139 #ifndef vtkImageSliceMapper_h
140 #define vtkImageSliceMapper_h
143 #include "vtkRenderingCoreModule.h"
179 vtkSetClampMacro(Orientation,
int, 0, 2);
180 vtkGetMacro(Orientation,
int);
205 vtkSetVector6Macro(CroppingRegion,
int);
206 vtkGetVector6Macro(CroppingRegion,
int);
258 this->DisplayExtent[0] =
extent[0];
259 this->DisplayExtent[1] =
extent[1];
260 this->DisplayExtent[2] =
extent[2];
261 this->DisplayExtent[3] =
extent[3];
262 this->DisplayExtent[4] =
extent[4];
263 this->DisplayExtent[5] =
extent[5];
312 int CroppingRegion[6];
313 int DisplayExtent[6];
represent and manipulate 3D points
void GetBounds(double bounds[6]) override
The bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
void SetOrientationToY()
Set the orientation of the slices to display.
int GetOrientationFromCamera(double const *propMatrix, vtkCamera *camera)
Get the camera orientation as a simple integer [0,1,2,3,4,5] that indicates one of the six major dire...
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
~vtkImageSliceMapper() override
void SetOrientationToI()
Set the orientation of the slices to display.
void SetPoints(vtkPoints *points)
Set points that describe a polygon on which the slice will be rendered.
vtkMTimeType GetMTime() override
Get the mtime for the mapper.
void SetOrientationToZ()
Set the orientation of the slices to display.
double * GetBounds() override
The bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
vtkTypeBool 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
void SetOrientationToK()
Set the orientation of the slices to display.
int GetSliceFromCamera(double const *propMatrix, vtkCamera *camera)
Get the current slice as the one closest to the focal point.
void GetSlicePlaneInDataCoords(vtkMatrix4x4 *propMatrix, double plane[4]) override
Get the plane as a homogeneous 4-vector that gives the plane equation coefficients.
void Render(vtkRenderer *renderer, vtkImageSlice *prop) override
This should only be called by the renderer.
represents an image in a 3D scene
void SetExactPixelMatch(int v)
Force linear interpolation.
virtual void SetSliceNumber(int slice)
The slice to display, if there are multiple slices.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
map a slice of a vtkImageData to the screen
a virtual camera for 3D rendering
abstract class for mapping images to the screen
void SetOrientationToJ()
Set the orientation of the slices to display.
virtual int GetSliceNumber()
The slice to display, if there are multiple slices.
void SetOrientationToX()
Set the orientation of the slices to display.
static void GetDimensionIndices(int orientation, int &xdim, int &ydim)
Get the dimension indices according to the orientation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSliceMapper * New()
virtual int GetSliceNumberMaxValue()
Use GetSliceNumberMinValue() and GetSliceNumberMaxValue() to get the range of allowed slices.
virtual int GetSliceNumberMinValue()
Use GetSliceNumberMinValue() and GetSliceNumberMaxValue() to get the range of allowed slices.
abstract specification for renderers
void SetPassColorData(int v)
Pass color data.
void GetIndexBounds(double extent[6]) override
vtkTypeUInt32 vtkMTimeType
void SetDisplayExtent(const int extent[6])
Set the display extent.