![]() |
Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Displayable manager for the crosshair on slice (2D) views. More...
#include <Libs/MRML/DisplayableManager/vtkMRMLCrosshairDisplayableManager.h>
Public Types | |
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 |
![]() | |
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 vtkMRMLCrosshairNode * | FindCrosshairNode (vtkMRMLScene *scene) |
static int | IsTypeOf (const char *type) |
static vtkMRMLCrosshairDisplayableManager * | New () |
static vtkMRMLCrosshairDisplayableManager * | 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 | AdditionalInitializeStep () VTK_OVERRIDE |
Method to perform additional initialization. More... | |
virtual void | Create () VTK_OVERRIDE |
virtual void | OnMRMLSliceNodeModifiedEvent () VTK_OVERRIDE |
Called when the SliceNode is modified. May cause Crosshair to remap its position on screen. More... | |
vtkMRMLCrosshairDisplayableManager () | |
virtual | ~vtkMRMLCrosshairDisplayableManager () |
![]() | |
virtual void | OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) VTK_OVERRIDE |
vtkMRMLAbstractSliceViewDisplayableManager () | |
virtual | ~vtkMRMLAbstractSliceViewDisplayableManager () |
![]() | |
virtual int | ActiveInteractionModes () |
void | AddInteractorObservableEvent (int eventid, float priority=0.0) |
void | AddInteractorStyleObservableEvent (int eventid, float priority=0.0) |
void | AddMRMLDisplayableManagerEvent (int eventId) |
Allow to specify additional events that the DisplayableNode will observe. More... | |
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 | OnInteractorStyleEvent (int eventid) |
virtual void | ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE |
virtual void | ProcessWidgetsEvents (vtkObject *caller, unsigned long event, void *callData) |
void | RemoveInteractorObservableEvent (int eventid) |
void | RemoveInteractorStyleObservableEvent (int eventid) |
virtual void | RemoveMRMLObservers () |
Remove MRML observers. More... | |
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 | SetMRMLSceneInternal (vtkMRMLScene *newScene) VTK_OVERRIDE |
virtual void | SetRenderer (vtkRenderer *newRenderer) |
void | SetUpdateFromMRMLRequested (bool requested) |
virtual void | UpdateFromMRML () |
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 | OnMRMLSceneEndBatchProcess () |
virtual void | OnMRMLSceneEndClose () |
virtual void | OnMRMLSceneEndImport () |
virtual void | OnMRMLSceneEndRestore () |
virtual void | OnMRMLSceneNew () |
virtual void | OnMRMLSceneNodeAdded (vtkMRMLNode *) |
virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *) |
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 () |
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) |
Displayable manager for the crosshair on slice (2D) views.
Responsible for any display of the crosshair on Slice views.
Definition at line 34 of file vtkMRMLCrosshairDisplayableManager.h.
Definition at line 40 of file vtkMRMLCrosshairDisplayableManager.h.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Method to perform additional initialization.
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
protectedvirtual |
Initialize the displayable manager based on its associated vtkMRMLSliceNode
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
static |
|
virtual |
Reimplemented from vtkMRMLAbstractSliceViewDisplayableManager.
|
virtual |
Reimplemented from vtkMRMLAbstractSliceViewDisplayableManager.
|
static |
|
static |
|
protectedvirtual |
Called when the SliceNode is modified. May cause Crosshair to remap its position on screen.
Reimplemented from vtkMRMLAbstractSliceViewDisplayableManager.
void vtkMRMLCrosshairDisplayableManager::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |