#include <OSGCameraBase.h>
Inheritance diagram for osg::CameraBase:


Public Types | |
| enum | { BeaconFieldId = Inherited::NextFieldId, NearFieldId = BeaconFieldId + 1, FarFieldId = NearFieldId + 1, NextFieldId = FarFieldId + 1 } |
Public Methods | |
Get | |
| virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| virtual SFNodePtr * | getSFBeacon (void) |
| virtual SFReal32 * | getSFNear (void) |
| virtual SFReal32 * | getSFFar (void) |
| virtual NodePtr & | getBeacon (void) |
| virtual const NodePtr & | getBeacon (void) const |
| virtual Real32 & | getNear (void) |
| virtual const Real32 & | getNear (void) const |
| virtual Real32 & | getFar (void) |
| virtual const Real32 & | getFar (void) const |
Field Set | |
| virtual void | setBeacon (const NodePtr &value) |
| virtual void | setNear (const Real32 &value) |
| virtual void | setFar (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 | |
| FieldContainerType & | getClassType (void) |
| access the type of the class | |
| UInt32 | getClassTypeId (void) |
| access the numerical type of the class | |
Static Public Attributes | |
| const osg::BitVector | BeaconFieldMask |
| const osg::BitVector | NearFieldMask |
| const osg::BitVector | FarFieldMask |
Protected Methods | |
Constructors | |
| CameraBase (void) | |
| Constructor. | |
| CameraBase (const CameraBase &source) | |
| Copy Constructor. | |
Destructors | |
| virtual | ~CameraBase (void) |
| Destructor. | |
Sync | |
| void | executeSyncImpl (CameraBase *pOther, const BitVector &whichField) |
Protected Attributes | |
Fields | |
| SFNodePtr | _sfBeacon |
| SFReal32 | _sfNear |
| SFReal32 | _sfFar |
Private Types | |
| typedef AttachmentContainer | Inherited |
Private Methods | |
| void | operator= (const CameraBase &source) |
Static Private Attributes | |
| FieldDescription * | _desc [] |
| Camera description. | |
| FieldContainerType | _type |
| Camera type. | |
Friends | |
| class | FieldContainer |
|
|
|
|
|
|
Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
access the type of the class
Reimplemented from osg::FieldContainer. Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase. |
|
|
access the numerical type of the class
Reimplemented from osg::FieldContainer. Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase. |
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase. |
|
|
Reimplemented from osg::FieldContainer. Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase. |
|
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
|
Reimplemented in osg::CameraDecoratorBase. |
|
||||||||||||
|
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
|
|
|
|
|
|
|
Initial value:
(1 << CameraBase::BeaconFieldId) |
|
|
Initial value:
(1 << CameraBase::NearFieldId) |
|
|
Initial value:
(1 << CameraBase::FarFieldId) |
|
|
The object that define's the camera's coordinate system. The camera is positioned at the origin of the system and looks doen the negative z-axis (OpenGL-style). |
|
|
The near distance of the camera. |
|
|
The far distance of the camera. |
|
|
Initial value:
{
new FieldDescription(SFNodePtr::getClassType(),
"beacon",
BeaconFieldId, BeaconFieldMask,
false,
(FieldAccessMethod) &CameraBase::getSFBeacon),
new FieldDescription(SFReal32::getClassType(),
"near",
NearFieldId, NearFieldMask,
false,
(FieldAccessMethod) &CameraBase::getSFNear),
new FieldDescription(SFReal32::getClassType(),
"far",
FarFieldId, FarFieldMask,
false,
(FieldAccessMethod) &CameraBase::getSFFar)
}
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase. |
|
|
Camera type.
Reimplemented from osg::AttachmentContainer. Reimplemented in osg::CameraDecoratorBase, osg::MatrixCameraBase, osg::PerspectiveCameraBase, osg::ProjectionCameraDecoratorBase, osg::ShearedStereoCameraDecoratorBase, osg::StereoCameraDecoratorBase, and osg::TileCameraDecoratorBase. |
1.2.16