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

osg::PerspectiveCameraBase Class Reference

PerspectiveCamera Base Class. More...

#include <OSGPerspectiveCameraBase.h>

Inheritance diagram for osg::PerspectiveCameraBase:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  { FovFieldId = Inherited::NextFieldId, NextFieldId = FovFieldId + 1 }

Public Methods

Get
virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
SFReal32getSFFov (void)
Real32getFov (void)
const Real32getFov (void) const
Field Set
void setFov (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
PerspectiveCameraPtr create (void)
 create a new instance of the class

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


Static Public Attributes

const osg::BitVector FovFieldMask

Protected Methods

Constructors
 PerspectiveCameraBase (void)
 Constructor.

 PerspectiveCameraBase (const PerspectiveCameraBase &source)
 Copy Constructor.

Destructors
virtual ~PerspectiveCameraBase (void)
 Destructor.

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

Protected Attributes

Fields
SFReal32 _sfFov

Private Types

typedef Camera Inherited

Private Methods

void operator= (const PerspectiveCameraBase &source)

Static Private Attributes

FieldDescription_desc []
 PerspectiveCamera description.

FieldContainerType _type
 PerspectiveCamera type.


Friends

class FieldContainer

Detailed Description

PerspectiveCamera Base Class.


Member Typedef Documentation

typedef Camera osg::PerspectiveCameraBase::Inherited [private]
 

Reimplemented from osg::Camera.

Reimplemented in osg::PerspectiveCamera.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
FovFieldId 
NextFieldId 


Constructor & Destructor Documentation

PerspectiveCameraBase::PerspectiveCameraBase void    [protected]
 

Constructor.

PerspectiveCameraBase::PerspectiveCameraBase const PerspectiveCameraBase &    source [protected]
 

Copy Constructor.

PerspectiveCameraBase::~PerspectiveCameraBase void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

access the type of the class

Reimplemented from osg::CameraBase.

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

access the numerical type of the class

Reimplemented from osg::CameraBase.

FieldContainerType & PerspectiveCameraBase::getType void    [virtual]
 

Reimplemented from osg::CameraBase.

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

Reimplemented from osg::CameraBase.

UInt32 PerspectiveCameraBase::getContainerSize void    const [virtual]
 

Reimplemented from osg::CameraBase.

SFReal32 * osg::PerspectiveCameraBase::getSFFov void    [inline]
 

Real32 & osg::PerspectiveCameraBase::getFov void    [inline]
 

const Real32 & osg::PerspectiveCameraBase::getFov void    const [inline]
 

void osg::PerspectiveCameraBase::setFov const Real32   value [inline]
 

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

Reimplemented from osg::CameraBase.

UInt32 PerspectiveCameraBase::getBinSize const BitVector   whichField [virtual]
 

Reimplemented from osg::CameraBase.

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

Reimplemented from osg::CameraBase.

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

Reimplemented from osg::CameraBase.

PerspectiveCameraPtr osg::PerspectiveCameraBase::create void    [inline, static]
 

create a new instance of the class

PerspectiveCameraPtr osg::PerspectiveCameraBase::createEmpty void    [inline, static]
 

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

FieldContainerPtr PerspectiveCameraBase::shallowCopy void    const [virtual]
 

Implements osg::FieldContainer.

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

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


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::Camera.

Reimplemented in osg::PerspectiveCamera.


Member Data Documentation

const osg::BitVector PerspectiveCameraBase::FovFieldMask [static]
 

Initial value:

 
    (1 << PerspectiveCameraBase::FovFieldId)

Real32 PerspectiveCameraBase::_sfFov [protected]
 

The vertical field of view, in radians.

FieldDescription * PerspectiveCameraBase::_desc [static, private]
 

Initial value:

 
{
    new FieldDescription(SFReal32::getClassType(), 
                     "fov", 
                     FovFieldId, FovFieldMask,
                     false,
                     (FieldAccessMethod) &PerspectiveCameraBase::getSFFov)
}
PerspectiveCamera description.

Reimplemented from osg::CameraBase.

FieldContainerType PerspectiveCameraBase::_type [static, private]
 

PerspectiveCamera type.

Reimplemented from osg::CameraBase.


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