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

osg::DVRClipObjects Class Reference

*put brief class description here*

#include <OSGDVRClipObjects.h>

Inheritance diagram for osg::DVRClipObjects:

osg::DVRClipObjectsBase osg::Attachment osg::FieldContainer List of all members.

Public Types

typedef DVRClipObjectsPtr Ptr
enum  { ClipObjectsFieldId = Inherited::NextFieldId, ClipModeFieldId = ClipObjectsFieldId + 1, DoContoursFieldId = ClipModeFieldId + 1, NextFieldId = DoContoursFieldId + 1 }
Constants
enum  ClipMode { Off = 0, Intersection = 1, Difference = 2 }

Public Member Functions

Sync
*virtual void changed (BitVector whichField, UInt32 origin)
 react to field changes
Output
*virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
 output the instance for debug purposes
Info
*UInt32 count (void) const
 Returns the number of clip objects set.
Objects
*DVRClipGeometryPtr get (UInt32 i)
 Get the ith object.
void add (DVRClipGeometryPtr obj)
 Add a clip object.
void remove (DVRClipGeometryPtr obj)
 Remove a clip object.
void remove (UInt32 i)
 Remove the i-th clip object.
Clipping
*void initialize (const Matrix &volumeToWorld, const Plane &referencePlane)
 Prepare the clip objects for clipping a volume's slices.
void initialize (const Matrix &volumeToWorld)
 Prepare the clip objects for clipping a volume's slices.
void setReferencePlane (const Plane &referencePlane)
 Set the reference plane used in clipping.
FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
*SFInt32getSFClipMode (void)
 Get the DVRClipObjects::_sfClipMode field.
SFBoolgetSFDoContours (void)
 Get the DVRClipObjects::_sfDoContours field.
Int32getClipMode (void)
 Get the value of the DVRClipObjects::_sfClipMode field.
const Int32getClipMode (void) const
 Get the value of the DVRClipObjects::_sfClipMode field.
bool & getDoContours (void)
 Get the value of the DVRClipObjects::_sfDoContours field.
const bool & getDoContours (void) const
 Get the value of the DVRClipObjects::_sfDoContours field.
Field Set
*void setClipMode (const Int32 &value)
 Set the value of the DVRClipObjects::_sfClipMode field.
void setDoContours (const bool &value)
 Set the value of the DVRClipObjects::_sfDoContours 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 DVRClipObjectsPtr create (void)
 create a new instance of the class
static DVRClipObjectsPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype

Static Public Attributes

static const osg::BitVector ClipObjectsFieldMask
static const osg::BitVector ClipModeFieldMask
static const osg::BitVector DoContoursFieldMask
static const osg::BitVector MTInfluenceMask
static const BitVector InternalFieldMask = (1 << Attachment::InternalFieldId)
static const BitVector ParentsFieldMask = (1 << Attachment::ParentsFieldId)
static const BitVector NextFieldMask

Protected Member Functions

Constructors
DVRClipObjects (void)
 Constructor.
 DVRClipObjects (const DVRClipObjects &source)
 Copy Constructor.
Destructors
*virtual ~DVRClipObjects (void)
 Destructor.
Field Get
*MFDVRClipGeometryPtrgetMFClipObjects (void)
 Get the DVRClipObjects::_mfClipObjects field.
DVRClipGeometryPtrgetClipObjects (UInt32 index)
 Get the value of the index element the DVRClipObjects::_mfClipObjects field.
MFDVRClipGeometryPtrgetClipObjects (void)
 Get the DVRClipObjects::_mfClipObjects field.
const MFDVRClipGeometryPtrgetClipObjects (void) const
 Get the DVRClipObjects::_mfClipObjects field.
Sync
*void executeSyncImpl (DVRClipObjectsBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)

Protected Attributes

Fields
*MFDVRClipGeometryPtr _mfClipObjects
SFInt32 _sfClipMode
SFBool _sfDoContours

Private Types

typedef DVRClipObjectsBase Inherited

Private Member Functions

void operator= (const DVRClipObjects &source)

Static Private Member Functions

static void initMethod (void)
 initialize the static features of the class, e.g. action callbacks

Friends

class FieldContainer
class DVRClipObjectsBase

Detailed Description

Definition at line 56 of file OSGDVRClipObjects.h.


Member Typedef Documentation

typedef DVRClipObjectsBase osg::DVRClipObjects::Inherited [private]
 

Reimplemented from osg::DVRClipObjectsBase.

Definition at line 60 of file OSGDVRClipObjects.h.

typedef DVRClipObjectsPtr osg::DVRClipObjectsBase::Ptr [inherited]
 

Definition at line 92 of file OSGDVRClipObjectsBase.h.


Member Enumeration Documentation

enum osg::DVRClipObjects::ClipMode
 

Enumerator:
Off 
Intersection 
Difference 

Definition at line 70 of file OSGDVRClipObjects.h.

00071     {
00072         Off          = 0, 
00073         Intersection = 1, 
00074         Difference   = 2
00075     }; 

anonymous enum [inherited]
 

Enumerator:
ClipObjectsFieldId 
ClipModeFieldId 
DoContoursFieldId 
NextFieldId 

Reimplemented from osg::Attachment.

Definition at line 94 of file OSGDVRClipObjectsBase.h.

00095     {
00096         ClipObjectsFieldId = Inherited::NextFieldId,
00097         ClipModeFieldId    = ClipObjectsFieldId + 1,
00098         DoContoursFieldId  = ClipModeFieldId    + 1,
00099         NextFieldId        = DoContoursFieldId  + 1
00100     };


Constructor & Destructor Documentation

DVRClipObjects::DVRClipObjects void   )  [protected]
 

Definition at line 60 of file OSGDVRClipObjects.cpp.

00060                                    :
00061     Inherited()
00062 {
00063 }

DVRClipObjects::DVRClipObjects const DVRClipObjects source  )  [protected]
 

Definition at line 66 of file OSGDVRClipObjects.cpp.

00066                                                            :
00067     Inherited(source)
00068 {
00069 }

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

Definition at line 72 of file OSGDVRClipObjects.cpp.

00073 {
00074 }


Member Function Documentation

void DVRClipObjects::changed BitVector  whichField,
UInt32  origin
[virtual]
 

Reimplemented from osg::FieldContainer.

Definition at line 84 of file OSGDVRClipObjects.cpp.

References osg::FieldContainer::changed().

00085 {
00086     Inherited::changed(whichField, origin);
00087 }

void DVRClipObjects::dump UInt32  uiIndent = 0,
const BitVector  bvFlags = 0
const [virtual]
 

Reimplemented from osg::Attachment.

Definition at line 90 of file OSGDVRClipObjects.cpp.

References SLOG.

00092 {
00093     SLOG << "Dump DVRClipObjects NI" << std::endl;
00094 }

UInt32 DVRClipObjects::count void   )  const
 

Definition at line 97 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, and osg::MField< FieldTypeT, fieldNameSpace >::size().

00098 {
00099     return _mfClipObjects.size();
00100 }

DVRClipGeometryPtr DVRClipObjects::get UInt32  i  ) 
 

Definition at line 129 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects.

00130 {
00131     return _mfClipObjects[i];
00132 }

void DVRClipObjects::add DVRClipGeometryPtr  obj  ) 
 

Definition at line 135 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::addRefCP(), osg::NullFC, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().

00136 {
00137     if(obj == NullFC)
00138         return;
00139 
00140     addRefCP(obj);
00141 
00142     _mfClipObjects.push_back(obj);
00143 }

void DVRClipObjects::remove DVRClipGeometryPtr  obj  ) 
 

Definition at line 146 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), osg::NullFC, and osg::subRefCP().

00147 {
00148     if(obj == NullFC)
00149         return;
00150 
00151     for(MFDVRClipGeometryPtr::iterator i  = _mfClipObjects.begin(); 
00152                                        i != _mfClipObjects.end(); 
00153                                        i++)
00154     {
00155         if(*i == obj)
00156         {
00157             _mfClipObjects.erase(i);
00158             subRefCP(obj);
00159             break;
00160         }
00161     }
00162 }

void DVRClipObjects::remove UInt32  i  ) 
 

Definition at line 165 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), and osg::subRefCP().

00166 {
00167     MFDVRClipGeometryPtr::iterator it = _mfClipObjects.begin();
00168 
00169     for(UInt32 i = 0; i < n && it != _mfClipObjects.end(); i++) 
00170         it++;  
00171 
00172     if(it != _mfClipObjects.end())
00173     {
00174         subRefCP(*it);
00175         _mfClipObjects.erase(it);    
00176     }
00177 }

void DVRClipObjects::initialize const Matrix volumeToWorld,
const Plane referencePlane
 

Definition at line 103 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, and osg::MField< FieldTypeT, fieldNameSpace >::size().

00105 {
00106     for(UInt32 i = 0; i < _mfClipObjects.size(); i++)
00107     {
00108         _mfClipObjects[i]->initialize       (volumeToWorld );
00109         _mfClipObjects[i]->setReferencePlane(referencePlane);
00110     }
00111 }

void DVRClipObjects::initialize const Matrix volumeToWorld  ) 
 

Definition at line 114 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, and osg::MField< FieldTypeT, fieldNameSpace >::size().

00115 {
00116     for(UInt32 i = 0; i < _mfClipObjects.size(); i++)
00117         _mfClipObjects[i]->initialize(volumeToWorld);
00118 }

void DVRClipObjects::setReferencePlane const Plane referencePlane  ) 
 

Definition at line 122 of file OSGDVRClipObjects.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, and osg::MField< FieldTypeT, fieldNameSpace >::size().

00123 {
00124     for(UInt32 i = 0; i < _mfClipObjects.size(); i++)
00125         _mfClipObjects[i]->setReferencePlane(referencePlane);
00126 }

void DVRClipObjects::initMethod void   )  [static, private]
 

Definition at line 79 of file OSGDVRClipObjects.cpp.

00080 {
00081 }

void osg::DVRClipObjects::operator= const DVRClipObjects source  )  [private]
 

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

Reimplemented from osg::Attachment.

Definition at line 58 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_type.

Referenced by osg::DVRClipObjectsBase::create().

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::DVRClipObjectsBase::getClassTypeId void   )  [inline, static, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 65 of file OSGDVRClipObjectsBase.inl.

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

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

FieldContainerType & DVRClipObjectsBase::getType void   )  [virtual, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 128 of file OSGDVRClipObjectsBase.cpp.

References osg::DVRClipObjectsBase::_type.

00129 {
00130     return _type; 
00131 } 

const FieldContainerType & DVRClipObjectsBase::getType void   )  const [virtual, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 133 of file OSGDVRClipObjectsBase.cpp.

References osg::DVRClipObjectsBase::_type.

00134 {
00135     return _type;
00136 } 

UInt32 DVRClipObjectsBase::getContainerSize void   )  const [virtual, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 148 of file OSGDVRClipObjectsBase.cpp.

00149 { 
00150     return sizeof(DVRClipObjects); 
00151 }

SFInt32 * osg::DVRClipObjectsBase::getSFClipMode void   )  [inline, inherited]
 

Definition at line 108 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_sfClipMode.

00109 {
00110     return &_sfClipMode;
00111 }

SFBool * osg::DVRClipObjectsBase::getSFDoContours void   )  [inline, inherited]
 

Definition at line 115 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_sfDoContours.

00116 {
00117     return &_sfDoContours;
00118 }

Int32 & osg::DVRClipObjectsBase::getClipMode void   )  [inline, inherited]
 

Definition at line 123 of file OSGDVRClipObjectsBase.inl.

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

00124 {
00125     return _sfClipMode.getValue();
00126 }

const Int32 & osg::DVRClipObjectsBase::getClipMode void   )  const [inline, inherited]
 

Definition at line 130 of file OSGDVRClipObjectsBase.inl.

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

00131 {
00132     return _sfClipMode.getValue();
00133 }

bool & osg::DVRClipObjectsBase::getDoContours void   )  [inline, inherited]
 

Definition at line 144 of file OSGDVRClipObjectsBase.inl.

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

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

const bool & osg::DVRClipObjectsBase::getDoContours void   )  const [inline, inherited]
 

Definition at line 151 of file OSGDVRClipObjectsBase.inl.

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

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

void osg::DVRClipObjectsBase::setClipMode const Int32 value  )  [inline, inherited]
 

Definition at line 137 of file OSGDVRClipObjectsBase.inl.

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

00138 {
00139     _sfClipMode.setValue(value);
00140 }

void osg::DVRClipObjectsBase::setDoContours const bool &  value  )  [inline, inherited]
 

Definition at line 158 of file OSGDVRClipObjectsBase.inl.

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

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

UInt32 DVRClipObjectsBase::getBinSize const BitVector whichField  )  [virtual, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 215 of file OSGDVRClipObjectsBase.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::DVRClipObjectsBase::_sfClipMode, osg::DVRClipObjectsBase::_sfDoContours, osg::DVRClipObjectsBase::ClipModeFieldMask, osg::DVRClipObjectsBase::ClipObjectsFieldMask, osg::DVRClipObjectsBase::DoContoursFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::Attachment::getBinSize(), and osg::FieldBits::NoField.

00216 {
00217     UInt32 returnValue = Inherited::getBinSize(whichField);
00218 
00219     if(FieldBits::NoField != (ClipObjectsFieldMask & whichField))
00220     {
00221         returnValue += _mfClipObjects.getBinSize();
00222     }
00223 
00224     if(FieldBits::NoField != (ClipModeFieldMask & whichField))
00225     {
00226         returnValue += _sfClipMode.getBinSize();
00227     }
00228 
00229     if(FieldBits::NoField != (DoContoursFieldMask & whichField))
00230     {
00231         returnValue += _sfDoContours.getBinSize();
00232     }
00233 
00234 
00235     return returnValue;
00236 }

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

Reimplemented from osg::Attachment.

Definition at line 238 of file OSGDVRClipObjectsBase.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::DVRClipObjectsBase::_sfClipMode, osg::DVRClipObjectsBase::_sfDoContours, osg::DVRClipObjectsBase::ClipModeFieldMask, osg::DVRClipObjectsBase::ClipObjectsFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::Attachment::copyToBin(), osg::DVRClipObjectsBase::DoContoursFieldMask, and osg::FieldBits::NoField.

00240 {
00241     Inherited::copyToBin(pMem, whichField);
00242 
00243     if(FieldBits::NoField != (ClipObjectsFieldMask & whichField))
00244     {
00245         _mfClipObjects.copyToBin(pMem);
00246     }
00247 
00248     if(FieldBits::NoField != (ClipModeFieldMask & whichField))
00249     {
00250         _sfClipMode.copyToBin(pMem);
00251     }
00252 
00253     if(FieldBits::NoField != (DoContoursFieldMask & whichField))
00254     {
00255         _sfDoContours.copyToBin(pMem);
00256     }
00257 
00258 
00259 }

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

Reimplemented from osg::Attachment.

Definition at line 261 of file OSGDVRClipObjectsBase.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::DVRClipObjectsBase::_sfClipMode, osg::DVRClipObjectsBase::_sfDoContours, osg::DVRClipObjectsBase::ClipModeFieldMask, osg::DVRClipObjectsBase::ClipObjectsFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::Attachment::copyFromBin(), osg::DVRClipObjectsBase::DoContoursFieldMask, and osg::FieldBits::NoField.

00263 {
00264     Inherited::copyFromBin(pMem, whichField);
00265 
00266     if(FieldBits::NoField != (ClipObjectsFieldMask & whichField))
00267     {
00268         _mfClipObjects.copyFromBin(pMem);
00269     }
00270 
00271     if(FieldBits::NoField != (ClipModeFieldMask & whichField))
00272     {
00273         _sfClipMode.copyFromBin(pMem);
00274     }
00275 
00276     if(FieldBits::NoField != (DoContoursFieldMask & whichField))
00277     {
00278         _sfDoContours.copyFromBin(pMem);
00279     }
00280 
00281 
00282 }

DVRClipObjectsPtr osg::DVRClipObjectsBase::create void   )  [inline, static, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 72 of file OSGDVRClipObjectsBase.inl.

References osg::AttachmentPtr::dcast(), osg::DVRClipObjectsBase::getClassType(), osg::FieldContainerType::getPrototype(), osg::NullFC, and osg::DVRClipObjectsBase::shallowCopy().

00073 {
00074     DVRClipObjectsPtr fc; 
00075 
00076     if(getClassType().getPrototype() != OSG::NullFC) 
00077     {
00078         fc = DVRClipObjectsPtr::dcast(
00079             getClassType().getPrototype()-> shallowCopy()); 
00080     }
00081     
00082     return fc; 
00083 }

DVRClipObjectsPtr osg::DVRClipObjectsBase::createEmpty void   )  [inline, static, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 87 of file OSGDVRClipObjectsBase.inl.

References osg::FieldContainer::newPtr().

00088 { 
00089     DVRClipObjectsPtr returnValue; 
00090     
00091     newPtr(returnValue); 
00092 
00093     return returnValue; 
00094 }

FieldContainerPtr DVRClipObjectsBase::shallowCopy void   )  const [virtual, inherited]
 

Reimplemented from osg::Attachment.

Definition at line 139 of file OSGDVRClipObjectsBase.cpp.

References osg::FieldContainer::newPtr().

Referenced by osg::DVRClipObjectsBase::create().

00140 { 
00141     DVRClipObjectsPtr returnValue; 
00142 
00143     newPtr(returnValue, dynamic_cast<const DVRClipObjects *>(this)); 
00144 
00145     return returnValue; 
00146 }

MFDVRClipGeometryPtr * osg::DVRClipObjectsBase::getMFClipObjects void   )  [inline, protected, inherited]
 

Definition at line 101 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_mfClipObjects.

00102 {
00103     return &_mfClipObjects;
00104 }

DVRClipGeometryPtr & osg::DVRClipObjectsBase::getClipObjects UInt32  index  )  [inline, protected, inherited]
 

Definition at line 166 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_mfClipObjects.

00167 {
00168     return _mfClipObjects[index];
00169 }

MFDVRClipGeometryPtr & osg::DVRClipObjectsBase::getClipObjects void   )  [inline, protected, inherited]
 

Definition at line 173 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_mfClipObjects.

00174 {
00175     return _mfClipObjects;
00176 }

const MFDVRClipGeometryPtr & osg::DVRClipObjectsBase::getClipObjects void   )  const [inline, protected, inherited]
 

Definition at line 180 of file OSGDVRClipObjectsBase.inl.

References osg::DVRClipObjectsBase::_mfClipObjects.

00181 {
00182     return _mfClipObjects;
00183 }

void DVRClipObjectsBase::executeSyncImpl DVRClipObjectsBase pOther,
const BitVector whichField
[protected, inherited]
 

Definition at line 285 of file OSGDVRClipObjectsBase.cpp.

References osg::DVRClipObjectsBase::_mfClipObjects, osg::DVRClipObjectsBase::_sfClipMode, osg::DVRClipObjectsBase::_sfDoContours, osg::DVRClipObjectsBase::ClipModeFieldMask, osg::DVRClipObjectsBase::ClipObjectsFieldMask, osg::DVRClipObjectsBase::DoContoursFieldMask, osg::Attachment::executeSyncImpl(), osg::FieldBits::NoField, osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), and osg::MField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by osg::DVRClipObjectsBase::executeSync().

00287 {
00288 
00289     Inherited::executeSyncImpl(pOther, whichField);
00290 
00291     if(FieldBits::NoField != (ClipObjectsFieldMask & whichField))
00292         _mfClipObjects.syncWith(pOther->_mfClipObjects);
00293 
00294     if(FieldBits::NoField != (ClipModeFieldMask & whichField))
00295         _sfClipMode.syncWith(pOther->_sfClipMode);
00296 
00297     if(FieldBits::NoField != (DoContoursFieldMask & whichField))
00298         _sfDoContours.syncWith(pOther->_sfDoContours);
00299 
00300 
00301 }

void Attachment::executeSyncImpl Attachment pOther,
const BitVector whichField
[protected, inherited]
 

Definition at line 306 of file OSGAttachment.cpp.

References osg::Attachment::_parents, osg::Attachment::_sfInternal, osg::FieldContainer::executeSyncImpl(), osg::Attachment::InternalFieldMask, osg::FieldBits::NoField, osg::Attachment::ParentsFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by osg::Attachment::executeSync(), osg::StateChunkBase::executeSyncImpl(), osg::DVRVolumeTextureBase::executeSyncImpl(), osg::DVRLookupTableBase::executeSyncImpl(), osg::DVRIsoSurfaceBase::executeSyncImpl(), osg::DVRClipObjectsBase::executeSyncImpl(), and osg::SimpleAttachment< AttachmentDescT >::executeSyncImpl().

00308 {
00309     Inherited::executeSyncImpl(pOther, whichField);
00310 
00311     if(FieldBits::NoField != (InternalFieldMask & whichField))
00312     {
00313         _sfInternal.syncWith(pOther->_sfInternal);
00314     }
00315 
00316     if(FieldBits::NoField != (ParentsFieldMask & whichField))
00317     {
00318         _parents.syncWith(pOther->_parents);
00319     }
00320 }

void osg::FieldContainer::executeSyncImpl FieldContainer pOther,
const BitVector whichField
[inline, protected, inherited]
 

Definition at line 333 of file OSGFieldContainerImpl.inl.

Referenced by osg::StateBase::executeSyncImpl(),