Go to the documentation of this file.
33 #ifndef vtkImageMapper_h
34 #define vtkImageMapper_h
36 #include "vtkRenderingCoreModule.h"
60 vtkSetMacro(ColorWindow,
double);
61 vtkGetMacro(ColorWindow,
double);
68 vtkSetMacro(ColorLevel,
double);
69 vtkGetMacro(ColorLevel,
double);
82 vtkSetMacro(ZSlice,
int);
83 vtkGetMacro(ZSlice,
int);
107 int DisplayExtent[6];
147 vtkSetVectorMacro(CustomDisplayExtents,
int, 4);
148 vtkGetVectorMacro(CustomDisplayExtents,
int, 4);
158 int PositionAdjustment[2];
161 int CustomDisplayExtents[4];
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)
Draw the image to the screen.
static vtkImageMapper * New()
vtkTypeBool RenderToRectangle
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
window superclass for vtkRenderWindow
vtkTypeBool UseCustomExtents
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)=0
Function called by Render to actually draw the image to to the screen.
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()
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.
double GetColorShift()
Methods used internally for performing the Window/Level mapping.
vtkTypeUInt32 vtkMTimeType
~vtkImageMapper() override