21 #ifndef __vtkMRMLAbstractDisplayableManager_h 22 #define __vtkMRMLAbstractDisplayableManager_h 27 #include "vtkMRMLDisplayableManagerExport.h" 38 class vtkRenderWindowInteractor;
52 void PrintSelf(ostream& os, vtkIndent indent)
override;
71 vtkRenderer* GetRenderer();
78 vtkRenderer* GetRenderer(
int idx);
81 vtkRenderWindowInteractor* GetInteractor();
92 double vtkNotUsed(xyz)[3]) {
return ""; }
104 virtual void SetHasFocus(
bool hasFocus);
107 virtual bool GetGrabFocus();
110 virtual bool GetInteractive();
113 virtual int GetMouseCursor();
115 void SetMouseCursor(
int cursor);
129 virtual void SetRenderer(vtkRenderer* newRenderer);
143 virtual int ActiveInteractionModes();
147 void * callData)
override;
161 virtual void ProcessWidgetsEvents(vtkObject* caller,
166 static void WidgetsCallback(vtkObject *caller,
unsigned long eid,
167 void *clientData,
void *callData);
170 vtkCallbackCommand * GetWidgetsCallbackCommand();
183 virtual void OnMRMLDisplayableNodeModifiedEvent(vtkObject* caller);
188 void AddMRMLDisplayableManagerEvent(
int eventId);
192 void SetAndObserveMRMLDisplayableNode(
vtkMRMLNode * newMRMLDisplayableNode);
199 void CreateIfPossible();
205 virtual void Create();
208 virtual void RemoveMRMLObservers();
212 void SetUpdateFromMRMLRequested(
bool requested);
229 void AddInteractorStyleObservableEvent(
int eventid,
float priority=0.0);
232 void RemoveInteractorStyleObservableEvent(
int eventid);
238 void AddInteractorObservableEvent(
int eventid,
float priority=0.0);
241 void RemoveInteractorObservableEvent(
int eventid);
259 virtual void OnInteractorStyleEvent(
int eventid);
264 virtual void OnInteractorEvent(
int eventid);
267 void SetInteractorStyleAbortFlag(
int f);
268 int GetInteractorStyleAbortFlag();
269 void InteractorStyleAbortFlagOn();
270 void InteractorStyleAbortFlagOff();
273 void SetInteractorAbortFlag(
int f);
274 int GetInteractorAbortFlag();
275 void InteractorAbortFlagOn();
276 void InteractorAbortFlagOff();
284 vtkInternal* Internal;
285 friend class vtkInternal;
Superclass for MRML logic classes.
Superclass for displayable manager classes.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void AdditionalInitializeStep()
void SetRenderer(vtkRenderer *newRenderer)
Manages adding and deleting of obserevers with events.
virtual void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData)
A set of MRML Nodes that supports serialization and undo/redo.
Proxy class to provide mechanisms for a displayable manager to communicate with 3rd party renderer ma...
virtual void UpdateFromMRML()
virtual void SetMRMLSceneInternal(vtkMRMLScene *newScene)
virtual std::string GetDataProbeInfoStringForPosition(double vtkNotUsed(xyz)[3])
DisplayableManagerGroup is a collection of DisplayableManager.
Abstract Superclass for all specific types of MRML nodes.
static vtkMRMLAbstractLogic * New()
MRML node for storing information about the active nodes in the scene.