21#ifndef vtkResliceImageViewer_h 
   22#define vtkResliceImageViewer_h 
   25#include "vtkInteractionImageModule.h"  
   27VTK_ABI_NAMESPACE_BEGIN
 
   33class vtkResliceImageViewerScrollCallback;
 
   83    RESLICE_AXIS_ALIGNED = 0,
 
   87  vtkGetMacro(ResliceMode, 
int);
 
  169  vtkSetMacro(SliceScrollFactor, 
double);
 
  170  vtkGetMacro(SliceScrollFactor, 
double);
 
  180    SliceChangedEvent = 1001
 
  208  double SliceScrollFactor = 1.0;
 
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.
 
static vtkResliceImageViewer * New()
Standard VTK methods.
 
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.
 
virtual void SetResliceModeToOblique()
 
void Render() override
Render the resulting image.
 
void SetColorLevel(double s) override
Set window and level for mapping pixels to colors.
 
vtkPlane * GetReslicePlane()
Convenience methods to get the reslice plane and the normalized spacing between slices in reslice mod...
 
vtkResliceImageViewerScrollCallback * ScrollCallback
 
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.
 
vtkScalarsToColors * GetLookupTable()
Set the lookup table.
 
virtual void IncrementSlice(int inc)
Increment/Decrement slice by 'inc' slices.
 
virtual void SetLookupTable(vtkScalarsToColors *)
Set the lookup table.
 
void UnInstallPipeline() override
 
void SetInputConnection(vtkAlgorithmOutput *input) override
Set/Get the input image to the viewer.
 
vtkResliceCursor * GetResliceCursor()
Set/Get the reslice cursor.
 
virtual void UpdatePointPlacer()
 
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.