Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::CameraBase Class Reference

Camera Base Class.

#include <OSGCameraBase.h>

Inheritance diagram for osg::CameraBase:

osg::AttachmentContainer osg::FieldContainer osg::Camera osg::CameraDecoratorBase osg::MatrixCameraBase osg::PerspectiveCameraBase osg::CameraDecorator osg::MatrixCamera osg::PerspectiveCamera osg::MatrixCameraDecoratorBase osg::StereoCameraDecoratorBase osg::TileCameraDecoratorBase osg::OffCenterPerspectiveCameraBase osg::MatrixCameraDecorator osg::StereoCameraDecorator osg::TileCameraDecorator osg::OffCenterPerspectiveCamera osg::ProjectionCameraDecoratorBase osg::ShearedStereoCameraDecoratorBase osg::ProjectionCameraDecorator osg::ShearedStereoCameraDecorator List of all members.

Public Types

typedef CameraPtr Ptr
enum  { BeaconFieldId = Inherited::NextFieldId, NearFieldId = BeaconFieldId + 1, FarFieldId = NearFieldId + 1, NextFieldId = FarFieldId + 1 }

Public Member Functions

FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
*virtual SFNodePtrgetSFBeacon (void)
virtual SFReal32getSFNear (void)
virtual SFReal32getSFFar (void)
virtual NodePtrgetBeacon (void)
virtual const NodePtrgetBeacon (void) const
virtual Real32getNear (void)
virtual const Real32getNear (void) const
virtual Real32getFar (void)
virtual const Real32getFar (void) const
Field Set
*virtual void setBeacon (const NodePtr &value)
virtual void setNear (const Real32 &value)
virtual void setFar (const Real32 &value)
Binary Access
*virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)
Changed
*virtual void changed (BitVector whichField, UInt32 origin)
Dump
*virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
Clone
*virtual FieldContainerPtr shallowCopy (void) const =0

Static Public Member Functions

Class Get
*static FieldContainerTypegetClassType (void)
 access the type of the class
static UInt32 getClassTypeId (void)
 access the numerical type of the class

Static Public Attributes

static const osg::BitVector BeaconFieldMask
static const osg::BitVector NearFieldMask
static const osg::BitVector FarFieldMask
static const osg::BitVector MTInfluenceMask
static const BitVector AttachmentsFieldMask
static const BitVector NextFieldMask

Protected Member Functions

Constructors
CameraBase (void)
 CameraBase (const CameraBase &source)
Destructors
*virtual ~CameraBase (void)
Sync
*void executeSyncImpl (CameraBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)

Protected Attributes

Fields
*SFNodePtr _sfBeacon
SFReal32 _sfNear
SFReal32 _sfFar

Private Types

typedef AttachmentContainer Inherited

Private Member Functions

void operator= (const CameraBase &source)

Static Private Attributes

static FieldDescription_desc []
 Camera description.
static FieldContainerType _type

Friends

class FieldContainer

Detailed Description

Definition at line 83 of file OSGCameraBase.h.


Member Typedef Documentation

typedef AttachmentContainer osg::CameraBase::Inherited [private]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::Camera, osg::CameraDecorator, osg::CameraDecoratorBase, osg::MatrixCamera, osg::MatrixCameraBase, osg::MatrixCameraDecorator, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCamera, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCamera, osg::PerspectiveCameraBase, osg::ProjectionCameraDecorator, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecorator, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecorator, osg::StereoCameraDecoratorBase, osg::TileCameraDecorator, and osg::TileCameraDecoratorBase.

Definition at line 87 of file OSGCameraBase.h.

typedef CameraPtr osg::CameraBase::Ptr
 

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 92 of file OSGCameraBase.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
BeaconFieldId 
NearFieldId 
FarFieldId 
NextFieldId 

Reimplemented from osg::AttachmentContainer.

Definition at line 94 of file OSGCameraBase.h.

00095     {
00096         BeaconFieldId = Inherited::NextFieldId,
00097         NearFieldId   = BeaconFieldId + 1,
00098         FarFieldId    = NearFieldId   + 1,
00099         NextFieldId   = FarFieldId    + 1
00100     };


Constructor & Destructor Documentation

CameraBase::CameraBase void   )  [protected]
 

Definition at line 177 of file OSGCameraBase.cpp.

00177                            :
00178     _sfBeacon                 (), 
00179     _sfNear                   (), 
00180     _sfFar                    (), 
00181     Inherited() 
00182 {
00183 }

CameraBase::CameraBase const CameraBase source  )  [protected]
 

Definition at line 189 of file OSGCameraBase.cpp.

00189                                                :
00190     _sfBeacon                 (source._sfBeacon                 ), 
00191     _sfNear                   (source._sfNear                   ), 
00192     _sfFar                    (source._sfFar                    ), 
00193     Inherited                 (source)
00194 {
00195 }

CameraBase::~CameraBase void   )  [protected, virtual]
 

Definition at line 199 of file OSGCameraBase.cpp.

00200 {
00201 }


Member Function Documentation

osg::FieldContainerType & osg::CameraBase::getClassType void   )  [inline, static]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 58 of file OSGCameraBase.inl.

References _type.

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::CameraBase::getClassTypeId void   )  [inline, static]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 65 of file OSGCameraBase.inl.

References _type, and osg::TypeBase::getId().

00066 {
00067     return _type.getId(); 
00068 } 

FieldContainerType & CameraBase::getType void   )  [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 128 of file OSGCameraBase.cpp.

References _type.

00129 {
00130     return _type; 
00131 } 

const FieldContainerType & CameraBase::getType void   )  const [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 133 of file OSGCameraBase.cpp.

References _type.

00134 {
00135     return _type;
00136 } 

UInt32 CameraBase::getContainerSize void   )  const [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 139 of file OSGCameraBase.cpp.

00140 { 
00141     return sizeof(Camera); 
00142 }

SFNodePtr * CameraBase::getSFBeacon void   )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 325 of file OSGCameraBase.cpp.

References _sfBeacon.

00326 {
00327     return &_sfBeacon;
00328 }

SFReal32 * CameraBase::getSFNear void   )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 331 of file OSGCameraBase.cpp.

References _sfNear.

00332 {
00333     return &_sfNear;
00334 }

SFReal32 * CameraBase::getSFFar void   )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 337 of file OSGCameraBase.cpp.

References _sfFar.

00338 {
00339     return &_sfFar;
00340 }

NodePtr & CameraBase::getBeacon void   )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 344 of file OSGCameraBase.cpp.

References _sfBeacon, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by drawViewerObjects< posTrait, colTrait, sizeTrait, geoTrait >::draw(), osg::DVRVolume::draw(), drawViewerObjects< posTrait, colTrait, sizeTrait, geoTrait >::drawIndexed(), osg::DVRIsoShader::getCoveredScreenRect(), osg::Slicer::getSlicingDirection(), osg::Camera::getViewing(), and osg::Slicer::rotateToLocal().

00345 {
00346     return _sfBeacon.getValue();
00347 }

const NodePtr & CameraBase::getBeacon void   )  const [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 350 of file OSGCameraBase.cpp.

References _sfBeacon, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00351 {
00352     return _sfBeacon.getValue();
00353 }

Real32 & CameraBase::getNear void   )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 362 of file OSGCameraBase.cpp.

References _sfNear, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by osg::SkyBackground::clear(), osg::PerspectiveCamera::getProjection(), and osg::OffCenterPerspectiveCamera::getProjection().

00363 {
00364     return _sfNear.getValue();
00365 }

const Real32 & CameraBase::getNear void   )  const [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 368 of file OSGCameraBase.cpp.

References _sfNear, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00369 {
00370     return _sfNear.getValue();
00371 }

Real32 & CameraBase::getFar void   )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 380 of file OSGCameraBase.cpp.

References _sfFar, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by osg::SkyBackground::clear(), osg::PerspectiveCamera::getProjection(), and osg::OffCenterPerspectiveCamera::getProjection().

00381 {
00382     return _sfFar.getValue();
00383 }

const Real32 & CameraBase::getFar void   )  const [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 386 of file OSGCameraBase.cpp.

References _sfFar, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00387 {
00388     return _sfFar.getValue();
00389 }

void CameraBase::setBeacon const NodePtr value  )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 356 of file OSGCameraBase.cpp.

References _sfBeacon, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00357 {
00358     _sfBeacon.setValue(value);
00359 }

void CameraBase::setNear const Real32 value  )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 374 of file OSGCameraBase.cpp.

References _sfNear, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00375 {
00376     _sfNear.setValue(value);
00377 }

void CameraBase::setFar const Real32 value  )  [virtual]
 

Reimplemented in osg::CameraDecoratorBase.

Definition at line 392 of file OSGCameraBase.cpp.

References _sfFar, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00393 {
00394     _sfFar.setValue(value);
00395 }

UInt32 CameraBase::getBinSize const BitVector whichField  )  [virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 205 of file OSGCameraBase.cpp.

References _sfBeacon, _sfFar, _sfNear, BeaconFieldMask, FarFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::AttachmentContainer::getBinSize(), NearFieldMask, and osg::FieldBits::NoField.

Referenced by osg::PerspectiveCameraBase::getBinSize(), osg::MatrixCameraBase::getBinSize(), and osg::CameraDecoratorBase::getBinSize().

00206 {
00207     UInt32 returnValue = Inherited::getBinSize(whichField);
00208 
00209     if(FieldBits::NoField != (BeaconFieldMask & whichField))
00210     {
00211         returnValue += _sfBeacon.getBinSize();
00212     }
00213 
00214     if(FieldBits::NoField != (NearFieldMask & whichField))
00215     {
00216         returnValue += _sfNear.getBinSize();
00217     }
00218 
00219     if(FieldBits::NoField != (FarFieldMask & whichField))
00220     {
00221         returnValue += _sfFar.getBinSize();
00222     }
00223 
00224 
00225     return returnValue;
00226 }

void CameraBase::copyToBin BinaryDataHandler pMem,
const BitVector whichField
[virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 228 of file OSGCameraBase.cpp.

References _sfBeacon, _sfFar, _sfNear, BeaconFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::AttachmentContainer::copyToBin(), FarFieldMask, NearFieldMask, and osg::FieldBits::NoField.

Referenced by osg::PerspectiveCameraBase::copyToBin(), osg::MatrixCameraBase::copyToBin(), and osg::CameraDecoratorBase::copyToBin().

00230 {
00231     Inherited::copyToBin(pMem, whichField);
00232 
00233     if(FieldBits::NoField != (BeaconFieldMask & whichField))
00234     {
00235         _sfBeacon.copyToBin(pMem);
00236     }
00237 
00238     if(FieldBits::NoField != (NearFieldMask & whichField))
00239     {
00240         _sfNear.copyToBin(pMem);
00241     }
00242 
00243     if(FieldBits::NoField != (FarFieldMask & whichField))
00244     {
00245         _sfFar.copyToBin(pMem);
00246     }
00247 
00248 
00249 }

void CameraBase::copyFromBin BinaryDataHandler pMem,
const BitVector whichField
[virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 251 of file OSGCameraBase.cpp.

References _sfBeacon, _sfFar, _sfNear, BeaconFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::AttachmentContainer::copyFromBin(), FarFieldMask, NearFieldMask, and osg::FieldBits::NoField.

Referenced by osg::PerspectiveCameraBase::copyFromBin(), osg::MatrixCameraBase::copyFromBin(), and osg::CameraDecoratorBase::copyFromBin().

00253 {
00254     Inherited::copyFromBin(pMem, whichField);
00255 
00256     if(FieldBits::NoField != (BeaconFieldMask & whichField))
00257     {
00258         _sfBeacon.copyFromBin(pMem);
00259     }
00260 
00261     if(FieldBits::NoField != (NearFieldMask & whichField))
00262     {
00263         _sfNear.copyFromBin(pMem);
00264     }
00265 
00266     if(FieldBits::NoField != (FarFieldMask & whichField))
00267     {
00268         _sfFar.copyFromBin(pMem);
00269     }
00270 
00271 
00272 }

void CameraBase::executeSyncImpl CameraBase pOther,
const BitVector whichField
[protected]
 

Definition at line 275 of file OSGCameraBase.cpp.

References _sfBeacon, _sfFar, _sfNear, BeaconFieldMask, osg::AttachmentContainer::executeSyncImpl(), FarFieldMask, NearFieldMask, osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by executeSync(), osg::PerspectiveCameraBase::executeSyncImpl(), osg::MatrixCameraBase::executeSyncImpl(), and osg::CameraDecoratorBase::executeSyncImpl().

00277 {
00278 
00279     Inherited::executeSyncImpl(pOther, whichField);
00280 
00281     if(FieldBits::NoField != (BeaconFieldMask & whichField))
00282         _sfBeacon.syncWith(pOther->_sfBeacon);
00283 
00284     if(FieldBits::NoField != (NearFieldMask & whichField))
00285         _sfNear.syncWith(pOther->_sfNear);
00286 
00287     if(FieldBits::NoField != (FarFieldMask & whichField))
00288         _sfFar.syncWith(pOther->_sfFar);
00289 
00290 
00291 }

void CameraBase::executeSync FieldContainer other,
const BitVector whichField
[protected, virtual]
 

Reimplemented from osg::AttachmentContainer.

Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::MatrixCameraDecoratorBase, osg::OffCenterPerspectiveCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase.

Definition at line 146 of file OSGCameraBase.cpp.

References executeSyncImpl().

00148 {
00149     this->executeSyncImpl((CameraBase *) &other, whichField);
00150 }

void osg::CameraBase::operator= const CameraBase 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]
 

Definition at line 170 of file OSGAttachmentContainer.cpp.

References osg::AttachmentContainer::_attachmentMap.

00171 {
00172     return &_attachmentMap;
00173 }

void AttachmentContainer::changed BitVector  whichField,
UInt32  origin
[virtual, inherited]
 

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::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::ComponentTransform, osg::DistanceLOD, osg::Inline, osg::InverseTransform, osg::MaterialGroup, osg::MaterialPool, osg::ProxyGroup, osg::StateSortingGroup, osg::Switch, osg::Transform, osg::GraphicStatisticsForeground, osg::SimpleStatisticsForeground, osg::StatisticsForeground, osg::Background, osg::Camera, osg::CameraDecorator, osg::ColorBufferViewport, osg::DepthClearBackground, osg::FileGrabForeground, osg::Foreground, osg::GrabForeground, osg::GradientBackground, osg::ImageBackground, osg::ImageForeground, osg::MatrixCamera, osg::MatrixCameraDecorator, osg::OffCenterPerspectiveCamera, osg::PassiveBackground, osg::PassiveViewport, osg::PassiveWindow, osg::PerspectiveCamera, osg::PolygonBackground, osg::PolygonForeground, osg::ProjectionCameraDecorator, 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::ShaderParameterReal, osg::ShaderParameterString, osg::ShaderParameterVec2f, osg::ShaderParameterVec3f,