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

osg::StereoCameraDecorator Class Reference

Camera Decorator for stereo image generation, see Stereo for a description. More...

#include <OSGStereoCameraDecorator.h>

Inheritance diagram for osg::StereoCameraDecorator:

osg::StereoCameraDecoratorBase osg::CameraDecorator osg::CameraDecoratorBase osg::Camera osg::CameraBase osg::AttachmentContainer osg::FieldContainer osg::ProjectionCameraDecoratorBase osg::ShearedStereoCameraDecoratorBase osg::ProjectionCameraDecorator osg::ShearedStereoCameraDecorator List of all members.

your_category

*virtual void draw (DrawAction *action, const Viewport &port)
virtual void getProjection (Matrix &result, UInt32 width, UInt32 height)
virtual void getProjectionTranslation (Matrix &result, UInt32 width, UInt32 height)
virtual void getViewing (Matrix &result, UInt32 width, UInt32 height)

Sync

*void executeSyncImpl (StereoCameraDecoratorBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)

Public Types

typedef StereoCameraDecoratorPtr Ptr
enum  { LeftEyeFieldId = Inherited::NextFieldId, EyeSeparationFieldId = LeftEyeFieldId + 1, NextFieldId = EyeSeparationFieldId + 1 }

Public Member Functions

Sync
*virtual void changed (BitVector whichField, UInt32 origin)
Output
*virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Binary Access
*virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)

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 LeftEyeFieldMask
static const osg::BitVector EyeSeparationFieldMask
static const osg::BitVector MTInfluenceMask
static const osg::BitVector DecorateeFieldMask
static const osg::BitVector BeaconFieldMask
static const osg::BitVector NearFieldMask
static const osg::BitVector FarFieldMask
static const BitVector AttachmentsFieldMask
static const BitVector NextFieldMask

Protected Member Functions

Constructors
StereoCameraDecorator (void)
 StereoCameraDecorator (const StereoCameraDecorator &source)
Destructors
*virtual ~StereoCameraDecorator (void)

Private Types

typedef StereoCameraDecoratorBase Inherited

Private Member Functions

void operator= (const StereoCameraDecorator &source)

Static Private Member Functions

static void initMethod (void)

Friends

class FieldContainer
class StereoCameraDecoratorBase

Detailed Description

The abstract base class for stereo camera decorators, see Stereo for a description.

The basic parameters are given by the _sfEyeSeparation and _sfLeftEye fields.

Definition at line 55 of file OSGStereoCameraDecorator.h.


Member Typedef Documentation

typedef StereoCameraDecoratorBase osg::StereoCameraDecorator::Inherited [private]
 

Reimplemented from osg::StereoCameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecorator, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecorator, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 59 of file OSGStereoCameraDecorator.h.

typedef StereoCameraDecoratorPtr osg::StereoCameraDecoratorBase::Ptr [inherited]
 

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 91 of file OSGStereoCameraDecoratorBase.h.


Member Enumeration Documentation

anonymous enum [inherited]
 

Enumerator:
LeftEyeFieldId 
EyeSeparationFieldId 
NextFieldId 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 93 of file OSGStereoCameraDecoratorBase.h.

00094     {
00095         LeftEyeFieldId       = Inherited::NextFieldId,
00096         EyeSeparationFieldId = LeftEyeFieldId       + 1,
00097         NextFieldId          = EyeSeparationFieldId + 1
00098     };


Constructor & Destructor Documentation

StereoCameraDecorator::StereoCameraDecorator void   )  [protected]
 

Definition at line 69 of file OSGStereoCameraDecorator.cpp.

00069                                                  :
00070     Inherited()
00071 {
00072 }

StereoCameraDecorator::StereoCameraDecorator const StereoCameraDecorator source  )  [protected]
 

Definition at line 74 of file OSGStereoCameraDecorator.cpp.

00074                                                                                 :
00075     Inherited(source)
00076 {
00077 }

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

Definition at line 79 of file OSGStereoCameraDecorator.cpp.

00080 {
00081 }


Member Function Documentation

void StereoCameraDecorator::changed BitVector  whichField,
UInt32  origin
[virtual]
 

Reimplemented from osg::CameraDecorator.

Reimplemented in osg::ProjectionCameraDecorator, and osg::ShearedStereoCameraDecorator.

Definition at line 89 of file OSGStereoCameraDecorator.cpp.

Referenced by osg::ShearedStereoCameraDecorator::changed(), and osg::ProjectionCameraDecorator::changed().

00090 {
00091 }

void StereoCameraDecorator::dump UInt32  uiIndent = 0,
const BitVector  bvFlags = 0
const [virtual]
 

Reimplemented from osg::CameraDecorator.

Reimplemented in osg::ProjectionCameraDecorator, and osg::ShearedStereoCameraDecorator.

Definition at line 93 of file OSGStereoCameraDecorator.cpp.

References SLOG.

00095 {
00096     SLOG << "Dump StereoCameraDecorator NI" << std::endl;
00097 }

void StereoCameraDecorator::initMethod void   )  [static, private]
 

Reimplemented from osg::CameraDecorator.

Reimplemented in osg::ProjectionCameraDecorator, and osg::ShearedStereoCameraDecorator.

Definition at line 85 of file OSGStereoCameraDecorator.cpp.

00086 {
00087 }

void osg::StereoCameraDecorator::operator= const StereoCameraDecorator source  )  [private]
 

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

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 58 of file OSGStereoCameraDecoratorBase.inl.

References osg::StereoCameraDecoratorBase::_type.

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::StereoCameraDecoratorBase::getClassTypeId void   )  [inline, static, inherited]
 

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 65 of file OSGStereoCameraDecoratorBase.inl.

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

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

FieldContainerType & StereoCameraDecoratorBase::getType void   )  [virtual, inherited]
 

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 117 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::_type.

00118 {
00119     return _type; 
00120 } 

const FieldContainerType & StereoCameraDecoratorBase::getType void   )  const [virtual, inherited]
 

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 122 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::_type.

00123 {
00124     return _type;
00125 } 

UInt32 StereoCameraDecoratorBase::getContainerSize void   )  const [virtual, inherited]
 

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 128 of file OSGStereoCameraDecoratorBase.cpp.

00129 { 
00130     return sizeof(StereoCameraDecorator); 
00131 }

SFBool * osg::StereoCameraDecoratorBase::getSFLeftEye void   )  [inline, inherited]
 

Definition at line 75 of file OSGStereoCameraDecoratorBase.inl.

References osg::StereoCameraDecoratorBase::_sfLeftEye.

00076 {
00077     return &_sfLeftEye;
00078 }

SFReal32 * osg::StereoCameraDecoratorBase::getSFEyeSeparation void   )  [inline, inherited]
 

Definition at line 82 of file OSGStereoCameraDecoratorBase.inl.

References osg::StereoCameraDecoratorBase::_sfEyeSeparation.

00083 {
00084     return &_sfEyeSeparation;
00085 }

bool & osg::StereoCameraDecoratorBase::getLeftEye void   )  [inline, inherited]
 

Definition at line 90 of file OSGStereoCameraDecoratorBase.inl.

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

Referenced by osg::ShearedStereoCameraDecorator::getProjection(), osg::ProjectionCameraDecorator::getProjection(), and osg::ProjectionCameraDecorator::getProjectionTranslation().

00091 {
00092     return _sfLeftEye.getValue();
00093 }

const bool & osg::StereoCameraDecoratorBase::getLeftEye void   )  const [inline, inherited]
 

Definition at line 97 of file OSGStereoCameraDecoratorBase.inl.

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

00098 {
00099     return _sfLeftEye.getValue();
00100 }

Real32 & osg::StereoCameraDecoratorBase::getEyeSeparation void   )  [inline, inherited]
 

Definition at line 111 of file OSGStereoCameraDecoratorBase.inl.

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

Referenced by osg::ShearedStereoCameraDecorator::getProjection(), osg::ProjectionCameraDecorator::getProjection(), and osg::ProjectionCameraDecorator::getProjectionTranslation().

00112 {
00113     return _sfEyeSeparation.getValue();
00114 }

const Real32 & osg::StereoCameraDecoratorBase::getEyeSeparation void   )  const [inline, inherited]
 

Definition at line 118 of file OSGStereoCameraDecoratorBase.inl.

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

00119 {
00120     return _sfEyeSeparation.getValue();
00121 }

void osg::StereoCameraDecoratorBase::setLeftEye const bool &  value  )  [inline, inherited]
 

Definition at line 104 of file OSGStereoCameraDecoratorBase.inl.

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

00105 {
00106     _sfLeftEye.setValue(value);
00107 }

void osg::StereoCameraDecoratorBase::setEyeSeparation const Real32 value  )  [inline, inherited]
 

Definition at line 125 of file OSGStereoCameraDecoratorBase.inl.

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

00126 {
00127     _sfEyeSeparation.setValue(value);
00128 }

UInt32 StereoCameraDecoratorBase::getBinSize const BitVector whichField  )  [virtual, inherited]
 

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 192 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::_sfEyeSeparation, osg::StereoCameraDecoratorBase::_sfLeftEye, osg::StereoCameraDecoratorBase::EyeSeparationFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::CameraDecoratorBase::getBinSize(), osg::StereoCameraDecoratorBase::LeftEyeFieldMask, and osg::FieldBits::NoField.

Referenced by osg::ShearedStereoCameraDecoratorBase::getBinSize(), and osg::ProjectionCameraDecoratorBase::getBinSize().

00193 {
00194     UInt32 returnValue = Inherited::getBinSize(whichField);
00195 
00196     if(FieldBits::NoField != (LeftEyeFieldMask & whichField))
00197     {
00198         returnValue += _sfLeftEye.getBinSize();
00199     }
00200 
00201     if(FieldBits::NoField != (EyeSeparationFieldMask & whichField))
00202     {
00203         returnValue += _sfEyeSeparation.getBinSize();
00204     }
00205 
00206 
00207     return returnValue;
00208 }

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

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 210 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::_sfEyeSeparation, osg::StereoCameraDecoratorBase::_sfLeftEye, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::CameraDecoratorBase::copyToBin(), osg::StereoCameraDecoratorBase::EyeSeparationFieldMask, osg::StereoCameraDecoratorBase::LeftEyeFieldMask, and osg::FieldBits::NoField.

Referenced by osg::ShearedStereoCameraDecoratorBase::copyToBin(), and osg::ProjectionCameraDecoratorBase::copyToBin().

00212 {
00213     Inherited::copyToBin(pMem, whichField);
00214 
00215     if(FieldBits::NoField != (LeftEyeFieldMask & whichField))
00216     {
00217         _sfLeftEye.copyToBin(pMem);
00218     }
00219 
00220     if(FieldBits::NoField != (EyeSeparationFieldMask & whichField))
00221     {
00222         _sfEyeSeparation.copyToBin(pMem);
00223     }
00224 
00225 
00226 }

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

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 228 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::_sfEyeSeparation, osg::StereoCameraDecoratorBase::_sfLeftEye, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::CameraDecoratorBase::copyFromBin(), osg::StereoCameraDecoratorBase::EyeSeparationFieldMask, osg::StereoCameraDecoratorBase::LeftEyeFieldMask, and osg::FieldBits::NoField.

Referenced by osg::ShearedStereoCameraDecoratorBase::copyFromBin(), and osg::ProjectionCameraDecoratorBase::copyFromBin().

00230 {
00231     Inherited::copyFromBin(pMem, whichField);
00232 
00233     if(FieldBits::NoField != (LeftEyeFieldMask & whichField))
00234     {
00235         _sfLeftEye.copyFromBin(pMem);
00236     }
00237 
00238     if(FieldBits::NoField != (EyeSeparationFieldMask & whichField))
00239     {
00240         _sfEyeSeparation.copyFromBin(pMem);
00241     }
00242 
00243 
00244 }

void StereoCameraDecoratorBase::executeSyncImpl StereoCameraDecoratorBase pOther,
const BitVector whichField
[protected, inherited]
 

Definition at line 247 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::_sfEyeSeparation, osg::StereoCameraDecoratorBase::_sfLeftEye, osg::CameraDecoratorBase::executeSyncImpl(), osg::StereoCameraDecoratorBase::EyeSeparationFieldMask, osg::StereoCameraDecoratorBase::LeftEyeFieldMask, osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by osg::StereoCameraDecoratorBase::executeSync(), osg::ShearedStereoCameraDecoratorBase::executeSyncImpl(), and osg::ProjectionCameraDecoratorBase::executeSyncImpl().

00249 {
00250 
00251     Inherited::executeSyncImpl(pOther, whichField);
00252 
00253     if(FieldBits::NoField != (LeftEyeFieldMask & whichField))
00254         _sfLeftEye.syncWith(pOther->_sfLeftEye);
00255 
00256     if(FieldBits::NoField != (EyeSeparationFieldMask & whichField))
00257         _sfEyeSeparation.syncWith(pOther->_sfEyeSeparation);
00258 
00259 
00260 }

void CameraDecoratorBase::executeSyncImpl CameraDecoratorBase pOther,
const BitVector whichField
[protected, inherited]
 

Definition at line 214 of file OSGCameraDecoratorBase.cpp.

References osg::CameraDecoratorBase::_sfDecoratee, osg::CameraDecoratorBase::DecorateeFieldMask, osg::CameraBase::executeSyncImpl(), osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by osg::CameraDecoratorBase::executeSync(), osg::TileCameraDecoratorBase::executeSyncImpl(), osg::StereoCameraDecoratorBase::executeSyncImpl(), and osg::MatrixCameraDecoratorBase::executeSyncImpl().

00216 {
00217 
00218     Inherited::executeSyncImpl(pOther, whichField);
00219 
00220     if(FieldBits::NoField != (DecorateeFieldMask & whichField))
00221     {
00222         _sfDecoratee.syncWith(pOther->_sfDecoratee);
00223     }
00224 
00225 }

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

Definition at line 275 of file OSGCameraBase.cpp.

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

Referenced by osg::CameraBase::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 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(), osg::ImageBase::executeSyncImpl(), osg::ForegroundBase::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().

00335 {
00336 }

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

Reimplemented from osg::CameraDecoratorBase.

Reimplemented in osg::ProjectionCameraDecoratorBase, and osg::ShearedStereoCameraDecoratorBase.

Definition at line 135 of file OSGStereoCameraDecoratorBase.cpp.

References osg::StereoCameraDecoratorBase::executeSyncImpl().

00137 {
00138     this->executeSyncImpl((StereoCameraDecoratorBase *) &other, whichField);
00139 }

void CameraDecorator::draw DrawAction action,
const Viewport port
[virtual, inherited]
 

Draw the camera's geometry (if any). Usually there is none.

Reimplemented from osg::Camera.

Definition at line 100 of file OSGCameraDecorator.cpp.

References osg::CameraDecoratorBase::getDecoratee().

00102 {
00103     getDecoratee()->draw(action, port);
00104 }

void CameraDecorator::getProjection Matrix result,
UInt32  width,
UInt32  height
[virtual, inherited]
 

Get/calculate the projection matrix for this camera.

Reimplemented from osg::Camera.

Reimplemented in osg::MatrixCameraDecorator, osg::ProjectionCameraDecorator, osg::ShearedStereoCameraDecorator, and osg::TileCameraDecorator.

Definition at line 106 of file OSGCameraDecorator.cpp.

References osg::CameraDecoratorBase::getDecoratee().

00109 {
00110     getDecoratee()->getProjection(result, width, height);
00111 }

void CameraDecorator::getProjectionTranslation Matrix result,
UInt32  width,
UInt32  height
[virtual, inherited]
 

Get/calculate the projection translation matrix for this camera. The default is identity.

Reimplemented from osg::Camera.

Reimplemented in osg::MatrixCameraDecorator, and osg::ProjectionCameraDecorator.

Definition at line 113 of file OSGCameraDecorator.cpp.

References osg::CameraDecoratorBase::getDecoratee().

00116 {
00117     getDecoratee()->getProjectionTranslation(result, width, height);
00118 }

void CameraDecorator::getViewing Matrix result,
UInt32  width,
UInt32  height
[virtual, inherited]
 

Get/calculate the viewing matrix for this camera. This is the inverse of the beacon's toWorld transformation.

Reimplemented from osg::Camera.

Reimplemented in osg::MatrixCameraDecorator, and osg::ProjectionCameraDecorator.

Definition at line 120 of file OSGCameraDecorator.cpp.

References osg::CameraDecoratorBase::getDecoratee().

00123 {
00124     getDecoratee()->getViewing(result, width, height);
00125 }

SFCameraPtr * osg::CameraDecoratorBase::getSFDecoratee void   )  [inline, inherited]
 

Definition at line 74 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::_sfDecoratee.

00075 {
00076     return &_sfDecoratee;
00077 }

SFNodePtr * osg::CameraDecoratorBase::getSFBeacon void   )  [inline, virtual, inherited]
 

Reimplemented from osg::CameraBase.

Definition at line 98 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::getDecoratee().

00099 {
00100     return getDecoratee()->getSFBeacon();
00101 }

SFReal32 * osg::CameraDecoratorBase::getSFNear void   )  [inline, virtual, inherited]
 

Reimplemented from osg::CameraBase.

Definition at line 104 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::getDecoratee().

00105 {
00106     return getDecoratee()->getSFNear();
00107 }

SFReal32 * osg::CameraDecoratorBase::getSFFar void   )  [inline, virtual, inherited]
 

Reimplemented from osg::CameraBase.

Definition at line 110 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::getDecoratee().

00111 {
00112     return getDecoratee()->getSFFar();
00113 }

CameraPtr & osg::CameraDecoratorBase::getDecoratee void   )  [inline, inherited]
 

Definition at line 80 of file OSGCameraDecoratorBase.inl.

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

Referenced by osg::CameraDecorator::draw(), osg::CameraDecoratorBase::getBeacon(), osg::CameraDecoratorBase::getFar(), osg::CameraDecoratorBase::getNear(), osg::TileCameraDecorator::getProjection(), osg::ShearedStereoCameraDecorator::getProjection(), osg::ProjectionCameraDecorator::getProjection(), osg::MatrixCameraDecorator::getProjection(), osg::CameraDecorator::getProjection(), osg::ProjectionCameraDecorator::getProjectionTranslation(), osg::MatrixCameraDecorator::getProjectionTranslation(), osg::CameraDecorator::getProjectionTranslation(), osg::CameraDecoratorBase::getSFBeacon(), osg::CameraDecoratorBase::getSFFar(), osg::CameraDecoratorBase::getSFNear(), osg::MatrixCameraDecorator::getViewing(), osg::CameraDecorator::getViewing(), osg::CameraDecoratorBase::setBeacon(), osg::CameraDecoratorBase::setFar(), and osg::CameraDecoratorBase::setNear().

00081 {
00082     return _sfDecoratee.getValue();
00083 }

const CameraPtr & osg::CameraDecoratorBase::getDecoratee void   )  const [inline, inherited]
 

Definition at line 86 of file OSGCameraDecoratorBase.inl.

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

00087 {
00088     return _sfDecoratee.getValue();
00089 }

NodePtr & osg::CameraDecoratorBase::getBeacon void   )  [inline, virtual, inherited]
 

Reimplemented from osg::CameraBase.

Definition at line 117 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::getDecoratee().

00118 {
00119     return getDecoratee()->getBeacon();
00120 }

const NodePtr & osg::CameraDecoratorBase::getBeacon void   )  const [inline, virtual, inherited]
 

Reimplemented from osg::CameraBase.

Definition at line 123 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::getDecoratee().

00124 {
00125     return getDecoratee()->getBeacon();
00126 }

Real32 & osg::CameraDecoratorBase::getNear void   )  [inline, virtual, inherited]
 

Reimplemented from osg::CameraBase.

Definition at line 137 of file OSGCameraDecoratorBase.inl.

References osg::CameraDecoratorBase::getDecoratee().

00138 {
00139     return getDecoratee()->getNear();
00140 }