#include <OSGComponentTransformBase.h>
Inheritance diagram for osg::ComponentTransformBase:


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 FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| SFVec3f * | getSFCenter (void) |
| SFQuaternion * | getSFRotation (void) |
| SFVec3f * | getSFScale (void) |
| SFQuaternion * | getSFScaleOrientation (void) |
| SFVec3f * | getSFTranslation (void) |
| Vec3f & | getCenter (void) |
| const Vec3f & | getCenter (void) const |
| Quaternion & | getRotation (void) |
| const Quaternion & | getRotation (void) const |
| Vec3f & | getScale (void) |
| const Vec3f & | getScale (void) const |
| Quaternion & | getScaleOrientation (void) |
| const Quaternion & | getScaleOrientation (void) const |
| Vec3f & | getTranslation (void) |
| const Vec3f & | getTranslation (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 | |
| FieldContainerType & | getClassType (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 |
|
|
Reimplemented from osg::Transform. Reimplemented in osg::ComponentTransform. |
|
|
|
|
|
Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
access the type of the class
Reimplemented from osg::TransformBase. |
|
|
access the numerical type of the class
Reimplemented from osg::TransformBase. |
|
|
Reimplemented from osg::TransformBase. |
|
|
Reimplemented from osg::TransformBase. |
|
|
Reimplemented from osg::TransformBase. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from osg::TransformBase. |
|
|
Reimplemented from osg::TransformBase. |
|
||||||||||||
|
Reimplemented from osg::TransformBase. |
|
||||||||||||
|
Reimplemented from osg::TransformBase. |
|
|
create a new instance of the class
Reimplemented from osg::TransformBase. |
|
|
create an empty new instance of the class, do not copy the prototype
Reimplemented from osg::TransformBase. |
|
|
Reimplemented from osg::TransformBase. |
|
||||||||||||
|
|
|
|
|
|
|
Reimplemented from osg::Transform. Reimplemented in osg::ComponentTransform. |
|
|
Initial value:
(1 << ComponentTransformBase::CenterFieldId) |
|
|
Initial value:
(1 << ComponentTransformBase::RotationFieldId) |
|
|
Initial value:
(1 << ComponentTransformBase::ScaleFieldId) |
|
|
Initial value:
(1 << ComponentTransformBase::ScaleOrientationFieldId) |
|
|
Initial value:
(1 << ComponentTransformBase::TranslationFieldId) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
}
Reimplemented from osg::TransformBase. |
|
|
ComponentTransform type.
Reimplemented from osg::TransformBase. |
1.2.16