![]() |
Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Markups/MRMLDM/vtkMRMLMarkupsFiducialDisplayableManager2D.h>
Public Types | |
typedef vtkMRMLMarkupsDisplayableManager2D | Superclass |
![]() | |
typedef vtkMRMLAbstractSliceViewDisplayableManager | Superclass |
![]() | |
typedef vtkMRMLAbstractSliceViewDisplayableManager | Self |
typedef vtkMRMLAbstractDisplayableManager | Superclass |
![]() | |
typedef vtkMRMLAbstractLogic | Superclass |
![]() | |
typedef vtkObject | Superclass |
typedef void(vtkMRMLAbstractLogic::* | TaskFunctionPointer) (void *clientdata) |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual bool | UpdateNthMarkupPositionFromWidget (int n, vtkMRMLMarkupsNode *pointsNode, vtkAbstractWidget *widget) VTK_OVERRIDE |
Update a single markup position from the seed widget, return true if the position changed. More... | |
virtual bool | UpdateNthSeedPositionFromMRML (int n, vtkAbstractWidget *widget, vtkMRMLMarkupsNode *pointsNode) VTK_OVERRIDE |
Update a single seed position from the node, return true if the position changed. More... | |
![]() | |
vtkAbstractWidget * | AddWidget (vtkMRMLMarkupsNode *markupsNode) |
bool | GetDisplayCoordinatesChanged (double *displayCoordinates1, double *displayCoordinates2) |
Check if there are real changes between two sets of displayCoordinates. More... | |
void | GetDisplayToWorldCoordinates (double x, double y, double *worldCoordinates) |
Convert display to world coordinates. More... | |
void | GetDisplayToWorldCoordinates (double *displayCoordinates, double *worldCoordinates) |
vtkMRMLMarkupsDisplayableManagerHelper * | GetHelper () |
int | GetLightboxIndex (vtkMRMLMarkupsNode *node, int markupIndex, int pointIndex) |
virtual double | GetScaleFactor2D () |
bool | GetWorldCoordinatesChanged (double *worldCoordinates1, double *worldCoordinates2) |
Check if there are real changes between two sets of worldCoordinates. More... | |
virtual void | GetWorldToLocalCoordinates (vtkMRMLMarkupsNode *node, double *worldCoordinates, double *localCoordinates) |
Convert world coordinates to local using mrml parent transform. More... | |
bool | IsInLightboxMode () |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
bool | RestrictDisplayCoordinatesToViewport (double *displayCoordinates) |
virtual void | SetParentTransformToWidget (vtkMRMLMarkupsNode *vtkNotUsed(node), vtkAbstractWidget *vtkNotUsed(widget)) |
Set mrml parent transform to widgets. More... | |
virtual void | SetScaleFactor2D (double) |
Set/Get the 2d scale factor to divide 3D scale by to show 2D elements appropriately (usually set to 300) More... | |
virtual bool | UpdateNthMarkupPositionFromWidget (int vtkNotUsed(n), vtkMRMLMarkupsNode *vtkNotUsed(pointsNode), vtkAbstractWidget *vtkNotUsed(widget)) |
virtual bool | UpdateNthSeedPositionFromMRML (int vtkNotUsed(n), vtkAbstractWidget *vtkNotUsed(widget), vtkMRMLMarkupsNode *vtkNotUsed(markupsNode)) |
void | UpdateWidgetVisibility (vtkMRMLMarkupsNode *node) |
![]() | |
void | ConvertDeviceToXYZ (double x, double y, double xyz[3]) |
void | ConvertRASToXYZ (double ras[3], double xyz[3]) |
void | ConvertXYZToRAS (double xyz[3], double ras[3]) |
vtkMRMLSliceNode * | GetMRMLSliceNode () |
Get MRML SliceNode. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
![]() | |
virtual std::string | GetDataProbeInfoStringForPosition (double vtkNotUsed(xyz)[3]) |
vtkMRMLInteractionNode * | GetInteractionNode () |
Convenient method to get the current InteractionNode. More... | |
vtkRenderWindowInteractor * | GetInteractor () |
Convenient method to get the WindowInteractor associated with the Renderer. More... | |
virtual vtkMRMLLightBoxRendererManagerProxy * | GetLightBoxRendererManagerProxy () |
vtkRenderer * | GetRenderer () |
Get the default renderer for this displayable manager. More... | |
vtkRenderer * | GetRenderer (int idx) |
vtkMRMLSelectionNode * | GetSelectionNode () |
Convenient method to get the current SelectionNode. More... | |
bool | IsCreated () |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetLightBoxRendererManagerProxy (vtkMRMLLightBoxRendererManagerProxy *) |
![]() | |
virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
Get access to overall application state. More... | |
vtkMRMLScene * | GetMRMLScene () const |
Return a reference to the current MRML scene. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
void | SetMRMLScene (vtkMRMLScene *newScene) |
Set and observe the MRMLScene. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLMarkupsFiducialDisplayableManager2D * | New () |
static vtkMRMLMarkupsFiducialDisplayableManager2D * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLMarkupsDisplayableManager2D * | New () |
static vtkMRMLMarkupsDisplayableManager2D * | SafeDownCast (vtkObject *o) |
![]() | |
static void | ConvertDeviceToXYZ (vtkRenderWindowInteractor *interactor, vtkMRMLSliceNode *sliceNode, double x, double y, double xyz[3]) |
static void | ConvertRASToXYZ (vtkMRMLSliceNode *sliceNode, double ras[3], double xyz[3]) |
static void | ConvertXYZToRAS (vtkMRMLSliceNode *sliceNode, double xyz[3], double ras[3]) |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractSliceViewDisplayableManager * | New () |
static vtkMRMLAbstractSliceViewDisplayableManager * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractDisplayableManager * | New () |
static vtkMRMLAbstractDisplayableManager * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractLogic * | New () |
static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
virtual void | AdditionnalInitializeStep () |
Set up an observer on the interactor style to watch for key press events. More... | |
virtual vtkAbstractWidget * | CreateWidget (vtkMRMLMarkupsNode *node) VTK_OVERRIDE |
Create a widget. More... | |
virtual void | OnClickInRenderWindow (double x, double y, const char *associatedNodeID) VTK_OVERRIDE |
Callback for click in RenderWindow. More... | |
virtual void | OnInteractorStyleEvent (int eventid) VTK_OVERRIDE |
Respond to the interactor style event. More... | |
virtual void | OnMRMLMarkupsNodeMarkupAddedEvent (vtkMRMLMarkupsNode *markupsNode, int n) VTK_OVERRIDE |
Create new handle on widget when a new markup is added to a markups node. More... | |
virtual void | OnMRMLMarkupsNodeMarkupRemovedEvent (vtkMRMLMarkupsNode *markupsNode, int n) VTK_OVERRIDE |
Respond to a markup being removed from the markups node. More... | |
virtual void | OnMRMLMarkupsNodeNthMarkupModifiedEvent (vtkMRMLMarkupsNode *markupsNode, int n) VTK_OVERRIDE |
Respond to the nth markup modified event. More... | |
virtual void | OnMRMLSceneEndClose () VTK_OVERRIDE |
virtual void | OnWidgetCreated (vtkAbstractWidget *widget, vtkMRMLMarkupsNode *node) VTK_OVERRIDE |
Gets called when widget was created. More... | |
virtual void | PropagateMRMLToWidget (vtkMRMLMarkupsNode *node, vtkAbstractWidget *widget) VTK_OVERRIDE |
Propagate properties of MRML node to widget. More... | |
virtual void | PropagateWidgetToMRML (vtkAbstractWidget *widget, vtkMRMLMarkupsNode *node) VTK_OVERRIDE |
Propagate properties of widget to MRML node. More... | |
void | SetNthSeed (int n, vtkMRMLMarkupsFiducialNode *fiducialNode, vtkSeedWidget *seedWidget) |
Update a single seed from MRML. More... | |
virtual void | UpdatePosition (vtkAbstractWidget *widget, vtkMRMLNode *node) VTK_OVERRIDE |
Respond to control point modified events. More... | |
vtkMRMLMarkupsFiducialDisplayableManager2D () | |
virtual | ~vtkMRMLMarkupsFiducialDisplayableManager2D () |
![]() | |
void | AddObserversToInteractionNode () |
Observe the interaction node. More... | |
virtual int | GetDisableInteractorStyleEventsProcessing () |
Accessor for internal flag that disables interactor style event processing. More... | |
void | GetDisplayToViewportCoordinates (double x, double y, double *viewportCoordinates) |
Convert display to viewport coordinates. More... | |
void | GetDisplayToViewportCoordinates (double *displayCoordinates, double *viewportCoordinates) |
vtkHandleWidget * | GetSeed (int index) |
Return the placed seeds. More... | |
vtkAbstractWidget * | GetWidget (vtkMRMLMarkupsNode *node) |
Get the widget of a node. More... | |
void | GetWorldToDisplayCoordinates (double r, double a, double s, double *displayCoordinates) |
Convert display to world coordinates. More... | |
void | GetWorldToDisplayCoordinates (double *worldCoordinates, double *displayCoordinates) |
virtual bool | IsCorrectDisplayableManager () |
Check if it is the right displayManager. More... | |
virtual bool | IsManageable (vtkMRMLNode *node) |
virtual bool | IsManageable (const char *nodeClassName) |
virtual bool | IsWidgetDisplayableOnSlice (vtkMRMLMarkupsNode *node, int markupIndex=0) |
void | OnClickInRenderWindowGetCoordinates () |
virtual void | OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) VTK_OVERRIDE |
Called after the corresponding MRML View container was modified. More... | |
void | OnMRMLMarkupsDisplayNodeModifiedEvent (vtkMRMLNode *node) |
void | OnMRMLMarkupsNodeLockModifiedEvent (vtkMRMLNode *node) |
virtual void | OnMRMLMarkupsNodeMarkupAddedEvent (vtkMRMLMarkupsNode *vtkNotUsed(markupsNode), int vtkNotUsed(n)) |
Subclasses need to react to new markups being added to a markups node or modified. More... | |
virtual void | OnMRMLMarkupsNodeMarkupRemovedEvent (vtkMRMLMarkupsNode *vtkNotUsed(markupsNode), int vtkNotUsed(n)) |
void | OnMRMLMarkupsNodeModifiedEvent (vtkMRMLNode *node) |
Preset functions for certain events. More... | |
virtual void | OnMRMLMarkupsNodeNthMarkupModifiedEvent (vtkMRMLMarkupsNode *vtkNotUsed(node), int vtkNotUsed(n)) |
void | OnMRMLMarkupsNodeTransformModifiedEvent (vtkMRMLNode *node) |
void | OnMRMLMarkupsPointModifiedEvent (vtkMRMLNode *node, int n) |
virtual void | OnMRMLSceneNodeAdded (vtkMRMLNode *node) VTK_OVERRIDE |
virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *node) VTK_OVERRIDE |
virtual void | OnMRMLSliceNodeModifiedEvent () VTK_OVERRIDE |
Handler for specific SliceView actions, iterate over the widgets in the helper. More... | |
virtual void | PlaceSeed (double x, double y) |
Place a seed for widgets. More... | |
virtual void | ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE |
virtual void | RemoveMRMLObservers () VTK_OVERRIDE |
Remove MRML observers. More... | |
void | RemoveObserversFromInteractionNode () |
virtual void | RequestRender () |
Wrap the superclass render request in a check for batch processing. More... | |
void | SetAndObserveNode (vtkMRMLMarkupsNode *markupsNode) |
Observe one node. More... | |
void | SetAndObserveNodes () |
Observe all associated nodes. More... | |
virtual void | SetMRMLSceneInternal (vtkMRMLScene *newScene) VTK_OVERRIDE |
virtual void | UpdateFromMRML () VTK_OVERRIDE |
virtual void | UpdateFromMRMLScene () VTK_OVERRIDE |
virtual void | UpdatePosition (vtkAbstractWidget *vtkNotUsed(widget), vtkMRMLNode *vtkNotUsed(node)) |
Update just the position for the widget, implemented by subclasses. More... | |
vtkMRMLMarkupsDisplayableManager2D () | |
virtual | ~vtkMRMLMarkupsDisplayableManager2D () |
![]() | |
vtkMRMLAbstractSliceViewDisplayableManager () | |
virtual | ~vtkMRMLAbstractSliceViewDisplayableManager () |
![]() | |
virtual int | ActiveInteractionModes () |
void | AddInteractorObservableEvent (int eventid, float priority=0.0) |
void | AddInteractorStyleObservableEvent (int eventid, float priority=0.0) |
virtual void | AdditionalInitializeStep () |
void | AddMRMLDisplayableManagerEvent (int eventId) |
Allow to specify additional events that the DisplayableNode will observe. More... | |
virtual void | Create () |
void | CreateIfPossible () |
int | GetInteractorAbortFlag () |
int | GetInteractorStyleAbortFlag () |
vtkMRMLDisplayableManagerGroup * | GetMRMLDisplayableManagerGroup () |
Get associated DisplayableManager group. More... | |
vtkMRMLNode * | GetMRMLDisplayableNode () |
Get MRML Displayable Node. More... | |
vtkCallbackCommand * | GetWidgetsCallbackCommand () |
Get vtkWidget callbackCommand. More... | |
vtkObserverManager * | GetWidgetsObserverManager () const |
Get widget observerManager. More... | |
void | InteractorAbortFlagOff () |
void | InteractorAbortFlagOn () |
void | InteractorStyleAbortFlagOff () |
void | InteractorStyleAbortFlagOn () |
virtual void | OnInteractorEvent (int eventid) |
virtual void | ProcessWidgetsEvents (vtkObject *caller, unsigned long event, void *callData) |
void | RemoveInteractorObservableEvent (int eventid) |
void | RemoveInteractorStyleObservableEvent (int eventid) |
void | RequestRender () |
void | SetAndObserveMRMLDisplayableNode (vtkMRMLNode *newMRMLDisplayableNode) |
void | SetInteractorAbortFlag (int f) |
Set the Abort flag on the Interactor event callback. More... | |
void | SetInteractorStyleAbortFlag (int f) |
Set the Abort flag on the InteractorStyle event callback. More... | |
virtual void | SetMRMLDisplayableManagerGroup (vtkMRMLDisplayableManagerGroup *group) |
virtual void | SetRenderer (vtkRenderer *newRenderer) |
void | SetUpdateFromMRMLRequested (bool requested) |
vtkMRMLAbstractDisplayableManager () | |
virtual | ~vtkMRMLAbstractDisplayableManager () |
![]() | |
int | EndModify (bool wasModifying) |
virtual bool | EnterMRMLLogicsCallback () const |
virtual bool | EnterMRMLNodesCallback () const |
virtual bool | EnterMRMLSceneCallback () const |
bool | GetDisableModifiedEvent () const |
int | GetInMRMLLogicsCallbackFlag () const |
int | GetInMRMLNodesCallbackFlag () const |
int | GetInMRMLSceneCallbackFlag () const |
vtkCallbackCommand * | GetMRMLLogicsCallbackCommand () |
vtkObserverManager * | GetMRMLLogicsObserverManager () const |
vtkCallbackCommand * | GetMRMLNodesCallbackCommand () |
vtkObserverManager * | GetMRMLNodesObserverManager () const |
vtkCallbackCommand * | GetMRMLSceneCallbackCommand () |
vtkObserverManager * | GetMRMLSceneObserverManager () const |
int | GetPendingModifiedEventCount () const |
int | GetProcessingMRMLSceneEvent () const |
Return the event id currently processed or 0 if any. More... | |
int | InvokePendingModifiedEvent () |
virtual void | Modified () VTK_OVERRIDE |
virtual void | ObserveMRMLScene () |
virtual void | OnMRMLNodeModified (vtkMRMLNode *) |
virtual void | OnMRMLSceneEndBatchProcess () |
virtual void | OnMRMLSceneEndImport () |
virtual void | OnMRMLSceneEndRestore () |
virtual void | OnMRMLSceneNew () |
virtual void | OnMRMLSceneStartBatchProcess () |
virtual void | OnMRMLSceneStartClose () |
virtual void | OnMRMLSceneStartImport () |
virtual void | OnMRMLSceneStartRestore () |
virtual void | ProcessMRMLLogicsEvents (vtkObject *caller, unsigned long event, void *callData) |
virtual void | ProcessMRMLSceneEvents (vtkObject *caller, unsigned long event, void *callData) |
virtual void | RegisterNodes () |
void | SetAndObserveMRMLSceneEventsInternal (vtkMRMLScene *newScene, vtkIntArray *events, vtkFloatArray *priorities=0) |
void | SetDisableModifiedEvent (bool onOff) |
void | SetInMRMLLogicsCallbackFlag (int flag) |
void | SetInMRMLNodesCallbackFlag (int flag) |
void | SetInMRMLSceneCallbackFlag (int flag) |
void | SetProcessingMRMLSceneEvent (int event) |
bool | StartModify () |
virtual void | UnobserveMRMLScene () |
vtkMRMLAbstractLogic () | |
virtual | ~vtkMRMLAbstractLogic () |
Additional Inherited Members | |
![]() | |
static void | WidgetsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
WidgetsCallback is a static function to relay modified events from the vtk widgets. More... | |
![]() | |
static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLLogicCallback is a static function to relay modified events from the logics. More... | |
static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLNodesCallback is a static function to relay modified events from the nodes. More... | |
static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
![]() | |
vtkMRMLMarkupsClickCounter * | ClickCounter |
Counter for clicks in Render Window. More... | |
const char * | Focus |
Focus of this displayableManager is set to a specific markups type when inherited. More... | |
vtkMRMLMarkupsDisplayableManagerHelper * | Helper |
double | LastClickWorldCoordinates [4] |
int | Updating |
Disable processing when updating is in progress. More... | |
Definition at line 33 of file vtkMRMLMarkupsFiducialDisplayableManager2D.h.
Definition at line 39 of file vtkMRMLMarkupsFiducialDisplayableManager2D.h.
|
inlineprotected |
Definition at line 50 of file vtkMRMLMarkupsFiducialDisplayableManager2D.h.
|
inlineprotectedvirtual |
Definition at line 51 of file vtkMRMLMarkupsFiducialDisplayableManager2D.h.
|
protectedvirtual |
Set up an observer on the interactor style to watch for key press events.
|
protectedvirtual |
Create a widget.
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
virtual |
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
virtual |
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
static |
|
static |
|
protectedvirtual |
Callback for click in RenderWindow.
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
protectedvirtual |
Respond to the interactor style event.
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
protectedvirtual |
Create new handle on widget when a new markup is added to a markups node.
|
protectedvirtual |
Respond to a markup being removed from the markups node.
|
protectedvirtual |
Respond to the nth markup modified event.
|
protectedvirtual |
If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
protectedvirtual |
Gets called when widget was created.
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
void vtkMRMLMarkupsFiducialDisplayableManager2D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protectedvirtual |
Propagate properties of MRML node to widget.
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
protectedvirtual |
Propagate properties of widget to MRML node.
Reimplemented from vtkMRMLMarkupsDisplayableManager2D.
|
static |
|
protected |
Update a single seed from MRML.
|
virtual |
Update a single markup position from the seed widget, return true if the position changed.
|
virtual |
Update a single seed position from the node, return true if the position changed.
|
protectedvirtual |
Respond to control point modified events.