SoSFTrigger - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin

NAMESoSFTrigger − The SoSFTrigger class is the 'void' class used for detecting field changes​.

SYNOPSIS
#include <Inventor/fields/SoSFTrigger​.h> Inherits SoSField​.

Public Member Functionsvirtual SoType getTypeId (void) const
virtual void copyFrom (const SoField &field)
const SoSFTrigger & operator= (const SoSFTrigger &field)
virtual SbBool isSame (const SoField &field) const
void setValue (void)
void getValue (void) const
int operator== (const SoSFTrigger &trigger) const
int operator!= (const SoSFTrigger &trigger) const
virtual void startNotify (void)
virtual void notify (SoNotList *l)
virtual void touch (void)

Static Public Member Functionsstatic void * createInstance (void)
static SoType getClassTypeId (void)
static void initClass (void)

Additional Inherited Members

Detailed DescriptionThe SoSFTrigger class is the 'void' class used for detecting field changes​. Connect this field to a master field (or engine output) to detect when the master field changes its value​. This is useful if you want to automatically trigger an update from the node or engine (or other field container) this field is part of whenever another field changes -- and you are not particularly interested in the actual value of the master field​. See also SoFieldSensor

Member Function Documentation

SoType SoSFTrigger::getTypeId (void) const [virtual]Returns the type identification instance which uniquely identifies the Coin field class the object belongs to​. See also getClassTypeId(), SoType Implements SoField​.

void SoSFTrigger::copyFrom (const SoField & f) [virtual]Copy value(s) from f into this field​. f must be of the same type as this field​. Implements SoField​.

SbBool SoSFTrigger::isSame (const SoField & f) const [virtual]Check for equal type and value(s)​. Implements SoField​.

void SoSFTrigger::setValue (void)This field class does not actually contain any value, so we just triggers an update by calling touch() within this method​. References touch()​.

void SoSFTrigger::getValue (void) constField doesn't contain any value, so this method does nothing​.

int SoSFTrigger::operator== (const SoSFTrigger & trigger) constSince SoSFTrigger fields doesn't have any value, they are all equal​. So this method always returns TRUE​.

int SoSFTrigger::operator!= (const SoSFTrigger & trigger) constSince SoSFTrigger fields doesn't have any value, they are all equal​. So this method always returns FALSE​.

void SoSFTrigger::startNotify (void) [virtual]Trigger a notification sequence​. At the end of a notification sequence, all 'immediate' sensors (i​.e​. sensors set up with a zero priority) are triggered​. Reimplemented from SoField​. References SoField::getContainer(), SoField::setContainer(), and SoField::startNotify()​.

void SoSFTrigger::notify (SoNotList * nlist) [virtual]Notify auditors that this field has changed​. Reimplemented from SoField​. References SoField::notify()​.

void SoSFTrigger::touch (void) [virtual]Notify the field as well as the field's owner / container that it has been changed​. Touching a field which is part of any component (engine or node) in a scene graph will lead to a forced redraw​. This is useful if you have been doing several updates to the field wrapped in a pair of enableNotify() calls to notify the field's auditors that its value has changed​. See also setValue(), enableNotify() Reimplemented from SoField​. References SoField::startNotify()​. Referenced by setValue()​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   21,048 byte
man-SoSFTrigger.3coin2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 201,724
Visitor ID   :     :  
Visitor IP   :   3.137.219.221   :  
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.