MeVisLab Scripting Reference
MLABSoNodeSensor Class Reference

#include <mlabInventorModule.h>

Inherits QObject.

Public Slots

Dynamic access to Inventor children.


int notificationCount ()
 
void resetNotificationCount ()
 
void setVerboseTracking (bool flag)
 
QStringList changedFields ()
 
QStringList changedNodes ()
 

Detailed Description

A helper class to watch a SoNode with a SoNodeSensor.

Member Function Documentation

◆ changedFields

QStringList MLABSoNodeSensor::changedFields ( )
slot

Returns a list of changed field names, in the order the fields have changed.

(This only works if setVerboseTracking() is enabled).

◆ changedNodes

QStringList MLABSoNodeSensor::changedNodes ( )
slot

Returns a list of changed nodes, in order of the node changes.

If the change originates from a field, it will be part of changedFields(), not part of changedNodes().

◆ notificationCount

int MLABSoNodeSensor::notificationCount ( )
inlineslot

Sets if verbose logging should be used (default is false).

◆ resetNotificationCount

void MLABSoNodeSensor::resetNotificationCount ( )
slot

Reset the notification count.

◆ setVerboseTracking

void MLABSoNodeSensor::setVerboseTracking ( bool flag)
inlineslot

Enables/disables tracking of changed fields/nodes, can only be done when using a priority 0 sensor.

Default is false.