33#ifndef vtkResliceImageViewer_h
34#define vtkResliceImageViewer_h
36#include "vtkInteractionImageModule.h"
44class vtkResliceImageViewerScrollCallback;
95 RESLICE_AXIS_ALIGNED = 0,
99 vtkGetMacro(ResliceMode,
int);
164 vtkGetMacro( SliceScrollOnMouseWheel,
int );
173 enum { 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.
int SliceScrollOnMouseWheel
virtual void UpdateOrientation()
static vtkResliceImageViewer * New()
Standard VTK methods.
vtkResliceCursorWidget * ResliceCursorWidget
virtual void SetInputConnection(vtkAlgorithmOutput *input)
virtual void SetColorWindow(double s)
Set window and level for mapping pixels to colors.
virtual void SetColorLevel(double s)
virtual void SetResliceModeToAxisAligned()
virtual int GetThickMode()
virtual void SetResliceModeToOblique()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPlane * GetReslicePlane()
Convenience methods to get the reslice plane and the normalized spacing between slices in reslice mod...
vtkResliceImageViewerScrollCallback * ScrollCallback
virtual void UnInstallPipeline()
vtkBoundedPlanePointPlacer * PointPlacer
double GetInterSliceSpacingInResliceMode()
virtual void Reset()
Reset all views back to initial state.
void SetResliceCursor(vtkResliceCursor *rc)
vtkScalarsToColors * GetLookupTable()
virtual void SetLookupTable(vtkScalarsToColors *)
Set the lookup table.
virtual void UpdateDisplayExtent()
Update the display extent manually so that the proper slice for the given orientation is displayed.
virtual void SetInputData(vtkImageData *in)
Set/Get the input image to the viewer.
vtkResliceCursor * GetResliceCursor()
Set/Get the reslice cursor.
virtual void UpdatePointPlacer()
virtual void Render()
Render the resulting image.
virtual void InstallPipeline()
vtkResliceImageViewerMeasurements * Measurements
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.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.