#include <OSGImageBackgroundBase.h>
Inheritance diagram for osg::ImageBackgroundBase:


Public Types | |
| enum | { ColorFieldId = Inherited::NextFieldId, ImageFieldId = ColorFieldId + 1, ScaleFieldId = ImageFieldId + 1, NextFieldId = ScaleFieldId + 1 } |
Public Methods | |
Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| SFColor3f * | getSFColor (void) |
| SFImageP * | getSFImage (void) |
| SFBool * | getSFScale (void) |
| Color3f & | getColor (void) |
| const Color3f & | getColor (void) const |
| ImageP & | getImage (void) |
| const ImageP & | getImage (void) const |
| bool & | getScale (void) |
| const bool & | getScale (void) const |
Field Set | |
| void | setColor (const Color3f &value) |
| void | setImage (const ImageP &value) |
| void | setScale (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 | |
| ImageBackgroundPtr | create (void) |
| create a new instance of the class | |
| ImageBackgroundPtr | 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 | ImageFieldMask |
| const osg::BitVector | ScaleFieldMask |
Protected Methods | |
Constructors | |
| ImageBackgroundBase (void) | |
| Constructor. | |
| ImageBackgroundBase (const ImageBackgroundBase &source) | |
| Copy Constructor. | |
Destructors | |
| virtual | ~ImageBackgroundBase (void) |
| Destructor. | |
Sync | |
| void | executeSyncImpl (ImageBackgroundBase *pOther, const BitVector &whichField) |
Protected Attributes | |
Fields | |
| SFColor3f | _sfColor |
| SFImageP | _sfImage |
| SFBool | _sfScale |
Private Types | |
| typedef Background | Inherited |
Private Methods | |
| void | operator= (const ImageBackgroundBase &source) |
Static Private Attributes | |
| FieldDescription * | _desc [] |
| ImageBackground description. | |
| FieldContainerType | _type |
| ImageBackground type. | |
Friends | |
| class | FieldContainer |
|
|
Reimplemented from osg::Background. Reimplemented in osg::ImageBackground. |
|
|
|
|
|
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::ImageBackground. |
|
|
Initial value:
(1 << ImageBackgroundBase::ColorFieldId) |
|
|
Initial value:
(1 << ImageBackgroundBase::ImageFieldId) |
|
|
Initial value:
(1 << ImageBackgroundBase::ScaleFieldId) |
|
|
The background color for the areas without image. |
|
|
The image to put in the background. |
|
|
Define whether the image is scaled to fill the viewport or not (non-functional right now). |
|
|
Initial value:
{
new FieldDescription(SFColor3f::getClassType(),
"color",
ColorFieldId, ColorFieldMask,
false,
(FieldAccessMethod) &ImageBackgroundBase::getSFColor),
new FieldDescription(SFImageP::getClassType(),
"image",
ImageFieldId, ImageFieldMask,
false,
(FieldAccessMethod) &ImageBackgroundBase::getSFImage),
new FieldDescription(SFBool::getClassType(),
"scale",
ScaleFieldId, ScaleFieldMask,
false,
(FieldAccessMethod) &ImageBackgroundBase::getSFScale)
}
Reimplemented from osg::AttachmentContainer. |
|
|
ImageBackground type.
Reimplemented from osg::BackgroundBase. |
1.2.16