Go to the documentation of this file.
26 #ifndef vtkResliceCursorRepresentation_h
27 #define vtkResliceCursorRepresentation_h
91 enum { Outside=0, NearCenter, NearAxis1, NearAxis2,
94 ResizeThickness, WindowLevelling };
215 double outputSpacingX,
double outputSpacingY,
216 int extentX,
int extentY );
274 double LastEventPosition[2];
virtual void BuildRepresentation()
vtkImageActor * ImageActor
perform various plane computations
void SetTextProperty(vtkTextProperty *tprop)
vtkTextProperty * GetTextProperty()
#define vtkGetObjectMacro(name, type)
~vtkResliceCursorRepresentation()
virtual vtkResliceCursor * GetResliceCursor()=0
int RestrictPlaneToVolume
vtkScalarsToColors * LookupTable
vtkMatrix4x4 * NewResliceAxes
create an array of quadrilaterals located in a plane
Geometry for a reslice cursor.
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
map the input image through a lookup table
virtual void SetLookupTable(vtkScalarsToColors *)
virtual void SetColorMap(vtkImageMapToColors *)
void GetVector2(double d[3])
Generic algorithm superclass for image algs.
virtual void ResetCamera()
vtkScalarsToColors * CreateDefaultLookupTable()
vtkImageMapToColors * ColorMap
vtkPlaneSource * PlaneSource
#define vtkSetClampMacro(name, type, min, max)
handles properties associated with a texture map
virtual vtkResliceCursorPolyDataAlgorithm * GetCursorAlgorithm()=0
virtual void GetWorldThicknessLabelPosition(double pos[3])
virtual double * GetThicknessLabelPosition()
virtual void CreateDefaultResliceAlgorithm()
void GetWindowLevel(double wl[2])
char * ThicknessLabelFormat
generates a 2D reslice cursor polydata
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
An actor that displays text. Scaled or unscaled.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
virtual void InitializeReslicePlane()
#define vtkSetStringMacro(name)
Reslices a volume along a new set of axes.
void SetManipulationMode(int m)
#define vtkGetMacro(name, type)
Superclass for mapping scalar values to colors.
vtkGetStringMacro(ExtensionsString)
virtual void ComputeReslicePlaneOrigin()
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
a actor that draws 2D data
vtkTextProperty * ThicknessTextProperty
GLint GLint GLint GLint GLint GLint y
virtual void WindowLevel(double x, double y)
virtual void UpdateReslicePlane()
void PrintSelf(ostream &os, vtkIndent indent)
draw an image in a rendered 3D scene
void SetWindowLevel(double window, double level, int copy=0)
vtkMatrix4x4 * ResliceAxes
virtual void ComputeOrigin(vtkMatrix4x4 *)
vtkActor * TexturePlaneActor
vtkResliceCursorRepresentation()
vtkImageAlgorithm * Reslice
virtual char * GetThicknessLabelText()
represent the vtkResliceCursorWidget
void GetVector1(double d[3])
virtual void GetThicknessLabelPosition(double pos[3])
virtual void SetResliceParameters(double outputSpacingX, double outputSpacingY, int extentX, int extentY)
vtkActor2D * ThicknessTextActor
vtkTextMapper * ThicknessTextMapper