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

osg::MatrixCameraDecoratorBase Class Reference

MatrixCameraDecorator Base Class.

#include <OSGMatrixCameraDecoratorBase.h>

Inheritance diagram for osg::MatrixCameraDecoratorBase:

osg::CameraDecorator osg::CameraDecoratorBase osg::Camera osg::CameraBase osg::AttachmentContainer osg::FieldContainer osg::MatrixCameraDecorator List of all members.

Public Types

typedef MatrixCameraDecoratorPtr Ptr
enum  {
  PreViewingFieldId = Inherited::NextFieldId, PostViewingFieldId = PreViewingFieldId + 1, PreProjectionTranslationFieldId = PostViewingFieldId + 1, PostProjectionTranslationFieldId = PreProjectionTranslationFieldId + 1,
  PreProjectionFieldId = PostProjectionTranslationFieldId + 1, PostProjectionFieldId = PreProjectionFieldId + 1, NextFieldId = PostProjectionFieldId + 1
}

Public Member Functions

FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
*SFMatrixgetSFPreViewing (void)
 Get the MatrixCameraDecorator::_sfPreViewing field.
SFMatrixgetSFPostViewing (void)
 Get the MatrixCameraDecorator::_sfPostViewing field.
SFMatrixgetSFPreProjectionTranslation (void)
 Get the MatrixCameraDecorator::_sfPreProjectionTranslation field.
SFMatrixgetSFPostProjectionTranslation (void)
 Get the MatrixCameraDecorator::_sfPostProjectionTranslation field.
SFMatrixgetSFPreProjection (void)
 Get the MatrixCameraDecorator::_sfPreProjection field.
SFMatrixgetSFPostProjection (void)
 Get the MatrixCameraDecorator::_sfPostProjection field.
MatrixgetPreViewing (void)
 Get the value of the MatrixCameraDecorator::_sfPreViewing field.
const MatrixgetPreViewing (void) const
 Get the value of the MatrixCameraDecorator::_sfPreViewing field.
MatrixgetPostViewing (void)
 Get the value of the MatrixCameraDecorator::_sfPostViewing field.
const MatrixgetPostViewing (void) const
 Get the value of the MatrixCameraDecorator::_sfPostViewing field.
MatrixgetPreProjectionTranslation (void)
 Get the value of the MatrixCameraDecorator::_sfPreProjectionTranslation field.
const MatrixgetPreProjectionTranslation (void) const
 Get the value of the MatrixCameraDecorator::_sfPreProjectionTranslation field.
MatrixgetPostProjectionTranslation (void)
 Get the value of the MatrixCameraDecorator::_sfPostProjectionTranslation field.
const MatrixgetPostProjectionTranslation (void) const
 Get the value of the MatrixCameraDecorator::_sfPostProjectionTranslation field.
MatrixgetPreProjection (void)
 Get the value of the MatrixCameraDecorator::_sfPreProjection field.
const MatrixgetPreProjection (void) const
 Get the value of the MatrixCameraDecorator::_sfPreProjection field.
MatrixgetPostProjection (void)
 Get the value of the MatrixCameraDecorator::_sfPostProjection field.
const MatrixgetPostProjection (void) const
 Get the value of the MatrixCameraDecorator::_sfPostProjection field.
Field Set
*void setPreViewing (const Matrix &value)
 Set the value of the MatrixCameraDecorator::_sfPreViewing field.
void setPostViewing (const Matrix &value)
 Set the value of the MatrixCameraDecorator::_sfPostViewing field.
void setPreProjectionTranslation (const Matrix &value)
 Set the value of the MatrixCameraDecorator::_sfPreProjectionTranslation field.
void setPostProjectionTranslation (const Matrix &value)
 Set the value of the MatrixCameraDecorator::_sfPostProjectionTranslation field.
void setPreProjection (const Matrix &value)
 Set the value of the MatrixCameraDecorator::_sfPreProjection field.
void setPostProjection (const Matrix &value)
 Set the value of the MatrixCameraDecorator::_sfPostProjection field.
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 Member Functions

Class Get
*static FieldContainerTypegetClassType (void)
 access the type of the class
static UInt32 getClassTypeId (void)
 access the numerical type of the class
Construction
*static MatrixCameraDecoratorPtr create (void)
 create a new instance of the class
static MatrixCameraDecoratorPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype

Static Public Attributes

static const osg::BitVector PreViewingFieldMask
static const osg::BitVector PostViewingFieldMask
static const osg::BitVector PreProjectionTranslationFieldMask
static const osg::BitVector PostProjectionTranslationFieldMask
static const osg::BitVector PreProjectionFieldMask
static const osg::BitVector PostProjectionFieldMask
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
MatrixCameraDecoratorBase (void)
 MatrixCameraDecoratorBase (const MatrixCameraDecoratorBase &source)
Destructors
*virtual ~MatrixCameraDecoratorBase (void)
Sync
*void executeSyncImpl (MatrixCameraDecoratorBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)

Protected Attributes

Fields
*SFMatrix _sfPreViewing
SFMatrix _sfPostViewing
SFMatrix _sfPreProjectionTranslation
SFMatrix _sfPostProjectionTranslation
SFMatrix _sfPreProjection
SFMatrix _sfPostProjection

Private Types

typedef CameraDecorator Inherited

Private Member Functions

void operator= (const MatrixCameraDecoratorBase &source)

Static Private Attributes

static FieldDescription_desc []
 MatrixCameraDecorator description.
static FieldContainerType _type

Friends

class FieldContainer

Detailed Description

Definition at line 86 of file OSGMatrixCameraDecoratorBase.h.


Member Typedef Documentation

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

Reimplemented from osg::CameraDecorator.

Reimplemented in osg::MatrixCameraDecorator.

Definition at line 90 of file OSGMatrixCameraDecoratorBase.h.

typedef MatrixCameraDecoratorPtr osg::MatrixCameraDecoratorBase::Ptr
 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 95 of file OSGMatrixCameraDecoratorBase.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
PreViewingFieldId 
PostViewingFieldId 
PreProjectionTranslationFieldId 
PostProjectionTranslationFieldId 
PreProjectionFieldId 
PostProjectionFieldId 
NextFieldId 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 97 of file OSGMatrixCameraDecoratorBase.h.

00098     {
00099         PreViewingFieldId                = Inherited::NextFieldId,
00100         PostViewingFieldId               = PreViewingFieldId                + 1,
00101         PreProjectionTranslationFieldId  = PostViewingFieldId               + 1,
00102         PostProjectionTranslationFieldId = PreProjectionTranslationFieldId  + 1,
00103         PreProjectionFieldId             = PostProjectionTranslationFieldId + 1,
00104         PostProjectionFieldId            = PreProjectionFieldId             + 1,
00105         NextFieldId                      = PostProjectionFieldId            + 1
00106     };


Constructor & Destructor Documentation

MatrixCameraDecoratorBase::MatrixCameraDecoratorBase void   )  [protected]
 

Definition at line 219 of file OSGMatrixCameraDecoratorBase.cpp.

00219                                                          :
00220     _sfPreViewing             (Matrix(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)), 
00221     _sfPostViewing            (Matrix(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)), 
00222     _sfPreProjectionTranslation(Matrix(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)), 
00223     _sfPostProjectionTranslation(Matrix(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)), 
00224     _sfPreProjection          (Matrix(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)), 
00225     _sfPostProjection         (Matrix(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1)), 
00226     Inherited() 
00227 {
00228 }

MatrixCameraDecoratorBase::MatrixCameraDecoratorBase const MatrixCameraDecoratorBase source  )  [protected]
 

Definition at line 234 of file OSGMatrixCameraDecoratorBase.cpp.

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

Definition at line 247 of file OSGMatrixCameraDecoratorBase.cpp.

00248 {
00249 }


Member Function Documentation

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

Reimplemented from osg::CameraDecoratorBase.

Definition at line 58 of file OSGMatrixCameraDecoratorBase.inl.

References _type.

Referenced by create().

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::MatrixCameraDecoratorBase::getClassTypeId void   )  [inline, static]
 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 65 of file OSGMatrixCameraDecoratorBase.inl.

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

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

FieldContainerType & MatrixCameraDecoratorBase::getType void   )  [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 161 of file OSGMatrixCameraDecoratorBase.cpp.

References _type.

00162 {
00163     return _type; 
00164 } 

const FieldContainerType & MatrixCameraDecoratorBase::getType void   )  const [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 166 of file OSGMatrixCameraDecoratorBase.cpp.

References _type.

00167 {
00168     return _type;
00169 } 

UInt32 MatrixCameraDecoratorBase::getContainerSize void   )  const [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 181 of file OSGMatrixCameraDecoratorBase.cpp.

00182 { 
00183     return sizeof(MatrixCameraDecorator); 
00184 }

SFMatrix * osg::MatrixCameraDecoratorBase::getSFPreViewing void   )  [inline]
 

Definition at line 101 of file OSGMatrixCameraDecoratorBase.inl.

References _sfPreViewing.

00102 {
00103     return &_sfPreViewing;
00104 }

SFMatrix * osg::MatrixCameraDecoratorBase::getSFPostViewing void   )  [inline]
 

Definition at line 108 of file OSGMatrixCameraDecoratorBase.inl.

References _sfPostViewing.

00109 {
00110     return &_sfPostViewing;
00111 }

SFMatrix * osg::MatrixCameraDecoratorBase::getSFPreProjectionTranslation void   )  [inline]
 

Definition at line 115 of file OSGMatrixCameraDecoratorBase.inl.

References _sfPreProjectionTranslation.

00116 {
00117     return &_sfPreProjectionTranslation;
00118 }

SFMatrix * osg::MatrixCameraDecoratorBase::getSFPostProjectionTranslation void   )  [inline]
 

Definition at line 122 of file OSGMatrixCameraDecoratorBase.inl.

References _sfPostProjectionTranslation.

00123 {
00124     return &_sfPostProjectionTranslation;
00125 }

SFMatrix * osg::MatrixCameraDecoratorBase::getSFPreProjection void   )  [inline]
 

Definition at line 129 of file OSGMatrixCameraDecoratorBase.inl.

References _sfPreProjection.

00130 {
00131     return &_sfPreProjection;
00132 }

SFMatrix * osg::MatrixCameraDecoratorBase::getSFPostProjection void   )  [inline]
 

Definition at line 136 of file OSGMatrixCameraDecoratorBase.inl.

References _sfPostProjection.

00137 {
00138     return &_sfPostProjection;
00139 }

Matrix & osg::MatrixCameraDecoratorBase::getPreViewing void   )  [inline]
 

Definition at line 144 of file OSGMatrixCameraDecoratorBase.inl.

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

Referenced by osg::MatrixCameraDecorator::getViewing().

00145 {
00146     return _sfPreViewing.getValue();
00147 }

const Matrix & osg::MatrixCameraDecoratorBase::getPreViewing void   )  const [inline]
 

Definition at line 151 of file OSGMatrixCameraDecoratorBase.inl.

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

00152 {
00153     return _sfPreViewing.getValue();
00154 }

Matrix & osg::MatrixCameraDecoratorBase::getPostViewing void   )  [inline]
 

Definition at line 165 of file OSGMatrixCameraDecoratorBase.inl.

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

Referenced by osg::MatrixCameraDecorator::getViewing().

00166 {
00167     return _sfPostViewing.getValue();
00168 }

const Matrix & osg::MatrixCameraDecoratorBase::getPostViewing void   )  const [inline]
 

Definition at line 172 of file OSGMatrixCameraDecoratorBase.inl.

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

00173 {
00174     return _sfPostViewing.getValue();
00175 }

Matrix & osg::MatrixCameraDecoratorBase::getPreProjectionTranslation void   )  [inline]
 

Definition at line 186 of file OSGMatrixCameraDecoratorBase.inl.

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

Referenced by osg::MatrixCameraDecorator::getProjectionTranslation().

00187 {
00188     return _sfPreProjectionTranslation.getValue();
00189 }

const Matrix & osg::MatrixCameraDecoratorBase::getPreProjectionTranslation void   )  const [inline]
 

Definition at line 193 of file OSGMatrixCameraDecoratorBase.inl.

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

00194 {
00195     return _sfPreProjectionTranslation.getValue();
00196 }

Matrix & osg::MatrixCameraDecoratorBase::getPostProjectionTranslation void   )  [inline]
 

Definition at line 207 of file OSGMatrixCameraDecoratorBase.inl.

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

Referenced by osg::MatrixCameraDecorator::getProjectionTranslation().

00208 {
00209     return _sfPostProjectionTranslation.getValue();
00210 }

const Matrix & osg::MatrixCameraDecoratorBase::getPostProjectionTranslation void   )  const [inline]
 

Definition at line 214 of file OSGMatrixCameraDecoratorBase.inl.

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

00215 {
00216     return _sfPostProjectionTranslation.getValue();
00217 }

Matrix & osg::MatrixCameraDecoratorBase::getPreProjection void   )  [inline]
 

Definition at line 228 of file OSGMatrixCameraDecoratorBase.inl.

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

Referenced by osg::MatrixCameraDecorator::getProjection().

00229 {
00230     return _sfPreProjection.getValue();
00231 }

const Matrix & osg::MatrixCameraDecoratorBase::getPreProjection void   )  const [inline]
 

Definition at line 235 of file OSGMatrixCameraDecoratorBase.inl.

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

00236 {
00237     return _sfPreProjection.getValue();
00238 }

Matrix & osg::MatrixCameraDecoratorBase::getPostProjection void   )  [inline]
 

Definition at line 249 of file OSGMatrixCameraDecoratorBase.inl.

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

Referenced by osg::MatrixCameraDecorator::getProjection().

00250 {
00251     return _sfPostProjection.getValue();
00252 }

const Matrix & osg::MatrixCameraDecoratorBase::getPostProjection void   )  const [inline]
 

Definition at line 256 of file OSGMatrixCameraDecoratorBase.inl.

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

00257 {
00258     return _sfPostProjection.getValue();
00259 }

void osg::MatrixCameraDecoratorBase::setPreViewing const Matrix value  )  [inline]
 

Definition at line 158 of file OSGMatrixCameraDecoratorBase.inl.

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

00159 {
00160     _sfPreViewing.setValue(value);
00161 }

void osg::MatrixCameraDecoratorBase::setPostViewing const Matrix value  )  [inline]
 

Definition at line 179 of file OSGMatrixCameraDecoratorBase.inl.

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

00180 {
00181     _sfPostViewing.setValue(value);
00182 }

void osg::MatrixCameraDecoratorBase::setPreProjectionTranslation const Matrix value  )  [inline]
 

Definition at line 200 of file OSGMatrixCameraDecoratorBase.inl.

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

00201 {
00202     _sfPreProjectionTranslation.setValue(value);
00203 }

void osg::MatrixCameraDecoratorBase::setPostProjectionTranslation const Matrix value  )  [inline]
 

Definition at line 221 of file OSGMatrixCameraDecoratorBase.inl.

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

00222 {
00223     _sfPostProjectionTranslation.setValue(value);
00224 }

void osg::MatrixCameraDecoratorBase::setPreProjection const Matrix value  )  [inline]
 

Definition at line 242 of file OSGMatrixCameraDecoratorBase.inl.

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

00243 {
00244     _sfPreProjection.setValue(value);
00245 }

void osg::MatrixCameraDecoratorBase::setPostProjection const Matrix value  )  [inline]
 

Definition at line 263 of file OSGMatrixCameraDecoratorBase.inl.

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

00264 {
00265     _sfPostProjection.setValue(value);
00266 }

UInt32 MatrixCameraDecoratorBase::getBinSize const BitVector whichField  )  [virtual]
 

Reimplemented from osg::CameraDecoratorBase.

Definition at line 253 of file OSGMatrixCameraDecoratorBase.cpp.

References _sfPostProjection, _sfPostProjectionTranslation, _sfPostViewing, _sfPreProjection, _sfPreProjectionTranslation, _sfPreViewing, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::CameraDecoratorBase::getBinSize(), osg::FieldBits::NoField, PostProjectionFieldMask, PostProjectionTranslationFieldMask, PostViewingFieldMask, PreProjectionFieldMask, PreProjectionTranslationFieldMask, and PreViewingFieldMask.

00254 {
00255     UInt32 returnValue = Inherited::getBinSize(whichField);
00256 
00257     if(FieldBits::NoField != (PreViewingFieldMask & whichField))
00258     {
00259         returnValue += _sfPreViewing.getBinSize();
00260     }
00261 
00262     if(FieldBits::NoField != (PostViewingFieldMask & whichField))
00263     {
00264         returnValue += _sfPostViewing.getBinSize();
00265     }
00266 
00267     if(FieldBits::NoField != (PreProjectionTranslationFieldMask & whichField))
00268     {
00269         returnValue += _sfPreProjectionTranslation.getBinSize();
00270     }
00271 
00272     if(FieldBits::NoField != (PostProjectionTranslationFieldMask & whichField))
00273     {
00274         returnValue += _sfPostProjectionTranslation.getBinSize();
00275     }
00276 
00277     if(FieldBits::NoField != (PreProjectionFieldMask & whichField))
00278     {
00279         returnValue += _sfPreProjection.getBinSize();
00280     }
00281 
00282     if(FieldBits::NoField != (PostProjectionFieldMask & whichField))
00283     {
00284         returnValue += _sfPostProjection.getBinSize();
00285     }
00286 
00287 
00288     return returnValue;
00289 }

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

Reimplemented from osg::CameraDecoratorBase.

Definition at line 291 of file OSGMatrixCameraDecoratorBase.cpp.

References _sfPostProjection, _sfPostProjectionTranslation, _sfPostViewing, _sfPreProjection, _sfPreProjectionTranslation, _sfPreViewing, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::CameraDecoratorBase::copyToBin(), osg::FieldBits::NoField, PostProjectionFieldMask, PostProjectionTranslationFieldMask, PostViewingFieldMask, PreProjectionFieldMask, PreProjectionTranslationFieldMask, and PreViewingFieldMask.

00293 {
00294     Inherited::copyToBin(pMem, whichField);
00295 
00296     if(FieldBits::NoField != (PreViewingFieldMask & whichField))
00297     {
00298         _sfPreViewing.copyToBin(pMem);
00299     }
00300 
00301     if(FieldBits::NoField != (PostViewingFieldMask & whichField))
00302     {
00303         _sfPostViewing.copyToBin(pMem);
00304     }
00305 
00306     if(FieldBits::NoField != (PreProjectionTranslationFieldMask & whichField))
00307     {
00308         _sfPreProjectionTranslation.copyToBin(pMem);
00309     }
00310 
00311     if(FieldBits::NoField != (PostProjectionTranslationFieldMask & whichField))
00312     {
00313         _sfPostProjectionTranslation.copyToBin(pMem);
00314     }
00315 
00316     if(FieldBits::NoField != (PreProjectionFieldMask & whichField))
00317     {
00318         _sfPreProjection.copyToBin(pMem);
00319     }
00320 
00321     if(FieldBits::NoField != (PostProjectionFieldMask & whichField))
00322     {
00323         _sfPostProjection.copyToBin(pMem);
00324     }
00325 
00326 
00327 }

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

Reimplemented from osg::CameraDecoratorBase.

Definition at line 329 of file OSGMatrixCameraDecoratorBase.cpp.

References _sfPostProjection, _sfPostProjectionTranslation, _sfPostViewing, _sfPreProjection, _sfPreProjectionTranslation, _sfPreViewing, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::CameraDecoratorBase::copyFromBin(), osg::FieldBits::NoField, PostProjectionFieldMask, PostProjectionTranslationFieldMask, PostViewingFieldMask, PreProjectionFieldMask, PreProjectionTranslationFieldMask, and PreViewingFieldMask.

00331 {
00332     Inherited::copyFromBin(pMem, whichField);
00333 
00334     if(FieldBits::NoField != (PreViewingFieldMask & whichField))
00335     {
00336         _sfPreViewing.copyFromBin(pMem);
00337     }
00338 
00339     if(FieldBits::NoField != (PostViewingFieldMask & whichField))
00340     {
00341         _sfPostViewing.copyFromBin(pMem);
00342     }
00343 
00344     if(FieldBits::NoField != (PreProjectionTranslationFieldMask & whichField))
00345     {
00346         _sfPreProjectionTranslation.copyFromBin(pMem);
00347     }
00348 
00349     if(FieldBits::NoField != (PostProjectionTranslationFieldMask & whichField))
00350     {
00351         _sfPostProjectionTranslation.copyFromBin(pMem);
00352     }
00353 
00354     if(FieldBits::NoField != (PreProjectionFieldMask & whichField))
00355     {
00356         _sfPreProjection.copyFromBin(pMem);
00357     }
00358 
00359     if(FieldBits::NoField != (PostProjectionFieldMask & whichField))
00360     {
00361         _sfPostProjection.copyFromBin(pMem);
00362     }
00363 
00364 
00365 }

MatrixCameraDecoratorPtr osg::MatrixCameraDecoratorBase::create void   )  [inline, static]