H3D API  2.4.1
Protected Member Functions | List of all members
H3D::Text::OutputUpdater Class Reference

Internal field class to update values of origin, textBounds, lineBounds. More...

#include <H3D/Text.h>

Inheritance diagram for H3D::Text::OutputUpdater:
Inheritance graph

Protected Member Functions

virtual void update ()
 Updates values of origin, lineBounds and textBounds.
 
- Protected Member Functions inherited from H3D::TypedField< BaseField, RequiredArgTypes, OptionalArgTypes >
void checkFieldType (Field *f, int index)
 Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. More...
 
void checkTemplateArguments ()
 Function for checking that a field given TypedField type specification is valid. More...
 

Additional Inherited Members

- Public Types inherited from H3D::PeriodicUpdate< TypedField< Field, Types< SFFontStyleNode, MFString > > >
enum  PeriodType
 Type defining how the period should be interpreted.
 
- Public Member Functions inherited from H3D::PeriodicUpdate< TypedField< Field, Types< SFFontStyleNode, MFString > > >
 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.
 
- Public Member Functions inherited from H3D::PeriodicUpdateField
virtual ~PeriodicUpdateField ()
 Destructor.
 
- Protected Attributes inherited from H3D::PeriodicUpdate< TypedField< Field, Types< SFFontStyleNode, MFString > > >
PeriodType period_type
 The tye of the period.
 
H3DFloat period
 The period of automatic updates/.
 
TimeStamp last_up_to_date
 The time of the last call to upToDate.
 
unsigned int counter
 The number of calls to timeToUpdate() since the last update.
 

Detailed Description

Internal field class to update values of origin, textBounds, lineBounds.

Only outputs values if default length and maxExtent are used. Changes on string and fontStyle changes.


The documentation for this class was generated from the following files: