55#ifndef _SO_SF_TRIGGER_
56#define _SO_SF_TRIGGER_
126 virtual bool readValue(
SoInput *in);
127 virtual void writeValue(
SoOutput *out)
const;
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_SFIELD_CONSTRUCTOR_HEADER(className)
This declares a constructor and destructor for a single-value field class.
#define SO_SFIELD_REQUIRED_HEADER(className)
===========================================================================
bool operator!=(const SoField &f) const
Return TRUE (FALSE) if this field is of the same type and has the same value as f.
bool operator==(const SoField &f) const
Return TRUE (FALSE) if this field is of the same type and has the same value as f.
virtual void touch()
Simulates a change to the field, causing attached sensors to fire, connected fields and engines to be...
Holds a list of SoNotRec notification records.
Used to write Inventor data files.
Field used to trigger engines or connection networks.
virtual void notify(SoNotList *list)
Override notify to always evaluate (after passing on notification) to clear upstream dirty bits.
void getValue() const
Forces any connected engines or fields to evaluate themselves.
void setValue()
Starts the notification process; this is equivalent to calling touch().
virtual void startNotify()
Notification can flow through a trigger, but can't start at a trigger.
virtual void touch()
Start notification.
Abstract base class for all single-value fields.