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];
a actor that draws 2D data
topologically and geometrically regular array of data
double GetColorShift()
Methods used internally for performing the Window/Level mapping.
virtual void RenderData(vtkViewport *, vtkImageData *, vtkActor2D *)
Function called by Render to actually draw the image to to the screen.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double GetColorScale()
Methods used internally for performing the Window/Level mapping.
void RenderStart(vtkViewport *viewport, vtkActor2D *actor)
Draw the image to the screen.
vtkTypeBool RenderToRectangle
~vtkImageMapper() override
int GetWholeZMax()
Set/Get the current slice number.
vtkImageData * GetInput()
Set the Input of a filter.
virtual void SetInputData(vtkImageData *input)
Set the Input of a filter.
static vtkImageMapper * New()
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
int GetWholeZMin()
Set/Get the current slice number.
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