#include <OSGSimpleStatisticsForegroundBase.h>
Inheritance diagram for osg::SimpleStatisticsForegroundBase:


Public Types | |
| enum | { FormatsFieldId = Inherited::NextFieldId, SizeFieldId = FormatsFieldId + 1, ColorFieldId = SizeFieldId + 1, NextFieldId = ColorFieldId + 1 } |
Public Methods | |
Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| MFString * | getMFFormats (void) |
| SFReal32 * | getSFSize (void) |
| SFColor4f * | getSFColor (void) |
| Real32 & | getSize (void) |
| const Real32 & | getSize (void) const |
| Color4f & | getColor (void) |
| const Color4f & | getColor (void) const |
| string & | getFormats (const UInt32 index) |
| MFString & | getFormats (void) |
| const MFString & | getFormats (void) const |
Field Set | |
| void | setSize (const Real32 &value) |
| void | setColor (const Color4f &value) |
Sync | |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Binary Access | |
| virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
Copy | |
| virtual FieldContainerPtr | shallowCopy (void) const |
Static Public Methods | |
Class Get | |
| FieldContainerType & | getClassType (void) |
| access the type of the class | |
| UInt32 | getClassTypeId (void) |
| access the numerical type of the class | |
Construction | |
| SimpleStatisticsForegroundPtr | create (void) |
| create a new instance of the class | |
| SimpleStatisticsForegroundPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Public Attributes | |
| const osg::BitVector | FormatsFieldMask |
| const osg::BitVector | SizeFieldMask |
| const osg::BitVector | ColorFieldMask |
Protected Methods | |
Constructors | |
| SimpleStatisticsForegroundBase (void) | |
| Constructor. | |
| SimpleStatisticsForegroundBase (const SimpleStatisticsForegroundBase &source) | |
| Copy Constructor. | |
Destructors | |
| virtual | ~SimpleStatisticsForegroundBase (void) |
| Destructor. | |
Sync | |
| void | executeSyncImpl (SimpleStatisticsForegroundBase *pOther, const BitVector &whichField) |
Protected Attributes | |
Fields | |
| MFString | _mfFormats |
| SFReal32 | _sfSize |
| SFColor4f | _sfColor |
Private Types | |
| typedef StatisticsForeground | Inherited |
Private Methods | |
| void | operator= (const SimpleStatisticsForegroundBase &source) |
Static Private Attributes | |
| FieldDescription * | _desc [] |
| SimpleStatisticsForeground description. | |
| FieldContainerType | _type |
| SimpleStatisticsForeground type. | |
Friends | |
| class | FieldContainer |
|
|
Reimplemented from osg::StatisticsForeground. Reimplemented in osg::SimpleStatisticsForeground. |
|
|
|
|
|
Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
access the type of the class
Reimplemented from osg::StatisticsForegroundBase. |
|
|
access the numerical type of the class
Reimplemented from osg::StatisticsForegroundBase. |
|
|
Reimplemented from osg::StatisticsForegroundBase. |
|
|
Reimplemented from osg::StatisticsForegroundBase. |
|
|
Reimplemented from osg::StatisticsForegroundBase. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from osg::StatisticsForegroundBase. |
|
|
Reimplemented from osg::StatisticsForegroundBase. |
|
||||||||||||
|
Reimplemented from osg::StatisticsForegroundBase. |
|
||||||||||||
|
Reimplemented from osg::StatisticsForegroundBase. |
|
|
create a new instance of the class
|
|
|
create an empty new instance of the class, do not copy the prototype
|
|
|
Implements osg::FieldContainer. |
|
||||||||||||
|
|
|
|
|
|
|
Reimplemented from osg::StatisticsForeground. Reimplemented in osg::SimpleStatisticsForeground. |
|
|
Initial value:
(1 << SimpleStatisticsForegroundBase::FormatsFieldId) |
|
|
Initial value:
(1 << SimpleStatisticsForegroundBase::SizeFieldId) |
|
|
Initial value:
(1 << SimpleStatisticsForegroundBase::ColorFieldId) |
|
|
The format strings for the given StatElemDesc IDs. If not set, name and value are used. |
|
|
Height of a single line, in pixel. |
|
|
Color of the text. |
|
|
Initial value:
{
new FieldDescription(MFString::getClassType(),
"formats",
FormatsFieldId, FormatsFieldMask,
false,
(FieldAccessMethod) &SimpleStatisticsForegroundBase::getMFFormats),
new FieldDescription(SFReal32::getClassType(),
"size",
SizeFieldId, SizeFieldMask,
false,
(FieldAccessMethod) &SimpleStatisticsForegroundBase::getSFSize),
new FieldDescription(SFColor4f::getClassType(),
"color",
ColorFieldId, ColorFieldMask,
false,
(FieldAccessMethod) &SimpleStatisticsForegroundBase::getSFColor)
}
Reimplemented from osg::StatisticsForegroundBase. |
|
|
SimpleStatisticsForeground type.
Reimplemented from osg::StatisticsForegroundBase. |
1.2.16