Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
CustomVR.CustomVRSceneConnector Class Reference
Inheritance diagram for CustomVR.CustomVRSceneConnector:
Collaboration diagram for CustomVR.CustomVRSceneConnector:

Public Member Functions

list getPipelines (self)
 
list getSceneObservers (self)
 
 OnNodeRemoved (self, _caller, _event, node)
 

Public Attributes

 OnNodeRemoved
 

Detailed Description

Connects this module's pipelines to the scene: creates pipelines for our VR data nodes and garbage
collects the VR data node when the associated volume node is removed from the scene.

The ScriptedPipelineSceneConnector base class keeps track of what was connected so that the connection
can be undone (module unload) or replaced (module reload).

Definition at line 435 of file CustomVR.py.

Member Function Documentation

◆ getPipelines()

list CustomVR.CustomVRSceneConnector.getPipelines ( self)

Definition at line 444 of file CustomVR.py.

◆ getSceneObservers()

list CustomVR.CustomVRSceneConnector.getSceneObservers ( self)

Definition at line 447 of file CustomVR.py.

◆ OnNodeRemoved()

CustomVR.CustomVRSceneConnector.OnNodeRemoved ( self,
_caller,
_event,
node )
Garbage collect our VR data node when the associated volume node is removed from the scene.
Note: We use self.getScene() instead of the slicer.mrmlScene singleton so that the connector can be
used with an explicit scene (for instance in trame-slicer where the singleton is not available).

Definition at line 451 of file CustomVR.py.

Member Data Documentation

◆ OnNodeRemoved

CustomVR.CustomVRSceneConnector.OnNodeRemoved

Definition at line 448 of file CustomVR.py.


The documentation for this class was generated from the following file: