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

osg::ShearedStereoCameraDecoratorBase Class Reference

ShearedStereoCameraDecorator Base Class. More...

#include <OSGShearedStereoCameraDecoratorBase.h>

Inheritance diagram for osg::ShearedStereoCameraDecoratorBase:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  { ZeroParallaxDistanceFieldId = Inherited::NextFieldId, OverlapFieldId = ZeroParallaxDistanceFieldId + 1, NextFieldId = OverlapFieldId + 1 }

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
SFReal32getSFZeroParallaxDistance (void)
SFReal32getSFOverlap (void)
Real32getZeroParallaxDistance (void)
const Real32getZeroParallaxDistance (void) const
Real32getOverlap (void)
const Real32getOverlap (void) const
Field Set
void setZeroParallaxDistance (const Real32 &value)
void setOverlap (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)
Copy
virtual FieldContainerPtr shallowCopy (void) const

Static Public Methods

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

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

Construction
ShearedStereoCameraDecoratorPtr create (void)
 create a new instance of the class

ShearedStereoCameraDecoratorPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype


Static Public Attributes

const osg::BitVector ZeroParallaxDistanceFieldMask
const osg::BitVector OverlapFieldMask

Protected Methods

Constructors
 ShearedStereoCameraDecoratorBase (void)
 Constructor.

 ShearedStereoCameraDecoratorBase (const ShearedStereoCameraDecoratorBase &source)
 Copy Constructor.

Destructors
virtual ~ShearedStereoCameraDecoratorBase (void)
 Destructor.

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

Protected Attributes

Fields
SFReal32 _sfZeroParallaxDistance
SFReal32 _sfOverlap

Private Types

typedef StereoCameraDecorator Inherited

Private Methods

void operator= (const ShearedStereoCameraDecoratorBase &source)

Static Private Attributes

FieldDescription_desc []
 ShearedStereoCameraDecorator description.

FieldContainerType _type
 ShearedStereoCameraDecorator type.


Friends

class FieldContainer

Detailed Description

ShearedStereoCameraDecorator Base Class.


Member Typedef Documentation

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

Reimplemented from osg::StereoCameraDecorator.

Reimplemented in osg::ShearedStereoCameraDecorator.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ZeroParallaxDistanceFieldId 
OverlapFieldId 
NextFieldId 


Constructor & Destructor Documentation

ShearedStereoCameraDecoratorBase::ShearedStereoCameraDecoratorBase void    [protected]
 

Constructor.

ShearedStereoCameraDecoratorBase::ShearedStereoCameraDecoratorBase const ShearedStereoCameraDecoratorBase &    source [protected]
 

Copy Constructor.

ShearedStereoCameraDecoratorBase::~ShearedStereoCameraDecoratorBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

access the type of the class

Reimplemented from osg::StereoCameraDecoratorBase.

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

access the numerical type of the class

Reimplemented from osg::StereoCameraDecoratorBase.

FieldContainerType & ShearedStereoCameraDecoratorBase::getType void    [virtual]
 

Reimplemented from osg::StereoCameraDecoratorBase.

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

Reimplemented from osg::StereoCameraDecoratorBase.

UInt32 ShearedStereoCameraDecoratorBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::StereoCameraDecoratorBase.

SFReal32 * osg::ShearedStereoCameraDecoratorBase::getSFZeroParallaxDistance void    [inline]
 

SFReal32 * osg::ShearedStereoCameraDecoratorBase::getSFOverlap void    [inline]
 

Real32 & osg::ShearedStereoCameraDecoratorBase::getZeroParallaxDistance void    [inline]
 

const Real32 & osg::ShearedStereoCameraDecoratorBase::getZeroParallaxDistance void    const [inline]
 

Real32 & osg::ShearedStereoCameraDecoratorBase::getOverlap void    [inline]
 

const Real32 & osg::ShearedStereoCameraDecoratorBase::getOverlap void    const [inline]
 

void osg::ShearedStereoCameraDecoratorBase::setZeroParallaxDistance const Real32   value [inline]
 

void osg::ShearedStereoCameraDecoratorBase::setOverlap const Real32   value [inline]
 

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

Reimplemented from osg::StereoCameraDecoratorBase.

UInt32 ShearedStereoCameraDecoratorBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::StereoCameraDecoratorBase.

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

Reimplemented from osg::StereoCameraDecoratorBase.

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

Reimplemented from osg::StereoCameraDecoratorBase.

ShearedStereoCameraDecoratorPtr osg::ShearedStereoCameraDecoratorBase::create void    [inline, static]
 

create a new instance of the class

ShearedStereoCameraDecoratorPtr osg::ShearedStereoCameraDecoratorBase::createEmpty void    [inline, static]
 

create an empty new instance of the class, do not copy the prototype

FieldContainerPtr ShearedStereoCameraDecoratorBase::shallowCopy void    const [virtual]
 

Implements osg::FieldContainer.

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

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


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::StereoCameraDecorator.

Reimplemented in osg::ShearedStereoCameraDecorator.


Member Data Documentation

const osg::BitVector ShearedStereoCameraDecoratorBase::ZeroParallaxDistanceFieldMask [static]
 

Initial value:

 
    (1 << ShearedStereoCameraDecoratorBase::ZeroParallaxDistanceFieldId)

const osg::BitVector ShearedStereoCameraDecoratorBase::OverlapFieldMask [static]
 

Initial value:

 
    (1 << ShearedStereoCameraDecoratorBase::OverlapFieldId)

Real32 ShearedStereoCameraDecoratorBase::_sfZeroParallaxDistance [protected]
 

The distance to the zero parallax plane.

Real32 ShearedStereoCameraDecoratorBase::_sfOverlap [protected]
 

The overlap between left and right eye.

FieldDescription * ShearedStereoCameraDecoratorBase::_desc [static, private]
 

Initial value:

 
{
    new FieldDescription(SFReal32::getClassType(), 
                     "zeroParallaxDistance", 
                     ZeroParallaxDistanceFieldId, ZeroParallaxDistanceFieldMask,
                     false,
                     (FieldAccessMethod) &ShearedStereoCameraDecoratorBase::getSFZeroParallaxDistance),
    new FieldDescription(SFReal32::getClassType(), 
                     "overlap", 
                     OverlapFieldId, OverlapFieldMask,
                     false,
                     (FieldAccessMethod) &ShearedStereoCameraDecoratorBase::getSFOverlap)
}
ShearedStereoCameraDecorator description.

Reimplemented from osg::StereoCameraDecoratorBase.

FieldContainerType ShearedStereoCameraDecoratorBase::_type [static, private]
 

ShearedStereoCameraDecorator type.

Reimplemented from osg::StereoCameraDecoratorBase.


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