#include <OSGImageBase.h>

Public Types | |
| enum | { ParentsFieldId = Inherited::NextFieldId, DimensionFieldId = ParentsFieldId + 1, WidthFieldId = DimensionFieldId + 1, HeightFieldId = WidthFieldId + 1, DepthFieldId = HeightFieldId + 1, BppFieldId = DepthFieldId + 1, MipMapCountFieldId = BppFieldId + 1, FrameCountFieldId = MipMapCountFieldId + 1, FrameDelayFieldId = FrameCountFieldId + 1, PixelFormatFieldId = FrameDelayFieldId + 1, PixelFieldId = PixelFormatFieldId + 1, FrameSizeFieldId = PixelFieldId + 1, NameFieldId = FrameSizeFieldId + 1, DataTypeFieldId = NameFieldId + 1, ComponentSizeFieldId = DataTypeFieldId + 1, SideCountFieldId = ComponentSizeFieldId + 1, SideSizeFieldId = SideCountFieldId + 1, ForceCompressedDataFieldId = SideSizeFieldId + 1, ForceAlphaChannelFieldId = ForceCompressedDataFieldId + 1, ForceColorChannelFieldId = ForceAlphaChannelFieldId + 1, ForceAlphaBinaryFieldId = ForceColorChannelFieldId + 1, ResXFieldId = ForceAlphaBinaryFieldId + 1, ResYFieldId = ResXFieldId + 1, ResUnitFieldId = ResYFieldId + 1, NextFieldId = ResUnitFieldId + 1 } |
| typedef ImagePtr | Ptr |
| enum | { AttachmentsFieldId = Inherited::NextFieldId, NextFieldId = AttachmentsFieldId + 1 } |
| enum | { NextFieldId = 1 } |
Public Member Functions | |
FieldContainer Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| MFFieldContainerPtr * | getMFParents (void) |
| Get the Image::_mfParents field. | |
| SFInt32 * | getSFDimension (void) |
| Get the Image::_sfDimension field. | |
| SFInt32 * | getSFWidth (void) |
| Get the Image::_sfWidth field. | |
| SFInt32 * | getSFHeight (void) |
| Get the Image::_sfHeight field. | |
| SFInt32 * | getSFDepth (void) |
| Get the Image::_sfDepth field. | |
| SFInt32 * | getSFBpp (void) |
| Get the Image::_sfBpp field. | |
| SFInt32 * | getSFMipMapCount (void) |
| Get the Image::_sfMipMapCount field. | |
| SFInt32 * | getSFFrameCount (void) |
| Get the Image::_sfFrameCount field. | |
| SFTime * | getSFFrameDelay (void) |
| Get the Image::_sfFrameDelay field. | |
| SFUInt32 * | getSFPixelFormat (void) |
| Get the Image::_sfPixelFormat field. | |
| MFUInt8 * | getMFPixel (void) |
| Get the Image::_mfPixel field. | |
| SFInt32 * | getSFFrameSize (void) |
| Get the Image::_sfFrameSize field. | |
| SFString * | getSFName (void) |
| Get the Image::_sfName field. | |
| SFInt32 * | getSFDataType (void) |
| Get the Image::_sfDataType field. | |
| SFInt32 * | getSFSideCount (void) |
| Get the Image::_sfSideCount field. | |
| SFInt32 * | getSFSideSize (void) |
| Get the Image::_sfSideSize field. | |
| SFBool * | getSFForceCompressedData (void) |
| Get the Image::_sfForceCompressedData field. | |
| SFBool * | getSFForceAlphaChannel (void) |
| Get the Image::_sfForceAlphaChannel field. | |
| SFBool * | getSFForceColorChannel (void) |
| Get the Image::_sfForceColorChannel field. | |
| SFBool * | getSFForceAlphaBinary (void) |
| Get the Image::_sfForceAlphaBinary field. | |
| SFReal32 * | getSFResX (void) |
| Get the Image::_sfResX field. | |
| SFReal32 * | getSFResY (void) |
| Get the Image::_sfResY field. | |
| SFUInt16 * | getSFResUnit (void) |
| Get the Image::_sfResUnit field. | |
| Int32 & | getDimension (void) |
| Get the value of the Image::_sfDimension field. | |
| const Int32 & | getDimension (void) const |
| Get the value of the Image::_sfDimension field. | |
| Int32 & | getWidth (void) |
| Get the value of the Image::_sfWidth field. | |
| const Int32 & | getWidth (void) const |
| Get the value of the Image::_sfWidth field. | |
| Int32 & | getHeight (void) |
| Get the value of the Image::_sfHeight field. | |
| const Int32 & | getHeight (void) const |
| Get the value of the Image::_sfHeight field. | |
| Int32 & | getDepth (void) |
| Get the value of the Image::_sfDepth field. | |
| const Int32 & | getDepth (void) const |
| Get the value of the Image::_sfDepth field. | |
| Int32 & | getBpp (void) |
| Get the value of the Image::_sfBpp field. | |
| const Int32 & | getBpp (void) const |
| Get the value of the Image::_sfBpp field. | |
| Int32 & | getMipMapCount (void) |
| Get the value of the Image::_sfMipMapCount field. | |
| const Int32 & | getMipMapCount (void) const |
| Get the value of the Image::_sfMipMapCount field. | |
| Int32 & | getFrameCount (void) |
| Get the value of the Image::_sfFrameCount field. | |
| const Int32 & | getFrameCount (void) const |
| Get the value of the Image::_sfFrameCount field. | |
| Time & | getFrameDelay (void) |
| Get the value of the Image::_sfFrameDelay field. | |
| const Time & | getFrameDelay (void) const |
| Get the value of the Image::_sfFrameDelay field. | |
| UInt32 & | getPixelFormat (void) |
| Get the value of the Image::_sfPixelFormat field. | |
| const UInt32 & | getPixelFormat (void) const |
| Get the value of the Image::_sfPixelFormat field. | |
| Int32 & | getFrameSize (void) |
| Get the value of the Image::_sfFrameSize field. | |
| const Int32 & | getFrameSize (void) const |
| Get the value of the Image::_sfFrameSize field. | |
| std::string & | getName (void) |
| Get the value of the Image::_sfName field. | |
| const std::string & | getName (void) const |
| Get the value of the Image::_sfName field. | |
| Int32 & | getDataType (void) |
| Get the value of the Image::_sfDataType field. | |
| const Int32 & | getDataType (void) const |
| Get the value of the Image::_sfDataType field. | |
| Int32 & | getSideCount (void) |
| Get the value of the Image::_sfSideCount field. | |
| const Int32 & | getSideCount (void) const |
| Get the value of the Image::_sfSideCount field. | |
| Int32 & | getSideSize (void) |
| Get the value of the Image::_sfSideSize field. | |
| const Int32 & | getSideSize (void) const |
| Get the value of the Image::_sfSideSize field. | |
| bool & | getForceCompressedData (void) |
| Get the value of the Image::_sfForceCompressedData field. | |
| const bool & | getForceCompressedData (void) const |
| Get the value of the Image::_sfForceCompressedData field. | |
| bool & | getForceAlphaChannel (void) |
| Get the value of the Image::_sfForceAlphaChannel field. | |
| const bool & | getForceAlphaChannel (void) const |
| Get the value of the Image::_sfForceAlphaChannel field. | |
| bool & | getForceColorChannel (void) |
| Get the value of the Image::_sfForceColorChannel field. | |
| const bool & | getForceColorChannel (void) const |
| Get the value of the Image::_sfForceColorChannel field. | |
| bool & | getForceAlphaBinary (void) |
| Get the value of the Image::_sfForceAlphaBinary field. | |
| const bool & | getForceAlphaBinary (void) const |
| Get the value of the Image::_sfForceAlphaBinary field. | |
| Real32 & | getResX (void) |
| Get the value of the Image::_sfResX field. | |
| const Real32 & | getResX (void) const |
| Get the value of the Image::_sfResX field. | |
| Real32 & | getResY (void) |
| Get the value of the Image::_sfResY field. | |
| const Real32 & | getResY (void) const |
| Get the value of the Image::_sfResY field. | |
| UInt16 & | getResUnit (void) |
| Get the value of the Image::_sfResUnit field. | |
| const UInt16 & | getResUnit (void) const |
| Get the value of the Image::_sfResUnit field. | |
| FieldContainerPtr & | getParents (const UInt32 index) |
| Get the value of the index element the Image::_mfParents field. | |
| MFFieldContainerPtr & | getParents (void) |
| Get the Image::_mfParents field. | |
| const MFFieldContainerPtr & | getParents (void) const |
| Get the Image::_mfParents field. | |
| UInt8 & | getPixel (const UInt32 index) |
| Get the value of the index element the Image::_mfPixel field. | |
| MFUInt8 & | getPixel (void) |
| Get the Image::_mfPixel field. | |
| const MFUInt8 & | getPixel (void) const |
| Get the Image::_mfPixel field. | |
Field Set | |
| void | setDimension (const Int32 &value) |
| Set the value of the Image::_sfDimension field. | |
| void | setWidth (const Int32 &value) |
| Set the value of the Image::_sfWidth field. | |
| void | setHeight (const Int32 &value) |
| Set the value of the Image::_sfHeight field. | |
| void | setDepth (const Int32 &value) |
| Set the value of the Image::_sfDepth field. | |
| void | setBpp (const Int32 &value) |
| Set the value of the Image::_sfBpp field. | |
| void | setMipMapCount (const Int32 &value) |
| Set the value of the Image::_sfMipMapCount field. | |
| void | setFrameCount (const Int32 &value) |
| Set the value of the Image::_sfFrameCount field. | |
| void | setFrameDelay (const Time &value) |
| Set the value of the Image::_sfFrameDelay field. | |
| void | setPixelFormat (const UInt32 &value) |
| Set the value of the Image::_sfPixelFormat field. | |
| void | setFrameSize (const Int32 &value) |
| Set the value of the Image::_sfFrameSize field. | |
| void | setName (const std::string &value) |
| Set the value of the Image::_sfName field. | |
| void | setDataType (const Int32 &value) |
| Set the value of the Image::_sfDataType field. | |
| void | setSideCount (const Int32 &value) |
| Set the value of the Image::_sfSideCount field. | |
| void | setSideSize (const Int32 &value) |
| Set the value of the Image::_sfSideSize field. | |
| void | setForceCompressedData (const bool &value) |
| Set the value of the Image::_sfForceCompressedData field. | |
| void | setForceAlphaChannel (const bool &value) |
| Set the value of the Image::_sfForceAlphaChannel field. | |
| void | setForceColorChannel (const bool &value) |
| Set the value of the Image::_sfForceColorChannel field. | |
| void | setForceAlphaBinary (const bool &value) |
| Set the value of the Image::_sfForceAlphaBinary field. | |
| void | setResX (const Real32 &value) |
| Set the value of the Image::_sfResX field. | |
| void | setResY (const Real32 &value) |
| Set the value of the Image::_sfResY field. | |
| void | setResUnit (const UInt16 &value) |
| Set the value of the Image::_sfResUnit field. | |
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 |
Handle Attachments | |
| void | addAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| void | subAttachment (const AttachmentPtr &fieldContainerP, UInt16 binding=0) |
| AttachmentPtr | findAttachment (UInt32 groupId, UInt16 binding=0) |
| AttachmentPtr | findAttachment (const FieldContainerType &type, UInt16 binding=0) |
| SFAttachmentMap * | getSFAttachments (void) |
Changed | |
| virtual void | changed (BitVector whichField, UInt32 origin) |
Dump | |
| virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Get Instance Type Information | |
| UInt32 | getTypeId (void) const |
| UInt16 | getGroupId (void) const |
| const Char8 * | getTypeName (void) const |
| Field * | getField (UInt32 fieldId) |
| Field * | getField (const Char8 *fieldName) |
Static Public Member Functions | |
Class Get | |
| static FieldContainerType & | getClassType (void) |
| access the type of the class | |
| static UInt32 | getClassTypeId (void) |
| access the numerical type of the class | |
Construction | |
| static ImagePtr | create (void) |
| create a new instance of the class | |
| static ImagePtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
Static Public Attributes | |
| static const osg::BitVector | ParentsFieldMask |
| static const osg::BitVector | DimensionFieldMask |
| static const osg::BitVector | WidthFieldMask |
| static const osg::BitVector | HeightFieldMask |
| static const osg::BitVector | DepthFieldMask |
| static const osg::BitVector | BppFieldMask |
| static const osg::BitVector | MipMapCountFieldMask |
| static const osg::BitVector | FrameCountFieldMask |
| static const osg::BitVector | FrameDelayFieldMask |
| static const osg::BitVector | PixelFormatFieldMask |
| static const osg::BitVector | PixelFieldMask |
| static const osg::BitVector | FrameSizeFieldMask |
| static const osg::BitVector | NameFieldMask |
| static const osg::BitVector | DataTypeFieldMask |
| static const osg::BitVector | ComponentSizeFieldMask |
| static const osg::BitVector | SideCountFieldMask |
| static const osg::BitVector | SideSizeFieldMask |
| static const osg::BitVector | ForceCompressedDataFieldMask |
| static const osg::BitVector | ForceAlphaChannelFieldMask |
| static const osg::BitVector | ForceColorChannelFieldMask |
| static const osg::BitVector | ForceAlphaBinaryFieldMask |
| static const osg::BitVector | ResXFieldMask |
| static const osg::BitVector | ResYFieldMask |
| static const osg::BitVector | ResUnitFieldMask |
| static const osg::BitVector | MTInfluenceMask |
| static const BitVector | AttachmentsFieldMask |
| static const BitVector | NextFieldMask |
CoredNodePtr helper | |
| static const bool | isNodeCore = false |
Protected Member Functions | |
Constructors | |
| ImageBase (void) | |
| ImageBase (const ImageBase &source) | |
Destructors | |
| virtual | ~ImageBase (void) |
Field Get | |
| SFInt32 * | getSFComponentSize (void) |
| Get the Image::_sfComponentSize field. | |
| Int32 & | getComponentSize (void) |
| Get the value of the Image::_sfComponentSize field. | |
| const Int32 & | getComponentSize (void) const |
| Get the value of the Image::_sfComponentSize field. | |
Field Set | |
| void | setComponentSize (const Int32 &value) |
| Set the value of the Image::_sfComponentSize field. | |
Sync | |
| void | executeSyncImpl (ImageBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (FieldContainer *pOther, const BitVector &whichField) |
Pointer | |
| AttachmentContainerPtr | getPtr (void) |
MT Edit | |
| template<class FieldTypeT> | |
| void | beginEditX (const BitVector &whichField, FieldTypeT &field) |
| template<class FieldTypeT> | |
| void | endEditX (const BitVector &whichField, FieldTypeT &field) |
MT Construction | |
| void | onCreate (const FieldContainer *source=NULL) |
| void | onCreateAspect (const FieldContainer *aspect0, const FieldContainer *source=NULL) |
MT Destruction | |
| virtual void | onDestroy (void) |
Static Protected Member Functions | |
Create Fieldcontainer | |
| template<class ObjectPtrT> | |
| static void | newPtr (ObjectPtrT &result, const typename ObjectPtrT::StoredObjectType *prototypeP) |
| template<class ObjectPtrT> | |
| static void | newPtr (ObjectPtrT &result) |
Protected Attributes | |
Fields | |
| MFFieldContainerPtr | _mfParents |
| SFInt32 | _sfDimension |
| SFInt32 | _sfWidth |
| SFInt32 | _sfHeight |
| SFInt32 | _sfDepth |
| SFInt32 | _sfBpp |
| SFInt32 | _sfMipMapCount |
| SFInt32 | _sfFrameCount |
| SFTime | _sfFrameDelay |
| SFUInt32 | _sfPixelFormat |
| MFUInt8 | _mfPixel |
| SFInt32 | _sfFrameSize |
| SFString | _sfName |
| SFInt32 | _sfDataType |
| SFInt32 | _sfComponentSize |
| SFInt32 | _sfSideCount |
| SFInt32 | _sfSideSize |
| SFBool | _sfForceCompressedData |
| SFBool | _sfForceAlphaChannel |
| SFBool | _sfForceColorChannel |
| SFBool | _sfForceAlphaBinary |
| SFReal32 | _sfResX |
| SFReal32 | _sfResY |
| SFUInt16 | _sfResUnit |
Fields | |
| SFAttachmentMap | _attachmentMap |
Member | |
| UInt32 | _shares |
Private Types | |
| typedef AttachmentContainer | Inherited |
Private Member Functions | |
| void | operator= (const ImageBase &source) |
Static Private Attributes | |
| static FieldDescription * | _desc [] |
| Image description. | |
| static FieldContainerType | _type |
Friends | |
| class | FieldContainer |
Definition at line 104 of file OSGImageBase.h.
typedef AttachmentContainer osg::ImageBase::Inherited [private] |
Reimplemented from osg::AttachmentContainer.
Reimplemented in osg::Image.
Definition at line 108 of file OSGImageBase.h.
| typedef ImagePtr osg::ImageBase::Ptr |
Definition at line 113 of file OSGImageBase.h.
| anonymous enum |
Definition at line 115 of file OSGImageBase.h.
00116 { 00117 ParentsFieldId = Inherited::NextFieldId, 00118 DimensionFieldId = ParentsFieldId + 1, 00119 WidthFieldId = DimensionFieldId + 1, 00120 HeightFieldId = WidthFieldId + 1, 00121 DepthFieldId = HeightFieldId + 1, 00122 BppFieldId = DepthFieldId + 1, 00123 MipMapCountFieldId = BppFieldId + 1, 00124 FrameCountFieldId = MipMapCountFieldId + 1, 00125 FrameDelayFieldId = FrameCountFieldId + 1, 00126 PixelFormatFieldId = FrameDelayFieldId + 1, 00127 PixelFieldId = PixelFormatFieldId + 1, 00128 FrameSizeFieldId = PixelFieldId + 1, 00129 NameFieldId = FrameSizeFieldId + 1, 00130 DataTypeFieldId = NameFieldId + 1, 00131 ComponentSizeFieldId = DataTypeFieldId + 1, 00132 SideCountFieldId = ComponentSizeFieldId + 1, 00133 SideSizeFieldId = SideCountFieldId + 1, 00134 ForceCompressedDataFieldId = SideSizeFieldId + 1, 00135 ForceAlphaChannelFieldId = ForceCompressedDataFieldId + 1, 00136 ForceColorChannelFieldId = ForceAlphaChannelFieldId + 1, 00137 ForceAlphaBinaryFieldId = ForceColorChannelFieldId + 1, 00138 ResXFieldId = ForceAlphaBinaryFieldId + 1, 00139 ResYFieldId = ResXFieldId + 1, 00140 ResUnitFieldId = ResYFieldId + 1, 00141 NextFieldId = ResUnitFieldId + 1 00142 };
anonymous enum [inherited] |
Definition at line 78 of file OSGAttachmentContainerImpl.h.
00079 { 00080 AttachmentsFieldId = Inherited::NextFieldId, 00081 NextFieldId = AttachmentsFieldId + 1 00082 };
anonymous enum [inherited] |
| osg::ImageBase::ImageBase | ( | void | ) | [protected] |
Definition at line 420 of file OSGImageBase.cpp.
00420 : 00421 _mfParents (), 00422 _sfDimension (Int32(0)), 00423 _sfWidth (Int32(0)), 00424 _sfHeight (Int32(1)), 00425 _sfDepth (Int32(1)), 00426 _sfBpp (Int32(1)), 00427 _sfMipMapCount (Int32(1)), 00428 _sfFrameCount (Int32(1)), 00429 _sfFrameDelay (Time(0)), 00430 _sfPixelFormat (UInt32(0)), 00431 _mfPixel (), 00432 _sfFrameSize (Int32(0)), 00433 _sfName (), 00434 _sfDataType (Int32(GL_UNSIGNED_BYTE)), 00435 _sfComponentSize (Int32(1)), 00436 _sfSideCount (Int32(1)), 00437 _sfSideSize (Int32(0)), 00438 _sfForceCompressedData (bool(false)), 00439 _sfForceAlphaChannel (bool(false)), 00440 _sfForceColorChannel (bool(false)), 00441 _sfForceAlphaBinary (bool(false)), 00442 _sfResX (Real32(72.0f)), 00443 _sfResY (Real32(72.0f)), 00444 _sfResUnit (UInt16(2)), 00445 Inherited() 00446 { 00447 }
| osg::ImageBase::ImageBase | ( | const ImageBase & | source | ) | [protected] |
Definition at line 453 of file OSGImageBase.cpp.
00453 : 00454 _mfParents (source._mfParents ), 00455 _sfDimension (source._sfDimension ), 00456 _sfWidth (source._sfWidth ), 00457 _sfHeight (source._sfHeight ), 00458 _sfDepth (source._sfDepth ), 00459 _sfBpp (source._sfBpp ), 00460 _sfMipMapCount (source._sfMipMapCount ), 00461 _sfFrameCount (source._sfFrameCount ), 00462 _sfFrameDelay (source._sfFrameDelay ), 00463 _sfPixelFormat (source._sfPixelFormat ), 00464 _mfPixel (source._mfPixel ), 00465 _sfFrameSize (source._sfFrameSize ), 00466 _sfName (source._sfName ), 00467 _sfDataType (source._sfDataType ), 00468 _sfComponentSize (source._sfComponentSize ), 00469 _sfSideCount (source._sfSideCount ), 00470 _sfSideSize (source._sfSideSize ), 00471 _sfForceCompressedData (source._sfForceCompressedData ), 00472 _sfForceAlphaChannel (source._sfForceAlphaChannel ), 00473 _sfForceColorChannel (source._sfForceColorChannel ), 00474 _sfForceAlphaBinary (source._sfForceAlphaBinary ), 00475 _sfResX (source._sfResX ), 00476 _sfResY (source._sfResY ), 00477 _sfResUnit (source._sfResUnit ), 00478 Inherited (source) 00479 { 00480 }
| osg::ImageBase::~ImageBase | ( | void | ) | [protected, virtual] |
| osg::FieldContainerType & osg::ImageBase::getClassType | ( | void | ) | [inline, static] |
Reimplemented from osg::AttachmentContainer.
Definition at line 58 of file OSGImageBase.inl.
References _type.
Referenced by create().
00059 { 00060 return _type; 00061 }
| osg::UInt32 osg::ImageBase::getClassTypeId | ( | void | ) | [inline, static] |
Reimplemented from osg::AttachmentContainer.
Definition at line 65 of file OSGImageBase.inl.
References _type, and osg::TypeBase::getId().
00066 { 00067 return _type.getId(); 00068 }
| FieldContainerType & osg::ImageBase::getType | ( | void | ) | [virtual] |
Reimplemented from osg::AttachmentContainer.
Definition at line 360 of file OSGImageBase.cpp.
References _type.
00361 { 00362 return _type; 00363 }
| const FieldContainerType & osg::ImageBase::getType | ( | void | ) | const [virtual] |
Reimplemented from osg::AttachmentContainer.
Definition at line 365 of file OSGImageBase.cpp.
References _type.
00366 { 00367 return _type; 00368 }
| UInt32 osg::ImageBase::getContainerSize | ( | void | ) | const [virtual] |
| MFFieldContainerPtr * osg::ImageBase::getMFParents | ( | void | ) | [inline] |
Definition at line 101 of file OSGImageBase.inl.
References _mfParents.
00102 { 00103 return &_mfParents; 00104 }
| SFInt32 * osg::ImageBase::getSFDimension | ( | void | ) | [inline] |
Definition at line 108 of file OSGImageBase.inl.
References _sfDimension.
00109 { 00110 return &_sfDimension; 00111 }
| SFInt32 * osg::ImageBase::getSFWidth | ( | void | ) | [inline] |
Definition at line 115 of file OSGImageBase.inl.
References _sfWidth.
00116 { 00117 return &_sfWidth; 00118 }
| SFInt32 * osg::ImageBase::getSFHeight | ( | void | ) | [inline] |
Definition at line 122 of file OSGImageBase.inl.
References _sfHeight.
00123 { 00124 return &_sfHeight; 00125 }
| SFInt32 * osg::ImageBase::getSFDepth | ( | void | ) | [inline] |
Definition at line 129 of file OSGImageBase.inl.
References _sfDepth.
00130 { 00131 return &_sfDepth; 00132 }
| SFInt32 * osg::ImageBase::getSFBpp | ( | void | ) | [inline] |
Definition at line 136 of file OSGImageBase.inl.
References _sfBpp.
00137 { 00138 return &_sfBpp; 00139 }
| SFInt32 * osg::ImageBase::getSFMipMapCount | ( | void | ) | [inline] |
Definition at line 143 of file OSGImageBase.inl.
References _sfMipMapCount.
00144 { 00145 return &_sfMipMapCount; 00146 }
| SFInt32 * osg::ImageBase::getSFFrameCount | ( | void | ) | [inline] |
Definition at line 150 of file OSGImageBase.inl.
References _sfFrameCount.
00151 { 00152 return &_sfFrameCount; 00153 }
| SFTime * osg::ImageBase::getSFFrameDelay | ( | void | ) | [inline] |
Definition at line 157 of file OSGImageBase.inl.
References _sfFrameDelay.
00158 { 00159 return &_sfFrameDelay; 00160 }
| SFUInt32 * osg::ImageBase::getSFPixelFormat | ( | void | ) | [inline] |
Definition at line 164 of file OSGImageBase.inl.
References _sfPixelFormat.
00165 { 00166 return &_sfPixelFormat; 00167 }
| MFUInt8 * osg::ImageBase::getMFPixel | ( | void | ) | [inline] |
Definition at line 171 of file OSGImageBase.inl.
References _mfPixel.
00172 { 00173 return &_mfPixel; 00174 }
| SFInt32 * osg::ImageBase::getSFFrameSize | ( | void | ) | [inline] |
Definition at line 178 of file OSGImageBase.inl.
References _sfFrameSize.
00179 { 00180 return &_sfFrameSize; 00181 }
| SFString * osg::ImageBase::getSFName | ( | void | ) | [inline] |
Definition at line 185 of file OSGImageBase.inl.
References _sfName.
00186 { 00187 return &_sfName; 00188 }
| SFInt32 * osg::ImageBase::getSFDataType | ( | void | ) | [inline] |
Definition at line 192 of file OSGImageBase.inl.
References _sfDataType.
00193 { 00194 return &_sfDataType; 00195 }
| SFInt32 * osg::ImageBase::getSFSideCount | ( | void | ) | [inline] |
Definition at line 206 of file OSGImageBase.inl.
References _sfSideCount.
00207 { 00208 return &_sfSideCount; 00209 }
| SFInt32 * osg::ImageBase::getSFSideSize | ( | void | ) | [inline] |
Definition at line 213 of file OSGImageBase.inl.
References _sfSideSize.
00214 { 00215 return &_sfSideSize; 00216 }
| SFBool * osg::ImageBase::getSFForceCompressedData | ( | void | ) | [inline] |
Definition at line 220 of file OSGImageBase.inl.
References _sfForceCompressedData.
00221 { 00222 return &_sfForceCompressedData; 00223 }
| SFBool * osg::ImageBase::getSFForceAlphaChannel | ( | void | ) | [inline] |
Definition at line 227 of file OSGImageBase.inl.
References _sfForceAlphaChannel.
00228 { 00229 return &_sfForceAlphaChannel; 00230 }
| SFBool * osg::ImageBase::getSFForceColorChannel | ( | void | ) | [inline] |
Definition at line 234 of file OSGImageBase.inl.
References _sfForceColorChannel.
00235 { 00236 return &_sfForceColorChannel; 00237 }
| SFBool * osg::ImageBase::getSFForceAlphaBinary | ( | void | ) | [inline] |
Definition at line 241 of file OSGImageBase.inl.
References _sfForceAlphaBinary.
00242 { 00243 return &_sfForceAlphaBinary; 00244 }
| SFReal32 * osg::ImageBase::getSFResX | ( | void | ) | [inline] |
Definition at line 248 of file OSGImageBase.inl.
References _sfResX.
00249 { 00250 return &_sfResX; 00251 }
| SFReal32 * osg::ImageBase::getSFResY | ( | void | ) | [inline] |
Definition at line 255 of file OSGImageBase.inl.
References _sfResY.
00256 { 00257 return &_sfResY; 00258 }
| SFUInt16 * osg::ImageBase::getSFResUnit | ( | void | ) | [inline] |
Definition at line 262 of file OSGImageBase.inl.
References _sfResUnit.
00263 { 00264 return &_sfResUnit; 00265 }
| Int32 & osg::ImageBase::getDimension | ( | void | ) | [inline] |
Definition at line 270 of file OSGImageBase.inl.
References _sfDimension, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00271 { 00272 return _sfDimension.getValue(); 00273 }
| const Int32 & osg::ImageBase::getDimension | ( | void | ) | const [inline] |
Definition at line 277 of file OSGImageBase.inl.
References _sfDimension, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00278 { 00279 return _sfDimension.getValue(); 00280 }
| Int32 & osg::ImageBase::getWidth | ( | void | ) | [inline] |
Definition at line 291 of file OSGImageBase.inl.
References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcIsAlphaBinary(), osg::Image::calcMipmapGeometry(), osg::Image::calcMipmapLevelCount(), osg::Image::calcMipmapSumSize(), osg::Image::convertDataTypeTo(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::operator=(), osg::Image::operator==(), osg::Image::reformat(), osg::Image::scale(), osg::Image::scaleNextPower2(), osg::Image::setSubData(), osg::Image::slice(), and osg::Image::subImage().
00292 { 00293 return _sfWidth.getValue(); 00294 }
| const Int32 & osg::ImageBase::getWidth | ( | void | ) | const [inline] |
Definition at line 298 of file OSGImageBase.inl.
References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00299 { 00300 return _sfWidth.getValue(); 00301 }
| Int32 & osg::ImageBase::getHeight | ( | void | ) | [inline] |
Definition at line 312 of file OSGImageBase.inl.
References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcIsAlphaBinary(), osg::Image::calcMipmapGeometry(), osg::Image::calcMipmapLevelCount(), osg::Image::calcMipmapSumSize(), osg::Image::convertDataTypeTo(), osg::Image::createData(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::operator=(), osg::Image::operator==(), osg::Image::reformat(), osg::Image::scale(), osg::Image::scaleNextPower2(), osg::Image::setSubData(), osg::Image::slice(), and osg::Image::subImage().
00313 { 00314 return _sfHeight.getValue(); 00315 }
| const Int32 & osg::ImageBase::getHeight | ( | void | ) | const [inline] |
Definition at line 319 of file OSGImageBase.inl.
References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00320 { 00321 return _sfHeight.getValue(); 00322 }
| Int32 & osg::ImageBase::getDepth | ( | void | ) | [inline] |
Definition at line 333 of file OSGImageBase.inl.
References _sfDepth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcIsAlphaBinary(), osg::Image::calcMipmapGeometry(), osg::Image::calcMipmapLevelCount(), osg::Image::calcMipmapSumSize(), osg::Image::convertDataTypeTo(), osg::Image::createData(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::flipDepthFrameData(), osg::Image::operator=(), osg::Image::operator==(), osg::Image::reformat(), osg::Image::scale(), osg::Image::scaleNextPower2(), osg::Image::setSubData(), osg::Image::slice(), and osg::Image::subImage().
00334 { 00335 return _sfDepth.getValue(); 00336 }
| const Int32 & osg::ImageBase::getDepth | ( | void | ) | const [inline] |
Definition at line 340 of file OSGImageBase.inl.
References _sfDepth, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00341 { 00342 return _sfDepth.getValue(); 00343 }
| Int32 & osg::ImageBase::getBpp | ( | void | ) | [inline] |
Definition at line 354 of file OSGImageBase.inl.
References _sfBpp, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::addValue(), osg::Image::calcIsAlphaBinary(), osg::Image::calcMipmapLevelSize(), osg::Image::createMipmap(), osg::Image::scaleData(), osg::Image::setSubData(), osg::Image::slice(), and osg::Image::subImage().
00355 { 00356 return _sfBpp.getValue(); 00357 }
| const Int32 & osg::ImageBase::getBpp | ( | void | ) | const [inline] |
Definition at line 361 of file OSGImageBase.inl.
References _sfBpp, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00362 { 00363 return _sfBpp.getValue(); 00364 }
| Int32 & osg::ImageBase::getMipMapCount | ( | void | ) | [inline] |
Definition at line 375 of file OSGImageBase.inl.
References _sfMipMapCount, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::changed(), osg::Image::convertDataTypeTo(), osg::Image::createData(), osg::Image::dump(), osg::Image::flipDepthFrameData(), osg::Image::getSize(), osg::Image::operator=(), osg::Image::operator==(), and osg::Image::scale().
00376 { 00377 return _sfMipMapCount.getValue(); 00378 }
| const Int32 & osg::ImageBase::getMipMapCount | ( | void | ) | const [inline] |
Definition at line 382 of file OSGImageBase.inl.
References _sfMipMapCount, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00383 { 00384 return _sfMipMapCount.getValue(); 00385 }
| Int32 & osg::ImageBase::getFrameCount | ( | void | ) | [inline] |
Definition at line 396 of file OSGImageBase.inl.
References _sfFrameCount, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcFrameNum(), osg::Image::calcIsAlphaBinary(), osg::Image::convertDataTypeTo(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::flipDepthFrameData(), osg::Image::getSize(), osg::Image::operator=(), osg::Image::operator==(), and osg::Image::scale().
00397 { 00398 return _sfFrameCount.getValue(); 00399 }
| const Int32 & osg::ImageBase::getFrameCount | ( | void | ) | const [inline] |
Definition at line 403 of file OSGImageBase.inl.
References _sfFrameCount, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00404 { 00405 return _sfFrameCount.getValue(); 00406 }
| Time & osg::ImageBase::getFrameDelay | ( | void | ) | [inline] |
Definition at line 417 of file OSGImageBase.inl.
References _sfFrameDelay, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcFrameNum(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::operator=(), osg::Image::operator==(), and osg::Image::scale().
00418 { 00419 return _sfFrameDelay.getValue(); 00420 }
| const Time & osg::ImageBase::getFrameDelay | ( | void | ) | const [inline] |
Definition at line 424 of file OSGImageBase.inl.
References _sfFrameDelay, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00425 { 00426 return _sfFrameDelay.getValue(); 00427 }
| UInt32 & osg::ImageBase::getPixelFormat | ( | void | ) | [inline] |
Definition at line 438 of file OSGImageBase.inl.
References _sfPixelFormat, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcIsAlphaBinary(), osg::Image::calcMipmapLevelSize(), osg::Image::convertDataTypeTo(), osg::Image::createData(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::getComponents(), osg::Image::hasAlphaChannel(), osg::Image::hasColorChannel(), osg::Image::hasCompressedData(), osg::Image::isAlphaBinary(), osg::Image::operator=(), osg::Image::operator==(), osg::Image::reformat(), osg::Image::scale(), osg::Image::slice(), and osg::Image::subImage().
00439 { 00440 return _sfPixelFormat.getValue(); 00441 }
| const UInt32 & osg::ImageBase::getPixelFormat | ( | void | ) | const [inline] |
Definition at line 445 of file OSGImageBase.inl.
References _sfPixelFormat, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00446 { 00447 return _sfPixelFormat.getValue(); 00448 }
| Int32 & osg::ImageBase::getFrameSize | ( | void | ) | [inline] |
Definition at line 459 of file OSGImageBase.inl.
References _sfFrameSize, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::getData(), and osg::Image::scale().
00460 { 00461 return _sfFrameSize.getValue(); 00462 }
| const Int32 & osg::ImageBase::getFrameSize | ( | void | ) | const [inline] |
Definition at line 466 of file OSGImageBase.inl.
References _sfFrameSize, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00467 { 00468 return _sfFrameSize.getValue(); 00469 }
| std::string & osg::ImageBase::getName | ( | void | ) | [inline] |
Definition at line 480 of file OSGImageBase.inl.
References _sfName, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00481 { 00482 return _sfName.getValue(); 00483 }
| const std::string & osg::ImageBase::getName | ( | void | ) | const [inline] |
Definition at line 487 of file OSGImageBase.inl.
References _sfName, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00488 { 00489 return _sfName.getValue(); 00490 }
| Int32 & osg::ImageBase::getDataType | ( | void | ) | [inline] |
Definition at line 501 of file OSGImageBase.inl.
References _sfDataType, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::addValue(), osg::Image::calcIsAlphaBinary(), osg::Image::changed(), osg::Image::convertDataTypeTo(), osg::Image::createData(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::operator=(), osg::Image::operator==(), osg::Image::reformat(), osg::Image::scale(), osg::Image::slice(), osg::Image::subImage(), and osg::Image::swapDataEndian().
00502 { 00503 return _sfDataType.getValue(); 00504 }
| const Int32 & osg::ImageBase::getDataType | ( | void | ) | const [inline] |
Definition at line 508 of file OSGImageBase.inl.
References _sfDataType, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00509 { 00510 return _sfDataType.getValue(); 00511 }
| Int32 & osg::ImageBase::getSideCount | ( | void | ) | [inline] |
Definition at line 543 of file OSGImageBase.inl.
References _sfSideCount, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::changed(), osg::Image::convertDataTypeTo(), osg::Image::createData(), osg::Image::createMipmap(), osg::Image::dump(), osg::Image::getSize(), osg::Image::operator=(), osg::Image::operator==(), and osg::Image::scale().
00544 { 00545 return _sfSideCount.getValue(); 00546 }
| const Int32 & osg::ImageBase::getSideCount | ( | void | ) | const [inline] |
Definition at line 550 of file OSGImageBase.inl.
References _sfSideCount, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00551 { 00552 return _sfSideCount.getValue(); 00553 }
| Int32 & osg::ImageBase::getSideSize | ( | void | ) | [inline] |
Definition at line 564 of file OSGImageBase.inl.
References _sfSideSize, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::changed(), osg::Image::createData(), osg::Image::getData(), and osg::Image::scale().
00565 { 00566 return _sfSideSize.getValue(); 00567 }
| const Int32 & osg::ImageBase::getSideSize | ( | void | ) | const [inline] |
Definition at line 571 of file OSGImageBase.inl.
References _sfSideSize, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00572 { 00573 return _sfSideSize.getValue(); 00574 }
| bool & osg::ImageBase::getForceCompressedData | ( | void | ) | [inline] |
Definition at line 585 of file OSGImageBase.inl.
References _sfForceCompressedData, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::hasCompressedData().
00586 { 00587 return _sfForceCompressedData.getValue(); 00588 }
| const bool & osg::ImageBase::getForceCompressedData | ( | void | ) | const [inline] |
Definition at line 592 of file OSGImageBase.inl.
References _sfForceCompressedData, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00593 { 00594 return _sfForceCompressedData.getValue(); 00595 }
| bool & osg::ImageBase::getForceAlphaChannel | ( | void | ) | [inline] |
Definition at line 606 of file OSGImageBase.inl.
References _sfForceAlphaChannel, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::hasAlphaChannel().
00607 { 00608 return _sfForceAlphaChannel.getValue(); 00609 }
| const bool & osg::ImageBase::getForceAlphaChannel | ( | void | ) | const [inline] |
Definition at line 613 of file OSGImageBase.inl.
References _sfForceAlphaChannel, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00614 { 00615 return _sfForceAlphaChannel.getValue(); 00616 }
| bool & osg::ImageBase::getForceColorChannel | ( | void | ) | [inline] |
Definition at line 627 of file OSGImageBase.inl.
References _sfForceColorChannel, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::hasColorChannel().
00628 { 00629 return _sfForceColorChannel.getValue(); 00630 }
| const bool & osg::ImageBase::getForceColorChannel | ( | void | ) | const [inline] |
Definition at line 634 of file OSGImageBase.inl.
References _sfForceColorChannel, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00635 { 00636 return _sfForceColorChannel.getValue(); 00637 }
| bool & osg::ImageBase::getForceAlphaBinary | ( | void | ) | [inline] |
Definition at line 648 of file OSGImageBase.inl.
References _sfForceAlphaBinary, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::isAlphaBinary().
00649 { 00650 return _sfForceAlphaBinary.getValue(); 00651 }
| const bool & osg::ImageBase::getForceAlphaBinary | ( | void | ) | const [inline] |
Definition at line 655 of file OSGImageBase.inl.
References _sfForceAlphaBinary, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00656 { 00657 return _sfForceAlphaBinary.getValue(); 00658 }
| Real32 & osg::ImageBase::getResX | ( | void | ) | [inline] |
Definition at line 669 of file OSGImageBase.inl.
References _sfResX, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00670 { 00671 return _sfResX.getValue(); 00672 }
| const Real32 & osg::ImageBase::getResX | ( | void | ) | const [inline] |
Definition at line 676 of file OSGImageBase.inl.
References _sfResX, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00677 { 00678 return _sfResX.getValue(); 00679 }
| Real32 & osg::ImageBase::getResY | ( | void | ) | [inline] |
Definition at line 690 of file OSGImageBase.inl.
References _sfResY, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00691 { 00692 return _sfResY.getValue(); 00693 }
| const Real32 & osg::ImageBase::getResY | ( | void | ) | const [inline] |
Definition at line 697 of file OSGImageBase.inl.
References _sfResY, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00698 { 00699 return _sfResY.getValue(); 00700 }
| UInt16 & osg::ImageBase::getResUnit | ( | void | ) | [inline] |
Definition at line 711 of file OSGImageBase.inl.
References _sfResUnit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00712 { 00713 return _sfResUnit.getValue(); 00714 }
| const UInt16 & osg::ImageBase::getResUnit | ( | void | ) | const [inline] |
Definition at line 718 of file OSGImageBase.inl.
References _sfResUnit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00719 { 00720 return _sfResUnit.getValue(); 00721 }
| FieldContainerPtr & osg::ImageBase::getParents | ( | const UInt32 | index | ) | [inline] |
Definition at line 733 of file OSGImageBase.inl.
References _mfParents.
00734 { 00735 return _mfParents[index]; 00736 }
| MFFieldContainerPtr & osg::ImageBase::getParents | ( | void | ) | [inline] |
Definition at line 740 of file OSGImageBase.inl.
References _mfParents.
00741 { 00742 return _mfParents; 00743 }
| const MFFieldContainerPtr & osg::ImageBase::getParents | ( | void | ) | const [inline] |
Definition at line 747 of file OSGImageBase.inl.
References _mfParents.
00748 { 00749 return _mfParents; 00750 }
Definition at line 754 of file OSGImageBase.inl.
References _mfPixel.
00755 { 00756 return _mfPixel[index]; 00757 }
| MFUInt8 & osg::ImageBase::getPixel | ( | void | ) | [inline] |
Definition at line 761 of file OSGImageBase.inl.
References _mfPixel.
Referenced by osg::Image::clearData(), osg::Image::createData(), osg::Image::getData(), osg::Image::isValid(), and osg::Image::scale().
00762 { 00763 return _mfPixel; 00764 }
| const MFUInt8 & osg::ImageBase::getPixel | ( | void | ) | const [inline] |
Definition at line 768 of file OSGImageBase.inl.
References _mfPixel.
00769 { 00770 return _mfPixel; 00771 }
| void osg::ImageBase::setDimension | ( | const Int32 & | value | ) | [inline] |
Definition at line 284 of file OSGImageBase.inl.
References _sfDimension, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::createData().
00285 { 00286 _sfDimension.setValue(value); 00287 }
| void osg::ImageBase::setWidth | ( | const Int32 & | value | ) | [inline] |
Definition at line 305 of file OSGImageBase.inl.
References _sfWidth, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::ImageBase::setHeight | ( | const Int32 & | value | ) | [inline] |
Definition at line 326 of file OSGImageBase.inl.
References _sfHeight, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::ImageBase::setDepth | ( | const Int32 & | value | ) | [inline] |
Definition at line 347 of file OSGImageBase.inl.
References _sfDepth, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::flipDepthFrameData().
| void osg::ImageBase::setBpp | ( | const Int32 & | value | ) | [inline] |
Definition at line 368 of file OSGImageBase.inl.
References _sfBpp, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::createData().
| void osg::ImageBase::setMipMapCount | ( | const Int32 & | value | ) | [inline] |
Definition at line 389 of file OSGImageBase.inl.
References _sfMipMapCount, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00390 { 00391 _sfMipMapCount.setValue(value); 00392 }
| void osg::ImageBase::setFrameCount | ( | const Int32 & | value | ) | [inline] |
Definition at line 410 of file OSGImageBase.inl.
References _sfFrameCount, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::flipDepthFrameData().
00411 { 00412 _sfFrameCount.setValue(value); 00413 }
| void osg::ImageBase::setFrameDelay | ( | const Time & | value | ) | [inline] |
Definition at line 431 of file OSGImageBase.inl.
References _sfFrameDelay, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00432 { 00433 _sfFrameDelay.setValue(value); 00434 }
| void osg::ImageBase::setPixelFormat | ( | const UInt32 & | value | ) | [inline] |
Definition at line 452 of file OSGImageBase.inl.
References _sfPixelFormat, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::Image().
00453 { 00454 _sfPixelFormat.setValue(value); 00455 }
| void osg::ImageBase::setFrameSize | ( | const Int32 & | value | ) | [inline] |
Definition at line 473 of file OSGImageBase.inl.
References _sfFrameSize, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::changed(), and osg::Image::createData().
00474 { 00475 _sfFrameSize.setValue(value); 00476 }
| void osg::ImageBase::setName | ( | const std::string & | value | ) | [inline] |
Definition at line 494 of file OSGImageBase.inl.
References _sfName, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::ImageBase::setDataType | ( | const Int32 & | value | ) | [inline] |
Definition at line 515 of file OSGImageBase.inl.
References _sfDataType, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::addValue().
00516 { 00517 _sfDataType.setValue(value); 00518 }
| void osg::ImageBase::setSideCount | ( | const Int32 & | value | ) | [inline] |
Definition at line 557 of file OSGImageBase.inl.
References _sfSideCount, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00558 { 00559 _sfSideCount.setValue(value); 00560 }
| void osg::ImageBase::setSideSize | ( | const Int32 & | value | ) | [inline] |
Definition at line 578 of file OSGImageBase.inl.
References _sfSideSize, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::changed(), and osg::Image::createData().
00579 { 00580 _sfSideSize.setValue(value); 00581 }
| void osg::ImageBase::setForceCompressedData | ( | const bool & | value | ) | [inline] |
Definition at line 599 of file OSGImageBase.inl.
References _sfForceCompressedData, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00600 { 00601 _sfForceCompressedData.setValue(value); 00602 }
| void osg::ImageBase::setForceAlphaChannel | ( | const bool & | value | ) | [inline] |
Definition at line 620 of file OSGImageBase.inl.
References _sfForceAlphaChannel, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00621 { 00622 _sfForceAlphaChannel.setValue(value); 00623 }
| void osg::ImageBase::setForceColorChannel | ( | const bool & | value | ) | [inline] |
Definition at line 641 of file OSGImageBase.inl.
References _sfForceColorChannel, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00642 { 00643 _sfForceColorChannel.setValue(value); 00644 }
| void osg::ImageBase::setForceAlphaBinary | ( | const bool & | value | ) | [inline] |
Definition at line 662 of file OSGImageBase.inl.
References _sfForceAlphaBinary, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00663 { 00664 _sfForceAlphaBinary.setValue(value); 00665 }
| void osg::ImageBase::setResX | ( | const Real32 & | value | ) | [inline] |
Definition at line 683 of file OSGImageBase.inl.
References _sfResX, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::ImageBase::setResY | ( | const Real32 & | value | ) | [inline] |
Definition at line 704 of file OSGImageBase.inl.
References _sfResY, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::ImageBase::setResUnit | ( | const UInt16 & | value | ) | [inline] |
Definition at line 725 of file OSGImageBase.inl.
References _sfResUnit, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00726 { 00727 _sfResUnit.setValue(value); 00728 }
Reimplemented from osg::AttachmentContainer.
Definition at line 490 of file OSGImageBase.cpp.
References _mfParents, _mfPixel, _sfBpp, _sfComponentSize, _sfDataType, _sfDepth, _sfDimension, _sfForceAlphaBinary, _sfForceAlphaChannel, _sfForceColorChannel, _sfForceCompressedData, _sfFrameCount, _sfFrameDelay, _sfFrameSize, _sfHeight, _sfMipMapCount, _sfName, _sfPixelFormat, _sfResUnit, _sfResX, _sfResY, _sfSideCount, _sfSideSize, _sfWidth, BppFieldMask, ComponentSizeFieldMask, DataTypeFieldMask, DepthFieldMask, DimensionFieldMask, ForceAlphaBinaryFieldMask, ForceAlphaChannelFieldMask, ForceColorChannelFieldMask, ForceCompressedDataFieldMask, FrameCountFieldMask, FrameDelayFieldMask, FrameSizeFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::AttachmentContainer::getBinSize(), HeightFieldMask, MipMapCountFieldMask, NameFieldMask, osg::FieldBits::NoField, ParentsFieldMask, PixelFieldMask, PixelFormatFieldMask, ResUnitFieldMask, ResXFieldMask, ResYFieldMask, SideCountFieldMask, SideSizeFieldMask, and WidthFieldMask.
00491 { 00492 UInt32 returnValue = Inherited::getBinSize(whichField); 00493 00494 if(FieldBits::NoField != (ParentsFieldMask & whichField)) 00495 { 00496 returnValue += _mfParents.getBinSize(); 00497 } 00498 00499 if(FieldBits::NoField != (DimensionFieldMask & whichField)) 00500 { 00501 returnValue += _sfDimension.getBinSize(); 00502 } 00503 00504 if(FieldBits::NoField != (WidthFieldMask & whichField)) 00505 { 00506 returnValue += _sfWidth.getBinSize(); 00507 } 00508 00509 if(FieldBits::NoField != (HeightFieldMask & whichField)) 00510 { 00511 returnValue += _sfHeight.getBinSize(); 00512 } 00513 00514 if(FieldBits::NoField != (DepthFieldMask & whichField)) 00515 { 00516 returnValue += _sfDepth.getBinSize(); 00517 } 00518 00519 if(FieldBits::NoField != (BppFieldMask & whichField)) 00520 { 00521 returnValue += _sfBpp.getBinSize(); 00522 } 00523 00524 if(FieldBits::NoField != (MipMapCountFieldMask & whichField)) 00525 { 00526 returnValue += _sfMipMapCount.getBinSize(); 00527 } 00528 00529 if(FieldBits::NoField != (FrameCountFieldMask & whichField)) 00530 { 00531 returnValue += _sfFrameCount.getBinSize(); 00532 } 00533 00534 if(FieldBits::NoField != (FrameDelayFieldMask & whichField)) 00535 { 00536 returnValue += _sfFrameDelay.getBinSize(); 00537 } 00538 00539 if(FieldBits::NoField != (PixelFormatFieldMask & whichField)) 00540 { 00541 returnValue += _sfPixelFormat.getBinSize(); 00542 } 00543 00544 if(FieldBits::NoField != (PixelFieldMask & whichField)) 00545 { 00546 returnValue += _mfPixel.getBinSize(); 00547 } 00548 00549 if(FieldBits::NoField != (FrameSizeFieldMask & whichField)) 00550 { 00551 returnValue += _sfFrameSize.getBinSize(); 00552 } 00553 00554 if(FieldBits::NoField != (NameFieldMask & whichField)) 00555 { 00556 returnValue += _sfName.getBinSize(); 00557 } 00558 00559 if(FieldBits::NoField != (DataTypeFieldMask & whichField)) 00560 { 00561 returnValue += _sfDataType.getBinSize(); 00562 } 00563 00564 if(FieldBits::NoField != (ComponentSizeFieldMask & whichField)) 00565 { 00566 returnValue += _sfComponentSize.getBinSize(); 00567 } 00568 00569 if(FieldBits::NoField != (SideCountFieldMask & whichField)) 00570 { 00571 returnValue += _sfSideCount.getBinSize(); 00572 } 00573 00574 if(FieldBits::NoField != (SideSizeFieldMask & whichField)) 00575 { 00576 returnValue += _sfSideSize.getBinSize(); 00577 } 00578 00579 if(FieldBits::NoField != (ForceCompressedDataFieldMask & whichField)) 00580 { 00581 returnValue += _sfForceCompressedData.getBinSize(); 00582 } 00583 00584 if(FieldBits::NoField != (ForceAlphaChannelFieldMask & whichField)) 00585 { 00586 returnValue += _sfForceAlphaChannel.getBinSize(); 00587 } 00588 00589 if(FieldBits::NoField != (ForceColorChannelFieldMask & whichField)) 00590 { 00591 returnValue += _sfForceColorChannel.getBinSize(); 00592 } 00593 00594 if(FieldBits::NoField != (ForceAlphaBinaryFieldMask & whichField)) 00595 { 00596 returnValue += _sfForceAlphaBinary.getBinSize(); 00597 } 00598 00599 if(FieldBits::NoField != (ResXFieldMask & whichField)) 00600 { 00601 returnValue += _sfResX.getBinSize(); 00602 } 00603 00604 if(FieldBits::NoField != (ResYFieldMask & whichField)) 00605 { 00606 returnValue += _sfResY.getBinSize(); 00607 } 00608 00609 if(FieldBits::NoField != (ResUnitFieldMask & whichField)) 00610 { 00611 returnValue += _sfResUnit.getBinSize(); 00612 } 00613 00614 00615 return returnValue; 00616 }
| void osg::ImageBase::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual] |
Reimplemented from osg::AttachmentContainer.
Definition at line 618 of file OSGImageBase.cpp.
References _mfParents, _mfPixel, _sfBpp, _sfComponentSize, _sfDataType, _sfDepth, _sfDimension, _sfForceAlphaBinary, _sfForceAlphaChannel, _sfForceColorChannel, _sfForceCompressedData, _sfFrameCount, _sfFrameDelay, _sfFrameSize, _sfHeight, _sfMipMapCount, _sfName, _sfPixelFormat, _sfResUnit, _sfResX, _sfResY, _sfSideCount, _sfSideSize, _sfWidth, BppFieldMask, ComponentSizeFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::AttachmentContainer::copyToBin(), DataTypeFieldMask, DepthFieldMask, DimensionFieldMask, ForceAlphaBinaryFieldMask, ForceAlphaChannelFieldMask, ForceColorChannelFieldMask, ForceCompressedDataFieldMask, FrameCountFieldMask, FrameDelayFieldMask, FrameSizeFieldMask, HeightFieldMask, MipMapCountFieldMask, NameFieldMask, osg::FieldBits::NoField, ParentsFieldMask, PixelFieldMask, PixelFormatFieldMask, ResUnitFieldMask, ResXFieldMask, ResYFieldMask, SideCountFieldMask, SideSizeFieldMask, and WidthFieldMask.
00620 { 00621 Inherited::copyToBin(pMem, whichField); 00622 00623 if(FieldBits::NoField != (ParentsFieldMask & whichField)) 00624 { 00625 _mfParents.copyToBin(pMem); 00626 } 00627 00628 if(FieldBits::NoField != (DimensionFieldMask & whichField)) 00629 { 00630 _sfDimension.copyToBin(pMem); 00631 } 00632 00633 if(FieldBits::NoField != (WidthFieldMask & whichField)) 00634 { 00635 _sfWidth.copyToBin(pMem); 00636 } 00637 00638 if(FieldBits::NoField != (HeightFieldMask & whichField)) 00639 { 00640 _sfHeight.copyToBin(pMem); 00641 } 00642 00643 if(FieldBits::NoField != (DepthFieldMask & whichField)) 00644 { 00645 _sfDepth.copyToBin(pMem); 00646 } 00647 00648 if(FieldBits::NoField != (BppFieldMask & whichField)) 00649 { 00650 _sfBpp.copyToBin(pMem); 00651 } 00652 00653 if(FieldBits::NoField != (MipMapCountFieldMask & whichField)) 00654 { 00655 _sfMipMapCount.copyToBin(pMem); 00656 } 00657 00658 if(FieldBits::NoField != (FrameCountFieldMask & whichField)) 00659 { 00660 _sfFrameCount.copyToBin(pMem); 00661 } 00662 00663 if(FieldBits::NoField != (FrameDelayFieldMask & whichField)) 00664 { 00665 _sfFrameDelay.copyToBin(pMem); 00666 } 00667 00668 if(FieldBits::NoField != (PixelFormatFieldMask & whichField)) 00669 { 00670 _sfPixelFormat.copyToBin(pMem); 00671 } 00672 00673 if(FieldBits::NoField != (PixelFieldMask & whichField)) 00674 { 00675 _mfPixel.copyToBin(pMem); 00676 } 00677 00678 if(FieldBits::NoField != (FrameSizeFieldMask & whichField)) 00679 { 00680 _sfFrameSize.copyToBin(pMem); 00681 } 00682 00683 if(FieldBits::NoField != (NameFieldMask & whichField)) 00684 { 00685 _sfName.copyToBin(pMem); 00686 } 00687 00688 if(FieldBits::NoField != (DataTypeFieldMask & whichField)) 00689 { 00690 _sfDataType.copyToBin(pMem); 00691 } 00692 00693 if(FieldBits::NoField != (ComponentSizeFieldMask & whichField)) 00694 { 00695 _sfComponentSize.copyToBin(pMem); 00696 } 00697 00698 if(FieldBits::NoField != (SideCountFieldMask & whichField)) 00699 { 00700 _sfSideCount.copyToBin(pMem); 00701 } 00702 00703 if(FieldBits::NoField != (SideSizeFieldMask & whichField)) 00704 { 00705 _sfSideSize.copyToBin(pMem); 00706 } 00707 00708 if(FieldBits::NoField != (ForceCompressedDataFieldMask & whichField)) 00709 { 00710 _sfForceCompressedData.copyToBin(pMem); 00711 } 00712 00713 if(FieldBits::NoField != (ForceAlphaChannelFieldMask & whichField)) 00714 { 00715 _sfForceAlphaChannel.copyToBin(pMem); 00716 } 00717 00718 if(FieldBits::NoField != (ForceColorChannelFieldMask & whichField)) 00719 { 00720 _sfForceColorChannel.copyToBin(pMem); 00721 } 00722 00723 if(FieldBits::NoField != (ForceAlphaBinaryFieldMask & whichField)) 00724 { 00725 _sfForceAlphaBinary.copyToBin(pMem); 00726 } 00727 00728 if(FieldBits::NoField != (ResXFieldMask & whichField)) 00729 { 00730 _sfResX.copyToBin(pMem); 00731 } 00732 00733 if(FieldBits::NoField != (ResYFieldMask & whichField)) 00734 { 00735 _sfResY.copyToBin(pMem); 00736 } 00737 00738 if(FieldBits::NoField != (ResUnitFieldMask & whichField)) 00739 { 00740 _sfResUnit.copyToBin(pMem); 00741 } 00742 00743 00744 }
| void osg::ImageBase::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual] |
Reimplemented from osg::AttachmentContainer.
Definition at line 746 of file OSGImageBase.cpp.
References _mfParents, _mfPixel, _sfBpp, _sfComponentSize, _sfDataType, _sfDepth, _sfDimension, _sfForceAlphaBinary, _sfForceAlphaChannel, _sfForceColorChannel, _sfForceCompressedData, _sfFrameCount, _sfFrameDelay, _sfFrameSize, _sfHeight, _sfMipMapCount, _sfName, _sfPixelFormat, _sfResUnit, _sfResX, _sfResY, _sfSideCount, _sfSideSize, _sfWidth, BppFieldMask, ComponentSizeFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::AttachmentContainer::copyFromBin(), DataTypeFieldMask, DepthFieldMask, DimensionFieldMask, ForceAlphaBinaryFieldMask, ForceAlphaChannelFieldMask, ForceColorChannelFieldMask, ForceCompressedDataFieldMask, FrameCountFieldMask, FrameDelayFieldMask, FrameSizeFieldMask, HeightFieldMask, MipMapCountFieldMask, NameFieldMask, osg::FieldBits::NoField, ParentsFieldMask, PixelFieldMask, PixelFormatFieldMask, ResUnitFieldMask, ResXFieldMask, ResYFieldMask, SideCountFieldMask, SideSizeFieldMask, and WidthFieldMask.
00748 { 00749 Inherited::copyFromBin(pMem, whichField); 00750 00751 if(FieldBits::NoField != (ParentsFieldMask & whichField)) 00752 { 00753 _mfParents.copyFromBin(pMem); 00754 } 00755 00756 if(FieldBits::NoField != (DimensionFieldMask & whichField)) 00757 { 00758 _sfDimension.copyFromBin(pMem); 00759 } 00760 00761 if(FieldBits::NoField != (WidthFieldMask & whichField)) 00762 { 00763 _sfWidth.copyFromBin(pMem); 00764 } 00765 00766 if(FieldBits::NoField != (HeightFieldMask & whichField)) 00767 { 00768 _sfHeight.copyFromBin(pMem); 00769 } 00770 00771 if(FieldBits::NoField != (DepthFieldMask & whichField)) 00772 { 00773 _sfDepth.copyFromBin(pMem); 00774 } 00775 00776 if(FieldBits::NoField != (BppFieldMask & whichField)) 00777 { 00778 _sfBpp.copyFromBin(pMem); 00779 } 00780 00781 if(FieldBits::NoField != (MipMapCountFieldMask & whichField)) 00782 { 00783 _sfMipMapCount.copyFromBin(pMem); 00784 } 00785 00786 if(FieldBits::NoField != (FrameCountFieldMask & whichField)) 00787 { 00788 _sfFrameCount.copyFromBin(pMem); 00789 } 00790 00791 if(FieldBits::NoField != (FrameDelayFieldMask & whichField)) 00792 { 00793 _sfFrameDelay.copyFromBin(pMem); 00794 } 00795 00796 if(FieldBits::NoField != (PixelFormatFieldMask & whichField)) 00797 { 00798 _sfPixelFormat.copyFromBin(pMem); 00799 } 00800 00801 if(FieldBits::NoField != (PixelFieldMask & whichField)) 00802 { 00803 _mfPixel.copyFromBin(pMem); 00804 } 00805 00806 if(FieldBits::NoField != (FrameSizeFieldMask & whichField)) 00807 { 00808 _sfFrameSize.copyFromBin(pMem); 00809 } 00810 00811 if(FieldBits::NoField != (NameFieldMask & whichField)) 00812 { 00813 _sfName.copyFromBin(pMem); 00814 } 00815 00816 if(FieldBits::NoField != (DataTypeFieldMask & whichField)) 00817 { 00818 _sfDataType.copyFromBin(pMem); 00819 } 00820 00821 if(FieldBits::NoField != (ComponentSizeFieldMask & whichField)) 00822 { 00823 _sfComponentSize.copyFromBin(pMem); 00824 } 00825 00826 if(FieldBits::NoField != (SideCountFieldMask & whichField)) 00827 { 00828 _sfSideCount.copyFromBin(pMem); 00829 } 00830 00831 if(FieldBits::NoField != (SideSizeFieldMask & whichField)) 00832 { 00833 _sfSideSize.copyFromBin(pMem); 00834 } 00835 00836 if(FieldBits::NoField != (ForceCompressedDataFieldMask & whichField)) 00837 { 00838 _sfForceCompressedData.copyFromBin(pMem); 00839 } 00840 00841 if(FieldBits::NoField != (ForceAlphaChannelFieldMask & whichField)) 00842 { 00843 _sfForceAlphaChannel.copyFromBin(pMem); 00844 } 00845 00846 if(FieldBits::NoField != (ForceColorChannelFieldMask & whichField)) 00847 { 00848 _sfForceColorChannel.copyFromBin(pMem); 00849 } 00850 00851 if(FieldBits::NoField != (ForceAlphaBinaryFieldMask & whichField)) 00852 { 00853 _sfForceAlphaBinary.copyFromBin(pMem); 00854 } 00855 00856 if(FieldBits::NoField != (ResXFieldMask & whichField)) 00857 { 00858 _sfResX.copyFromBin(pMem); 00859 } 00860 00861 if(FieldBits::NoField != (ResYFieldMask & whichField)) 00862 { 00863 _sfResY.copyFromBin(pMem); 00864 } 00865 00866 if(FieldBits::NoField != (ResUnitFieldMask & whichField)) 00867 { 00868 _sfResUnit.copyFromBin(pMem); 00869 } 00870 00871 00872 }
| ImagePtr osg::ImageBase::create | ( | void | ) | [inline, static] |
Definition at line 72 of file OSGImageBase.inl.
References osg::AttachmentContainerPtr::dcast(), getClassType(), osg::NullFC, and shallowCopy().
Referenced by osg::ScanParseSkel::beginImage(), osg::VRMLPixelTextureDesc::beginNode(), osg::BrickSet::buildBrickTextures(), osg::DVRVolumeTexture::changed(), osg::Image::convertDataTypeTo(), osg::DisplayCalibration::createCMViewports(), osg::createComposedImage(), osg::ColorDisplayFilter::createFilter(), osg::DVRIsoShader::createGradientImage(), osg::Image::createMipmap(), osg::createNormalMapFromBump(), osg::createNormalVolume(), osg::createPhongTexture(), osg::DisplayFilterForeground::DisplayFilterGroup::DisplayFilterGroup(), osg::FileGrabForeground::draw(), osg::DVRSimpleLUTShader::initDependentTexture(), osg::TextPixmapFace::makeImage(), osg::mergeRGBA(), osg::FresnelMaterial::prepareLocalChunks(), osg::TextTXFFace::prepareTexture(), osg::ImageFileHandler::read(), osg::Image::reformat(), osg::setTestCubeImages(), osg::Image::slice(), osg::splitRGBA(), osg::Image::subImage(), and osg::SimpleSceneManager::useOpenSGLogo().
00073 { 00074 ImagePtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = ImagePtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 }
| ImagePtr osg::ImageBase::createEmpty | ( | void | ) | [inline, static] |
Definition at line 87 of file OSGImageBase.inl.
References osg::FieldContainer::newPtr().
00088 { 00089 ImagePtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 }
| FieldContainerPtr osg::ImageBase::shallowCopy | ( | void | ) | const [virtual] |
Implements osg::FieldContainer.
Definition at line 371 of file OSGImageBase.cpp.
References osg::FieldContainer::newPtr().
Referenced by create().
00372 { 00373 ImagePtr returnValue; 00374 00375 newPtr(returnValue, dynamic_cast<const Image *>(this)); 00376 00377 return returnValue; 00378 }
| SFInt32 * osg::ImageBase::getSFComponentSize | ( | void | ) | [inline, protected] |
Definition at line 199 of file OSGImageBase.inl.
References _sfComponentSize.
00200 { 00201 return &_sfComponentSize; 00202 }
| Int32 & osg::ImageBase::getComponentSize | ( | void | ) | [inline, protected] |
Definition at line 522 of file OSGImageBase.inl.
References _sfComponentSize, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Image::calcIsAlphaBinary(), osg::Image::clearFloat(), osg::Image::clearHalf(), osg::Image::convertDataTypeTo(), osg::Image::createMipmap(), osg::Image::reformat(), and osg::Image::swapDataEndian().
00523 { 00524 return _sfComponentSize.getValue(); 00525 }
| const Int32 & osg::ImageBase::getComponentSize | ( | void | ) | const [inline, protected] |
Definition at line 529 of file OSGImageBase.inl.
References _sfComponentSize, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00530 { 00531 return _sfComponentSize.getValue(); 00532 }
| void osg::ImageBase::setComponentSize | ( | const Int32 & | value | ) | [inline, protected] |
Definition at line 536 of file OSGImageBase.inl.
References _sfComponentSize, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Image::changed(), and osg::Image::createData().
00537 { 00538 _sfComponentSize.setValue(value); 00539 }
| void osg::ImageBase::executeSyncImpl | ( | ImageBase * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected] |
Definition at line 875 of file OSGImageBase.cpp.
References _mfParents, _mfPixel, _sfBpp, _sfComponentSize, _sfDataType, _sfDepth, _sfDimension, _sfForceAlphaBinary, _sfForceAlphaChannel, _sfForceColorChannel, _sfForceCompressedData, _sfFrameCount, _sfFrameDelay, _sfFrameSize, _sfHeight, _sfMipMapCount, _sfName, _sfPixelFormat, _sfResUnit, _sfResX, _sfResY, _sfSideCount, _sfSideSize, _sfWidth, BppFieldMask, ComponentSizeFieldMask, DataTypeFieldMask, DepthFieldMask, DimensionFieldMask, osg::AttachmentContainer::executeSyncImpl(), ForceAlphaBinaryFieldMask, ForceAlphaChannelFieldMask, ForceColorChannelFieldMask, ForceCompressedDataFieldMask, FrameCountFieldMask, FrameDelayFieldMask, FrameSizeFieldMask, HeightFieldMask, MipMapCountFieldMask, NameFieldMask, osg::FieldBits::NoField, ParentsFieldMask, PixelFieldMask, PixelFormatFieldMask, ResUnitFieldMask, ResXFieldMask, ResYFieldMask, SideCountFieldMask, SideSizeFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), and WidthFieldMask.
Referenced by executeSync().
00877 { 00878 00879 Inherited::executeSyncImpl(pOther, whichField); 00880 00881 if(FieldBits::NoField != (ParentsFieldMask & whichField)) 00882 _mfParents.syncWith(pOther->_mfParents); 00883 00884 if(FieldBits::NoField != (DimensionFieldMask & whichField)) 00885 _sfDimension.syncWith(pOther->_sfDimension); 00886 00887 if(FieldBits::NoField != (WidthFieldMask & whichField)) 00888 _sfWidth.syncWith(pOther->_sfWidth); 00889 00890 if(FieldBits::NoField != (HeightFieldMask & whichField)) 00891 _sfHeight.syncWith(pOther->_sfHeight); 00892 00893 if(FieldBits::NoField != (DepthFieldMask & whichField)) 00894 _sfDepth.syncWith(pOther->_sfDepth); 00895 00896 if(FieldBits::NoField != (BppFieldMask & whichField)) 00897 _sfBpp.syncWith(pOther->_sfBpp); 00898 00899 if(FieldBits::NoField != (MipMapCountFieldMask & whichField)) 00900 _sfMipMapCount.syncWith(pOther->_sfMipMapCount); 00901 00902 if(FieldBits::NoField != (FrameCountFieldMask & whichField)) 00903 _sfFrameCount.syncWith(pOther->_sfFrameCount); 00904 00905 if(FieldBits::NoField != (FrameDelayFieldMask & whichField)) 00906 _sfFrameDelay.syncWith(pOther->_sfFrameDelay); 00907 00908 if(FieldBits::NoField != (PixelFormatFieldMask & whichField)) 00909 _sfPixelFormat.syncWith(pOther->_sfPixelFormat); 00910 00911 if(FieldBits::NoField != (PixelFieldMask & whichField)) 00912 _mfPixel.syncWith(pOther->_mfPixel); 00913 00914 if(FieldBits::NoField != (FrameSizeFieldMask & whichField)) 00915 _sfFrameSize.syncWith(pOther->_sfFrameSize); 00916 00917 if(FieldBits::NoField != (NameFieldMask & whichField)) 00918 _sfName.syncWith(pOther->_sfName); 00919 00920 if(FieldBits::NoField != (DataTypeFieldMask & whichField)) 00921 _sfDataType.syncWith(pOther->_sfDataType); 00922 00923 if(FieldBits::NoField != (ComponentSizeFieldMask & whichField)) 00924 _sfComponentSize.syncWith(pOther->_sfComponentSize); 00925 00926 if(FieldBits::NoField != (SideCountFieldMask & whichField)) 00927 _sfSideCount.syncWith(pOther->_sfSideCount); 00928 00929 if(FieldBits::NoField != (SideSizeFieldMask & whichField)) 00930 _sfSideSize.syncWith(pOther->_sfSideSize); 00931 00932 if(FieldBits::NoField != (ForceCompressedDataFieldMask & whichField)) 00933 _sfForceCompressedData.syncWith(pOther->_sfForceCompressedData); 00934 00935 if(FieldBits::NoField != (ForceAlphaChannelFieldMask & whichField)) 00936 _sfForceAlphaChannel.syncWith(pOther->_sfForceAlphaChannel); 00937 00938 if(FieldBits::NoField != (ForceColorChannelFieldMask & whichField)) 00939 _sfForceColorChannel.syncWith(pOther->_sfForceColorChannel); 00940 00941 if(FieldBits::NoField != (ForceAlphaBinaryFieldMask & whichField)) 00942 _sfForceAlphaBinary.syncWith(pOther->_sfForceAlphaBinary); 00943 00944 if(FieldBits::NoField != (ResXFieldMask & whichField)) 00945 _sfResX.syncWith(pOther->_sfResX); 00946 00947 if(FieldBits::NoField != (ResYFieldMask & whichField)) 00948 _sfResY.syncWith(pOther->_sfResY); 00949 00950 if(FieldBits::NoField != (ResUnitFieldMask & whichField)) 00951 _sfResUnit.syncWith(pOther->_sfResUnit); 00952 00953 00954 }
| void osg::ImageBase::executeSync | ( | FieldContainer & | other, | |
| const BitVector & | whichField | |||
| ) | [protected, virtual] |
Reimplemented from osg::AttachmentContainer.
Definition at line 387 of file OSGImageBase.cpp.
References executeSyncImpl().
00389 { 00390 this->executeSyncImpl((ImageBase *) &other, whichField); 00391 }
| void osg::ImageBase::operator= | ( | const ImageBase & | source | ) | [private] |
| void AttachmentContainer::addAttachment | ( | const AttachmentPtr & | fieldContainerP, | |
| UInt16 | binding = 0 | |||
| ) | [inherited] |
Definition at line 84 of file OSGAttachmentContainer.cpp.
References osg::addRefCP(), osg::beginEditCP(), osg::endEditCP(), osg::NullFC, and osg::subRefCP().
Referenced by osg::AttachmentContainer::AttachmentContainer(), osg::Node::onCreate(), and osg::Image::setAttachmentField().
00086 { 00087 UInt32 key; 00088 00089 if(fieldContainerP == NullFC) 00090 return; 00091 00092 key = (UInt32 (fieldContainerP->getGroupId()) << 16) | binding; 00093 00094 addRefCP(fieldContainerP); 00095 00096 beginEditCP(fieldContainerP, Attachment::ParentsFieldMask); 00097 { 00098 fieldContainerP->addParent(getPtr()); 00099 } 00100 endEditCP (fieldContainerP, Attachment::ParentsFieldMask); 00101 00102 AttachmentMap::iterator fcI = _attachmentMap.getValue().find(key); 00103 00104 if(fcI != _attachmentMap.getValue().end()) 00105 { 00106 beginEditCP((*fcI).second, Attachment::ParentsFieldMask); 00107 { 00108 (*fcI).second->subParent(getPtr()); 00109 } 00110 endEditCP ((*fcI).second, Attachment::ParentsFieldMask); 00111 00112 subRefCP((*fcI).second); 00113 00114 (*fcI).second = fieldContainerP; 00115 } 00116 else 00117 { 00118 _attachmentMap.getValue()[key] = fieldContainerP; 00119 } 00120 }
| void AttachmentContainer::subAttachment | ( | const AttachmentPtr & | fieldContainerP, | |
| UInt16 | binding = 0 | |||
| ) | [inherited] |
Definition at line 122 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::beginEditCP(), osg::endEditCP(), osg::AttachmentContainer::getPtr(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), osg::NullFC, osg::Attachment::ParentsFieldMask, and osg::subRefCP().
00124 { 00125 UInt32 key; 00126 00127 AttachmentMap::iterator fcI; 00128 00129 if(fieldContainerP == NullFC) 00130 return; 00131 00132 key = (UInt32(fieldContainerP->getGroupId()) << 16) | binding; 00133 00134 fcI = _attachmentMap.getValue().find(key); 00135 00136 if(fcI != _attachmentMap.getValue().end()) 00137 { 00138 beginEditCP(fieldContainerP, Attachment::ParentsFieldMask); 00139 { 00140 (*fcI).second->subParent(getPtr()); 00141 } 00142 endEditCP (fieldContainerP, Attachment::ParentsFieldMask); 00143 00144 subRefCP((*fcI).second); 00145 00146 _attachmentMap.getValue().erase(fcI); 00147 } 00148 }
| AttachmentPtr AttachmentContainer::findAttachment | ( | UInt32 | groupId, | |
| UInt16 | binding = 0 | |||
| ) | [inherited] |
Definition at line 150 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::SField< FieldTypeT, fieldNameSpace >::getValue(), and osg::NullFC.
Referenced by osg::Image::findAttachmentField(), and osg::Image::setAttachmentField().
00152 { 00153 UInt32 key = (UInt32(groupId) << 16) | binding; 00154 00155 AttachmentMap::iterator fcI = _attachmentMap.getValue().find(key); 00156 00157 if(fcI == _attachmentMap.getValue().end()) 00158 { 00159 return NullFC; 00160 } 00161 else 00162 { 00163 return (*fcI).second; 00164 } 00165 }
| AttachmentPtr osg::AttachmentContainer::findAttachment | ( | const FieldContainerType & | type, | |
| UInt16 | binding = 0 | |||
| ) | [inline, inherited] |
Definition at line 57 of file OSGAttachmentContainerImpl.inl.
00060 { 00061 return findAttachment(type.getGroupId(), binding); 00062 }
| SFAttachmentMap * AttachmentContainer::getSFAttachments | ( | void | ) | [inherited] |
Field Access
Definition at line 170 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap.
00171 { 00172 return &_attachmentMap; 00173 }
Reimplemented from osg::FieldContainer.
Reimplemented in osg::ClusterWindow, osg::DisplayCalibration, osg::ImageComposer, osg::MultiDisplayWindow, osg::SortFirstWindow, osg::Node, osg::Image, osg::ChunkMaterial, osg::FresnelMaterial, osg::Material, osg::MultiPassMaterial, osg::PhongMaterial, osg::SimpleMaterial, osg::SimpleTexturedMaterial, osg::SwitchMaterial, osg::Drawable, osg::MaterialDrawable, osg::Geometry, osg::Slices, osg::Particles, osg::DVRAppearance, osg::DVRGeometry, osg::DVRVolume, osg::Surface, osg::Group, osg::DirectionalLight, osg::Light, osg::LightEnv, osg::PointLight, osg::SpotLight, osg::Billboard, osg::ClipPlane, osg::ComponentTransform, osg::DistanceLOD, osg::Inline, osg::InverseTransform, osg::MaterialGroup, osg::MaterialPool, osg::ProxyGroup, osg::ScreenGroup, osg::StateSortingGroup, osg::Switch, osg::Transform, osg::GraphicStatisticsForeground, osg::SimpleStatisticsForeground, osg::StatisticsForeground, osg::Background, osg::Camera, osg::CameraDecorator, osg::ColorBufferViewport, osg::ColorDisplayFilter, osg::DepthClearBackground, osg::DisplayFilter, osg::DisplayFilterForeground, osg::DistortionDisplayFilter, osg::FBOViewport, osg::FileGrabForeground, osg::Foreground, osg::GrabForeground, osg::GradientBackground, osg::ImageBackground, osg::ImageForeground, osg::MatrixCamera, osg::MatrixCameraDecorator, osg::OffCenterPerspectiveCamera, osg::OrthographicCamera, osg::PassiveBackground, osg::PassiveViewport, osg::PassiveWindow, osg::PerspectiveCamera, osg::PolygonBackground, osg::PolygonForeground, osg::ProjectionCameraDecorator, osg::ResolutionDisplayFilter, osg::ShearedStereoCameraDecorator, osg::SkyBackground, osg::SolidBackground, osg::StereoBufferViewport, osg::StereoCameraDecorator, osg::TextureBackground, osg::TextureGrabBackground, osg::TextureGrabForeground, osg::TileCameraDecorator, osg::Viewport, osg::Window, osg::ShaderParameter, osg::ShaderParameterBool, osg::ShaderParameterInt, osg::ShaderParameterMatrix, osg::ShaderParameterMInt, osg::ShaderParameterMMatrix, osg::ShaderParameterMReal, osg::ShaderParameterMVec2f, osg::ShaderParameterMVec3f, osg::ShaderParameterMVec4f, osg::ShaderParameterReal, osg::ShaderParameterString, osg::ShaderParameterVec2f, osg::ShaderParameterVec3f, osg::ShaderParameterVec4f, osg::XWindow, and osg::QTWindow.
Definition at line 178 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::ChangedOrigin::Abstract, osg::ChangedOrigin::AbstrIncRefCount, osg::addRefCP(), osg::AttachmentContainer::AttachmentsFieldMask, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Window::changed(), osg::Viewport::changed(), osg::StateSortingGroup::changed(), osg::ShaderParameter::changed(), osg::Node::changed(), osg::Material::changed(), osg::LightEnv::changed(), osg::Inline::changed(), osg::ImageComposer::changed(), osg::Image::changed(), osg::Group::changed(), osg::Foreground::changed(), osg::DVRVolume::changed(), osg::Drawable::changed(), osg::DisplayFilter::changed(), osg::DisplayCalibration::changed(), osg::Camera::changed(), and osg::Background::changed().
00180 { 00181 if(whichField & AttachmentsFieldMask) 00182 { 00183 if(origin & ChangedOrigin::Abstract) 00184 { 00185 if(origin & ChangedOrigin::AbstrIncRefCount) 00186 { 00187 AttachmentMap::iterator attIt = 00188 _attachmentMap.getValue().begin(); 00189 AttachmentMap::iterator attEnd = 00190 _attachmentMap.getValue().end(); 00191 00192 while(attIt != attEnd) 00193 { 00194 addRefCP((*attIt).second); 00195 00196 ++attIt; 00197 } 00198 } 00199 } 00200 } 00201 }
| void AttachmentContainer::dump | ( | UInt32 | uiIndent = 0, |
|
| const BitVector | bvFlags = 0 | |||
| ) | const [virtual, inherited] |
Implements osg::FieldContainer.
Reimplemented in osg::ClusterWindow, osg::DisplayCalibration, osg::ImageComposer, osg::MultiDisplayWindow, osg::SortFirstWindow, osg::NodeCore, osg::Node, osg::Image, osg::ChunkMaterial, osg::FresnelMaterial, osg::Material, osg::MultiPassMaterial, osg::PhongMaterial, osg::SimpleMaterial, osg::SimpleTexturedMaterial, osg::SwitchMaterial, osg::Drawable, osg::MaterialDrawable, osg::Geometry, osg::Slices, osg::Particles, osg::DVRAppearance, osg::DVRGeometry, osg::DVRVolume, osg::Surface, osg::Group, osg::DirectionalLight, osg::Light, osg::LightEnv, osg::PointLight, osg::SpotLight, osg::Billboard, osg::ClipPlane, osg::ComponentTransform, osg::DistanceLOD, osg::Inline, osg::InverseTransform, osg::MaterialGroup, osg::MaterialPool, osg::ProxyGroup, osg::ScreenGroup, osg::StateSortingGroup, osg::Switch, osg::Transform, osg::GraphicStatisticsForeground, osg::SimpleStatisticsForeground, osg::StatisticsForeground, osg::Background, osg::Camera, osg::CameraDecorator, osg::ColorBufferViewport, osg::ColorDisplayFilter, osg::DepthClearBackground, osg::DisplayFilter, osg::DisplayFilterForeground, osg::DistortionDisplayFilter, osg::FBOViewport, osg::FileGrabForeground, osg::Foreground, osg::GrabForeground, osg::GradientBackground, osg::ImageBackground, osg::ImageForeground, osg::MatrixCamera, osg::MatrixCameraDecorator, osg::OffCenterPerspectiveCamera, osg::OrthographicCamera, osg::PassiveBackground, osg::PassiveViewport, osg::PassiveWindow, osg::PerspectiveCamera, osg::PolygonBackground, osg::PolygonForeground, osg::ProjectionCameraDecorator, osg::ResolutionDisplayFilter, osg::ShearedStereoCameraDecorator, osg::SkyBackground, osg::SolidBackground, osg::StereoBufferViewport, osg::StereoCameraDecorator, osg::TextureBackground, osg::TextureGrabBackground, osg::TextureGrabForeground, osg::TileCameraDecorator, osg::Viewport, osg::Window, osg::ShaderParameter, osg::ShaderParameterBool, osg::ShaderParameterInt, osg::ShaderParameterMatrix, osg::ShaderParameterMInt, osg::ShaderParameterMMatrix, osg::ShaderParameterMReal, osg::ShaderParameterMVec2f, osg::ShaderParameterMVec3f, osg::ShaderParameterMVec4f, osg::ShaderParameterReal, osg::ShaderParameterString, osg::ShaderParameterVec2f, osg::ShaderParameterVec3f, osg::ShaderParameterVec4f, osg::XWindow, and osg::QTWindow.
Definition at line 239 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::NodeCore::dump(), osg::Node::dump(), and osg::Geometry::dump().
00241 { 00242 AttachmentMap::const_iterator fcI; 00243 00244 fcI = _attachmentMap.getValue().begin(); 00245 00246 while(fcI != _attachmentMap.getValue().end()) 00247 { 00248 (*fcI).second->dump(uiIndent + 4, bvFlags); 00249 ++fcI; 00250 } 00251 }
| void AttachmentContainer::executeSyncImpl | ( | AttachmentContainer * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Definition at line 316 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::AttachmentContainer::AttachmentsFieldMask, osg::FieldContainer::executeSyncImpl(), osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().
Referenced by osg::AttachmentContainer::executeSync(), osg::WindowBase::executeSyncImpl(), osg::ViewportBase::executeSyncImpl(), osg::ShaderParameterBase::executeSyncImpl(), osg::Node::executeSyncImpl(), osg::NodeCore::executeSyncImpl(), osg::MaterialBase::executeSyncImpl(), osg::ImageComposerBase::executeSyncImpl(), executeSyncImpl(), osg::ForegroundBase::executeSyncImpl(), osg::DisplayFilterBase::executeSyncImpl(), osg::DisplayCalibrationBase::executeSyncImpl(), osg::CameraBase::executeSyncImpl(), and osg::BackgroundBase::executeSyncImpl().
00319 { 00320 Inherited::executeSyncImpl(pOther, whichField); 00321 00322 if (FieldBits::NoField != (AttachmentsFieldMask & whichField)) 00323 { 00324 _attachmentMap.syncWith(pOther->_attachmentMap); 00325 } 00326 }
| void osg::FieldContainer::executeSyncImpl | ( | FieldContainer * | pOther, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, inherited] |
Definition at line 333 of file OSGFieldContainerImpl.inl.
Referenced by osg::StateBase::executeSyncImpl(), osg::DVRShaderBase::executeSyncImpl(), osg::DVRClipGeometryBase::executeSyncImpl(), osg::AttachmentContainer::executeSyncImpl(), and osg::Attachment::executeSyncImpl().
| AttachmentContainerPtr AttachmentContainer::getPtr | ( | void | ) | [protected, inherited] |
Definition at line 352 of file OSGAttachmentContainer.cpp.
Referenced by osg::FileGrabForeground::draw(), osg::FBOViewport::render(), osg::AttachmentContainer::subAttachment(), and osg::AttachmentContainer::~AttachmentContainer().
00353 { 00354 return AttachmentContainerPtr(*this); 00355 }
| UInt16 osg::FieldContainer::getClassGroupId | ( | void | ) | [inline, static, inherited] |
Definition at line 71 of file OSGFieldContainerImpl.inl.
References osg::FieldContainer::_type, and osg::FieldContainerType::getGroupId().
00072 { 00073 return _type.getGroupId(); 00074 }
| UInt32 osg::FieldContainer::getTypeId | ( | void | ) | const [inline, inherited] |
Definition at line 77 of file OSGFieldContainerImpl.inl.
References osg::TypeBase::getId(), and osg::FieldContainer::getType().
Referenced by osg::TextureChunk::changeFrom(), and osg::CubeTextureChunk::changeFrom().
00078 { 00079 return getType().getId(); 00080 }
| UInt16 osg::FieldContainer::getGroupId | ( | void | ) | const [inline, inherited] |
Definition at line 83 of file OSGFieldContainerImpl.inl.
References osg::FieldContainerType::getGroupId(), and osg::FieldContainer::getType().
Referenced by osg::fcptrAttributeMap(), osg::Image::setAttachmentField(), and osg::stringAttributeMap().
00084 { 00085 return getType().getGroupId(); 00086 }
| const Char8 * osg::FieldContainer::getTypeName | ( | void | ) | const [inline, inherited] |
Definition at line 89 of file OSGFieldContainerImpl.inl.
References osg::TypeBase::getCName(), and osg::FieldContainer::getType().
00090 { 00091 return getType().getCName(); 00092 }
Generic Field Access
Definition at line 95 of file OSGFieldContainerImpl.inl.
References osg::FieldDescription::getField(), osg::FieldContainerType::getFieldDescription(), and osg::FieldContainer::getType().
Referenced by osg::QFCItem::expand(), osg::VRMLShapeDesc::getFieldAndDesc(), osg::QFieldViewBase::getFieldPtr(), osg::QFieldEditorBase::getFieldPtr(), osg::getParentsField(), and osg::QFCItem::setup().
00096 { 00097 const FieldDescription *desc = getType().getFieldDescription(fieldId); 00098 00099 return desc ? desc->getField(*this) : NULL; 00100 }
Generic Field Access
Definition at line 103 of file OSGFieldContainerImpl.inl.
References osg::FieldContainerType::findFieldDescription(), osg::FieldDescription::getField(), and osg::FieldContainer::getType().
00104 { 00105 const FieldDescription *desc =getType().findFieldDescription(fieldName); 00106 00107 return desc ? desc->getField(*this) : NULL; 00108 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result, | |
| const typename ObjectPtrT::StoredObjectType * | prototypeP | |||
| ) | [inline, static, protected, inherited] |
Definition at line 138 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
Referenced by osg::XWindowBase::createEmpty(), osg::WIN32WindowBase::createEmpty(), osg::ViewportBase::createEmpty(), osg::VertexProgramChunkBase::createEmpty(), osg::TwoSidedLightingChunkBase::createEmpty(), osg::TransformChunkBase::createEmpty(), osg::TransformBase::createEmpty(), osg::TileCameraDecoratorBase::createEmpty(), osg::TextureTransformChunkBase::createEmpty(), osg::TextureGrabForegroundBase::createEmpty(), osg::TextureGrabBackgroundBase::createEmpty(), osg::TextureChunkBase::createEmpty(), osg::TextureBackgroundBase::createEmpty(), osg::TexGenChunkBase::createEmpty(), osg::SwitchMaterialBase::createEmpty(), osg::SwitchBase::createEmpty(), osg::SurfaceBase::createEmpty(), osg::StringAttributeMapBase::createEmpty(), osg::StereoBufferViewportBase::createEmpty(), osg::StencilChunkBase::createEmpty(), osg::StateSortingGroupBase::createEmpty(), osg::StateBase::createEmpty(), osg::SpotLightBase::createEmpty(), osg::SortFirstWindowBase::createEmpty(), osg::SolidBackgroundBase::createEmpty(), osg::SlicesBase::createEmpty(), osg::SkyBackgroundBase::createEmpty(), osg::SimpleTexturedMaterialBase::createEmpty(), osg::SimpleStatisticsForegroundBase::createEmpty(), osg::SimpleMaterialBase::createEmpty(), osg::SHLParameterChunkBase::createEmpty(), osg::SHLChunkBase::createEmpty(), osg::ShearedStereoCameraDecoratorBase::createEmpty(), osg::ShaderParameterVec4fBase::createEmpty(), osg::ShaderParameterVec3fBase::createEmpty(), osg::ShaderParameterVec2fBase::createEmpty(), osg::ShaderParameterStringBase::createEmpty(), osg::ShaderParameterRealBase::createEmpty(), osg::ShaderParameterMVec4fBase::createEmpty(), osg::ShaderParameterMVec3fBase::createEmpty(), osg::ShaderParameterMVec2fBase::createEmpty(), osg::ShaderParameterMRealBase::createEmpty(), osg::ShaderParameterMMatrixBase::createEmpty(), osg::ShaderParameterMIntBase::createEmpty(), osg::ShaderParameterMatrixBase::createEmpty(), osg::ShaderParameterIntBase::createEmpty(), osg::ShaderParameterBoolBase::createEmpty(), osg::ScreenGroupBase::createEmpty(), osg::SClipPlaneChunkBase::createEmpty(), osg::ResolutionDisplayFilterBase::createEmpty(), osg::RenderOptionsBase::createEmpty(), osg::RegisterCombinersChunkBase::createEmpty(), osg::QTWindowBase::createEmpty(), osg::ProxyGroupBase::createEmpty(), osg::ProjectionCameraDecoratorBase::createEmpty(), osg::PolygonForegroundBase::createEmpty(), osg::PolygonChunkBase::createEmpty(), osg::PolygonBackgroundBase::createEmpty(), osg::PointLightBase::createEmpty(), osg::PointChunkBase::createEmpty(), osg::PhongMaterialBase::createEmpty(), osg::PerspectiveCameraBase::createEmpty(), osg::PassiveWindowBase::createEmpty(), osg::PassiveViewportBase::createEmpty(), osg::PassiveBackgroundBase::createEmpty(), osg::ParticlesBase::createEmpty(), osg::OrthographicCameraBase::createEmpty(), osg::OffCenterPerspectiveCameraBase::createEmpty(), osg::MultiPassMaterialBase::createEmpty(), osg::MultiDisplayWindowBase::createEmpty(), osg::MatrixCameraDecoratorBase::createEmpty(), osg::MatrixCameraBase::createEmpty(), osg::MaterialPoolBase::createEmpty(), osg::MaterialGroupBase::createEmpty(), osg::MaterialChunkBase::createEmpty(), osg::LogicOpChunkBase::createEmpty(), osg::LineChunkBase::createEmpty(), osg::LightModelChunkBase::createEmpty(), osg::LightEnvBase::createEmpty(), osg::LightChunkBase::createEmpty(), osg::InverseTransformBase::createEmpty(), osg::InlineBase::createEmpty(), osg::ImageForegroundBase::createEmpty(), createEmpty(), osg::ImageBackgroundBase::createEmpty(), osg::GroupBase::createEmpty(), osg::GraphicStatisticsForegroundBase::createEmpty(), osg::GradientBackgroundBase::createEmpty(), osg::GrabForegroundBase::createEmpty(), osg::GLUTWindowBase::createEmpty(), osg::GeometryBase::createEmpty(), osg::FresnelMaterialBase::createEmpty(), osg::FragmentProgramChunkBase::createEmpty(), osg::FileGrabForegroundBase::createEmpty(), osg::FCPtrAttributeMapBase::createEmpty(), osg::FBOViewportBase::createEmpty(), osg::FatBorderChunkBase::createEmpty(), osg::DVRVolumeTextureBase::createEmpty(), osg::DVRVolumeBase::createEmpty(), osg::DVRSimpleShaderBase::createEmpty(), osg::DVRSimpleLUTShaderBase::createEmpty(), osg::DVRMtexLUTShaderBase::createEmpty(), osg::DVRLookupTableBase::createEmpty(), osg::DVRIsoSurfaceBase::createEmpty(), osg::DVRIsoShaderBase::createEmpty(), osg::DVRGeometryBase::createEmpty(), osg::DVRClipObjectsBase::createEmpty(), osg::DVRClipGeometryBase::createEmpty(), osg::DVRAppearanceBase::createEmpty(), osg::DistortionDisplayFilterBase::createEmpty(), osg::DistanceLODBase::createEmpty(), osg::DisplayFilterForegroundBase::createEmpty(), osg::DisplayCalibrationBase::createEmpty(), osg::DirectionalLightBase::createEmpty(), osg::DepthClearBackgroundBase::createEmpty(), osg::DepthChunkBase::createEmpty(), osg::CubeTextureChunkBase::createEmpty(), osg::ComponentTransformBase::createEmpty(), osg::ColorMaskChunkBase::createEmpty(), osg::ColorDisplayFilterBase::createEmpty(), osg::ColorBufferViewportBase::createEmpty(), osg::ClusterWindowBase::createEmpty(), osg::ClipPlaneChunkBase::createEmpty(), osg::ClipPlaneBase::createEmpty(), osg::ChunkMaterialBase::createEmpty(), osg::BlendChunkBase::createEmpty(), osg::BillboardBase::createEmpty(), osg::XWindowBase::shallowCopy(), osg::WIN32WindowBase::shallowCopy(), osg::ViewportBase::shallowCopy(), osg::VertexProgramChunkBase::shallowCopy(), osg::TwoSidedLightingChunkBase::shallowCopy(), osg::TransformChunkBase::shallowCopy(), osg::TransformBase::shallowCopy(), osg::TileCameraDecoratorBase::shallowCopy(), osg::TextureTransformChunkBase::shallowCopy(), osg::TextureGrabForegroundBase::shallowCopy(), osg::TextureGrabBackgroundBase::shallowCopy(), osg::TextureChunkBase::shallowCopy(), osg::TextureBackgroundBase::shallowCopy(), osg::TexGenChunkBase::shallowCopy(), osg::SwitchMaterialBase::shallowCopy(), osg::SwitchBase::shallowCopy(), osg::SurfaceBase::shallowCopy(), osg::StringAttributeMapBase::shallowCopy(), osg::StereoBufferViewportBase::shallowCopy(), osg::StencilChunkBase::shallowCopy(), osg::StateSortingGroupBase::shallowCopy(), osg::StateBase::shallowCopy(), osg::SpotLightBase::shallowCopy(), osg::SortFirstWindowBase::shallowCopy(), osg::SolidBackgroundBase::shallowCopy(), osg::SlicesBase::shallowCopy(), osg::SkyBackgroundBase::shallowCopy(), osg::SimpleTexturedMaterialBase::shallowCopy(), osg::SimpleStatisticsForegroundBase::shallowCopy(), osg::SimpleMaterialBase::shallowCopy(), osg::SHLParameterChunkBase::shallowCopy(), osg::SHLChunkBase::shallowCopy(), osg::ShearedStereoCameraDecoratorBase::shallowCopy(), osg::ShaderParameterVec4fBase::shallowCopy(), osg::ShaderParameterVec3fBase::shallowCopy(), osg::ShaderParameterVec2fBase::shallowCopy(), osg::ShaderParameterStringBase::shallowCopy(), osg::ShaderParameterRealBase::shallowCopy(), osg::ShaderParameterMVec4fBase::shallowCopy(), osg::ShaderParameterMVec3fBase::shallowCopy(), osg::ShaderParameterMVec2fBase::shallowCopy(), osg::ShaderParameterMRealBase::shallowCopy(), osg::ShaderParameterMMatrixBase::shallowCopy(), osg::ShaderParameterMIntBase::shallowCopy(), osg::ShaderParameterMatrixBase::shallowCopy(), osg::ShaderParameterIntBase::shallowCopy(), osg::ShaderParameterBoolBase::shallowCopy(), osg::ScreenGroupBase::shallowCopy(), osg::SClipPlaneChunkBase::shallowCopy(), osg::ResolutionDisplayFilterBase::shallowCopy(), osg::RenderOptionsBase::shallowCopy(), osg::RegisterCombinersChunkBase::shallowCopy(), osg::QTWindowBase::shallowCopy(), osg::ProxyGroupBase::shallowCopy(), osg::ProjectionCameraDecoratorBase::shallowCopy(), osg::PolygonForegroundBase::shallowCopy(), osg::PolygonChunkBase::shallowCopy(), osg::PolygonBackgroundBase::shallowCopy(), osg::PointLightBase::shallowCopy(), osg::PointChunkBase::shallowCopy(), osg::PhongMaterialBase::shallowCopy(), osg::PerspectiveCameraBase::shallowCopy(), osg::PassiveWindowBase::shallowCopy(), osg::PassiveViewportBase::shallowCopy(), osg::PassiveBackgroundBase::shallowCopy(), osg::ParticlesBase::shallowCopy(), osg::OrthographicCameraBase::shallowCopy(), osg::OffCenterPerspectiveCameraBase::shallowCopy(), osg::MultiPassMaterialBase::shallowCopy(), osg::MultiDisplayWindowBase::shallowCopy(), osg::MatrixCameraDecoratorBase::shallowCopy(), osg::MatrixCameraBase::shallowCopy(), osg::MaterialPoolBase::shallowCopy(), osg::MaterialGroupBase::shallowCopy(), osg::MaterialChunkBase::shallowCopy(), osg::LogicOpChunkBase::shallowCopy(), osg::LineChunkBase::shallowCopy(), osg::LightModelChunkBase::shallowCopy(), osg::LightEnvBase::shallowCopy(), osg::LightChunkBase::shallowCopy(), osg::InverseTransformBase::shallowCopy(), osg::InlineBase::shallowCopy(), osg::ImageForegroundBase::shallowCopy(), shallowCopy(), osg::ImageBackgroundBase::shallowCopy(), osg::GroupBase::shallowCopy(), osg::GraphicStatisticsForegroundBase::shallowCopy(), osg::GradientBackgroundBase::shallowCopy(), osg::GrabForegroundBase::shallowCopy(), osg::GLUTWindowBase::shallowCopy(), osg::GeometryBase::shallowCopy(), osg::FresnelMaterialBase::shallowCopy(), osg::FragmentProgramChunkBase::shallowCopy(), osg::FileGrabForegroundBase::shallowCopy(), osg::FCPtrAttributeMapBase::shallowCopy(), osg::FBOViewportBase::shallowCopy(), osg::FatBorderChunkBase::shallowCopy(), osg::DVRVolumeTextureBase::shallowCopy(), osg::DVRVolumeBase::shallowCopy(), osg::DVRSimpleShaderBase::shallowCopy(), osg::DVRSimpleLUTShaderBase::shallowCopy(), osg::DVRMtexLUTShaderBase::shallowCopy(), osg::DVRLookupTableBase::shallowCopy(), osg::DVRIsoSurfaceBase::shallowCopy(), osg::DVRIsoShaderBase::shallowCopy(), osg::DVRGeometryBase::shallowCopy(), osg::DVRClipObjectsBase::shallowCopy(), osg::DVRClipGeometryBase::shallowCopy(), osg::DVRAppearanceBase::shallowCopy(), osg::DistortionDisplayFilterBase::shallowCopy(), osg::DistanceLODBase::shallowCopy(), osg::DisplayFilterForegroundBase::shallowCopy(), osg::DisplayCalibrationBase::shallowCopy(), osg::DirectionalLightBase::shallowCopy(), osg::DepthClearBackgroundBase::shallowCopy(), osg::DepthChunkBase::shallowCopy(), osg::CubeTextureChunkBase::shallowCopy(), osg::ComponentTransformBase::shallowCopy(), osg::ColorMaskChunkBase::shallowCopy(), osg::ColorDisplayFilterBase::shallowCopy(), osg::ColorBufferViewportBase::shallowCopy(), osg::ClusterWindowBase::shallowCopy(), osg::ClipPlaneChunkBase::shallowCopy(), osg::ClipPlaneBase::shallowCopy(), osg::ChunkMaterialBase::shallowCopy(), osg::BlendChunkBase::shallowCopy(), and osg::BillboardBase::shallowCopy().
00141 { 00142 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00143 00144 UInt8 *pTmp; 00145 00146 result._containerSize = sizeof(ObjectType); 00147 00148 pTmp = 00149 static_cast<UInt8 *>(operator new( 00150 sizeof(Int32) + // ReferenceCount 00151 sizeof(UInt32) + // ContainerId 00152 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00153 00154 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00155 00156 pTmp += sizeof(Int32); 00157 00158 result._storeP = (pTmp + sizeof(UInt32)); 00159 00160 #ifdef OSG_DEBUG_FCPTR 00161 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00162 #endif 00163 00164 *(reinterpret_cast<UInt32 *>(pTmp)) = 00165 FieldContainerFactory::the()->registerFieldContainer(result); 00166 00167 Thread::getCurrentChangeList()->addCreated( 00168 *(reinterpret_cast<UInt32 *>(pTmp))); 00169 00170 pTmp += sizeof(UInt32); 00171 00172 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00173 00174 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00175 { 00176 pTmp = 00177 reinterpret_cast<UInt8 *>(new (pTmp) ObjectType(*prototypeP)); 00178 00179 pTmp += sizeof(ObjectType); 00180 } 00181 00182 result->onCreate(prototypeP); 00183 00184 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00185 { 00186 aObject[i].onCreateAspect(aObject, prototypeP); 00187 } 00188 00189 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00190 00191 fprintf(stderr, "GV_MEM_FC_DBG : (%u) cc (%p|%u)\n", 00192 Thread::getAspect(), 00193 result._storeP, 00194 // ObjectType::getClassType().getCName(), 00195 ObjectType::getClassType().getId()); 00196 #endif 00197 00198 #ifdef OSG_DEBUG_TYPED_FCPTR 00199 result.updateTypedStore(); 00200 #endif 00201 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result | ) | [inline, static, protected, inherited] |
Definition at line 204 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
00205 { 00206 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00207 00208 UInt8 *pTmp; 00209 00210 result._containerSize = sizeof(ObjectType); 00211 00212 pTmp = 00213 static_cast<UInt8 *>(operator new( 00214 sizeof(Int32) + // ReferenceCount 00215 sizeof(UInt32) + // ContainerId 00216 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00217 00218 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00219 00220 pTmp += sizeof(Int32); 00221 00222 result._storeP = (pTmp + sizeof(UInt32)); 00223 00224 #ifdef OSG_DEBUG_FCPTR 00225 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00226 #endif 00227 00228 *(reinterpret_cast<UInt32 *>(pTmp)) = 00229 FieldContainerFactory::the()->registerFieldContainer(result); 00230 00231 Thread::getCurrentChangeList()->addCreated( 00232 *(reinterpret_cast<UInt32 *>(pTmp))); 00233 00234 pTmp += sizeof(UInt32); 00235 00236 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00237 00238 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00239 { 00240 pTmp = reinterpret_cast<UInt8 *>(new (pTmp) ObjectType()); 00241 00242 pTmp += sizeof(ObjectType); 00243 } 00244 00245 result->onCreate(); 00246 00247 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00248 { 00249 aObject[i].onCreateAspect(aObject); 00250 } 00251 00252 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00253 fprintf(stderr, "GV_MEM_FC_DBG : (%u) c (%p|%u)\n", 00254 Thread::getAspect(), 00255 result._storeP, 00256 // ObjectType::getClassType().getCName(), 00257 ObjectType::getClassType().getId()); 00258 #endif 00259 00260 #ifdef OSG_DEBUG_TYPED_FCPTR 00261 result.updateTypedStore(); 00262 #endif 00263 }
| void osg::FieldContainer::beginEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
| void osg::FieldContainer::endEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
Definition at line 291 of file OSGFieldContainerImpl.inl.
References osg::endEditCP().
00292 { 00293 FieldContainerPtr tmpPtr(this); 00294 endEditCP(tmpPtr, whichField); 00295 }
| void osg::FieldContainer::onCreate | ( | const FieldContainer * | source = NULL |
) | [inline, protected, inherited] |
Definition at line 318 of file OSGFieldContainerImpl.inl.
Referenced by osg::ShaderParameterChunk::onCreate().
| void osg::FieldContainer::onCreateAspect | ( | const FieldContainer * | aspect0, | |
| const FieldContainer * | source = NULL | |||
| ) | [inline, protected, inherited] |
| void FieldContainer::onDestroy | ( | void | ) | [protected, virtual, inherited] |
Reimplemented in osg::NodeCore, osg::Attachment, osg::Geometry, osg::Surface, osg::MaterialPool, osg::CubeTextureChunk, osg::TextureChunk, osg::FBOViewport, osg::Window, osg::ShaderParameterChunk, and osg::SHLChunk.
Definition at line 98 of file OSGFieldContainer.cpp.
friend class FieldContainer [friend] |
Reimplemented from osg::AttachmentContainer.
Reimplemented in osg::Image.
Definition at line 427 of file OSGImageBase.h.
const osg::BitVector osg::ImageBase::ParentsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ParentsFieldId)
Definition at line 144 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::DimensionFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::DimensionFieldId)
Definition at line 145 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), osg::Image::createData(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::WidthFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::WidthFieldId)
Definition at line 146 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::HeightFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::HeightFieldId)
Definition at line 147 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::DepthFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::DepthFieldId)
Definition at line 148 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::BppFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::BppFieldId)
Definition at line 149 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), osg::Image::createData(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::MipMapCountFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::MipMapCountFieldId)
Definition at line 150 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::FrameCountFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::FrameCountFieldId)
Definition at line 151 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::FrameDelayFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::FrameDelayFieldId)
Definition at line 152 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::PixelFormatFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::PixelFormatFieldId)
Definition at line 153 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::PixelFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::PixelFieldId)
Definition at line 154 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), osg::Image::createData(), executeSyncImpl(), getBinSize(), osg::Image::scale(), and osg::Image::swapDataEndian().
const osg::BitVector osg::ImageBase::FrameSizeFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::FrameSizeFieldId)
Definition at line 155 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), osg::Image::createData(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::NameFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::NameFieldId)
Definition at line 156 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), and osg::ImageFileHandler::read().
const osg::BitVector osg::ImageBase::DataTypeFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::DataTypeFieldId)
Definition at line 157 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ComponentSizeFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ComponentSizeFieldId)
Definition at line 158 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), osg::Image::createData(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::SideCountFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::SideCountFieldId)
Definition at line 159 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::SideSizeFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::SideSizeFieldId)
Definition at line 160 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ForceCompressedDataFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ForceCompressedDataFieldId)
Definition at line 161 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ForceAlphaChannelFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ForceAlphaChannelFieldId)
Definition at line 162 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ForceColorChannelFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ForceColorChannelFieldId)
Definition at line 163 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ForceAlphaBinaryFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ForceAlphaBinaryFieldId)
Definition at line 164 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), osg::VRMLImageTextureDesc::endNode(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ResXFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ResXFieldId)
Definition at line 165 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ResYFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ResYFieldId)
Definition at line 166 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::ResUnitFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << ImageBase::ResUnitFieldId)
Definition at line 167 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::ImageBase::MTInfluenceMask [static] |
Initial value:
(Inherited::MTInfluenceMask) |
(static_cast<BitVector>(0x0) << Inherited::NextFieldId)
Reimplemented from osg::FieldContainer.
Definition at line 170 of file OSGImageBase.h.
FieldContainerPtr osg::ImageBase::_mfParents [protected] |
Definition at line 335 of file OSGImageBase.h.
Referenced by osg::Image::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMFParents(), and getParents().
Int32 osg::ImageBase::_sfDimension [protected] |
image dimension, 0 for invalid, 1 for 1D, 2 for 2D and 3 for 3D data.
Definition at line 336 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDimension(), getSFDimension(), and setDimension().
Int32 osg::ImageBase::_sfWidth [protected] |
Definition at line 337 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFWidth(), getWidth(), and setWidth().
Int32 osg::ImageBase::_sfHeight [protected] |
Definition at line 338 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getHeight(), getSFHeight(), and setHeight().
Int32 osg::ImageBase::_sfDepth [protected] |
Definition at line 339 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDepth(), getSFDepth(), and setDepth().
Int32 osg::ImageBase::_sfBpp [protected] |
Definition at line 340 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getBpp(), getSFBpp(), and setBpp().
Int32 osg::ImageBase::_sfMipMapCount [protected] |
Definition at line 341 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMipMapCount(), getSFMipMapCount(), and setMipMapCount().
Int32 osg::ImageBase::_sfFrameCount [protected] |
Definition at line 342 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getFrameCount(), getSFFrameCount(), and setFrameCount().
Time osg::ImageBase::_sfFrameDelay [protected] |
Definition at line 343 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getFrameDelay(), getSFFrameDelay(), and setFrameDelay().
UInt32 osg::ImageBase::_sfPixelFormat [protected] |
Definition at line 344 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getPixelFormat(), getSFPixelFormat(), and setPixelFormat().
UInt8 osg::ImageBase::_mfPixel [protected] |
Definition at line 345 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMFPixel(), and getPixel().
Int32 osg::ImageBase::_sfFrameSize [protected] |
Definition at line 346 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getFrameSize(), getSFFrameSize(), and setFrameSize().
std::string osg::ImageBase::_sfName [protected] |
Texture file path
Definition at line 347 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getName(), getSFName(), and setName().
Int32 osg::ImageBase::_sfDataType [protected] |
Type of image data
Definition at line 348 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDataType(), getSFDataType(), and setDataType().
Int32 osg::ImageBase::_sfComponentSize [protected] |
Size (in byte) of a single component of the image. Necessary for High Dynamic Range and other higher-level image types.
Definition at line 349 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getComponentSize(), getSFComponentSize(), and setComponentSize().
Int32 osg::ImageBase::_sfSideCount [protected] |
Definition at line 350 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFSideCount(), getSideCount(), and setSideCount().
Int32 osg::ImageBase::_sfSideSize [protected] |
Definition at line 351 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFSideSize(), getSideSize(), and setSideSize().
bool osg::ImageBase::_sfForceCompressedData [protected] |
Set to true if using the image to keep unknown data for textures. Generally used in conjunction with TextureChunk::externalFormat.
Definition at line 352 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getForceCompressedData(), getSFForceCompressedData(), and setForceCompressedData().
bool osg::ImageBase::_sfForceAlphaChannel [protected] |
Set to true if using the image to keep unknown data for textures. Generally used in conjunction with TextureChunk::externalFormat.
Definition at line 353 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getForceAlphaChannel(), getSFForceAlphaChannel(), and setForceAlphaChannel().
bool osg::ImageBase::_sfForceColorChannel [protected] |
Set to true if using the image to keep unknown data for textures. Generally used in conjunction with TextureChunk::externalFormat.
Definition at line 354 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getForceColorChannel(), getSFForceColorChannel(), and setForceColorChannel().
bool osg::ImageBase::_sfForceAlphaBinary [protected] |
Set to true if using the image to prevent depth sorting for SimpleTexturedMaterials using this Image.
Definition at line 355 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getForceAlphaBinary(), getSFForceAlphaBinary(), and setForceAlphaBinary().
Real32 osg::ImageBase::_sfResX [protected] |
Definition at line 356 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getResX(), getSFResX(), and setResX().
Real32 osg::ImageBase::_sfResY [protected] |
Definition at line 357 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getResY(), getSFResY(), and setResY().
UInt16 osg::ImageBase::_sfResUnit [protected] |
resolution unit (none=1, inch=2, centimeter=3)
Definition at line 358 of file OSGImageBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getResUnit(), getSFResUnit(), and setResUnit().
FieldDescription * osg::ImageBase::_desc [static, private] |
FieldContainerType osg::ImageBase::_type [static, private] |
Reimplemented from osg::AttachmentContainer.
Definition at line 430 of file OSGImageBase.h.
Referenced by getClassType(), getClassTypeId(), and getType().
const BitVector AttachmentContainer::AttachmentsFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One <<
AttachmentContainer::AttachmentsFieldId)
Definition at line 84 of file OSGAttachmentContainerImpl.h.
Referenced by osg::VRMLFile::beginNode(), osg::AttachmentContainer::changed(), osg::AttachmentContainer::copyFromBin(), osg::AttachmentContainer::copyToBin(), osg::deepCloneAttachments(), osg::AttachmentContainer::executeSyncImpl(), osg::fcptrAttributeMap(), osg::AttachmentContainer::getBinSize(), and osg::stringAttributeMap().
SFAttachmentMap osg::AttachmentContainer::_attachmentMap [protected, inherited] |
Definition at line 161 of file OSGAttachmentContainerImpl.h.
Referenced by osg::AttachmentContainer::AttachmentContainer(), osg::AttachmentContainer::changed(), osg::AttachmentContainer::copyFromBin(), osg::AttachmentContainer::copyToBin(), osg::NodeCore::dump(), osg::Node::dump(), osg::Geometry::dump(), osg::AttachmentContainer::dump(), osg::AttachmentContainer::executeSyncImpl(), osg::AttachmentContainer::findAttachment(), osg::AttachmentContainer::getBinSize(), osg::AttachmentContainer::getSFAttachments(), osg::Node::onCreate(), osg::AttachmentContainer::subAttachment(), and osg::AttachmentContainer::~AttachmentContainer().
const BitVector osg::FieldContainer::NextFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << NextFieldId)
Definition at line 75 of file OSGFieldContainerImpl.h.
const bool osg::FieldContainer::isNodeCore = false [static, inherited] |
UInt32 osg::FieldContainer::_shares [protected, inherited] |
Definition at line 199 of file OSGFieldContainerImpl.h.
1.5.5