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

osg::SlicesBase Class Reference

Slices Base Class.

#include <OSGSlicesBase.h>

Inheritance diagram for osg::SlicesBase:

osg::MaterialDrawable osg::MaterialDrawableBase osg::Drawable osg::DrawableBase osg::NodeCore osg::AttachmentContainer osg::FieldContainer osg::Slices List of all members.

Public Types

typedef SlicesPtr Ptr
enum  { SizeFieldId = Inherited::NextFieldId, SliceDistanceFieldId = SizeFieldId + 1, NextFieldId = SliceDistanceFieldId + 1 }

Public Member Functions

Parents
*MFNodePtrgetParents (void)
const MFNodePtrgetParents (void) const
MFNodePtrgetMFParents (void)
Volume
*virtual void invalidateVolume (void)
Parents
*MFNodePtrgetParents (void)
const MFNodePtrgetParents (void) const
MFNodePtrgetMFParents (void)
Volume
*virtual void invalidateVolume (void)
FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
*SFVec3fgetSFSize (void)
 Get the Slices::_sfSize field.
SFReal32getSFSliceDistance (void)
 Get the Slices::_sfSliceDistance field.
Vec3fgetSize (void)
 Get the value of the Slices::_sfSize field.
const Vec3fgetSize (void) const
 Get the value of the Slices::_sfSize field.
Real32getSliceDistance (void)
 Get the value of the Slices::_sfSliceDistance field.
const Real32getSliceDistance (void) const
 Get the value of the Slices::_sfSliceDistance field.
Field Set
*void setSize (const Vec3f &value)
 Set the value of the Slices::_sfSize field.
void setSliceDistance (const Real32 &value)
 Set the value of the Slices::_sfSliceDistance 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
action handler
*virtual Action::ResultE drawPrimitives (DrawActionBase *action)
 initialize the static features of the class, e.g. action callbacks
Action::ResultE drawActionHandler (Action *action)
 initialize the static features of the class, e.g. action callbacks
Action::ResultE renderActionHandler (Action *action)
 initialize the static features of the class, e.g. action callbacks
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
Field Set
*void setMaterial (const MaterialPtr &value)
 Set the value of the MaterialDrawable::_sfMaterial field.
Field Get
*SFMaterialPtrgetSFMaterial (void)
 Get the MaterialDrawable::_sfMaterial field.
MaterialPtrgetMaterial (void)
 Get the value of the MaterialDrawable::_sfMaterial field.
const MaterialPtrgetMaterial (void) const
 Get the value of the MaterialDrawable::_sfMaterial field.
Parents
*MFNodePtrgetParents (void)
const MFNodePtrgetParents (void) const
MFNodePtrgetMFParents (void)
Volume
*virtual void invalidateVolume (void)

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 SlicesPtr create (void)
 create a new instance of the class
static SlicesPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype

Static Public Attributes

static const osg::BitVector SizeFieldMask
static const osg::BitVector SliceDistanceFieldMask
static const osg::BitVector MTInfluenceMask
static const osg::BitVector MaterialFieldMask
static const BitVector ParentsFieldMask = (1 << NodeCore::ParentsFieldId )
static const BitVector AttachmentsFieldMask
static const BitVector NextFieldMask
CoredNodePtr helper
*static const bool isNodeCore = true
CoredNodePtr helper
*static const bool isNodeCore = true
static stat elem
*static StatElemDesc< StatIntElemstatNTriangles
static StatElemDesc< StatIntElemstatNLines
static StatElemDesc< StatIntElemstatNPoints
static StatElemDesc< StatIntElemstatNVertices
static StatElemDesc< StatIntElemstatNPrimitives
CoredNodePtr helper
*static const bool isNodeCore = true

Protected Member Functions

Sync
void executeSyncImpl (NodeCore *pOther, const BitVector &whichField)
MT Destruction
*virtual void onDestroy (void)
Set / Get Parents
*void addParent (const NodePtr &parent)
void subParent (const NodePtr &parent)
Pointer
*NodeCorePtr getPtr (void) const
Transformation
*virtual void accumulateMatrix (Matrix &result)
Volume
*virtual void adjustVolume (Volume &volume)
MT Destruction
*virtual void onDestroy (void)
Set / Get Parents
*void addParent (const NodePtr &parent)
void subParent (const NodePtr &parent)
Pointer
*NodeCorePtr getPtr (void) const
Sync
void executeSyncImpl (NodeCore *pOther, const BitVector &whichField)
Transformation
*virtual void accumulateMatrix (Matrix &result)
Volume
*virtual void adjustVolume (Volume &volume)
Constructors
SlicesBase (void)
 SlicesBase (const SlicesBase &source)
Destructors
*virtual ~SlicesBase (void)
Sync
*void executeSyncImpl (SlicesBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)
Sync
*void executeSyncImpl (MaterialDrawableBase *pOther, const BitVector &whichField)
Sync
*void executeSyncImpl (DrawableBase *pOther, const BitVector &whichField)
Sync
void executeSyncImpl (NodeCore *pOther, const BitVector &whichField)
MT Destruction
*virtual void onDestroy (void)
Set / Get Parents
*void addParent (const NodePtr &parent)
void subParent (const NodePtr &parent)
Pointer
*NodeCorePtr getPtr (void) const
Transformation
*virtual void accumulateMatrix (Matrix &result)
Volume
*virtual void adjustVolume (Volume &volume)

Protected Attributes

Fields
*MFNodePtr _parents
Fields
*MFNodePtr _parents
Fields
*SFVec3f _sfSize
SFReal32 _sfSliceDistance
Fields
*SFMaterialPtr _sfMaterial
Fields
*MFNodePtr _parents

Private Types

typedef MaterialDrawable Inherited

Private Member Functions

void operator= (const SlicesBase &source)

Static Private Attributes

static FieldDescription_desc []
 Slices description.
static FieldContainerType _type

Friends

class FieldContainer

Detailed Description

Definition at line 82 of file OSGSlicesBase.h.


Member Typedef Documentation

typedef MaterialDrawable osg::SlicesBase::Inherited [private]
 

Reimplemented from osg::MaterialDrawable.

Reimplemented in osg::Slices.

Definition at line 86 of file OSGSlicesBase.h.

typedef SlicesPtr osg::SlicesBase::Ptr
 

Reimplemented from osg::MaterialDrawableBase.

Definition at line 91 of file OSGSlicesBase.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
SizeFieldId 
SliceDistanceFieldId 
NextFieldId 

Reimplemented from osg::MaterialDrawableBase.

Definition at line 93 of file OSGSlicesBase.h.

00094     {
00095         SizeFieldId          = Inherited::NextFieldId,
00096         SliceDistanceFieldId = SizeFieldId          + 1,
00097         NextFieldId          = SliceDistanceFieldId + 1
00098     };


Constructor & Destructor Documentation

SlicesBase::SlicesBase void   )  [protected]
 

Definition at line 175 of file OSGSlicesBase.cpp.

00175                            :
00176     _sfSize                   (Vec3f(1, 1, 1)), 
00177     _sfSliceDistance          (Real32(100)), 
00178     Inherited() 
00179 {
00180 }

SlicesBase::SlicesBase const SlicesBase source  )  [protected]
 

Definition at line 186 of file OSGSlicesBase.cpp.

00186                                                :
00187     _sfSize                   (source._sfSize                   ), 
00188     _sfSliceDistance          (source._sfSliceDistance          ), 
00189     Inherited                 (source)
00190 {
00191 }

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

Definition at line 195 of file OSGSlicesBase.cpp.

00196 {
00197 }


Member Function Documentation

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 58 of file OSGSlicesBase.inl.

References _type.

Referenced by create(), and osg::Slices::initMethod().

00059 {
00060     return _type; 
00061 } 

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 65 of file OSGSlicesBase.inl.

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

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

FieldContainerType & SlicesBase::getType void   )  [virtual]
 

Reimplemented from osg::MaterialDrawableBase.

Definition at line 117 of file OSGSlicesBase.cpp.

References _type.

00118 {
00119     return _type; 
00120 } 

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 122 of file OSGSlicesBase.cpp.

References _type.

00123 {
00124     return _type;
00125 } 

UInt32 SlicesBase::getContainerSize void   )  const [virtual]
 

Reimplemented from osg::MaterialDrawableBase.

Definition at line 137 of file OSGSlicesBase.cpp.

00138 { 
00139     return sizeof(Slices); 
00140 }

SFVec3f * osg::SlicesBase::getSFSize void   )  [inline]
 

Definition at line 101 of file OSGSlicesBase.inl.

References _sfSize.

00102 {
00103     return &_sfSize;
00104 }

SFReal32 * osg::SlicesBase::getSFSliceDistance void   )  [inline]
 

Definition at line 108 of file OSGSlicesBase.inl.

References _sfSliceDistance.

00109 {
00110     return &_sfSliceDistance;
00111 }

Vec3f & osg::SlicesBase::getSize void   )  [inline]
 

Definition at line 116 of file OSGSlicesBase.inl.

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

Referenced by osg::Slices::drawSlices(), and osg::Slices::initEdgeVec().

00117 {
00118     return _sfSize.getValue();
00119 }

const Vec3f & osg::SlicesBase::getSize void   )  const [inline]
 

Definition at line 123 of file OSGSlicesBase.inl.

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

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

Real32 & osg::SlicesBase::getSliceDistance void   )  [inline]
 

Definition at line 137 of file OSGSlicesBase.inl.

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

Referenced by osg::Slices::drawSlices().

00138 {
00139     return _sfSliceDistance.getValue();
00140 }

const Real32 & osg::SlicesBase::getSliceDistance void   )  const [inline]
 

Definition at line 144 of file OSGSlicesBase.inl.

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

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

void osg::SlicesBase::setSize const Vec3f value  )  [inline]
 

Definition at line 130 of file OSGSlicesBase.inl.

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

00131 {
00132     _sfSize.setValue(value);
00133 }

void osg::SlicesBase::setSliceDistance const Real32 value  )  [inline]
 

Definition at line 151 of file OSGSlicesBase.inl.

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

00152 {
00153     _sfSliceDistance.setValue(value);
00154 }

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 201 of file OSGSlicesBase.cpp.

References _sfSize, _sfSliceDistance, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::MaterialDrawableBase::getBinSize(), osg::FieldBits::NoField, SizeFieldMask, and SliceDistanceFieldMask.

00202 {
00203     UInt32 returnValue = Inherited::getBinSize(whichField);
00204 
00205     if(FieldBits::NoField != (SizeFieldMask & whichField))
00206     {
00207         returnValue += _sfSize.getBinSize();
00208     }
00209 
00210     if(FieldBits::NoField != (SliceDistanceFieldMask & whichField))
00211     {
00212         returnValue += _sfSliceDistance.getBinSize();
00213     }
00214 
00215 
00216     return returnValue;
00217 }

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 219 of file OSGSlicesBase.cpp.

References _sfSize, _sfSliceDistance, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::MaterialDrawableBase::copyToBin(), osg::FieldBits::NoField, SizeFieldMask, and SliceDistanceFieldMask.

00221 {
00222     Inherited::copyToBin(pMem, whichField);
00223 
00224     if(FieldBits::NoField != (SizeFieldMask & whichField))
00225     {
00226         _sfSize.copyToBin(pMem);
00227     }
00228 
00229     if(FieldBits::NoField != (SliceDistanceFieldMask & whichField))
00230     {
00231         _sfSliceDistance.copyToBin(pMem);
00232     }
00233 
00234 
00235 }

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 237 of file OSGSlicesBase.cpp.

References _sfSize, _sfSliceDistance, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::MaterialDrawableBase::copyFromBin(), osg::FieldBits::NoField, SizeFieldMask, and SliceDistanceFieldMask.

00239 {
00240     Inherited::copyFromBin(pMem, whichField);
00241 
00242     if(FieldBits::NoField != (SizeFieldMask & whichField))
00243     {
00244         _sfSize.copyFromBin(pMem);
00245     }
00246 
00247     if(FieldBits::NoField != (SliceDistanceFieldMask & whichField))
00248     {
00249         _sfSliceDistance.copyFromBin(pMem);
00250     }
00251 
00252 
00253 }

SlicesPtr osg::SlicesBase::create void   )  [inline, static]
 

Definition at line 72 of file OSGSlicesBase.inl.

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

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

SlicesPtr osg::SlicesBase::createEmpty void   )  [inline, static]
 

Definition at line 87 of file OSGSlicesBase.inl.

References osg::FieldContainer::newPtr().

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

FieldContainerPtr SlicesBase::shallowCopy void   )  const [virtual]
 

Implements osg::FieldContainer.

Definition at line 128 of file OSGSlicesBase.cpp.

References osg::FieldContainer::newPtr().

Referenced by create().

00129 { 
00130     SlicesPtr returnValue; 
00131 
00132     newPtr(returnValue, dynamic_cast<const Slices *>(this)); 
00133 
00134     return returnValue; 
00135 }

void SlicesBase::executeSyncImpl SlicesBase pOther,
const BitVector whichField
[protected]
 

Definition at line 256 of file OSGSlicesBase.cpp.

References _sfSize, _sfSliceDistance, osg::MaterialDrawableBase::executeSyncImpl(), osg::FieldBits::NoField, SizeFieldMask, SliceDistanceFieldMask, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by executeSync().

00258 {
00259 
00260     Inherited::executeSyncImpl(pOther, whichField);
00261 
00262     if(FieldBits::NoField != (SizeFieldMask & whichField))
00263         _sfSize.syncWith(pOther->_sfSize);
00264 
00265     if(FieldBits::NoField != (SliceDistanceFieldMask & whichField))
00266         _sfSliceDistance.syncWith(pOther->_sfSliceDistance);
00267 
00268 
00269 }

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

Reimplemented from osg::MaterialDrawableBase.

Definition at line 144 of file OSGSlicesBase.cpp.

References executeSyncImpl().

00146 {
00147     this->executeSyncImpl((SlicesBase *) &other, whichField);
00148 }

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

Action::ResultE MaterialDrawable::drawPrimitives DrawActionBase action  )  [virtual, inherited]
 

Reimplemented in osg::Geometry, osg::Slices, osg::Particles, and osg::Surface.

Definition at line 87 of file OSGMaterialDrawable.cpp.

References osg::Action::Continue, and FWARNING.

Referenced by osg::MaterialDrawable::drawActionHandler(), and osg::MaterialDrawable::renderActionHandler().

00088 {
00089   FWARNING (("You should overload drawPrimitives in your code\n"));
00090 
00091   return Action::Continue;
00092 }

Action::ResultE MaterialDrawable::drawActionHandler Action action  )  [inherited]
 

Definition at line 122 of file OSGMaterialDrawable.cpp.

References osg::Action::Continue, osg::Material::draw(), osg::Material::DrawFunctor, osg::MaterialDrawable::drawPrimitives(), FWARNING, osg::getDefaultMaterial(), osg::MaterialDrawableBase::getMaterial(), osg::DrawActionBase::getMaterial(), osg::NullFC, and osg::osgTypedMethodFunctor1ObjPtr().

Referenced by osg::Surface::initMethod(), osg::Slices::initMethod(), osg::Particles::initMethod(), and osg::Geometry::initMethod().

00123 {
00124     DrawAction *a = dynamic_cast<DrawAction*>(action);
00125     Material::DrawFunctor func;
00126 
00127     func=osgTypedMethodFunctor1ObjPtr(&(*this), 
00128                                       &MaterialDrawable::drawPrimitives);
00129 
00130     if(a->getMaterial() != NULL)
00131     {
00132         a->getMaterial()->draw(func, a);
00133     }
00134     else if ( getMaterial() != NullFC )
00135     {
00136         getMaterial()->draw( func, a );
00137     }
00138     else
00139     {
00140         getDefaultMaterial()->draw( func, a );
00141         FWARNING(("MaterialDrawable::draw:: no material!\n"));;
00142     }
00143     return Action::Continue;
00144 }

Action::ResultE MaterialDrawable::renderActionHandler Action action  )  [inherited]
 

Definition at line 94 of file OSGMaterialDrawable.cpp.

References osg::Action::Continue, osg::Material::DrawFunctor, osg::MaterialDrawable::drawPrimitives(), osg::RenderAction::dropFunctor(), FNOTICE, osg::AttachmentContainerPtr::getCPtr(), osg::getDefaultMaterial(), osg::MaterialDrawableBase::getMaterial(), osg::DrawActionBase::getMaterial(), osg::NullFC, and osg::osgTypedMethodFunctor1ObjPtr().

Referenced by osg::Surface::initMethod(), osg::Slices::initMethod(), osg::Particles::initMethod(), and osg::Geometry::initMethod().

00095 {
00096     RenderAction *a = dynamic_cast<RenderAction *>(action);
00097 
00098     Material::DrawFunctor func;
00099     func = osgTypedMethodFunctor1ObjPtr(this, 
00100                                         &MaterialDrawable::drawPrimitives);
00101 
00102     Material* m = a->getMaterial();
00103 
00104     if(m == NULL)
00105     {
00106         if(getMaterial() != NullFC)
00107         {
00108             m = getMaterial().getCPtr();
00109         }
00110         else
00111         {
00112             m = getDefaultMaterial().getCPtr();
00113             FNOTICE(("MaterialDrawable::render: no Material!?!\n"));
00114         }
00115     }
00116 
00117     a->dropFunctor(func, m);
00118 
00119     return Action::Continue;
00120 }

void MaterialDrawable::changed BitVector  whichField,
UInt32  origin
[virtual, inherited]
 

Reimplemented from osg::Drawable.

Reimplemented in osg::Geometry, osg::Slices, osg::Particles, osg::DVRGeometry, and osg::Surface.

Definition at line 153 of file OSGMaterialDrawable.cpp.

References osg::Drawable::changed().

Referenced by osg::Particles::changed(), and osg::Geometry::changed().

00154 {
00155     Inherited::changed(whichField, origin);
00156 }

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

Reimplemented from osg::Drawable.

Reimplemented in osg::Geometry, osg::Slices, osg::Particles, osg::DVRGeometry, and osg::Surface.

Definition at line 160 of file OSGMaterialDrawable.cpp.

References SLOG.

00162 {
00163     SLOG << "Dump MaterialDrawable NI" << std::endl;
00164 }

void osg::MaterialDrawable::setMaterial const MaterialPtr value  )  [inline, inherited]
 

Reimplemented from osg::MaterialDrawableBase.

Reimplemented in osg::Geometry, osg::Slices, and osg::Particles.

Definition at line 46 of file OSGMaterialDrawable.inl.

References osg::MaterialDrawableBase::_sfMaterial, osg::SField< FieldTypeT, fieldNameSpace >::getValue(), and osg::setRefdCP().

00047 {
00048     setRefdCP(_sfMaterial.getValue(), value);
00049 }

SFMaterialPtr * osg::MaterialDrawableBase::getSFMaterial void   )  [inline, inherited]
 

Definition at line 75 of file OSGMaterialDrawableBase.inl.

References osg::MaterialDrawableBase::_sfMaterial.

00076 {
00077     return &_sfMaterial;
00078 }

MaterialPtr & osg::MaterialDrawableBase::getMaterial void   )  [inline, inherited]
 

Definition at line 83 of file OSGMaterialDrawableBase.inl.

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

Referenced by osg::Surface::buildSurface(), osg::Surface::clone(), osg::Geometry::clone(), osg::MaterialDrawable::drawActionHandler(), osg::RenderAction::dropGeometry(), osg::Geometry::dump(), osg::Geometry::MergeIndex(), and osg::MaterialDrawable::renderActionHandler().

00084 {
00085     return _sfMaterial.getValue();
00086 }

const MaterialPtr & osg::MaterialDrawableBase::getMaterial void   )  const [inline, inherited]
 

Definition at line 90 of file OSGMaterialDrawableBase.inl.

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

00091 {
00092     return _sfMaterial.getValue();
00093 }

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

Definition at line 219 of file OSGMaterialDrawableBase.cpp.

References osg::MaterialDrawableBase::_sfMaterial, osg::DrawableBase::executeSyncImpl(), osg::MaterialDrawableBase::MaterialFieldMask, osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().

Referenced by osg::MaterialDrawableBase::executeSync(), executeSyncImpl(), osg::ParticlesBase::executeSyncImpl(), and osg::GeometryBase::executeSyncImpl().

00221 {
00222 
00223     Inherited::executeSyncImpl(pOther, whichField);
00224 
00225     if(FieldBits::NoField != (MaterialFieldMask & whichField))
00226         _sfMaterial.syncWith(pOther->_sfMaterial);
00227 
00228 
00229 }

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

Definition at line 182 of file OSGDrawableBase.cpp.

References osg::NodeCore::executeSyncImpl().

Referenced by osg::DrawableBase::executeSync(), and osg::MaterialDrawableBase::executeSyncImpl().

00184 {