SoFieldSensor - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin
NAMESoFieldSensor − The SoFieldSensor class detects changes to a field.
SYNOPSIS
#include <Inventor/sensors/SoFieldSensor.h> Inherits SoDataSensor.
Public Member FunctionsSoFieldSensor (void)
SoFieldSensor (SoSensorCB *func, void *data)
virtual ~SoFieldSensor (void)
void attach (SoField *field)
void detach (void)
SoField * getAttachedField (void) const
virtual void trigger (void)
Additional Inherited Members
Detailed DescriptionThe SoFieldSensor class detects changes to a field. Attach a field to a sensor of this type to put it under surveillance, so you can act upon changes to the field.
Constructor & Destructor Documentation
SoFieldSensor::SoFieldSensor (void)Constructor.
SoFieldSensor::SoFieldSensor (SoSensorCB * func, void * data)Constructor taking as parameters the sensor callback function and the userdata which will be passed the callback. See also setFunction(), setData()
SoFieldSensor::~SoFieldSensor (void) [virtual]Destructor. References detach().
Member Function Documentation
void SoFieldSensor::attach (SoField * field)Attach sensor to a field. Whenever the field's value changes, the sensor will be triggered and call the callback function. A field sensor can be attached to only a single field at a time. When this method is invoked multiple times, each subsequent call will replace the field the sensor is monitoring with the new field. See also detach() References SoField::addAuditor(), detach(), and SoField::evaluate(). Referenced by SoTransformManip::attachSensors(), SoFile::copyContents(), SoFile::readInstance(), SoImage::readInstance(), SoTexture3::readInstance(), SoCenterballDragger::setUpConnections(), SoDirectionalLightDragger::setUpConnections(), SoDragPointDragger::setUpConnections(), SoHandleBoxDragger::setUpConnections(), SoJackDragger::setUpConnections(), SoPointLightDragger::setUpConnections(), SoRotateCylindricalDragger::setUpConnections(), SoRotateDiscDragger::setUpConnections(), SoRotateSphericalDragger::setUpConnections(), SoScale1Dragger::setUpConnections(), SoScale2Dragger::setUpConnections(), SoScale2UniformDragger::setUpConnections(), SoScaleUniformDragger::setUpConnections(), SoSpotLightDragger::setUpConnections(), SoTabBoxDragger::setUpConnections(), SoTabPlaneDragger::setUpConnections(), SoTrackballDragger::setUpConnections(), SoTransformBoxDragger::setUpConnections(), SoTransformerDragger::setUpConnections(), SoTranslate1Dragger::setUpConnections(), SoTranslate2Dragger::setUpConnections(), SoFile::SoFile(), SoImage::SoImage(), SoTexture3::SoTexture3(), SoCenterballDragger::transferCenterDraggerMotion(), SoCenterballDragger::valueChangedCB(), SoDirectionalLightDragger::valueChangedCB(), SoDragPointDragger::valueChangedCB(), SoHandleBoxDragger::valueChangedCB(), SoJackDragger::valueChangedCB(), SoPointLightDragger::valueChangedCB(), SoRotateCylindricalDragger::valueChangedCB(), SoRotateDiscDragger::valueChangedCB(), SoRotateSphericalDragger::valueChangedCB(), SoScale1Dragger::valueChangedCB(), SoScale2Dragger::valueChangedCB(), SoScale2UniformDragger::valueChangedCB(), SoScaleUniformDragger::valueChangedCB(), SoSpotLightDragger::valueChangedCB(), SoTabBoxDragger::valueChangedCB(), SoTrackballDragger::valueChangedCB(), SoTransformBoxDragger::valueChangedCB(), SoTransformerDragger::valueChangedCB(), SoTranslate1Dragger::valueChangedCB(), and SoTranslate2Dragger::valueChangedCB().
void SoFieldSensor::detach (void)Detach sensor from field. As long as an SoFieldSensor is detached, it will never call its callback function. See also attach() References SoDelayQueueSensor::isScheduled(), SoField::removeAuditor(), and SoDelayQueueSensor::unschedule(). Referenced by attach(), SoTransformManip::attachSensors(), SoFile::copyContents(), SoFile::readInstance(), SoImage::readInstance(), SoTexture3::readInstance(), SoCenterballDragger::setUpConnections(), SoDirectionalLightDragger::setUpConnections(), SoDragPointDragger::setUpConnections(), SoHandleBoxDragger::setUpConnections(), SoJackDragger::setUpConnections(), SoPointLightDragger::setUpConnections(), SoRotateCylindricalDragger::setUpConnections(), SoRotateDiscDragger::setUpConnections(), SoRotateSphericalDragger::setUpConnections(), SoScale1Dragger::setUpConnections(), SoScale2Dragger::setUpConnections(), SoScale2UniformDragger::setUpConnections(), SoScaleUniformDragger::setUpConnections(), SoSpotLightDragger::setUpConnections(), SoTabBoxDragger::setUpConnections(), SoTabPlaneDragger::setUpConnections(), SoTrackballDragger::setUpConnections(), SoTransformBoxDragger::setUpConnections(), SoTransformerDragger::setUpConnections(), SoTranslate1Dragger::setUpConnections(), SoTranslate2Dragger::setUpConnections(), SoCenterballDragger::transferCenterDraggerMotion(), SoCenterballDragger::valueChangedCB(), SoDirectionalLightDragger::valueChangedCB(), SoDragPointDragger::valueChangedCB(), SoHandleBoxDragger::valueChangedCB(), SoJackDragger::valueChangedCB(), SoPointLightDragger::valueChangedCB(), SoRotateCylindricalDragger::valueChangedCB(), SoRotateDiscDragger::valueChangedCB(), SoRotateSphericalDragger::valueChangedCB(), SoScale1Dragger::valueChangedCB(), SoScale2Dragger::valueChangedCB(), SoScale2UniformDragger::valueChangedCB(), SoScaleUniformDragger::valueChangedCB(), SoSpotLightDragger::valueChangedCB(), SoTabBoxDragger::valueChangedCB(), SoTrackballDragger::valueChangedCB(), SoTransformBoxDragger::valueChangedCB(), SoTransformerDragger::valueChangedCB(), SoTranslate1Dragger::valueChangedCB(), SoTranslate2Dragger::valueChangedCB(), and ~SoFieldSensor().
SoField * SoFieldSensor::getAttachedField (void) constReturns a pointer to the field connected to the sensor. See also attach(), detach() Referenced by SoCenterballDragger::setUpConnections(), SoDirectionalLightDragger::setUpConnections(), SoDragPointDragger::setUpConnections(), SoHandleBoxDragger::setUpConnections(), SoJackDragger::setUpConnections(), SoPointLightDragger::setUpConnections(), SoRotateCylindricalDragger::setUpConnections(), SoRotateDiscDragger::setUpConnections(), SoRotateSphericalDragger::setUpConnections(), SoScale1Dragger::setUpConnections(), SoScale2Dragger::setUpConnections(), SoScale2UniformDragger::setUpConnections(), SoScaleUniformDragger::setUpConnections(), SoSpotLightDragger::setUpConnections(), SoTabBoxDragger::setUpConnections(), SoTabPlaneDragger::setUpConnections(), SoTrackballDragger::setUpConnections(), SoTransformBoxDragger::setUpConnections(), SoTransformerDragger::setUpConnections(), SoTranslate1Dragger::setUpConnections(), and SoTranslate2Dragger::setUpConnections().
void SoFieldSensor::trigger (void) [virtual]Trigger the sensor's callback function. Reimplemented from SoDataSensor. References SoField::evaluate(), and SoDataSensor::trigger().
AuthorGenerated automatically by Doxygen for Coin from the source code. 0
Johanes Gumabo
Data Size : 25,183 byte
man-SoFieldSensor.3coin2Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 193,810
Visitor ID : :
Visitor IP : 18.222.110.231 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.