InventorSceneChangeObserver¶
-
MacroModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
definition InventorSceneChangeObserver.def keywords field
,node
,SoField
,SoNode
,count
,counter
,measure
,profile
,performance
,optimize
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.
Parameter Fields¶
Field Index¶
Auto Update : Bool |
Log To Text View : Bool |
Changed Fields/Nodes : String |
Node Changed : Trigger |
Clear : Trigger |
Update : Trigger |
Count : Integer |
|
Count Changes : Bool |
|
Field Changed : Trigger |
|
fieldValueMaxLength : Integer |
|
Log To Console : Bool |
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.
Count Changes¶
-
name:
countChanges
, type:
Bool
, default:
TRUE
¶ If checked, observed changes are counted and output in the field count.