30 #ifndef vtkResliceImageViewer_h
31 #define vtkResliceImageViewer_h
33 #include "vtkInteractionImageModule.h"
41 class vtkResliceImageViewerScrollCallback;
60 void Render() VTK_OVERRIDE;
74 void SetColorWindow(
double s) VTK_OVERRIDE;
75 void SetColorLevel(
double s) VTK_OVERRIDE;
92 RESLICE_AXIS_ALIGNED = 0,
96 vtkGetMacro(ResliceMode,
int);
97 virtual void SetResliceMode(
int resliceMode);
123 virtual void SetThickMode(
int );
124 virtual int GetThickMode();
130 virtual void Reset();
161 vtkGetMacro( SliceScrollOnMouseWheel,
int );
168 virtual void IncrementSlice(
int n );
170 enum { SliceChangedEvent = 1001 };
176 void InstallPipeline() VTK_OVERRIDE;
177 void UnInstallPipeline() VTK_OVERRIDE;
178 void UpdateOrientation() VTK_OVERRIDE;
179 void UpdateDisplayExtent() VTK_OVERRIDE;
180 virtual
void UpdatePointPlacer();
188 double GetInterSliceSpacingInResliceMode();
195 int SliceScrollOnMouseWheel;
196 vtkResliceImageViewerScrollCallback * ScrollCallback;
virtual void SetResliceModeToOblique()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Render(void)
Render the resulting image.
Proxy object to connect input/output ports.
a placer that constrains a handle to a finite plane
Superclass for mapping scalar values to colors.
platform-independent render window interaction including picking and frame rate control.
Manage measurements on a resliced image.
a simple class to control print indentation
topologically and geometrically regular array of data
perform various plane computations
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkImageViewer2 * New()
Display an image along with a reslice cursor.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void SetResliceModeToAxisAligned()
Geometry for a reslice cursor.