#include <OSGProxyGroupBase.h>
Inheritance diagram for osg::ProxyGroupBase:

Public Types | |
| typedef ProxyGroupPtr | Ptr |
| enum | { EnabledFieldId = Inherited::NextFieldId, UrlFieldId = EnabledFieldId + 1, RootFieldId = UrlFieldId + 1, StateFieldId = RootFieldId + 1, ConcurrentLoadFieldId = StateFieldId + 1, VolumeFieldId = ConcurrentLoadFieldId + 1, IndicesFieldId = VolumeFieldId + 1, TrianglesFieldId = IndicesFieldId + 1, PositionsFieldId = TrianglesFieldId + 1, GeometriesFieldId = PositionsFieldId + 1, AbsoluteUrlFieldId = GeometriesFieldId + 1, InlineFieldId = AbsoluteUrlFieldId + 1, NextFieldId = InlineFieldId + 1 } |
Public Member Functions | |
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) |
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
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) |
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
FieldContainer Get | |
| *virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| *SFBool * | getSFEnabled (void) |
| Get the ProxyGroup::_sfEnabled field. | |
| SFString * | getSFUrl (void) |
| Get the ProxyGroup::_sfUrl field. | |
| SFNodePtr * | getSFRoot (void) |
| Get the ProxyGroup::_sfRoot field. | |
| SFUInt32 * | getSFState (void) |
| Get the ProxyGroup::_sfState field. | |
| SFBool * | getSFConcurrentLoad (void) |
| Get the ProxyGroup::_sfConcurrentLoad field. | |
| SFDynamicVolume * | getSFVolume (void) |
| Get the ProxyGroup::_sfVolume field. | |
| SFUInt32 * | getSFIndices (void) |
| Get the ProxyGroup::_sfIndices field. | |
| SFUInt32 * | getSFTriangles (void) |
| Get the ProxyGroup::_sfTriangles field. | |
| SFUInt32 * | getSFPositions (void) |
| Get the ProxyGroup::_sfPositions field. | |
| SFUInt32 * | getSFGeometries (void) |
| Get the ProxyGroup::_sfGeometries field. | |
| MFUInt8 * | getMFInline (void) |
| Get the ProxyGroup::_mfInline field. | |
| bool & | getEnabled (void) |
| Get the value of the ProxyGroup::_sfEnabled field. | |
| const bool & | getEnabled (void) const |
| Get the value of the ProxyGroup::_sfEnabled field. | |
| std::string & | getUrl (void) |
| Get the value of the ProxyGroup::_sfUrl field. | |
| const std::string & | getUrl (void) const |
| Get the value of the ProxyGroup::_sfUrl field. | |
| NodePtr & | getRoot (void) |
| Get the value of the ProxyGroup::_sfRoot field. | |
| const NodePtr & | getRoot (void) const |
| Get the value of the ProxyGroup::_sfRoot field. | |
| UInt32 & | getState (void) |
| Get the value of the ProxyGroup::_sfState field. | |
| const UInt32 & | getState (void) const |
| Get the value of the ProxyGroup::_sfState field. | |
| bool & | getConcurrentLoad (void) |
| Get the value of the ProxyGroup::_sfConcurrentLoad field. | |
| const bool & | getConcurrentLoad (void) const |
| Get the value of the ProxyGroup::_sfConcurrentLoad field. | |
| DynamicVolume & | getVolume (void) |
| Get the value of the ProxyGroup::_sfVolume field. | |
| const DynamicVolume & | getVolume (void) const |
| Get the value of the ProxyGroup::_sfVolume field. | |
| UInt32 & | getIndices (void) |
| Get the value of the ProxyGroup::_sfIndices field. | |
| const UInt32 & | getIndices (void) const |
| Get the value of the ProxyGroup::_sfIndices field. | |
| UInt32 & | getTriangles (void) |
| Get the value of the ProxyGroup::_sfTriangles field. | |
| const UInt32 & | getTriangles (void) const |
| Get the value of the ProxyGroup::_sfTriangles field. | |
| UInt32 & | getPositions (void) |
| Get the value of the ProxyGroup::_sfPositions field. | |
| const UInt32 & | getPositions (void) const |
| Get the value of the ProxyGroup::_sfPositions field. | |
| UInt32 & | getGeometries (void) |
| Get the value of the ProxyGroup::_sfGeometries field. | |
| const UInt32 & | getGeometries (void) const |
| Get the value of the ProxyGroup::_sfGeometries field. | |
| UInt8 & | getInline (const UInt32 index) |
| Get the value of the index element the ProxyGroup::_mfInline field. | |
| MFUInt8 & | getInline (void) |
| Get the ProxyGroup::_mfInline field. | |
| const MFUInt8 & | getInline (void) const |
| Get the ProxyGroup::_mfInline field. | |
Field Set | |
| *void | setEnabled (const bool &value) |
| Set the value of the ProxyGroup::_sfEnabled field. | |
| void | setUrl (const std::string &value) |
| Set the value of the ProxyGroup::_sfUrl field. | |
| void | setRoot (const NodePtr &value) |
| Set the value of the ProxyGroup::_sfRoot field. | |
| void | setState (const UInt32 &value) |
| Set the value of the ProxyGroup::_sfState field. | |
| void | setConcurrentLoad (const bool &value) |
| Set the value of the ProxyGroup::_sfConcurrentLoad field. | |
| void | setVolume (const DynamicVolume &value) |
| Set the value of the ProxyGroup::_sfVolume field. | |
| void | setIndices (const UInt32 &value) |
| Set the value of the ProxyGroup::_sfIndices field. | |
| void | setTriangles (const UInt32 &value) |
| Set the value of the ProxyGroup::_sfTriangles field. | |
| void | setPositions (const UInt32 &value) |
| Set the value of the ProxyGroup::_sfPositions field. | |
| void | setGeometries (const UInt32 &value) |
| Set the value of the ProxyGroup::_sfGeometries 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 |
Sync | |
| *virtual void | changed (BitVector whichField, UInt32 origin) |
Dump | |
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
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) |
| Field Access *SFAttachmentMap * | getSFAttachments (void) |
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 ProxyGroupPtr | create (void) |
| create a new instance of the class | |
| static ProxyGroupPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Public Attributes | |
| static const osg::BitVector | EnabledFieldMask |
| static const osg::BitVector | UrlFieldMask |
| static const osg::BitVector | RootFieldMask |
| static const osg::BitVector | StateFieldMask |
| static const osg::BitVector | ConcurrentLoadFieldMask |
| static const osg::BitVector | VolumeFieldMask |
| static const osg::BitVector | IndicesFieldMask |
| static const osg::BitVector | TrianglesFieldMask |
| static const osg::BitVector | PositionsFieldMask |
| static const osg::BitVector | GeometriesFieldMask |
| static const osg::BitVector | AbsoluteUrlFieldMask |
| static const osg::BitVector | InlineFieldMask |
| static const osg::BitVector | MTInfluenceMask |
| static const BitVector | ParentsFieldMask = (1 << NodeCore::ParentsFieldId ) |
| static const BitVector | AttachmentsFieldMask |
| static const BitVector | NextFieldMask |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
Protected Member Functions | |
Sync | |
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
Pointer | |
| *AttachmentContainerPtr | getPtr (void) |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Pointer | |
| *AttachmentContainerPtr | getPtr (void) |
Transformation | |
| *virtual void | accumulateMatrix (Matrix &result) |
Volume | |
| *virtual void | adjustVolume (Volume &volume) |
Constructors | |
| * | ProxyGroupBase (void) |
| ProxyGroupBase (const ProxyGroupBase &source) | |
Destructors | |
| *virtual | ~ProxyGroupBase (void) |
Field Get | |
| *SFString * | getSFAbsoluteUrl (void) |
| Get the ProxyGroup::_sfAbsoluteUrl field. | |
| std::string & | getAbsoluteUrl (void) |
| Get the value of the ProxyGroup::_sfAbsoluteUrl field. | |
| const std::string & | getAbsoluteUrl (void) const |
| Get the value of the ProxyGroup::_sfAbsoluteUrl field. | |
Field Set | |
| *void | setAbsoluteUrl (const std::string &value) |
| Set the value of the ProxyGroup::_sfAbsoluteUrl field. | |
Sync | |
| *void | executeSyncImpl (ProxyGroupBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Action Callbacks | |
| *Action::ResultE | drawEnter (Action *action) |
| Action::ResultE | drawLeave (Action *action) |
| Action::ResultE | renderEnter (Action *action) |
| Action::ResultE | renderLeave (Action *action) |
| Action::ResultE | intersect (Action *action) |
Sync | |
| *void | executeSyncImpl (GroupBase *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (AttachmentContainer *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Pointer | |
| *AttachmentContainerPtr | getPtr (void) |
Transformation | |
| *virtual void | accumulateMatrix (Matrix &result) |
Volume | |
| *virtual void | adjustVolume (Volume &volume) |
Protected Attributes | |
Fields | |
| *SFAttachmentMap | _attachmentMap |
Fields | |
| *MFNodePtr | _parents |
Fields | |
| *SFAttachmentMap | _attachmentMap |
Fields | |
| *SFBool | _sfEnabled |
| SFString | _sfUrl |
| SFNodePtr | _sfRoot |
| SFUInt32 | _sfState |
| SFBool | _sfConcurrentLoad |
| SFDynamicVolume | _sfVolume |
| SFUInt32 | _sfIndices |
| SFUInt32 | _sfTriangles |
| SFUInt32 | _sfPositions |
| SFUInt32 | _sfGeometries |
| SFString | _sfAbsoluteUrl |
| MFUInt8 | _mfInline |
Fields | |
| *MFNodePtr | _parents |
Fields | |
| *SFAttachmentMap | _attachmentMap |
Private Types | |
| typedef Group | Inherited |
Private Member Functions | |
| void | operator= (const ProxyGroupBase &source) |
Static Private Attributes | |
| static FieldDescription * | _desc [] |
| ProxyGroup description. | |
| static FieldContainerType | _type |
Friends | |
| class | FieldContainer |
Definition at line 92 of file OSGProxyGroupBase.h.
|
|
Reimplemented from osg::Group. Reimplemented in osg::ProxyGroup. Definition at line 96 of file OSGProxyGroupBase.h. |
|
|
Reimplemented from osg::GroupBase. Definition at line 101 of file OSGProxyGroupBase.h. |
|
|
Reimplemented from osg::NodeCore. Definition at line 103 of file OSGProxyGroupBase.h. 00104 { 00105 EnabledFieldId = Inherited::NextFieldId, 00106 UrlFieldId = EnabledFieldId + 1, 00107 RootFieldId = UrlFieldId + 1, 00108 StateFieldId = RootFieldId + 1, 00109 ConcurrentLoadFieldId = StateFieldId + 1, 00110 VolumeFieldId = ConcurrentLoadFieldId + 1, 00111 IndicesFieldId = VolumeFieldId + 1, 00112 TrianglesFieldId = IndicesFieldId + 1, 00113 PositionsFieldId = TrianglesFieldId + 1, 00114 GeometriesFieldId = PositionsFieldId + 1, 00115 AbsoluteUrlFieldId = GeometriesFieldId + 1, 00116 InlineFieldId = AbsoluteUrlFieldId + 1, 00117 NextFieldId = InlineFieldId + 1 00118 };
|
|
|
Definition at line 286 of file OSGProxyGroupBase.cpp. 00286 : 00287 _sfEnabled (bool(true)), 00288 _sfUrl (), 00289 _sfRoot (NodePtr(NullFC)), 00290 _sfState (UInt32(0)), 00291 _sfConcurrentLoad (bool(true)), 00292 _sfVolume (), 00293 _sfIndices (UInt32(0)), 00294 _sfTriangles (UInt32(0)), 00295 _sfPositions (), 00296 _sfGeometries (), 00297 _sfAbsoluteUrl (), 00298 _mfInline (), 00299 Inherited() 00300 { 00301 }
|
|
|
Definition at line 307 of file OSGProxyGroupBase.cpp. 00307 : 00308 _sfEnabled (source._sfEnabled ), 00309 _sfUrl (source._sfUrl ), 00310 _sfRoot (source._sfRoot ), 00311 _sfState (source._sfState ), 00312 _sfConcurrentLoad (source._sfConcurrentLoad ), 00313 _sfVolume (source._sfVolume ), 00314 _sfIndices (source._sfIndices ), 00315 _sfTriangles (source._sfTriangles ), 00316 _sfPositions (source._sfPositions ), 00317 _sfGeometries (source._sfGeometries ), 00318 _sfAbsoluteUrl (source._sfAbsoluteUrl ), 00319 _mfInline (source._mfInline ), 00320 Inherited (source) 00321 { 00322 }
|
|
|
Definition at line 326 of file OSGProxyGroupBase.cpp.
|
|
|
Reimplemented from osg::GroupBase. Definition at line 58 of file OSGProxyGroupBase.inl. References _type. Referenced by create(), and osg::ProxyGroup::initMethod(). 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::GroupBase. Definition at line 65 of file OSGProxyGroupBase.inl. References _type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::GroupBase. Definition at line 227 of file OSGProxyGroupBase.cpp. References _type. 00228 { 00229 return _type; 00230 }
|
|
|
Reimplemented from osg::GroupBase. Definition at line 232 of file OSGProxyGroupBase.cpp. References _type. 00233 { 00234 return _type; 00235 }
|
|
|
Reimplemented from osg::GroupBase. Definition at line 247 of file OSGProxyGroupBase.cpp. 00248 { 00249 return sizeof(ProxyGroup); 00250 }
|
|
|
Definition at line 101 of file OSGProxyGroupBase.inl. References _sfEnabled. 00102 { 00103 return &_sfEnabled; 00104 }
|
|
|
Definition at line 108 of file OSGProxyGroupBase.inl. References _sfUrl. 00109 { 00110 return &_sfUrl; 00111 }
|
|
|
Definition at line 115 of file OSGProxyGroupBase.inl. References _sfRoot. 00116 { 00117 return &_sfRoot; 00118 }
|
|
|
Definition at line 122 of file OSGProxyGroupBase.inl. References _sfState. 00123 { 00124 return &_sfState; 00125 }
|
|
|
Definition at line 129 of file OSGProxyGroupBase.inl. References _sfConcurrentLoad. 00130 { 00131 return &_sfConcurrentLoad; 00132 }
|
|
|
Definition at line 136 of file OSGProxyGroupBase.inl. References _sfVolume. 00137 { 00138 return &_sfVolume; 00139 }
|
|
|
Definition at line 143 of file OSGProxyGroupBase.inl. References _sfIndices. 00144 { 00145 return &_sfIndices; 00146 }
|
|
|
Definition at line 150 of file OSGProxyGroupBase.inl. References _sfTriangles. 00151 { 00152 return &_sfTriangles; 00153 }
|
|
|
Definition at line 157 of file OSGProxyGroupBase.inl. References _sfPositions. 00158 { 00159 return &_sfPositions; 00160 }
|
|
|
Definition at line 164 of file OSGProxyGroupBase.inl. References _sfGeometries. 00165 { 00166 return &_sfGeometries; 00167 }
|
|
|
Definition at line 178 of file OSGProxyGroupBase.inl. References _mfInline. 00179 { 00180 return &_mfInline; 00181 }
|
|
|
Definition at line 186 of file OSGProxyGroupBase.inl. References _sfEnabled, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::ProxyGroup::adjustVolume(), and osg::ProxyGroup::draw(). 00187 { 00188 return _sfEnabled.getValue(); 00189 }
|
|
|
Definition at line 193 of file OSGProxyGroupBase.inl. References _sfEnabled, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00194 { 00195 return _sfEnabled.getValue(); 00196 }
|
|
|
Definition at line 207 of file OSGProxyGroupBase.inl. References _sfUrl, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::ProxyGroup::changed(). 00208 { 00209 return _sfUrl.getValue(); 00210 }
|
|
|
Definition at line 214 of file OSGProxyGroupBase.inl. References _sfUrl, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00215 { 00216 return _sfUrl.getValue(); 00217 }
|
|
|
Definition at line 228 of file OSGProxyGroupBase.inl. References _sfRoot, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::ProxyGroup::adjustVolume(), osg::ProxyGroup::draw(), and osg::ProxyGroup::~ProxyGroup(). 00229 { 00230 return _sfRoot.getValue(); 00231 }
|
|
|
Definition at line 235 of file OSGProxyGroupBase.inl. References _sfRoot, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00236 { 00237 return _sfRoot.getValue(); 00238 }
|
|
|
Definition at line 249 of file OSGProxyGroupBase.inl. References _sfState, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::ProxyGroup::adjustVolume(), and osg::ProxyGroup::draw(). 00250 { 00251 return _sfState.getValue(); 00252 }
|
|
|
Definition at line 256 of file OSGProxyGroupBase.inl. |