Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::SimpleStatisticsForegroundBase Class Reference

SimpleStatisticsForeground Base Class. More...

#include <OSGSimpleStatisticsForegroundBase.h>

Inheritance diagram for osg::SimpleStatisticsForegroundBase:

Inheritance graph
[legend]
Collaboration diagram for osg::SimpleStatisticsForegroundBase:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { FormatsFieldId = Inherited::NextFieldId, SizeFieldId = FormatsFieldId + 1, ColorFieldId = SizeFieldId + 1, NextFieldId = ColorFieldId + 1 }

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
MFStringgetMFFormats (void)
SFReal32getSFSize (void)
SFColor4fgetSFColor (void)
Real32getSize (void)
const Real32getSize (void) const
Color4fgetColor (void)
const Color4fgetColor (void) const
string & getFormats (const UInt32 index)
MFStringgetFormats (void)
const MFStringgetFormats (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
FieldContainerTypegetClassType (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

Detailed Description

SimpleStatisticsForeground Base Class.


Member Typedef Documentation

typedef StatisticsForeground osg::SimpleStatisticsForegroundBase::Inherited [private]
 

Reimplemented from osg::StatisticsForeground.

Reimplemented in osg::SimpleStatisticsForeground.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
FormatsFieldId 
SizeFieldId 
ColorFieldId 
NextFieldId 


Constructor & Destructor Documentation

SimpleStatisticsForegroundBase::SimpleStatisticsForegroundBase void    [protected]
 

Constructor.

SimpleStatisticsForegroundBase::SimpleStatisticsForegroundBase const SimpleStatisticsForegroundBase &    source [protected]
 

Copy Constructor.

SimpleStatisticsForegroundBase::~SimpleStatisticsForegroundBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

osg::FieldContainerType & osg::SimpleStatisticsForegroundBase::getClassType void    [inline, static]
 

access the type of the class

Reimplemented from osg::StatisticsForegroundBase.

osg::UInt32 osg::SimpleStatisticsForegroundBase::getClassTypeId void    [inline, static]
 

access the numerical type of the class

Reimplemented from osg::StatisticsForegroundBase.

FieldContainerType & SimpleStatisticsForegroundBase::getType void    [virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

const FieldContainerType & SimpleStatisticsForegroundBase::getType void    const [virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

UInt32 SimpleStatisticsForegroundBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

MFString * osg::SimpleStatisticsForegroundBase::getMFFormats void    [inline]
 

SFReal32 * osg::SimpleStatisticsForegroundBase::getSFSize void    [inline]
 

SFColor4f * osg::SimpleStatisticsForegroundBase::getSFColor void    [inline]
 

Real32 & osg::SimpleStatisticsForegroundBase::getSize void    [inline]
 

const Real32 & osg::SimpleStatisticsForegroundBase::getSize void    const [inline]
 

Color4f & osg::SimpleStatisticsForegroundBase::getColor void    [inline]
 

const Color4f & osg::SimpleStatisticsForegroundBase::getColor void    const [inline]
 

string & osg::SimpleStatisticsForegroundBase::getFormats const UInt32    index [inline]
 

MFString & osg::SimpleStatisticsForegroundBase::getFormats void    [inline]
 

const MFString & osg::SimpleStatisticsForegroundBase::getFormats void    const [inline]
 

void osg::SimpleStatisticsForegroundBase::setSize const Real32   value [inline]
 

void osg::SimpleStatisticsForegroundBase::setColor const Color4f   value [inline]
 

void SimpleStatisticsForegroundBase::executeSync FieldContainer   other,
const BitVector   whichField
[virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

UInt32 SimpleStatisticsForegroundBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

void SimpleStatisticsForegroundBase::copyToBin BinaryDataHandler   pMem,
const BitVector   whichField
[virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

void SimpleStatisticsForegroundBase::copyFromBin BinaryDataHandler   pMem,
const BitVector   whichField
[virtual]
 

Reimplemented from osg::StatisticsForegroundBase.

SimpleStatisticsForegroundPtr osg::SimpleStatisticsForegroundBase::create void    [inline, static]
 

create a new instance of the class

SimpleStatisticsForegroundPtr osg::SimpleStatisticsForegroundBase::createEmpty void    [inline, static]
 

create an empty new instance of the class, do not copy the prototype

FieldContainerPtr SimpleStatisticsForegroundBase::shallowCopy void    const [virtual]
 

Implements osg::FieldContainer.

void SimpleStatisticsForegroundBase::executeSyncImpl SimpleStatisticsForegroundBase *    pOther,
const BitVector   whichField
[protected]
 

void osg::SimpleStatisticsForegroundBase::operator= const SimpleStatisticsForegroundBase &    source [private]
 


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::StatisticsForeground.

Reimplemented in osg::SimpleStatisticsForeground.


Member Data Documentation

const osg::BitVector SimpleStatisticsForegroundBase::FormatsFieldMask [static]
 

Initial value:

 
    (1 << SimpleStatisticsForegroundBase::FormatsFieldId)

const osg::BitVector SimpleStatisticsForegroundBase::SizeFieldMask [static]
 

Initial value:

 
    (1 << SimpleStatisticsForegroundBase::SizeFieldId)

const osg::BitVector SimpleStatisticsForegroundBase::ColorFieldMask [static]
 

Initial value:

 
    (1 << SimpleStatisticsForegroundBase::ColorFieldId)

string SimpleStatisticsForegroundBase::_mfFormats [protected]
 

The format strings for the given StatElemDesc IDs. If not set, name and value are used.

Real32 SimpleStatisticsForegroundBase::_sfSize [protected]
 

Height of a single line, in pixel.

Color4f SimpleStatisticsForegroundBase::_sfColor [protected]
 

Color of the text.

FieldDescription * SimpleStatisticsForegroundBase::_desc [static, private]
 

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)
}
SimpleStatisticsForeground description.

Reimplemented from osg::StatisticsForegroundBase.

FieldContainerType SimpleStatisticsForegroundBase::_type [static, private]
 

SimpleStatisticsForeground type.

Reimplemented from osg::StatisticsForegroundBase.


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:29:41 2002 for OpenSG by doxygen1.2.16