36 #ifndef vtkResliceImageViewer_h
37 #define vtkResliceImageViewer_h
40 #include "vtkInteractionImageModule.h"
42 VTK_ABI_NAMESPACE_BEGIN
48 class vtkResliceImageViewerScrollCallback;
98 RESLICE_AXIS_ALIGNED = 0,
102 vtkGetMacro(ResliceMode,
int);
184 vtkSetMacro(SliceScrollFactor,
double);
185 vtkGetMacro(SliceScrollFactor,
double);
195 SliceChangedEvent = 1001
223 double SliceScrollFactor = 1.0;
230 VTK_ABI_NAMESPACE_END
Proxy object to connect input/output ports.
a placer that constrains a handle to a finite plane
topologically and geometrically regular array of data
a simple class to control print indentation
perform various plane computations
platform-independent render window interaction including picking and frame rate control.
Geometry for a reslice cursor.
Manage measurements on a resliced image.
Display an image along with a reslice cursor.
void UpdateOrientation() override
void SetColorWindow(double s) override
Set window and level for mapping pixels to colors.
vtkResliceCursorWidget * ResliceCursorWidget
void SetInputData(vtkImageData *in) override
Set/Get the input image to the viewer.
virtual void SetResliceModeToAxisAligned()
virtual int GetThickMode()
Switch to / from thick mode.
static vtkResliceImageViewer * New()
Standard VTK methods.
virtual void SetResliceModeToOblique()
void Render() override
Render the resulting image.
void SetColorLevel(double s) override
Set window and level for mapping pixels to colors.
vtkResliceImageViewerScrollCallback * ScrollCallback
vtkPlane * GetReslicePlane()
Convenience methods to get the reslice plane and the normalized spacing between slices in reslice mod...
vtkBoundedPlanePointPlacer * PointPlacer
~vtkResliceImageViewer() override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
double GetInterSliceSpacingInResliceMode()
Convenience methods to get the reslice plane and the normalized spacing between slices in reslice mod...
virtual void Reset()
Reset all views back to initial state.
void SetResliceCursor(vtkResliceCursor *rc)
Set/Get the reslice cursor.
void UpdateDisplayExtent() override
Update the display extent manually so that the proper slice for the given orientation is displayed.
virtual void IncrementSlice(int inc)
Increment/Decrement slice by 'inc' slices.
vtkResliceCursor * GetResliceCursor()
Set/Get the reslice cursor.
virtual void SetLookupTable(vtkScalarsToColors *)
Set the lookup table.
void UnInstallPipeline() override
void SetInputConnection(vtkAlgorithmOutput *input) override
Set/Get the input image to the viewer.
virtual void UpdatePointPlacer()
vtkScalarsToColors * GetLookupTable()
Set the lookup table.
vtkTypeBool SliceScrollOnMouseWheel
vtkResliceImageViewerMeasurements * Measurements
void InstallPipeline() override
virtual void SetThickMode(int)
Switch to / from thick mode.
virtual void SetResliceMode(int resliceMode)
Superclass for mapping scalar values to colors.