21 #ifndef __vtkMRMLAbstractDisplayableManager_h 22 #define __vtkMRMLAbstractDisplayableManager_h 27 #include "vtkMRMLDisplayableManagerExport.h" 37 class vtkRenderWindowInteractor;
51 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
70 vtkRenderer* GetRenderer();
77 vtkRenderer* GetRenderer(
int idx);
80 vtkRenderWindowInteractor* GetInteractor();
91 double vtkNotUsed(xyz)[3]) {
return ""; }
105 virtual void SetRenderer(vtkRenderer* newRenderer);
119 virtual int ActiveInteractionModes();
123 void * callData) VTK_OVERRIDE;
137 virtual void ProcessWidgetsEvents(vtkObject* caller,
142 static void WidgetsCallback(vtkObject *caller,
unsigned long eid,
143 void *clientData,
void *callData);
146 vtkCallbackCommand * GetWidgetsCallbackCommand();
159 virtual void OnMRMLDisplayableNodeModifiedEvent(vtkObject* caller);
164 void AddMRMLDisplayableManagerEvent(
int eventId);
168 void SetAndObserveMRMLDisplayableNode(
vtkMRMLNode * newMRMLDisplayableNode);
175 void CreateIfPossible();
181 virtual void Create();
184 virtual void RemoveMRMLObservers();
188 void SetUpdateFromMRMLRequested(
bool requested);
205 void AddInteractorStyleObservableEvent(
int eventid,
float priority=0.0);
208 void RemoveInteractorStyleObservableEvent(
int eventid);
214 void AddInteractorObservableEvent(
int eventid,
float priority=0.0);
217 void RemoveInteractorObservableEvent(
int eventid);
235 virtual void OnInteractorStyleEvent(
int eventid);
240 virtual void OnInteractorEvent(
int eventid);
243 void SetInteractorStyleAbortFlag(
int f);
244 int GetInteractorStyleAbortFlag();
245 void InteractorStyleAbortFlagOn();
246 void InteractorStyleAbortFlagOff();
249 void SetInteractorAbortFlag(
int f);
250 int GetInteractorAbortFlag();
251 void InteractorAbortFlagOn();
252 void InteractorAbortFlagOff();
260 vtkInternal* Internal;
261 friend class vtkInternal;
Superclass for MRML logic classes.
Superclass for displayable manager classes.
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)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
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.