Go to the source code of this file.
◆ SO_NODE_ADD_FIELD_CALLBACK
#define SO_NODE_ADD_FIELD_CALLBACK |
( |
|
field, |
|
|
|
method |
|
) |
| this->addManagedSensor(SoCreateFieldSensor(this, &InventorThisClass::method, field)); |
◆ SO_NODE_ADD_FIELD_CALLBACK_WITH_PRIORITY
#define SO_NODE_ADD_FIELD_CALLBACK_WITH_PRIORITY |
( |
|
field, |
|
|
|
method, |
|
|
|
priority |
|
) |
| |
Value:
this->addManagedSensor(invInternalSen); \
}
SoFieldSensor * SoCreateFieldSensor(Object *object, Method method, SoField &field)
Helper method to create a field sensor by type inference.
void setPriority(uint32_t pri)
Sets the priority of the sensor.
Sensor class that can be attached to Inventor fields.
The sensor has the given priority
.
Definition at line 180 of file SoFieldSensor.h.
◆ SoCreateFieldSensor()
template<class Object , class Method >