|
Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Libs/MRML/DisplayableManager/vtkMRMLCameraDisplayableManager.h>


Public Types | |
| enum | { ActiveCameraChangedEvent = 30000 } |
| Events. More... | |
| typedef vtkMRMLAbstractThreeDViewDisplayableManager | Superclass |
Public Types inherited from vtkMRMLAbstractThreeDViewDisplayableManager | |
| typedef vtkMRMLAbstractDisplayableManager | Superclass |
Public Types inherited from vtkMRMLAbstractDisplayableManager | |
| typedef vtkMRMLAbstractLogic | Superclass |
Public Types inherited from vtkMRMLAbstractLogic | |
| typedef vtkObject | Superclass |
| typedef void(vtkMRMLAbstractLogic::* | TaskFunctionPointer) (void *clientdata) |
Public Member Functions | |
| vtkMRMLCameraNode * | GetCameraNode () |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
| virtual void | RemoveMRMLObservers () VTK_OVERRIDE |
| Remove MRML observers. More... | |
| void | UpdateCameraNode () |
Public Member Functions inherited from vtkMRMLAbstractThreeDViewDisplayableManager | |
| vtkMRMLViewNode * | GetMRMLViewNode () |
| Get MRML ViewNode. More... | |
| virtual const char * | GetPickedNodeID () |
| Get the MRML ID of the picked node, returns empty string if no pick. More... | |
| virtual int | Pick3D (double vtkNotUsed(ras)[3]) |
| void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
Public Member Functions inherited from vtkMRMLAbstractDisplayableManager | |
| 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 *) |
Public Member Functions inherited from vtkMRMLAbstractLogic | |
| 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 vtkMRMLCameraDisplayableManager * | New () |
| static vtkMRMLCameraDisplayableManager * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLAbstractThreeDViewDisplayableManager | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLAbstractThreeDViewDisplayableManager * | New () |
| static vtkMRMLAbstractThreeDViewDisplayableManager * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLAbstractDisplayableManager | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLAbstractDisplayableManager * | New () |
| static vtkMRMLAbstractDisplayableManager * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLAbstractLogic | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLAbstractLogic * | New () |
| static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| virtual void | AdditionalInitializeStep () VTK_OVERRIDE |
| virtual void | Create () VTK_OVERRIDE |
| virtual void | OnMRMLNodeModified (vtkMRMLNode *node) VTK_OVERRIDE |
| virtual void | OnMRMLSceneEndClose () VTK_OVERRIDE |
| virtual void | OnMRMLSceneEndImport () VTK_OVERRIDE |
| virtual void | OnMRMLSceneEndRestore () VTK_OVERRIDE |
| virtual void | OnMRMLSceneNodeAdded (vtkMRMLNode *node) VTK_OVERRIDE |
| virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *node) VTK_OVERRIDE |
| virtual void | OnMRMLSceneStartImport () VTK_OVERRIDE |
| virtual void | ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData) VTK_OVERRIDE |
| void | SetAndObserveCameraNode (vtkMRMLCameraNode *newCameraNode) |
| void | SetCameraToInteractor () |
| void | SetCameraToRenderer () |
| vtkMRMLCameraDisplayableManager () | |
| virtual | ~vtkMRMLCameraDisplayableManager () |
Protected Member Functions inherited from vtkMRMLAbstractThreeDViewDisplayableManager | |
| virtual void | OnMRMLDisplayableNodeModifiedEvent (vtkObject *caller) VTK_OVERRIDE |
| virtual void | OnMRMLViewNodeModifiedEvent () |
| Could be overloaded in DisplayableManager subclass. More... | |
| virtual void | PassThroughInteractorStyleEvent (int eventid) |
| vtkMRMLAbstractThreeDViewDisplayableManager () | |
| virtual | ~vtkMRMLAbstractThreeDViewDisplayableManager () |
Protected Member Functions inherited from vtkMRMLAbstractDisplayableManager | |
| 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 | 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 | SetMRMLSceneInternal (vtkMRMLScene *newScene) VTK_OVERRIDE |
| virtual void | SetRenderer (vtkRenderer *newRenderer) |
| void | SetUpdateFromMRMLRequested (bool requested) |
| virtual void | UpdateFromMRML () |
| vtkMRMLAbstractDisplayableManager () | |
| virtual | ~vtkMRMLAbstractDisplayableManager () |
Protected Member Functions inherited from vtkMRMLAbstractLogic | |
| 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 | OnMRMLSceneEndBatchProcess () |
| virtual void | OnMRMLSceneNew () |
| virtual void | OnMRMLSceneStartBatchProcess () |
| virtual void | OnMRMLSceneStartClose () |
| 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 () |
| virtual void | UpdateFromMRMLScene () |
| vtkMRMLAbstractLogic () | |
| virtual | ~vtkMRMLAbstractLogic () |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkMRMLAbstractDisplayableManager | |
| 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 Protected Member Functions inherited from vtkMRMLAbstractLogic | |
| 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) |
Definition at line 32 of file vtkMRMLCameraDisplayableManager.h.
Definition at line 38 of file vtkMRMLCameraDisplayableManager.h.
| anonymous enum |
Events.
| Enumerator | |
|---|---|
| ActiveCameraChangedEvent | |
Definition at line 51 of file vtkMRMLCameraDisplayableManager.h.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Sub-class could overload that function and perform additional initialization steps
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
protectedvirtual |
Called after a valid MRML DisplayableNode is set. By default it simulates a ModifiedEvent event on the displayable node so that ProcessMRMLNodesEvents(displayableNode, ModifiedEvent) is called.
Reimplemented from vtkMRMLAbstractDisplayableManager.
| vtkMRMLCameraNode* vtkMRMLCameraDisplayableManager::GetCameraNode | ( | ) |
|
virtual |
Reimplemented from vtkMRMLAbstractThreeDViewDisplayableManager.
|
virtual |
Reimplemented from vtkMRMLAbstractThreeDViewDisplayableManager.
|
static |
|
static |
|
protectedvirtual |
Called after the corresponding MRML event is triggered.
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::EndImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::EndRestoreEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::NodeAddedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::NodeRemovedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protectedvirtual |
If vtkMRMLScene::StartImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
| void vtkMRMLCameraDisplayableManager::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
protectedvirtual |
Receives all the events fired by the nodes. To listen to a node, you can add an observer using GetMRMLNodesCallbackCommand() or use the utility macros vtk[SetAndObserve|Observe]MRMLNode[Event]Macro ProcessMRMLNodesEvents calls OnMRMLNodeModified when event is vtkCommand::ModifiedEvent.
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
virtual |
Remove MRML observers.
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
static |
|
protected |
|
protected |
|
protected |
| void vtkMRMLCameraDisplayableManager::UpdateCameraNode | ( | ) |
1.8.14