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

osg::StereoCameraDecoratorBase Class Reference

StereoCameraDecorator Base Class. More...

#include <OSGStereoCameraDecoratorBase.h>

Inheritance diagram for osg::StereoCameraDecoratorBase:

Inheritance graph
[legend]
Collaboration diagram for osg::StereoCameraDecoratorBase:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
SFBoolgetSFLeftEye (void)
SFReal32getSFEyeSeparation (void)
bool & getLeftEye (void)
const bool & getLeftEye (void) const
Real32getEyeSeparation (void)
const Real32getEyeSeparation (void) const
Field Set
void setLeftEye (const bool &value)
void setEyeSeparation (const Real32 &value)
Sync
virtual void executeSync (FieldContainer &other, const BitVector &whichField)
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 Methods

Class Get
FieldContainerTypegetClassType (void)
 access the type of the class

UInt32 getClassTypeId (void)
 access the numerical type of the class


Static Public Attributes

const osg::BitVector LeftEyeFieldMask
const osg::BitVector EyeSeparationFieldMask

Protected Methods

Constructors
 StereoCameraDecoratorBase (void)
 Constructor.

 StereoCameraDecoratorBase (const StereoCameraDecoratorBase &source)
 Copy Constructor.

Destructors
virtual ~StereoCameraDecoratorBase (void)
 Destructor.

Sync
void executeSyncImpl (StereoCameraDecoratorBase *pOther, const BitVector &whichField)

Protected Attributes

Fields
SFBool _sfLeftEye
SFReal32 _sfEyeSeparation

Private Types

typedef CameraDecorator Inherited

Private Methods

void operator= (const StereoCameraDecoratorBase &source)

Static Private Attributes

FieldDescription_desc []
 StereoCameraDecorator description.

FieldContainerType _type
 StereoCameraDecorator type.


Friends

class FieldContainer

Detailed Description

StereoCameraDecorator Base Class.


Member Typedef Documentation

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

Reimplemented from osg::CameraDecorator.

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


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
LeftEyeFieldId 
EyeSeparationFieldId 
NextFieldId 


Constructor & Destructor Documentation

StereoCameraDecoratorBase::StereoCameraDecoratorBase void    [protected]
 

Constructor.

StereoCameraDecoratorBase::StereoCameraDecoratorBase const StereoCameraDecoratorBase &    source [protected]
 

Copy Constructor.

StereoCameraDecoratorBase::~StereoCameraDecoratorBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

access the type of the class

Reimplemented from osg::CameraDecoratorBase.

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

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

access the numerical type of the class

Reimplemented from osg::CameraDecoratorBase.

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

FieldContainerType & StereoCameraDecoratorBase::getType void    [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

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

const FieldContainerType & StereoCameraDecoratorBase::getType void    const [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

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

UInt32 StereoCameraDecoratorBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

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

SFBool * osg::StereoCameraDecoratorBase::getSFLeftEye void    [inline]
 

SFReal32 * osg::StereoCameraDecoratorBase::getSFEyeSeparation void    [inline]
 

bool & osg::StereoCameraDecoratorBase::getLeftEye void    [inline]
 

const bool & osg::StereoCameraDecoratorBase::getLeftEye void    const [inline]
 

Real32 & osg::StereoCameraDecoratorBase::getEyeSeparation void    [inline]
 

const Real32 & osg::StereoCameraDecoratorBase::getEyeSeparation void    const [inline]
 

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

void osg::StereoCameraDecoratorBase::setEyeSeparation const Real32   value [inline]
 

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

Reimplemented from osg::CameraDecoratorBase.

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

UInt32 StereoCameraDecoratorBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

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

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

Reimplemented from osg::CameraDecoratorBase.

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

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

Reimplemented from osg::CameraDecoratorBase.

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

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

void osg::StereoCameraDecoratorBase::operator= const StereoCameraDecoratorBase &    source [private]
 


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::CameraDecorator.

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


Member Data Documentation

const osg::BitVector StereoCameraDecoratorBase::LeftEyeFieldMask [static]
 

Initial value:

 
    (1 << StereoCameraDecoratorBase::LeftEyeFieldId)

const osg::BitVector StereoCameraDecoratorBase::EyeSeparationFieldMask [static]
 

Initial value:

 
    (1 << StereoCameraDecoratorBase::EyeSeparationFieldId)

bool StereoCameraDecoratorBase::_sfLeftEye [protected]
 

Flag to distinguish between left and right eye views.

Real32 StereoCameraDecoratorBase::_sfEyeSeparation [protected]
 

The distance between the two eyes.

FieldDescription * StereoCameraDecoratorBase::_desc [static, private]
 

Initial value:

 
{
    new FieldDescription(SFBool::getClassType(), 
                     "leftEye", 
                     LeftEyeFieldId, LeftEyeFieldMask,
                     false,
                     (FieldAccessMethod) &StereoCameraDecoratorBase::getSFLeftEye),
    new FieldDescription(SFReal32::getClassType(), 
                     "eyeSeparation", 
                     EyeSeparationFieldId, EyeSeparationFieldMask,
                     false,
                     (FieldAccessMethod) &StereoCameraDecoratorBase::getSFEyeSeparation)
}
StereoCameraDecorator description.

Reimplemented from osg::CameraDecoratorBase.

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

FieldContainerType StereoCameraDecoratorBase::_type [static, private]
 

StereoCameraDecorator type.

Reimplemented from osg::CameraDecoratorBase.

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


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:31:39 2002 for OpenSG by doxygen1.2.16