26 #ifndef vtkResliceCursorRepresentation_h 27 #define vtkResliceCursorRepresentation_h 91 enum { Outside=0, NearCenter, NearAxis1, NearAxis2,
94 ResizeThickness, WindowLevelling };
98 virtual char* GetThicknessLabelText();
102 virtual double* GetThicknessLabelPosition();
103 virtual void GetThicknessLabelPosition(
double pos[3]);
104 virtual void GetWorldThicknessLabelPosition(
double pos[3]);
145 void SetWindowLevel(
double window,
double level,
int copy = 0);
146 void GetWindowLevel(
double wl[2]);
179 void SetManipulationMode(
int m );
186 void ActivateText(
int);
187 void ManageTextDisplay();
193 virtual void InitializeReslicePlane();
194 virtual void ResetCamera();
213 virtual void CreateDefaultResliceAlgorithm();
214 virtual void SetResliceParameters(
215 double outputSpacingX,
double outputSpacingY,
216 int extentX,
int extentY );
220 virtual void WindowLevel(
double x,
double y );
223 virtual void UpdateReslicePlane();
226 virtual void ComputeReslicePlaneOrigin();
236 void GetVector1(
double d[3] );
237 void GetVector2(
double d[3] );
274 double LastEventPosition[2];
vtkMatrix4x4 * ResliceAxes
vtkMatrix4x4 * NewResliceAxes
represents an object (geometry & properties) in a rendered scene
vtkActor * TexturePlaneActor
represent and manipulate 4x4 transformation matrices
vtkImageAlgorithm * Reslice
vtkTextMapper * ThicknessTextMapper
vtkActor2D * ThicknessTextActor
generates a 2D reslice cursor polydata
#define vtkGetMacro(name, type)
a actor that draws 2D data
vtkImageMapToColors * ColorMap
#define vtkSetClampMacro(name, type, min, max)
char * ThicknessLabelFormat
int RestrictPlaneToVolume
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
Superclass for mapping scalar values to colors.
An actor that displays text. Scaled or unscaled.
draw an image in a rendered 3D scene
a simple class to control print indentation
topologically and geometrically regular array of data
vtkPlaneSource * PlaneSource
perform various plane computations
map the input image through a lookup table
handles properties associated with a texture map
#define vtkGetStringMacro(name)
represent text properties.
#define vtkGetObjectMacro(name, type)
Reslices a volume along a new set of axes.
create an array of quadrilaterals located in a plane
Generic algorithm superclass for image algs.
#define vtkBooleanMacro(name, type)
vtkImageActor * ImageActor
vtkTextProperty * ThicknessTextProperty
vtkScalarsToColors * LookupTable
represent the vtkResliceCursorWidget
#define vtkSetMacro(name, type)
Geometry for a reslice cursor.