InventorSceneChangeObserver¶
Purpose¶
The InventorSceneChangeObserver module allows for observing and logging field and scene changes in the connected scene graph. It can be used to detect undesired scene changes that lead to repaints of viewers, e.g., when the mouse is moved over a scene. Furthermore, it can be used to trigger actions on changes of the scene graph’s topology.
Usage¶
Connect the scene graph to inNode. Configure to your needs.
Input Fields¶
inNode¶
- name: inNode, type: SoNode¶
The input scene that is watched.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Log To Console¶
- name: logToConsole, type: Bool, default: FALSE¶
If checked, logging to the MeVisLab console is enabled.
Log To Text View¶
- name: logToTextView, type: Bool, default: TRUE¶
If checked, scene changes are logged to the text view in the module’s GUI.
Auto Update¶
- name: autoUpdate, type: Bool, default: TRUE¶
If checked, automatic updates of the log window are enabled.
Update¶
- name: update, type: Trigger¶
When pressed, the log window is updated.
Clear¶
- name: clear, type: Trigger¶
When pressed, the log window and count is cleared.
Changed Fields/Nodes¶
- name: logText, type: String, persistent: no¶
Shows the changed fields/nodes.
Count Changes¶
- name: countChanges, type: Bool, default: TRUE¶
If checked, observed changes are counted and output in the field count.
Count¶
- name: count, type: Integer, persistent: no¶
Shows the number of observed changes.
Field Changed¶
- name: fieldChanged, type: Trigger¶
Output trigger indicating that a field in the input scene graph has changed.
Node Changed¶
- name: nodeChanged, type: Trigger¶
Output trigger indicating that a node, but not a field, in the input scene graph has changed.