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

osg::ComponentTransformBase Class Reference

ComponentTransform Base Class. More...

#include <OSGComponentTransformBase.h>

Inheritance diagram for osg::ComponentTransformBase:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  CenterFieldId = Inherited::NextFieldId, RotationFieldId = CenterFieldId + 1, ScaleFieldId = RotationFieldId + 1, ScaleOrientationFieldId = ScaleFieldId + 1,
  TranslationFieldId = ScaleOrientationFieldId + 1, NextFieldId = TranslationFieldId + 1
}

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
SFVec3fgetSFCenter (void)
SFQuaterniongetSFRotation (void)
SFVec3fgetSFScale (void)
SFQuaterniongetSFScaleOrientation (void)
SFVec3fgetSFTranslation (void)
Vec3fgetCenter (void)
const Vec3fgetCenter (void) const
QuaterniongetRotation (void)
const QuaterniongetRotation (void) const
Vec3fgetScale (void)
const Vec3fgetScale (void) const
QuaterniongetScaleOrientation (void)
const QuaterniongetScaleOrientation (void) const
Vec3fgetTranslation (void)
const Vec3fgetTranslation (void) const
Field Set
void setCenter (const Vec3f &value)
void setRotation (const Quaternion &value)
void setScale (const Vec3f &value)
void setScaleOrientation (const Quaternion &value)
void setTranslation (const Vec3f &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
ComponentTransformPtr create (void)
 create a new instance of the class

ComponentTransformPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype


Static Public Attributes

const osg::BitVector CenterFieldMask
const osg::BitVector RotationFieldMask
const osg::BitVector ScaleFieldMask
const osg::BitVector ScaleOrientationFieldMask
const osg::BitVector TranslationFieldMask

Protected Methods

Constructors
 ComponentTransformBase (void)
 Constructor.

 ComponentTransformBase (const ComponentTransformBase &source)
 Copy Constructor.

Destructors
virtual ~ComponentTransformBase (void)
 Destructor.

Sync
void executeSyncImpl (ComponentTransformBase *pOther, const BitVector &whichField)

Protected Attributes

Fields
SFVec3f _sfCenter
SFQuaternion _sfRotation
SFVec3f _sfScale
SFQuaternion _sfScaleOrientation
SFVec3f _sfTranslation

Private Types

typedef Transform Inherited

Private Methods

void operator= (const ComponentTransformBase &source)

Static Private Attributes

FieldDescription_desc []
 ComponentTransform description.

FieldContainerType _type
 ComponentTransform type.


Friends

class FieldContainer

Detailed Description

ComponentTransform Base Class.


Member Typedef Documentation

typedef Transform osg::ComponentTransformBase::Inherited [private]
 

Reimplemented from osg::Transform.

Reimplemented in osg::ComponentTransform.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
CenterFieldId 
RotationFieldId 
ScaleFieldId 
ScaleOrientationFieldId 
TranslationFieldId 
NextFieldId 


Constructor & Destructor Documentation

ComponentTransformBase::ComponentTransformBase void    [protected]
 

Constructor.

ComponentTransformBase::ComponentTransformBase const ComponentTransformBase &    source [protected]
 

Copy Constructor.

ComponentTransformBase::~ComponentTransformBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

access the type of the class

Reimplemented from osg::TransformBase.

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

access the numerical type of the class

Reimplemented from osg::TransformBase.

FieldContainerType & ComponentTransformBase::getType void    [virtual]
 

Reimplemented from osg::TransformBase.

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

Reimplemented from osg::TransformBase.

UInt32 ComponentTransformBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::TransformBase.

SFVec3f * osg::ComponentTransformBase::getSFCenter void    [inline]
 

SFQuaternion * osg::ComponentTransformBase::getSFRotation void    [inline]
 

SFVec3f * osg::ComponentTransformBase::getSFScale void    [inline]
 

SFQuaternion * osg::ComponentTransformBase::getSFScaleOrientation void    [inline]
 

SFVec3f * osg::ComponentTransformBase::getSFTranslation void    [inline]
 

Vec3f & osg::ComponentTransformBase::getCenter void    [inline]
 

const Vec3f & osg::ComponentTransformBase::getCenter void    const [inline]
 

Quaternion & osg::ComponentTransformBase::getRotation void    [inline]
 

const Quaternion & osg::ComponentTransformBase::getRotation void    const [inline]
 

Vec3f & osg::ComponentTransformBase::getScale void    [inline]
 

const Vec3f & osg::ComponentTransformBase::getScale void    const [inline]
 

Quaternion & osg::ComponentTransformBase::getScaleOrientation void    [inline]
 

const Quaternion & osg::ComponentTransformBase::getScaleOrientation void    const [inline]
 

Vec3f & osg::ComponentTransformBase::getTranslation void    [inline]
 

const Vec3f & osg::ComponentTransformBase::getTranslation void    const [inline]
 

void osg::ComponentTransformBase::setCenter const Vec3f   value [inline]
 

void osg::ComponentTransformBase::setRotation const Quaternion   value [inline]
 

void osg::ComponentTransformBase::setScale const Vec3f   value [inline]
 

void osg::ComponentTransformBase::setScaleOrientation const Quaternion   value [inline]
 

void osg::ComponentTransformBase::setTranslation const Vec3f   value [inline]
 

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

Reimplemented from osg::TransformBase.

UInt32 ComponentTransformBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::TransformBase.

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

Reimplemented from osg::TransformBase.

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

Reimplemented from osg::TransformBase.

ComponentTransformPtr osg::ComponentTransformBase::create void    [inline, static]
 

create a new instance of the class

Reimplemented from osg::TransformBase.

ComponentTransformPtr osg::ComponentTransformBase::createEmpty void    [inline, static]
 

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

Reimplemented from osg::TransformBase.

FieldContainerPtr ComponentTransformBase::shallowCopy void    const [virtual]
 

Reimplemented from osg::TransformBase.

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

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


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::Transform.

Reimplemented in osg::ComponentTransform.


Member Data Documentation

const osg::BitVector ComponentTransformBase::CenterFieldMask [static]
 

Initial value:

 
    (1 << ComponentTransformBase::CenterFieldId)

const osg::BitVector ComponentTransformBase::RotationFieldMask [static]
 

Initial value:

 
    (1 << ComponentTransformBase::RotationFieldId)

const osg::BitVector ComponentTransformBase::ScaleFieldMask [static]
 

Initial value:

 
    (1 << ComponentTransformBase::ScaleFieldId)

const osg::BitVector ComponentTransformBase::ScaleOrientationFieldMask [static]
 

Initial value:

 
    (1 << ComponentTransformBase::ScaleOrientationFieldId)

const osg::BitVector ComponentTransformBase::TranslationFieldMask [static]
 

Initial value:

 
    (1 << ComponentTransformBase::TranslationFieldId)

Vec3f ComponentTransformBase::_sfCenter [protected]
 

Quaternion ComponentTransformBase::_sfRotation [protected]
 

Vec3f ComponentTransformBase::_sfScale [protected]
 

Quaternion ComponentTransformBase::_sfScaleOrientation [protected]
 

Vec3f ComponentTransformBase::_sfTranslation [protected]
 

FieldDescription * ComponentTransformBase::_desc [static, private]
 

Initial value:

 
{
    new FieldDescription(SFVec3f::getClassType(), 
                     "center", 
                     CenterFieldId, CenterFieldMask,
                     false,
                     (FieldAccessMethod) &ComponentTransformBase::getSFCenter),
    new FieldDescription(SFQuaternion::getClassType(), 
                     "rotation", 
                     RotationFieldId, RotationFieldMask,
                     false,
                     (FieldAccessMethod) &ComponentTransformBase::getSFRotation),
    new FieldDescription(SFVec3f::getClassType(), 
                     "scale", 
                     ScaleFieldId, ScaleFieldMask,
                     false,
                     (FieldAccessMethod) &ComponentTransformBase::getSFScale),
    new FieldDescription(SFQuaternion::getClassType(), 
                     "scaleOrientation", 
                     ScaleOrientationFieldId, ScaleOrientationFieldMask,
                     false,
                     (FieldAccessMethod) &ComponentTransformBase::getSFScaleOrientation),
    new FieldDescription(SFVec3f::getClassType(), 
                     "translation", 
                     TranslationFieldId, TranslationFieldMask,
                     false,
                     (FieldAccessMethod) &ComponentTransformBase::getSFTranslation)
}
ComponentTransform description.

Reimplemented from osg::TransformBase.

FieldContainerType ComponentTransformBase::_type [static, private]
 

ComponentTransform type.

Reimplemented from osg::TransformBase.


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