30 #ifndef vtkImageMapper_h
31 #define vtkImageMapper_h
34 #include "vtkRenderingCoreModule.h"
57 vtkSetMacro(ColorWindow,
double);
58 vtkGetMacro(ColorWindow,
double);
65 vtkSetMacro(ColorLevel,
double);
66 vtkGetMacro(ColorLevel,
double);
79 vtkSetMacro(ZSlice,
int);
80 vtkGetMacro(ZSlice,
int);
104 int DisplayExtent[6];
144 vtkSetVectorMacro(CustomDisplayExtents,
int, 4);
145 vtkGetVectorMacro(CustomDisplayExtents,
int, 4);
155 int PositionAdjustment[2];
158 int CustomDisplayExtents[4];
a actor that draws 2D data
topologically and geometrically regular array of data
double GetColorShift()
Methods used internally for performing the Window/Level mapping.
vtkImageData * GetInput()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)
Draw the image to the screen.
vtkTypeBool RenderToRectangle
~vtkImageMapper() override
static vtkImageMapper * New()
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)=0
Function called by Render to actually draw the image to to the screen.
virtual void SetInputData(vtkImageData *input)
Set the Input of a filter.
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added a lookuptable.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkTypeBool UseCustomExtents
a simple class to control print indentation
abstract class specifies interface for objects which render 2D actors
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkTypeUInt32 vtkMTimeType