30 #ifndef vtkResliceImageViewer_h
31 #define vtkResliceImageViewer_h
34 #include "vtkInteractionImageModule.h"
41 class vtkResliceImageViewerScrollCallback;
91 RESLICE_AXIS_ALIGNED = 0,
95 vtkGetMacro(ResliceMode,
int);
175 SliceChangedEvent = 1001
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()
static vtkResliceImageViewer * New()
Standard VTK methods.
virtual void SetResliceModeToOblique()
void Render() override
Render the resulting image.
void SetColorLevel(double s) override
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
Methods invoked by print to print information about the object including superclasses.
double GetInterSliceSpacingInResliceMode()
virtual void Reset()
Reset all views back to initial state.
void SetResliceCursor(vtkResliceCursor *rc)
void UpdateDisplayExtent() override
Update the display extent manually so that the proper slice for the given orientation is displayed.
vtkResliceCursor * GetResliceCursor()
Set/Get the reslice cursor.
virtual void SetLookupTable(vtkScalarsToColors *)
Set the lookup table.
void UnInstallPipeline() override
void SetInputConnection(vtkAlgorithmOutput *input) override
virtual void UpdatePointPlacer()
vtkScalarsToColors * GetLookupTable()
vtkTypeBool SliceScrollOnMouseWheel
vtkResliceImageViewerMeasurements * Measurements
void InstallPipeline() override
virtual void SetThickMode(int)
Switch to / from thick mode.
virtual void SetResliceMode(int resliceMode)
virtual void IncrementSlice(int n)
Increment/Decrement slice by 'n' slices.
Superclass for mapping scalar values to colors.