table of contents
other versions
- wheezy-backports 3.1.4~abc9f50-3~bpo70+1
- jessie 3.1.4~abc9f50-7
SoSFTrigger(3) | Coin | SoSFTrigger(3) |
NAME¶
SoSFTrigger - The 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.SYNOPSIS¶
#include <Inventor/fields/SoSFTrigger.h> Inherits SoSField.Public Member Functions¶
virtual SoType getTypeId (void) const
Static Public Member Functions¶
static void * createInstance (void)
Additional Inherited Members¶
Detailed Description¶
The 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.SoFieldSensor
Member Function Documentation¶
SoType SoSFTrigger::getClassTypeId (void) [static]¶
Returns a unique type identifier for this field class. See Also:getTypeId(), SoType
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
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::initClass (void) [static]¶
Internal method called upon initialization of the library (from SoDB::init()) to set up the type system. Reimplemented from SoSField.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.void SoSFTrigger::getValue (void) const¶
Field doesn't contain any value, so this method does nothing.int SoSFTrigger::operator== (const SoSFTrigger &trigger) const¶
Since SoSFTrigger fields doesn't have any value, they are all equal. So this method always returns TRUE.int SoSFTrigger::operator!= (const SoSFTrigger &trigger) const¶
Since 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.void SoSFTrigger::notify (SoNotList *nlist) [virtual]¶
Notify auditors that this field has changed. Reimplemented from SoField.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()
Author¶
Generated automatically by Doxygen for Coin from the source code.Sat Oct 12 2013 | Version 4.0.0a |