SoFieldSensor - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
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​. An SoFieldSensor can also act for delete-callback purposes alone and does not need a regular notification-based callback​.

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​.

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​. When the given field is deleted, the sensor will automatically be detached​. See also detach()

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()

SoField * SoFieldSensor::getAttachedField (void) constReturns a pointer to the field connected to the sensor​. See also attach(), detach()

void SoFieldSensor::trigger (void) [virtual]Trigger the sensor's callback function​. Reimplemented from SoDataSensor​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   13,768 byte
man-SoFieldSensor.3coin3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 193,227
Visitor ID   :     :  
Visitor IP   :   3.138.134.163   :  
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.