MeVisLab Scripting Reference
MLABSoNodeSensor Class Reference

#include <mlabInventorModule.h>

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 field names that have changed, in the order of their changes. This only works if setVerboseTracking() is enabled.

◆ changedNodes

QStringList MLABSoNodeSensor::changedNodes ( )
slot

Returns a list of nodes that have changed, in the order of their changes. If the change originates from a field, it will be part of changedFields(), not part of changedNodes().

◆ notificationCount

int MLABSoNodeSensor::notificationCount ( )
inlineslot

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

◆ resetNotificationCount

void MLABSoNodeSensor::resetNotificationCount ( )
slot

Resets the notification count.

◆ setVerboseTracking

void MLABSoNodeSensor::setVerboseTracking ( bool flag)
inlineslot

Enables/disables tracking of changed fields/nodes; can only be done if using a priority 0 sensor. Default is false.