OSG::FieldContainerAttachment Class Reference

#include <OSGFieldContainerAttachment.h>

Inheritance diagram for OSG::FieldContainerAttachment:

OSG::FieldContainer OSG::ReflexiveContainer OSG::ContainerPoolBase OSG::RenderOptionsBase OSG::SimpleAttachment< AttachmentDescT > OSG::StateChunkBase OSG::StatsAttachmentBase OSG::StringAttributeMapBase OSG::ContainerPool OSG::RenderOptions OSG::StateChunk OSG::StatsAttachment OSG::StringAttributeMap OSG::BlendChunkBase OSG::ClipPlaneChunkBase OSG::ColorMaskChunkBase OSG::DepthChunkBase OSG::GeoMultiPropertyDataBase OSG::GeoPropertyBase OSG::LightChunkBase OSG::LineChunkBase OSG::MaterialChunkBase OSG::PointChunkBase OSG::PolygonChunkBase OSG::ProgramChunkBase OSG::RegisterCombinersChunkBase OSG::ShaderParameterChunkBase OSG::StencilChunkBase OSG::TexGenChunkBase OSG::TextureBaseChunkBase OSG::TextureEnvChunkBase OSG::TransformChunkBase OSG::TwoSidedLightingChunkBase OSG::GeoStatsAttachmentBase List of all members.

Type definitions



typedef FieldContainerType TypeObject
 OSG_GEN_INTERNALPTR (FieldContainer)
 OSG_RC_FIRST_FIELD_DECL (ChangedCallbacks)
 OSG_RC_LAST_FIELD_DECL (ChangedCallbacks)
static const bool isNodeCore = false

Public Types

typedef FieldContainer Inherited
Type definitions


typedef TypeObject::InitPhase InitPhase
typedef Field *(ReflexiveContainer::*) FieldEditMethod (void)
typedef const Field *(ReflexiveContainer::*) FieldGetMethod (void) const

Public Member Functions

dcast


 OSG_GEN_INTERNALPTR (FieldContainerAttachment)
Constructors


 OSG_RC_FIRST_FIELD_DECL (Parents)
 OSG_RC_FIELD_DECL (Internal, Parents)
 OSG_RC_LAST_FIELD_DECL (Internal)
Get


SFBool & editInternal (void)
const SFBool & getInternal (void) const
SFBool * editSFInternal (void)
const SFBool * getSFInternal (void) const
Set


void setInternal (bool bVal)
your_category


void addParent (FieldContainerPtrConst parent, const UInt16 uiStoredInFieldId=InvalidParentEPos)
void subParent (FieldContainerPtrConst parent)
Container Access


FieldContainerPtr getParent (UInt32 uiIdx)
Binary Access


virtual UInt32 getBinSize (ConstFieldMaskArg whichField)
virtual void copyToBin (BinaryDataHandler &pMem, ConstFieldMaskArg whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, ConstFieldMaskArg whichField)
General Fieldcontainer Declaration


virtual OSG_SYSTEM_DLLMAPPING
TypeObject
getType (void)
virtual OSG_SYSTEM_DLLMAPPING
const TypeObject
getType (void) const
Get


virtual ObjPtr shallowCopy (void) const=0
Set


virtual void changed (ConstFieldMaskArg whichField, UInt32 origin, BitVector details)
void callChangedFunctors (ConstFieldMaskArg whichField)
Container Access


UInt32 addChangedFunctor (ChangedFunctor func, std::string createSymbol)
template<class FunctorT>
void subChangedFunctor (FunctorT func)
void subChangedFunctor (UInt32 uiId)
void clearChangedFunctors (void)
Field Flags


const FieldFlagsgetFieldFlags (void)
Helper


OSG_SYSTEM_DLLMAPPING void addReference (void)
OSG_SYSTEM_DLLMAPPING void subReference (void)
OSG_SYSTEM_DLLMAPPING void subReferenceLocalVar (void)
OSG_SYSTEM_DLLMAPPING Int32 getRefCount (void) const
Comparison


virtual OSG_SYSTEM_DLLMAPPING
void 
invalidateVolume (void)
Dump


virtual OSG_SYSTEM_DLLMAPPING
void 
dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
dcast


OSG_SYSTEM_DLLMAPPING UInt32 getTypeId (void) const
OSG_SYSTEM_DLLMAPPING UInt16 getGroupId (void) const
OSG_SYSTEM_DLLMAPPING const
Char8 * 
getTypeName (void) const
General Fieldcontainer Declaration


virtual UInt32 getContainerSize (void) const=0
Get Field


OSG_SYSTEM_DLLMAPPING UInt32 getNumFields (void) const
OSG_SYSTEM_DLLMAPPING EditFieldHandlePtr editField (UInt32 fieldId)
OSG_SYSTEM_DLLMAPPING EditFieldHandlePtr editField (const Char8 *fieldName)
OSG_SYSTEM_DLLMAPPING GetFieldHandlePtr getField (UInt32 fieldId) const
OSG_SYSTEM_DLLMAPPING GetFieldHandlePtr getField (const Char8 *fieldName) const
Get Field Description


OSG_SYSTEM_DLLMAPPING FieldDescriptionBasegetFieldDescription (UInt32 fieldId)
OSG_SYSTEM_DLLMAPPING FieldDescriptionBasegetFieldDescription (const Char8 *fieldName)
Comparison


OSG_SYSTEM_DLLMAPPING EditFieldHandlePtr invalidEditField (void)
OSG_SYSTEM_DLLMAPPING GetFieldHandlePtr invalidGetField (void) const

Static Public Member Functions

Get Class Type Information


static OSG_SYSTEM_DLLMAPPING
TypeObject
getClassType (void)
static OSG_SYSTEM_DLLMAPPING
UInt32 
getClassTypeId (void)
static OSG_SYSTEM_DLLMAPPING
UInt16 
getClassGroupId (void)

Public Attributes

General Fieldcontainer Declaration


 OSG_ABSTR_FIELD_CONTAINER_DECL

Static Public Attributes

Constants


static const UInt32 NextFieldId = 1
static const BitVector NextFieldMask = 0x01

Protected Types

typedef FieldContainerAttachment Self
typedef MFParentFieldContainerPtr ParentField

Protected Member Functions

Member


 FieldContainerAttachment (void)
 FieldContainerAttachment (const FieldContainerAttachment &source)
virtual ~FieldContainerAttachment (void)
Changed


const MFParentFieldContainerPtr & getParents (void) const
const MFParentFieldContainerPtr * getMFParents (void) const
MT Destruction


EditFieldHandlePtr editInternalHandler (void)
GetFieldHandlePtr getInternalHandler (void) const
GetFieldHandlePtr getHandleParents (void) const
Edit


OSG_SYSTEM_DLLMAPPING void subReferenceUnresolved (void)
MT Construction


OSG_SYSTEM_DLLMAPPING void onCreateAspect (const FieldContainer *createAspect, const FieldContainer *source=NULL)
OSG_SYSTEM_DLLMAPPING void onCreate (const FieldContainer *source=NULL)
virtual OSG_SYSTEM_DLLMAPPING
void 
onDestroy (UInt32 uiContainerId)
Changed


OSG_SYSTEM_DLLMAPPING void onCreate (const ReflexiveContainer *source=NULL)
virtual OSG_SYSTEM_DLLMAPPING
void 
onDestroyAspect (UInt32 uiContainerId, UInt32 uiAspect)
MT Construction


virtual OSG_SYSTEM_DLLMAPPING
bool 
deregister (UInt32 uiContainerId)
virtual OSG_SYSTEM_DLLMAPPING
void 
resolveLinks (void)
MT Construction


OSG_SYSTEM_DLLMAPPING void registerChangedContainer (void)
virtual OSG_SYSTEM_DLLMAPPING
void 
registerChangedContainerV (void)
Local Edit


void editSField (ConstFieldMaskArg whichField)
template<class FieldT>
void editMField (ConstFieldMaskArg whichField, FieldT &oField)
MT Destruction


void execEndEdit (ConstFieldMaskArg whichField)
void clearChangeEntry (ContainerChangeEntry *pRef)
Edit


OSG_SYSTEM_DLLMAPPING void setId (UInt32 uiContainerId)
OSG_SYSTEM_DLLMAPPING UInt32 getId (void) const

Static Protected Member Functions

Fields


static void classDescInserter (TypeObject &oType)
static Char8 * getClassname (void)
Fields


static void classDescInserter (TypeObject &oType)
MT Construction


template<class ObjectT>
static void newPtr (typename ObjectT::ObjPtr &result, const ObjectT *prototypeP)
template<class ObjectT>
static void newPtr (typename ObjectT::ObjPtr &result)
Init


static void initMethod (InitPhase ePhase)

Protected Attributes

Fields


MFParentFieldContainerPtr _mfParents
SFBool _sfInternal
Type information


FieldFlags_pFieldFlags
MFChangedFunctorCallback _mfChangedFunctors
Int32 _iRefCount
Member


BitVector _bvChanged
ContainerChangeEntry_pContainerChanges
UInt32 _uiContainerId

Static Protected Attributes

Type information


static TypeObject _type

Private Member Functions

void operator= (const FieldContainerAttachment &source)
 prohibit default function (move to 'public' if needed)

Detailed Description

Brief

Definition at line 54 of file OSGFieldContainerAttachment.h.


Member Typedef Documentation

Reimplemented from OSG::FieldContainer.

Reimplemented in OSG::LineChunkBase, OSG::LineChunk, OSG::PointChunk, OSG::TwoSidedLightingChunkBase, OSG::PointChunkBase, OSG::PolygonChunk, OSG::PolygonChunkBase, OSG::ColorMaskChunk, OSG::CubeTextureObjChunk, OSG::TextureTransformChunk, OSG::StencilChunk, OSG::DepthChunk, OSG::ClipPlaneChunk, OSG::TransformChunk, OSG::ColorMaskChunkBase, OSG::CubeTextureObjChunkBase, OSG::TextureTransformChunkBase, OSG::StencilChunkBase, OSG::DepthChunkBase, OSG::ClipPlaneChunkBase, OSG::TransformChunkBase, OSG::TwoSidedLightingChunk, OSG::ShaderChunk, OSG::ShaderParameterChunk, OSG::SHLChunk, OSG::SHLParameterChunk, OSG::ShaderChunkBase, OSG::ShaderParameterChunkBase, OSG::SHLChunkBase, OSG::SHLParameterChunkBase, OSG::TextureObjRefChunk, OSG::TextureSelectChunkBase, OSG::TextureSelectChunk, OSG::TextureObjRefChunkBase, OSG::RegisterCombinersChunkBase, OSG::RegisterCombinersChunk, OSG::FragmentProgramChunk, OSG::VertexProgramChunkBase, OSG::ProgramChunkBase, OSG::VertexProgramChunk, OSG::ProgramChunk, OSG::FragmentProgramChunkBase, OSG::MaterialChunk, OSG::TexGenChunk, OSG::TextureEnvChunk, OSG::TexGenChunkBase, OSG::MaterialChunkBase, OSG::TextureEnvChunkBase, OSG::LightChunk, OSG::StateChunk, OSG::TextureBaseChunk, OSG::LightChunkBase, OSG::StateChunkBase, OSG::BlendChunk, OSG::TextureBaseChunkBase, OSG::BlendChunkBase, OSG::TextureObjChunk, OSG::TextureObjChunkBase, OSG::SimpleAttachment< AttachmentDescT >, OSG::StringAttributeMapBase, OSG::StringAttributeMap, OSG::ContainerPoolBase, OSG::ContainerPool, OSG::RenderOptions, OSG::RenderOptionsBase, OSG::CubeTextureChunkBase, OSG::TextureChunkBase, OSG::CubeTextureChunk, OSG::TextureChunk, OSG::GeoMultiPropertyData, OSG::GeoMultiProperty, OSG::GeoIntegralPropertyBase, OSG::GeoVectorProperty, OSG::TypedGeoIntegralProperty< GeoPropertyDesc >, OSG::GeoPropertyBase, OSG::GeoProperty, OSG::GeoMultiPropertyDataBase, OSG::GeoMultiPropertyBase, OSG::GeoVectorPropertyBase, OSG::TypedGeoVectorProperty< GeoPropertyDesc >, OSG::GeoIntegralProperty, OSG::GeoStatsAttachmentBase, OSG::GeoStatsAttachment, OSG::StatsAttachmentBase, and OSG::StatsAttachment.

Definition at line 60 of file OSGFieldContainerAttachment.h.

typedef MFParentFieldContainerPtr OSG::FieldContainerAttachment::ParentField [protected]

Definition at line 169 of file OSGFieldContainerAttachment.h.

Reimplemented from OSG::ReflexiveContainer.

Reimplemented in OSG::ManipulatorBase, OSG::RotateManipulatorBase, OSG::MoveManipulatorBase, OSG::ScaleManipulatorBase, OSG::LineChunkBase, OSG::TwoSidedLightingChunkBase, OSG::PointChunkBase, OSG::PolygonChunkBase, OSG::ColorMaskChunkBase, OSG::CubeTextureObjChunkBase, OSG::TextureTransformChunkBase, OSG::StencilChunkBase, OSG::DepthChunkBase, OSG::ClipPlaneChunkBase, OSG::TransformChunkBase, OSG::ShaderChunkBase, OSG::ShaderParameterChunkBase, OSG::SHLChunkBase, OSG::SHLParameterChunkBase, OSG::ShaderParameterMatrixBase, OSG::ShaderParameterVec2fBase, OSG::ShaderParameterMVec4fBase, OSG::ShaderParameterIntBase, OSG::ShaderParameterMRealBase, OSG::ShaderParameterMIntBase, OSG::ShaderParameterMVec3fBase, OSG::ShaderParameterBoolBase, OSG::ShaderParameterVec4fBase, OSG::ShaderParameterBase, OSG::ShaderParameterMVec2fBase, OSG::ShaderParameterStringBase, OSG::ShaderParameterVec3fBase, OSG::ShaderParameterMMatrixBase, OSG::ShaderParameterRealBase, OSG::TextureSelectChunkBase, OSG::TextureObjRefChunkBase, OSG::RegisterCombinersChunkBase, OSG::VertexProgramChunkBase, OSG::ProgramChunkBase, OSG::FragmentProgramChunkBase, OSG::SimpleShadowMapEngineBase, OSG::ShadowMapEngineBase, OSG::ScreenLODBase, OSG::TextureBackgroundBase, OSG::PassiveBackgroundBase, OSG::DepthClearBackgroundBase, OSG::PolygonBackgroundBase, OSG::TextureGrabBackgroundBase, OSG::SkyBackgroundBase, OSG::GradientBackgroundBase, OSG::SolidBackgroundBase, OSG::StereoBufferViewportBase, OSG::ColorBufferViewportBase, OSG::PassiveViewportBase, OSG::ProjectionCameraDecoratorBase, OSG::PerspectiveCameraBase, OSG::OrthographicCameraBase, OSG::OffCenterPerspectiveCameraBase, OSG::TileCameraDecoratorBase, OSG::MatrixCameraBase, OSG::MatrixCameraDecoratorBase, OSG::ShearedStereoCameraDecoratorBase, OSG::TextureGrabForegroundBase, OSG::FileGrabForegroundBase, OSG::GrabForegroundBase, OSG::ImageForegroundBase, OSG::PolygonForegroundBase, OSG::GLUTWindowBase, OSG::AlgorithmBase, OSG::AlgorithmStageBase, OSG::SimpleStageBase, OSG::StageBase, OSG::DirectionalLightBase, OSG::SpotLightBase, OSG::PointLightBase, OSG::DistanceLODBase, OSG::SwitchBase, OSG::InverseTransformBase, OSG::TransformBase, OSG::VisitSubTreeBase, OSG::BillboardBase, OSG::ComponentTransformBase, OSG::InlineBase, OSG::ProxyGroupBase, OSG::MultiCoreBase, OSG::HDRStageBase, OSG::XWindowBase, OSG::SimpleStatisticsForegroundBase, OSG::MultiDisplayWindowBase, OSG::ImageComposerBase, OSG::ClusterWindowBase, OSG::SortFirstWindowBase, OSG::BinarySwapComposerBase, OSG::ParallelComposerBase, OSG::SepiaComposerBase, OSG::SortLastWindowBase, OSG::PipelineComposerBase, OSG::BalancedMultiWindowBase, OSG::TexGenChunkBase, OSG::MaterialChunkBase, OSG::TextureEnvChunkBase, OSG::LightChunkBase, OSG::StateChunkBase, OSG::StateBase, OSG::TextureBaseChunkBase, OSG::BlendChunkBase, OSG::TextureObjChunkBase, OSG::LightEngineBase, OSG::GroupBase, OSG::MaterialGroupBase, OSG::LightBase, OSG::LightEnvBase, OSG::ChunkOverrideGroupBase, OSG::MaterialDrawableBase, OSG::DrawableBase, OSG::ImageBase, OSG::Node, OSG::NodeCore, OSG::SimpleAttachment< AttachmentDescT >, OSG::AttachmentContainer, OSG::StringAttributeMapBase, OSG::ContainerPoolBase, OSG::ForegroundBase, OSG::BackgroundBase, OSG::CameraDecoratorBase, OSG::ViewportBase, OSG::CameraBase, OSG::RenderOptionsBase, OSG::PassiveWindowBase, OSG::WindowBase, OSG::StereoCameraDecoratorBase, OSG::FrameBufferAttachmentBase, OSG::TextureBufferBase, OSG::FBOViewportBase, OSG::RenderBufferBase, OSG::FrameBufferObjectBase, OSG::CubeTextureChunkBase, OSG::TextureChunkBase, OSG::StatisticsForegroundBase, OSG::SimpleTexturedMaterialBase, OSG::SimpleMaterialBase, OSG::ChunkMaterialBase, OSG::MaterialBase, OSG::MultiPassMaterialBase, OSG::SwitchMaterialBase, OSG::QuadTreeTerrainBase, OSG::TiledQuadTreeTerrainBase, OSG::ParticlesBase, OSG::GeometryBase, OSG::GeoIntegralPropertyBase, OSG::TypedGeoIntegralProperty< GeoPropertyDesc >, OSG::GeoPropertyBase, OSG::GeoMultiPropertyDataBase, OSG::GeoMultiPropertyBase, OSG::GeoVectorPropertyBase, OSG::TypedGeoVectorProperty< GeoPropertyDesc >, OSG::GeoStatsAttachmentBase, OSG::StatsAttachmentBase, OSG::StageHandlerMixin< ContainerMixinHead< ShadowMapEngineDesc > >, OSG::StageHandlerMixin< ContainerMixinHead< StageDesc > >, OSG::ContainerMixinHead< ShadowMapEngineDesc >, and OSG::ContainerMixinHead< StageDesc >.

Definition at line 76 of file OSGFieldContainer.h.

Reimplemented in OSG::ManipulatorBase, OSG::RotateManipulatorBase, OSG::MoveManipulatorBase, OSG::ScaleManipulatorBase, OSG::LineChunkBase, OSG::TwoSidedLightingChunkBase, OSG::PointChunkBase, OSG::PolygonChunkBase, OSG::ColorMaskChunkBase, OSG::CubeTextureObjChunkBase, OSG::TextureTransformChunkBase, OSG::StencilChunkBase, OSG::DepthChunkBase, OSG::ClipPlaneChunkBase, OSG::TransformChunkBase, OSG::ShaderChunkBase, OSG::ShaderParameterChunkBase, OSG::SHLChunkBase, OSG::SHLParameterChunkBase, OSG::ShaderParameterMatrixBase, OSG::ShaderParameterVec2fBase, OSG::ShaderParameterMVec4fBase, OSG::ShaderParameterIntBase, OSG::ShaderParameterMRealBase, OSG::ShaderParameterMIntBase, OSG::ShaderParameterMVec3fBase, OSG::ShaderParameterBoolBase, OSG::ShaderParameterVec4fBase, OSG::ShaderParameterBase, OSG::ShaderParameterMVec2fBase, OSG::ShaderParameterStringBase, OSG::ShaderParameterVec3fBase, OSG::ShaderParameterMMatrixBase, OSG::ShaderParameterRealBase, OSG::TextureSelectChunkBase, OSG::TextureObjRefChunkBase, OSG::RegisterCombinersChunkBase, OSG::VertexProgramChunkBase, OSG::ProgramChunkBase, OSG::FragmentProgramChunkBase, OSG::SimpleShadowMapEngineDataBase, OSG::SimpleShadowMapEngineBase, OSG::ShadowMapEngineBase, OSG::ScreenLODBase, OSG::TextureBackgroundBase, OSG::PassiveBackgroundBase, OSG::DepthClearBackgroundBase, OSG::PolygonBackgroundBase, OSG::TextureGrabBackgroundBase, OSG::SkyBackgroundBase, OSG::GradientBackgroundBase, OSG::SolidBackgroundBase, OSG::StereoBufferViewportBase, OSG::ColorBufferViewportBase, OSG::PassiveViewportBase, OSG::ProjectionCameraDecoratorBase, OSG::PerspectiveCameraBase, OSG::OrthographicCameraBase, OSG::OffCenterPerspectiveCameraBase, OSG::TileCameraDecoratorBase, OSG::MatrixCameraBase, OSG::MatrixCameraDecoratorBase, OSG::ShearedStereoCameraDecoratorBase, OSG::TextureGrabForegroundBase, OSG::FileGrabForegroundBase, OSG::GrabForegroundBase, OSG::ImageForegroundBase, OSG::PolygonForegroundBase, OSG::GLUTWindowBase, OSG::AlgorithmBase, OSG::AlgorithmStageBase, OSG::SimpleStageBase, OSG::StageDataBase, OSG::StageBase, OSG::DirectionalLightBase, OSG::SpotLightBase, OSG::PointLightBase, OSG::DistanceLODBase, OSG::SwitchBase, OSG::InverseTransformBase, OSG::TransformBase, OSG::VisitSubTreeBase, OSG::BillboardBase, OSG::ComponentTransformBase, OSG::InlineBase, OSG::ProxyGroupBase, OSG::MultiCoreBase, OSG::HDRStageDataBase, OSG::HDRStageBase, OSG::XWindowBase, OSG::SimpleStatisticsForegroundBase, OSG::MultiDisplayWindowBase, OSG::ImageComposerBase, OSG::ClusterWindowBase, OSG::SortFirstWindowBase, OSG::BinarySwapComposerBase, OSG::ParallelComposerBase, OSG::SepiaComposerBase, OSG::SortLastWindowBase, OSG::PipelineComposerBase, OSG::BalancedMultiWindowBase, OSG::TexGenChunkBase, OSG::MaterialChunkBase, OSG::TextureEnvChunkBase, OSG::LightChunkBase, OSG::StateChunkBase, OSG::StateBase, OSG::TextureBaseChunkBase, OSG::BlendChunkBase, OSG::TextureObjChunkBase, OSG::LightEngineBase, OSG::GroupBase, OSG::MaterialGroupBase, OSG::LightBase, OSG::LightEnvBase, OSG::ChunkOverrideGroupBase, OSG::MaterialDrawableBase, OSG::DrawableBase, OSG::ImageBase, OSG::SimpleAttachment< AttachmentDescT >, OSG::StringAttributeMapBase, OSG::ContainerPoolBase, OSG::ForegroundBase, OSG::BackgroundBase, OSG::CameraDecoratorBase, OSG::ViewportBase, OSG::CameraBase, OSG::RenderOptionsBase, OSG::PassiveWindowBase, OSG::WindowBase, OSG::StereoCameraDecoratorBase, OSG::FrameBufferAttachmentBase, OSG::TextureBufferBase, OSG::FBOViewportBase, OSG::RenderBufferBase, OSG::FrameBufferObjectBase, OSG::CubeTextureChunkBase, OSG::TextureChunkBase, OSG::StatisticsForegroundBase, OSG::SimpleTexturedMaterialBase, OSG::SimpleMaterialBase, OSG::ChunkMaterialBase, OSG::MaterialBase, OSG::MultiPassMaterialBase, OSG::SwitchMaterialBase, OSG::QuadTreeTerrainBase, OSG::TiledQuadTreeTerrainBase, OSG::ParticlesBase, OSG::GeometryBase, OSG::GeoIntegralPropertyBase, OSG::TypedGeoIntegralProperty< GeoPropertyDesc >, OSG::GeoPropertyBase, OSG::GeoMultiPropertyDataBase, OSG::GeoMultiPropertyBase, OSG::GeoVectorPropertyBase, OSG::TypedGeoVectorProperty< GeoPropertyDesc >, OSG::GeoStatsAttachmentBase, and OSG::StatsAttachmentBase.

Definition at line 77 of file OSGReflexiveContainer.h.

typedef Field*(ReflexiveContainer::*) OSG::ReflexiveContainer::FieldEditMethod(void) [inherited]

Definition at line 79 of file OSGReflexiveContainer.h.

typedef const Field*(ReflexiveContainer::*) OSG::ReflexiveContainer::FieldGetMethod(void) const [inherited]

Definition at line 81 of file OSGReflexiveContainer.h.


Constructor & Destructor Documentation

FieldContainerAttachment::FieldContainerAttachment ( void   )  [protected]

Definition at line 108 of file OSGFieldContainerAttachment.cpp.

00108                                                        :
00109      Inherited (     ),
00110     _mfParents (     ),
00111     _sfInternal(false)
00112 {
00113 }

FieldContainerAttachment::FieldContainerAttachment ( const FieldContainerAttachment source  )  [protected]

Definition at line 115 of file OSGFieldContainerAttachment.cpp.

00116                                             :
00117 
00118      Inherited (source            ),
00119     _mfParents (                  ),
00120     _sfInternal(source._sfInternal)
00121 {
00122 }
/*-------------------------------------------------------------------------*/

FieldContainerAttachment::~FieldContainerAttachment ( void   )  [protected, virtual]

Definition at line 126 of file OSGFieldContainerAttachment.cpp.

00127 {
00128 }


Member Function Documentation

OSG::FieldContainerAttachment::OSG_GEN_INTERNALPTR ( FieldContainerAttachment   ) 

OSG::FieldContainerAttachment::OSG_RC_FIRST_FIELD_DECL ( Parents   ) 

OSG::FieldContainerAttachment::OSG_RC_FIELD_DECL ( Internal  ,
Parents   
)

OSG::FieldContainerAttachment::OSG_RC_LAST_FIELD_DECL ( Internal   ) 

SFBool & OSG::FieldContainerAttachment::editInternal ( void   )  [inline]

Definition at line 44 of file OSGFieldContainerAttachment.inl.

00045 {
00046     Inherited::editSField(InternalFieldMask);
00047 
00048     return _sfInternal;
00049 }

const SFBool & OSG::FieldContainerAttachment::getInternal ( void   )  const [inline]

Definition at line 52 of file OSGFieldContainerAttachment.inl.

References _sfInternal.

00053 {
00054     return _sfInternal;
00055 }

SFBool * OSG::FieldContainerAttachment::editSFInternal ( void   )  [inline]

Definition at line 58 of file OSGFieldContainerAttachment.inl.

References _sfInternal, and OSG::FieldContainer::editSField().

00059 {
00060     Inherited::editSField(InternalFieldMask);
00061 
00062     return &_sfInternal;
00063 }

const SFBool * OSG::FieldContainerAttachment::getSFInternal ( void   )  const [inline]

Definition at line 66 of file OSGFieldContainerAttachment.inl.

References _sfInternal.

00067 {
00068     return &_sfInternal;
00069 }

void OSG::FieldContainerAttachment::setInternal ( bool  bVal  )  [inline]

Definition at line 86 of file OSGFieldContainerAttachment.inl.

References _sfInternal, and OSG::FieldContainer::editSField().

00087 {
00088     Inherited::editSField(InternalFieldMask);
00089 
00090     _sfInternal.setValue(bVal);
00091 }

void OSG::FieldContainerAttachment::addParent ( FieldContainerPtrConst  parent,
const UInt16  uiStoredInFieldId = InvalidParentEPos 
) [inline]

Definition at line 94 of file OSGFieldContainerAttachment.inl.

References _mfParents, and OSG::FieldContainer::editMField().

00097 {
00098     Inherited::editMField(ParentsFieldMask, _mfParents);
00099 
00100     _mfParents.push_back(parent);
00101     _mfParents.back().setParentFieldPos(uiStoredInFieldId);
00102 }

void OSG::FieldContainerAttachment::subParent ( FieldContainerPtrConst  parent  )  [inline]

Definition at line 105 of file OSGFieldContainerAttachment.inl.

References _mfParents, and OSG::FieldContainer::editMField().

00106 {
00107     Int32 iParentIdx = _mfParents.findIndex(parent);
00108 
00109     if(iParentIdx != -1)
00110     {
00111         Inherited::editMField(ParentsFieldMask, _mfParents);
00112 
00113         MFParentFieldContainerPtr::iterator parentIt = _mfParents.begin();
00114 
00115         parentIt += iParentIdx;
00116 
00117         _mfParents.erase(parentIt);
00118     }
00119 }

FieldContainerPtr OSG::FieldContainerAttachment::getParent ( UInt32  uiIdx  )  [inline]

Definition at line 122 of file OSGFieldContainerAttachment.inl.

References _mfParents, and OSG::getCPtr().

Referenced by OSG::GeoStatsAttachment::attachTo(), and OSG::GeoStatsAttachment::validate().

00123 {
00124     if(uiIdx < _mfParents.size())
00125     {
00126         return _mfParents[uiIdx].getCPtr();
00127     }
00128     else
00129     {
00130         return NULL;
00131     }
00132 }

UInt32 FieldContainerAttachment::getBinSize ( ConstFieldMaskArg  whichField  )  [virtual]