#include <OSGAttachmentImpl.h>
Inheritance diagram for osg::Attachment:

General Fieldcontainer Declaration | |
| *virtual osg::FieldContainerType & | getType (void) |
| virtual const osg::FieldContainerType & | getType (void) const |
| virtual osg::FieldContainerPtr | shallowCopy (void) const |
| virtual osg::UInt32 | getContainerSize (void) const |
| static osg::FieldContainerType & | getClassType (void) |
| static osg::UInt32 | getClassTypeId (void) |
| static AttachmentPtr | create (void) |
| static AttachmentPtr | createEmpty (void) |
Public Types | |
| enum | { ParentsFieldId = Inherited::NextFieldId, InternalFieldId = ParentsFieldId + 1, NextFieldId = InternalFieldId + 1 } |
Public Member Functions | |
Parents | |
| *MFFieldContainerPtr & | getParents (void) |
| const MFFieldContainerPtr & | getParents (void) const |
| MFFieldContainerPtr * | getMFParents (void) |
| void | addParent (FieldContainerPtr parent) |
| void | subParent (FieldContainerPtr parent) |
| Int32 | findParent (FieldContainerPtr parent) |
Parents | |
| *SFBool & | getInternal (void) |
| const SFBool & | getInternal (void) const |
| SFBool * | getSFInternal (void) |
| void | setInternal (bool bVal) |
Binary Access | |
| *virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
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 |
| Generic Field Access *Field * | getField (UInt32 fieldId) |
| Field * | getField (const Char8 *fieldName) |
Changed | |
| *virtual void | changed (BitVector whichField, UInt32 origin) |
Static Public Member Functions | |
Get Class Type Information | |
| static UInt16 | getClassGroupId (void) |
Static Public Attributes | |
| static const BitVector | InternalFieldMask = (1 << Attachment::InternalFieldId) |
| static const BitVector | ParentsFieldMask = (1 << Attachment::ParentsFieldId) |
| static const BitVector | NextFieldMask |
| static const BitVector | MTInfluenceMask = 0x00 |
CoredNodePtr helper | |
| static const bool | isNodeCore = false |
Protected Types | |
| typedef FieldContainer | Inherited |
Protected Member Functions | |
Constructors | |
| * | Attachment (void) |
| Attachment (const Attachment &obj) | |
Destructor | |
| *virtual | ~Attachment (void) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Sync | |
| *virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
| void | executeSyncImpl (Attachment *pOther, const BitVector &whichField) |
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) |
Sync | |
| void | executeSyncImpl (FieldContainer *pOther, const BitVector &whichField) |
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 | |
| *SFBool | _sfInternal |
| MFFieldContainerPtr | _parents |
Member | |
| *UInt32 | _shares |
Static Protected Attributes | |
Type information | |
| *static FieldDescription * | _desc [] |
| static FieldContainerType | _type |
Private Member Functions | |
| void | operator= (const Attachment &source) |
| prohibit default functions (move to 'public' if needed) | |
Friends | |
| class | FieldContainer |
Definition at line 74 of file OSGAttachmentImpl.h.
|
|
|
Reimplemented from osg::FieldContainer. Definition at line 86 of file OSGAttachmentImpl.h. 00087 { 00088 ParentsFieldId = Inherited::NextFieldId, 00089 InternalFieldId = ParentsFieldId + 1, 00090 NextFieldId = InternalFieldId + 1 00091 };
|
|
|
Definition at line 260 of file OSGAttachment.cpp. 00260 : 00261 Inherited ( ), 00262 _sfInternal(false), 00263 _parents ( ) 00264 { 00265 }
|
|
|
Definition at line 267 of file OSGAttachment.cpp. 00267 : 00268 Inherited (obj ), 00269 _sfInternal(obj._sfInternal), 00270 _parents ( ) 00271 { 00272 }
|
|
|
Definition at line 277 of file OSGAttachment.cpp.
|
|
|
|
|
|
|
|
|
|
|
Definition at line 95 of file OSGAttachment.cpp. 00096 { 00097 return _parents; 00098 }
|
|
|
Definition at line 100 of file OSGAttachment.cpp. References _parents. 00101 { 00102 return _parents; 00103 }
|
|
|
Definition at line 105 of file OSGAttachment.cpp. References _parents. Referenced by osg::DVRLookupTable::changed(). 00106 { 00107 return &_parents; 00108 }
|
|
|
Definition at line 110 of file OSGAttachment.cpp. References _parents, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().
|
|
|
Definition at line 115 of file OSGAttachment.cpp. References _parents, osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), and osg::MField< FieldTypeT, fieldNameSpace >::find(). 00116 { 00117 MFFieldContainerPtr::iterator parentIt = _parents.find(parent); 00118 00119 if(parentIt != _parents.end()) 00120 { 00121 _parents.erase(parentIt); 00122 } 00123 }
|
|
|
Definition at line 125 of file OSGAttachment.cpp. References _parents, osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::MField< FieldTypeT, fieldNameSpace >::end(), and osg::MField< FieldTypeT, fieldNameSpace >::find(). 00126 { 00127 MFFieldContainerPtr::iterator parentIt = _parents.find(parent); 00128 00129 if(parentIt != _parents.end()) 00130 { 00131 return parentIt - _parents.begin(); 00132 } 00133 else 00134 { 00135 return -1; 00136 } 00137 }
|
|
|
Definition at line 142 of file OSGAttachment.cpp. References _sfInternal. 00143 { 00144 return _sfInternal; 00145 }
|
|
|
Definition at line 147 of file OSGAttachment.cpp. References _sfInternal. 00148 { 00149 return _sfInternal; 00150 }
|
|
|
Definition at line 152 of file OSGAttachment.cpp. References _sfInternal. 00153 { 00154 return &_sfInternal; 00155 }
|
|
|
Definition at line 157 of file OSGAttachment.cpp. References _sfInternal, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00158 { 00159 _sfInternal.setValue(bVal); 00160 }
|
|
|
||||||||||||
|
||||||||||||
|
||||||||||||