 |
VTK
9.1.0
|
Go to the documentation of this file.
129 #ifndef vtkImageMapper_h
130 #define vtkImageMapper_h
133 #include "vtkRenderingCoreModule.h"
156 vtkSetMacro(ColorWindow,
double);
157 vtkGetMacro(ColorWindow,
double);
164 vtkSetMacro(ColorLevel,
double);
165 vtkGetMacro(ColorLevel,
double);
178 vtkSetMacro(ZSlice,
int);
179 vtkGetMacro(ZSlice,
int);
203 int DisplayExtent[6];
243 vtkSetVectorMacro(CustomDisplayExtents,
int, 4);
244 vtkGetVectorMacro(CustomDisplayExtents,
int, 4);
254 int PositionAdjustment[2];
257 int CustomDisplayExtents[4];
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)
Draw the image to the screen.
static vtkImageMapper * New()
vtkTypeBool RenderToRectangle
int GetWholeZMax()
Set/Get the current slice number.
double GetColorScale()
Methods used internally for performing the Window/Level mapping.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
int GetWholeZMin()
Set/Get the current slice number.
window superclass for vtkRenderWindow
vtkTypeBool UseCustomExtents
topologically and geometrically regular array of data
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData * GetInput()
Set the Input of a filter.
abstract class specifies interface for objects which render 2D actors
abstract specification for Viewports
virtual void SetInputData(vtkImageData *input)
Set the Input of a filter.
a actor that draws 2D data
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added a lookuptable.
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)
Function called by Render to actually draw the image to to the screen.
double GetColorShift()
Methods used internally for performing the Window/Level mapping.
vtkTypeUInt32 vtkMTimeType
~vtkImageMapper() override