#include <OSGGradientBackgroundBase.h>
Inheritance diagram for osg::GradientBackgroundBase:


Public Types | |
| enum | { ColorFieldId = Inherited::NextFieldId, PositionFieldId = ColorFieldId + 1, NextFieldId = PositionFieldId + 1 } |
Public Methods | |
Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| MFColor3f * | getMFColor (void) |
| MFReal32 * | getMFPosition (void) |
| Color3f & | getColor (const UInt32 index) |
| MFColor3f & | getColor (void) |
| const MFColor3f & | getColor (void) const |
| Real32 & | getPosition (const UInt32 index) |
| MFReal32 & | getPosition (void) |
| const MFReal32 & | getPosition (void) const |
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 | |
| GradientBackgroundPtr | create (void) |
| create a new instance of the class | |
| GradientBackgroundPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Public Attributes | |
| const osg::BitVector | ColorFieldMask |
| const osg::BitVector | PositionFieldMask |
Protected Methods | |
Constructors | |
| GradientBackgroundBase (void) | |
| Constructor. | |
| GradientBackgroundBase (const GradientBackgroundBase &source) | |
| Copy Constructor. | |
Destructors | |
| virtual | ~GradientBackgroundBase (void) |
| Destructor. | |
Sync | |
| void | executeSyncImpl (GradientBackgroundBase *pOther, const BitVector &whichField) |
Protected Attributes | |
Fields | |
| MFColor3f | _mfColor |
| MFReal32 | _mfPosition |
Private Types | |
| typedef Background | Inherited |
Private Methods | |
| void | operator= (const GradientBackgroundBase &source) |
Static Private Attributes | |
| FieldDescription * | _desc [] |
| GradientBackground description. | |
| FieldContainerType | _type |
| GradientBackground type. | |
Friends | |
| class | FieldContainer |
|
|
Reimplemented from osg::Background. Reimplemented in osg::GradientBackground. |
|
|
|
|
|
Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
access the type of the class
Reimplemented from osg::BackgroundBase. |
|
|
access the numerical type of the class
Reimplemented from osg::BackgroundBase. |
|
|
Reimplemented from osg::BackgroundBase. |
|
|
Reimplemented from osg::BackgroundBase. |
|
|
Reimplemented from osg::BackgroundBase. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from osg::BackgroundBase. |
|
|
Reimplemented from osg::BackgroundBase. |
|
||||||||||||
|
Reimplemented from osg::BackgroundBase. |
|
||||||||||||
|
Reimplemented from osg::BackgroundBase. |
|
|
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::Background. Reimplemented in osg::GradientBackground. |
|
|
Initial value:
(1 << GradientBackgroundBase::ColorFieldId) |
|
|
Initial value:
(1 << GradientBackgroundBase::PositionFieldId) |
|
|
The colors of the gradient. |
|
|
The positions of the gradient. |
|
|
Initial value:
{
new FieldDescription(MFColor3f::getClassType(),
"color",
ColorFieldId, ColorFieldMask,
false,
(FieldAccessMethod) &GradientBackgroundBase::getMFColor),
new FieldDescription(MFReal32::getClassType(),
"position",
PositionFieldId, PositionFieldMask,
false,
(FieldAccessMethod) &GradientBackgroundBase::getMFPosition)
}
Reimplemented from osg::AttachmentContainer. |
|
|
GradientBackground type.
Reimplemented from osg::BackgroundBase. |
1.2.16