|
bool | hasCausedEvent (Field *f) |
| Returns true if the Field given has generated an event to this field since the last call to the update() function.
|
|
template<class FieldType > |
bool | hasCausedEvent (H3DUniquePtr< FieldType > &f) |
| Returns true if the Field given has generated an event to this field since the last call to the update() function.
|
|
| PeriodicUpdate (H3DFloat _period=0, PeriodType _period_type=COUNT) |
| Constructor.
|
|
| ~PeriodicUpdate () |
| Destructor.
|
|
virtual bool | timeToUpdate () |
| Determines if it is time to check that the field is updated. More...
|
|
void | setPeriodType (PeriodType type) |
| Set the type of the period.
|
|
void | setPeriod (H3DFloat _period) |
| Set the period for the update.
|
|
virtual void | upToDate () |
| upToDate is specialized to record the time of the call to the function in the last_up_to_date member.
|
|
| Field () |
| Constructor.
|
|
virtual | ~Field () |
| Destructor.
|
|
virtual void | checkFieldType (Field *f, int index) |
| Check that a given input field is of the correct type. More...
|
|
void | setName (string _name) |
| Sets local the name of the field. Will be used in error reporting.
|
|
string | getName () |
| Gets the name of the field.
|
|
string | getFullName () |
| Get the full name of the field including the name of the owner node if it exists (ownername.fieldname). More...
|
|
virtual string | getTypeName () |
| Returns a string name for this field type.
|
|
virtual X3DTypes::X3DType | getX3DType () |
| Returns the X3DType of the field.
|
|
virtual void | route (Field *, int id=0) |
| Set up a route from this field to the field given as argument. More...
|
|
virtual void | routeNoEvent (Field *, int id=0) |
| Set up a route from this field to the field given as argument. More...
|
|
virtual void | unroute (Field *) |
| Remove the route from this field to the field given as argument.
|
|
virtual Field * | replaceRoute (Field *f, unsigned int i, int id=0) |
| Replace the i:th route to f with a route from this field. More...
|
|
virtual Field * | replaceRouteNoEvent (Field *f, unsigned int i, int id=0) |
| Replace the i:th route to f with a route from this field. More...
|
|
template<class F > |
void | route (H3DUniquePtr< F > &f, int id=0) |
| Set up a route from this field to the field residing in the H3DUniquePtr given as argument. More...
|
|
template<class F > |
void | routeNoEvent (H3DUniquePtr< F > &f, int id=0) |
| Set up a route from this field to the field residing in the H3DUniquePtr given as argument. More...
|
|
template<class F > |
void | unroute (H3DUniquePtr< F > &f) |
| Remove the route from this field to the field residing in the H3DUniquePtr given as argument.
|
|
void | unrouteAll () |
| Remove all the routes from this field.
|
|
bool | isUpToDate () |
| Returns true if the field is up to date, i.e. More...
|
|
virtual void | touch () |
| Generates an event from this field.
|
|
Node * | getOwner () |
| Get the Node that contains this field.
|
|
void | setOwner (Node *n) |
| Set the Node that contains this field.
|
|
void | setAccessType (AccessType _access_type) |
| Set the access type of the field.
|
|
AccessType | getAccessType () |
| Get the access type of the field.
|
|
bool | routesTo (Field *f) |
| Returns true if this field is routed to the field given as argument.
|
|
bool | hasRouteFrom (Field *f) |
| Returns true if the field given as argument is routed to this field.
|
|
const FieldVector & | getRoutesIn () |
| Get the Fields that are routed to this Field.
|
|
const FieldSet & | getRoutesOut () |
| Get the Fields this Field is routed to.
|
|
const Event & | getLatestEvent () |
| Get the latest event.
|
|
void | setAccessCheck (bool on) |
| Set access type checking on or off. More...
|
|
bool | isAccessCheckOn () |
| Returns true if checking of access types is on.
|
|
virtual | ~PeriodicUpdateField () |
| Destructor.
|
|
|
virtual void | update () |
| This function will be called to update the field if it has a pending event when the upToDate() function is called.
|
|
virtual void | propagateEvent (Event e) |
| When the event is propagated the display list is invalidated.
|
|
virtual void | startEvent () |
| Start a new event from this field. More...
|
|
virtual void | routeFrom (Field *, int id) |
| Set up a route to this field from the field given as argument.
|
|
virtual void | unrouteFrom (Field *) |
| Remove the route to this field from the field given as argument.
|
|
virtual Field * | replaceRouteFrom (Field *f, unsigned int i, int id) |
| Replace the i:th route to this field with the field given as argument.
|
|
void | checkAccessTypeRoute (Field *f, int id) |
| Check the access type is correct for performing a route from this field to f. More...
|
|
void | checkAccessTypeRouteFrom (Field *f, int id) |
| Check the access type is correct for performing a route from f to this field. More...
|
|
void | checkAccessTypeGet (int id) |
| Check the access type is valid for getting the value of a field. More...
|
|
void | checkAccessTypeSet (int id) |
| Check the access type is valid for changing the value of a field. More...
|
|
int | ownerId () |
| Gets the id of the owner node, -1 if no owner.
|
|
bool | isProgramSetting () |
| Returns true if this field is part of program settings fields. More...
|
|
void | markProgramSetting (bool used_as_setting) |
| Set it this field is used by program settings fields in scene or not.
|
|
Field that calls ALrender() when a field routed to it has generated an event.