#include <OSGBillboardBase.h>
Inheritance diagram for osg::BillboardBase:


Public Types | |
| enum | { AxisOfRotationFieldId = Inherited::NextFieldId, FocusOnCameraFieldId = AxisOfRotationFieldId + 1, AlignToScreenFieldId = FocusOnCameraFieldId + 1, NextFieldId = AlignToScreenFieldId + 1 } |
Public Methods | |
Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| SFVec3f * | getSFAxisOfRotation (void) |
| SFBool * | getSFFocusOnCamera (void) |
| SFBool * | getSFAlignToScreen (void) |
| Vec3f & | getAxisOfRotation (void) |
| const Vec3f & | getAxisOfRotation (void) const |
| bool & | getFocusOnCamera (void) |
| const bool & | getFocusOnCamera (void) const |
| bool & | getAlignToScreen (void) |
| const bool & | getAlignToScreen (void) const |
Field Set | |
| void | setAxisOfRotation (const Vec3f &value) |
| void | setFocusOnCamera (const bool &value) |
| void | setAlignToScreen (const bool &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 | |
| BillboardPtr | create (void) |
| create a new instance of the class | |
| BillboardPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Public Attributes | |
| const osg::BitVector | AxisOfRotationFieldMask |
| const osg::BitVector | FocusOnCameraFieldMask |
| const osg::BitVector | AlignToScreenFieldMask |
Protected Methods | |
Constructors | |
| BillboardBase (void) | |
| Constructor. | |
| BillboardBase (const BillboardBase &source) | |
| Copy Constructor. | |
Destructors | |
| virtual | ~BillboardBase (void) |
| Destructor. | |
Sync | |
| void | executeSyncImpl (BillboardBase *pOther, const BitVector &whichField) |
Protected Attributes | |
Fields | |
| SFVec3f | _sfAxisOfRotation |
| SFBool | _sfFocusOnCamera |
| SFBool | _sfAlignToScreen |
Private Types | |
| typedef NodeCore | Inherited |
Private Methods | |
| void | operator= (const BillboardBase &source) |
Static Private Attributes | |
| FieldDescription * | _desc [] |
| Billboard description. | |
| FieldContainerType | _type |
| Billboard type. | |
Friends | |
| class | FieldContainer |
|
|
Reimplemented from osg::NodeCore. Reimplemented in osg::Billboard. |
|
|
|
|
|
Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
access the type of the class
Reimplemented from osg::FieldContainer. |
|
|
access the numerical type of the class
Reimplemented from osg::FieldContainer. |
|
|
Reimplemented from osg::FieldContainer. |
|
|
Reimplemented from osg::FieldContainer. |
|
|
Implements osg::FieldContainer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from osg::NodeCore. |
|
|
Reimplemented from osg::NodeCore. |
|
||||||||||||
|
Reimplemented from osg::NodeCore. |
|
||||||||||||
|
Reimplemented from osg::NodeCore. |
|
|
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::NodeCore. Reimplemented in osg::Billboard. |
|
|
Initial value:
(1 << BillboardBase::AxisOfRotationFieldId) |
|
|
Initial value:
(1 << BillboardBase::FocusOnCameraFieldId) |
|
|
Initial value:
(1 << BillboardBase::AlignToScreenFieldId) |
|
|
|
|
|
|
|
|
|
|
|
Initial value:
{
new FieldDescription(SFVec3f::getClassType(),
"axisOfRotation",
AxisOfRotationFieldId, AxisOfRotationFieldMask,
true,
(FieldAccessMethod) &BillboardBase::getSFAxisOfRotation),
new FieldDescription(SFBool::getClassType(),
"focusOnCamera",
FocusOnCameraFieldId, FocusOnCameraFieldMask,
true,
(FieldAccessMethod) &BillboardBase::getSFFocusOnCamera),
new FieldDescription(SFBool::getClassType(),
"alignToScreen",
AlignToScreenFieldId, AlignToScreenFieldMask,
true,
(FieldAccessMethod) &BillboardBase::getSFAlignToScreen)
}
Reimplemented from osg::NodeCore. |
|
|
Billboard type.
Reimplemented from osg::NodeCore. |
1.2.16