27 #ifndef vtkResliceCursorRepresentation_h
28 #define vtkResliceCursorRepresentation_h
30 #include "vtkInteractionWidgetsModule.h"
68 vtkSetClampMacro(Tolerance,
int,1,100);
69 vtkGetMacro(Tolerance,
int);
77 vtkGetMacro( ShowReslicedImage,
int );
87 vtkGetMacro(RestrictPlaneToVolume,
int);
97 vtkSetStringMacro(ThicknessLabelFormat);
104 enum { None=0, PanAndRotate, RotateBothAxes,
185 vtkGetMacro(DisplayText,
int);
203 vtkGetMacro( UseImageActor,
int );
213 vtkGetMacro(ManipulationMode,
int);
259 double outputSpacingX,
double outputSpacingY,
260 int extentX,
int extentY );
326 double LastEventPosition[2];
a actor that draws 2D data
represents an object (geometry & properties) in a rendered scene
draw an image in a rendered 3D scene
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
map the input image through a lookup table
Reslices a volume along a new set of axes.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
create an array of quadrilaterals located in a plane
perform various plane computations
generates a 2D reslice cursor polydata
represent the vtkResliceCursorWidget
int ManipulationMode
The widget sets the manipulation mode.
virtual void InitializeReslicePlane()
Initialize the reslice planes and the camera center.
vtkTextProperty * ThicknessTextProperty
vtkResliceCursorRepresentation()
vtkActor * TexturePlaneActor
vtkMatrix4x4 * ResliceAxes
virtual void UpdateReslicePlane()
Update the reslice plane.
void GetVector1(double d[3])
vtkImageMapToColors * ColorMap
~vtkResliceCursorRepresentation()
char * ThicknessLabelFormat
void GetVector2(double d[3])
virtual void WindowLevel(double x, double y)
Process window level.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkScalarsToColors * LookupTable
vtkTextProperty * GetTextProperty()
vtkTextMapper * ThicknessTextMapper
virtual vtkResliceCursorPolyDataAlgorithm * GetCursorAlgorithm()=0
Get the underlying cursor source.
vtkPlaneSource * PlaneSource
vtkImageAlgorithm * Reslice
vtkMatrix4x4 * NewResliceAxes
virtual char * GetThicknessLabelText()
Get the text shown in the widget's label.
vtkActor2D * ThicknessTextActor
virtual void ComputeOrigin(vtkMatrix4x4 *)
int RestrictPlaneToVolume
void SetManipulationMode(int m)
INTERNAL - Do not use Set the manipulation mode.
void SetWindowLevel(double window, double level, int copy=0)
Set/Get the current window and level values.
virtual void CreateDefaultResliceAlgorithm()
Create New Reslice plane.
void GetWindowLevel(double wl[2])
virtual void BuildRepresentation()
These are methods that satisfy vtkWidgetRepresentation's API.
virtual void ResetCamera()
virtual void SetColorMap(vtkImageMapToColors *)
virtual void ComputeReslicePlaneOrigin()
Compute the origin of the planes so as to capture the entire image.
virtual vtkResliceCursor * GetResliceCursor()=0
void SetTextProperty(vtkTextProperty *tprop)
Set/Get the text property for the image data and window-level annotation.
void ActivateText(int)
INTERNAL - Do not use.
virtual void SetLookupTable(vtkScalarsToColors *)
Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively,...
virtual double * GetThicknessLabelPosition()
Get the position of the widget's label in display coordinates.
virtual void GetThicknessLabelPosition(double pos[3])
vtkImageActor * ImageActor
vtkScalarsToColors * CreateDefaultLookupTable()
virtual void SetResliceParameters(double outputSpacingX, double outputSpacingY, int extentX, int extentY)
virtual void GetWorldThicknessLabelPosition(double pos[3])
Geometry for a reslice cursor.
Superclass for mapping scalar values to colors.
An actor that displays text.
represent text properties.
handles properties associated with a texture map
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.