|
VTK
9.0.1
|
Geometry for a reslice cursor. More...
#include <vtkResliceCursor.h>
Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
| vtkResliceCursor * | NewInstance () const |
| virtual void | SetImage (vtkImageData *) |
| Set the image (3D) that we are slicing. More... | |
| virtual vtkImageData * | GetImage () |
| virtual void | SetCenter (double, double, double) |
| Set/Get the cente of the reslice cursor. More... | |
| virtual void | SetCenter (double center[3]) |
| virtual double * | GetCenter () |
| virtual void | GetCenter (double &, double &, double &) |
| virtual void | GetCenter (double[3]) |
| virtual void | SetThickness (double, double, double) |
| Set/Get the thickness of the cursor. More... | |
| virtual void | SetThickness (double[3]) |
| virtual double * | GetThickness () |
| virtual void | GetThickness (double &, double &, double &) |
| virtual void | GetThickness (double[3]) |
| virtual void | SetThickMode (vtkTypeBool) |
| Enable disable thick mode. More... | |
| virtual vtkTypeBool | GetThickMode () |
| virtual void | ThickModeOn () |
| virtual void | ThickModeOff () |
| virtual vtkPolyData * | GetPolyData () |
| Get the 3D PolyData representation. More... | |
| virtual vtkPolyData * | GetCenterlineAxisPolyData (int axis) |
| Get the slab and centerline polydata along an axis. More... | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| Printself method. More... | |
| virtual vtkPlane * | GetPlane (int n) |
| Get the planes that represent normals along the X, Y and Z. More... | |
| virtual void | Update () |
| Build the polydata. More... | |
| virtual double * | GetXAxis () |
| Get the computed axes directions. More... | |
| virtual void | GetXAxis (double &, double &, double &) |
| virtual void | GetXAxis (double[3]) |
| virtual double * | GetYAxis () |
| virtual void | GetYAxis (double &, double &, double &) |
| virtual void | GetYAxis (double[3]) |
| virtual double * | GetZAxis () |
| virtual void | GetZAxis (double &, double &, double &) |
| virtual void | GetZAxis (double[3]) |
| virtual void | SetXAxis (double, double, double) |
| virtual void | SetXAxis (double[3]) |
| virtual void | SetYAxis (double, double, double) |
| virtual void | SetYAxis (double[3]) |
| virtual void | SetZAxis (double, double, double) |
| virtual void | SetZAxis (double[3]) |
| virtual double * | GetAxis (int i) |
| virtual void | SetHole (int) |
| Show a hole in the center of the cursor, so its easy to see the pixels within the hole. More... | |
| virtual int | GetHole () |
| virtual void | SetHoleWidth (double) |
| Set the width of the hole in mm. More... | |
| virtual double | GetHoleWidth () |
| virtual void | SetHoleWidthInPixels (double) |
| Set the width of the hole in pixels. More... | |
| virtual double | GetHoleWidthInPixels () |
| vtkMTimeType | GetMTime () override |
| Get the MTime. More... | |
| virtual void | Reset () |
| Reset the cursor to the default position, ie with the axes, normal to each other and axis aligned and with the cursor pointed at the center of the image. More... | |
Public Member Functions inherited from vtkObject | |
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
| virtual void | DebugOn () |
| Turn debugging output on. More... | |
| virtual void | DebugOff () |
| Turn debugging output off. More... | |
| bool | GetDebug () |
| Get the value of the debug flag. More... | |
| void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. More... | |
| virtual void | Modified () |
| Update the modification time for this object. More... | |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| vtkTypeBool | HasObserver (unsigned long event) |
| vtkTypeBool | HasObserver (const char *event) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. More... | |
| int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More... | |
| int | InvokeEvent (const char *event, void *callData) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| Return the class name as a string. More... | |
| virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More... | |
| virtual void | Delete () |
| Delete a VTK object. More... | |
| virtual void | FastDelete () |
| Delete a reference to this object. More... | |
| void | InitializeObjectBase () |
| void | Print (ostream &os) |
| Print an object to an ostream. More... | |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). More... | |
| virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). More... | |
| int | GetReferenceCount () |
| Return the current reference count of this object. More... | |
| void | SetReferenceCount (int) |
| Sets the reference count. More... | |
| void | PrintRevisions (ostream &) |
| Legacy. More... | |
Static Public Member Functions | |
| static vtkTypeBool | IsTypeOf (const char *type) |
| static vtkResliceCursor * | SafeDownCast (vtkObjectBase *o) |
| static vtkResliceCursor * | New () |
Static Public Member Functions inherited from vtkObject | |
| static vtkObject * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
| static void | BreakOnError () |
| This method is called when vtkErrorMacro executes. More... | |
| static void | SetGlobalWarningDisplay (int val) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
| static vtkTypeBool | IsTypeOf (const char *name) |
| Return 1 if this class type is the same type of (or a subclass of) the named class. More... | |
| static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
| Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More... | |
| static vtkObjectBase * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkResliceCursor () | |
| ~vtkResliceCursor () override | |
| virtual void | BuildCursorGeometry () |
| virtual void | BuildPolyData () |
| virtual void | BuildCursorTopology () |
| virtual void | BuildCursorTopologyWithHole () |
| virtual void | BuildCursorTopologyWithoutHole () |
| virtual void | BuildCursorGeometryWithoutHole () |
| virtual void | BuildCursorGeometryWithHole () |
| virtual void | ComputeAxes () |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| ~vtkObject () override | |
| void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
| void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
| These methods allow a command to exclusively grab all events. More... | |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| vtkTypeBool | ThickMode |
| int | Hole |
| double | HoleWidth |
| double | HoleWidthInPixels |
| double | Thickness [3] |
| double | Center [3] |
| double | XAxis [3] |
| double | YAxis [3] |
| double | ZAxis [3] |
| vtkImageData * | Image |
| vtkPolyData * | PolyData |
| vtkPolyData * | CenterlineAxis [3] |
| vtkPlaneCollection * | ReslicePlanes |
| vtkTimeStamp | PolyDataBuildTime |
Protected Attributes inherited from vtkObject | |
| bool | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| std::atomic< int32_t > | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Geometry for a reslice cursor.
This class represents a reslice cursor. It consists of two cross sectional hairs, with an optional thickness. The crosshairs hairs may have a hole in the center. These may be translated or rotated independent of each other in the view. The result is used to reslice the data along these cross sections. This allows the user to perform multi-planar thin or thick reformat of the data on an image view, rather than a 3D view.
Definition at line 43 of file vtkResliceCursor.h.
Definition at line 46 of file vtkResliceCursor.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class.
Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObjectBase.
|
static |
|
protectedvirtual |
| vtkResliceCursor* vtkResliceCursor::NewInstance | ( | ) | const |
|
static |
|
virtual |
Set the image (3D) that we are slicing.
|
virtual |
|
virtual |
Set/Get the cente of the reslice cursor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get the thickness of the cursor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Enable disable thick mode.
Default is to enable it.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the 3D PolyData representation.
|
virtual |
Get the slab and centerline polydata along an axis.
|
overridevirtual |
Printself method.
Reimplemented from vtkObject.
|
virtual |
Get the planes that represent normals along the X, Y and Z.
The argument passed to this method must be an integer in the range 0-2 (corresponding to the X, Y and Z axes.
|
virtual |
Build the polydata.
|
virtual |
Get the computed axes directions.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Show a hole in the center of the cursor, so its easy to see the pixels within the hole.
ON by default
|
virtual |
|
virtual |
Set the width of the hole in mm.
|
virtual |
|
virtual |
Set the width of the hole in pixels.
If set, this will override the hole with in mm.
|
virtual |
|
overridevirtual |
|
virtual |
Reset the cursor to the default position, ie with the axes, normal to each other and axis aligned and with the cursor pointed at the center of the image.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 175 of file vtkResliceCursor.h.
|
protected |
Definition at line 176 of file vtkResliceCursor.h.
|
protected |
Definition at line 177 of file vtkResliceCursor.h.
|
protected |
Definition at line 178 of file vtkResliceCursor.h.
|
protected |
Definition at line 179 of file vtkResliceCursor.h.
|
protected |
Definition at line 180 of file vtkResliceCursor.h.
|
protected |
Definition at line 181 of file vtkResliceCursor.h.
|
protected |
Definition at line 182 of file vtkResliceCursor.h.
|
protected |
Definition at line 183 of file vtkResliceCursor.h.
|
protected |
Definition at line 184 of file vtkResliceCursor.h.
|
protected |
Definition at line 185 of file vtkResliceCursor.h.
|
protected |
Definition at line 187 of file vtkResliceCursor.h.
|
protected |
Definition at line 189 of file vtkResliceCursor.h.
|
protected |
Definition at line 190 of file vtkResliceCursor.h.
1.8.17