MeVisLab Resolution Independence API
|
a class that synchronizes two Inventor Fields with each other without using SoField::connectFrom. More...
#include <FieldSync.h>
Public Member Functions | |
FieldSyncEntry (SoField *f1, SoField *f2) | |
create field sync for fields f1 and f2 | |
~FieldSyncEntry () | |
destructor | |
void | fieldSensor (SoFieldSensor *s) |
called by sensors when f1 or f2 change | |
Static Public Member Functions | |
static void | fieldSensorCB (void *data, SoSensor *s) |
forward callback to fieldSensor() | |
a class that synchronizes two Inventor Fields with each other without using SoField::connectFrom.
It compares the field values to avoid infinite loops on synced fields
Definition at line 31 of file FieldSync.h.
FieldSyncEntry::FieldSyncEntry | ( | SoField * | f1, |
SoField * | f2 ) |
create field sync for fields f1
and f2
FieldSyncEntry::~FieldSyncEntry | ( | ) |
destructor
void FieldSyncEntry::fieldSensor | ( | SoFieldSensor * | s | ) |
called by sensors when f1
or f2
change
|
static |
forward callback to fieldSensor()