State chunk for material properties. See MaterialChunk for a description. More...
#include <OSGMaterialChunk.h>
See MaterialChunk for details.
This chunk wraps glMaterial() (osg::MaterialChunk::_sfDiffuse, osg::MaterialChunk::_sfSpecular, osg::MaterialChunk::_sfEmission, osg::MaterialChunk::_sfShininess, osg::MaterialChunk::_sfAmbient), glEnable(GL_LIGHTING)(osg::MaterialChunk::_sfLit) and glColorMaterial() (osg::MaterialChunk::_sfColorMaterial).
Definition at line 55 of file OSGMaterialChunk.h.
typedef MaterialChunkBase osg::MaterialChunk::Inherited [private] |
Reimplemented from osg::MaterialChunkBase.
Definition at line 140 of file OSGMaterialChunk.h.
typedef MaterialChunkPtr osg::MaterialChunkBase::Ptr [inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 103 of file OSGMaterialChunkBase.h.
anonymous enum [inherited] |
Definition at line 105 of file OSGMaterialChunkBase.h.
00106 { 00107 DiffuseFieldId = Inherited::NextFieldId, 00108 AmbientFieldId = DiffuseFieldId + 1, 00109 SpecularFieldId = AmbientFieldId + 1, 00110 EmissionFieldId = SpecularFieldId + 1, 00111 ShininessFieldId = EmissionFieldId + 1, 00112 LitFieldId = ShininessFieldId + 1, 00113 ColorMaterialFieldId = LitFieldId + 1, 00114 BackMaterialFieldId = ColorMaterialFieldId + 1, 00115 BackDiffuseFieldId = BackMaterialFieldId + 1, 00116 BackAmbientFieldId = BackDiffuseFieldId + 1, 00117 BackSpecularFieldId = BackAmbientFieldId + 1, 00118 BackEmissionFieldId = BackSpecularFieldId + 1, 00119 BackShininessFieldId = BackEmissionFieldId + 1, 00120 BackColorMaterialFieldId = BackShininessFieldId + 1, 00121 NextFieldId = BackColorMaterialFieldId + 1 00122 };
anonymous enum [inherited] |
Definition at line 92 of file OSGStateChunkBase.h.
00093 { 00094 IgnoreFieldId = Inherited::NextFieldId, 00095 NextFieldId = IgnoreFieldId + 1 00096 };
anonymous enum [inherited] |
Definition at line 86 of file OSGAttachmentImpl.h.
00087 { 00088 ParentsFieldId = Inherited::NextFieldId, 00089 InternalFieldId = ParentsFieldId + 1, 00090 NextFieldId = InternalFieldId + 1 00091 };
anonymous enum [inherited] |
Definition at line 73 of file OSGFieldContainerImpl.h.
00073 { NextFieldId = 1 };
| MaterialChunk::MaterialChunk | ( | void | ) | [protected] |
Definition at line 94 of file OSGMaterialChunk.cpp.
00094 : 00095 Inherited() 00096 { 00097 }
| MaterialChunk::MaterialChunk | ( | const MaterialChunk & | source | ) | [protected] |
Definition at line 99 of file OSGMaterialChunk.cpp.
00099 : 00100 Inherited(source) 00101 { 00102 }
| MaterialChunk::~MaterialChunk | ( | void | ) | [protected, virtual] |
Definition at line 104 of file OSGMaterialChunk.cpp.
| const StateChunkClass * MaterialChunk::getClass | ( | void | ) | const [virtual] |
Reimplemented from osg::StateChunk.
Definition at line 110 of file OSGMaterialChunk.cpp.
References _class.
00111 { 00112 return &_class; 00113 }
| UInt32 osg::MaterialChunk::getStaticClassId | ( | void | ) | [inline, static] |
Reimplemented from osg::StateChunk.
Definition at line 46 of file OSGMaterialChunk.inl.
References osg::StateChunkClass::getId(), and getStaticClass().
Referenced by osg::VRMLWriteAction::writeMaterial().
00047 { 00048 return getStaticClass()->getId(); 00049 }
| const StateChunkClass * osg::MaterialChunk::getStaticClass | ( | void | ) | [inline, static] |
Reimplemented from osg::StateChunk.
Definition at line 52 of file OSGMaterialChunk.inl.
References _class.
Referenced by getStaticClassId().
00053 { 00054 return &MaterialChunk::_class; 00055 }
Reimplemented from osg::StateChunk.
Definition at line 117 of file OSGMaterialChunk.cpp.
References osg::StateChunk::changed().
00118 { 00119 Inherited::changed(whichField, origin); 00120 }
Reimplemented from osg::StateChunk.
Definition at line 124 of file OSGMaterialChunk.cpp.
References SLOG.
00126 { 00127 SLOG << "Dump MaterialChunk NI" << std::endl; 00128 }
| void MaterialChunk::activate | ( | DrawActionBase * | action, | |
| UInt32 | index = 0 | |||
| ) | [virtual] |
Reimplemented from osg::StateChunk.
Definition at line 132 of file OSGMaterialChunk.cpp.
References osg::MaterialChunkBase::_sfAmbient, osg::MaterialChunkBase::_sfBackAmbient, osg::MaterialChunkBase::_sfBackDiffuse, osg::MaterialChunkBase::_sfBackEmission, osg::MaterialChunkBase::_sfBackShininess, osg::MaterialChunkBase::_sfBackSpecular, osg::MaterialChunkBase::_sfDiffuse, osg::MaterialChunkBase::_sfEmission, osg::MaterialChunkBase::_sfShininess, osg::MaterialChunkBase::_sfSpecular, FWARNING, osg::MaterialChunkBase::getBackColorMaterial(), osg::MaterialChunkBase::getBackMaterial(), osg::MaterialChunkBase::getColorMaterial(), osg::MaterialChunkBase::getLit(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), and glErr.
00133 { 00134 glErr("material:activate:precheck"); 00135 00136 GLenum target; 00137 00138 if(getBackMaterial()) 00139 { 00140 target = GL_FRONT; 00141 if(getColorMaterial() == GL_NONE && getBackColorMaterial() == GL_NONE) 00142 { 00143 glDisable(GL_COLOR_MATERIAL); 00144 } 00145 else if(getColorMaterial() == GL_NONE) 00146 { 00147 glColorMaterial(GL_BACK, getBackColorMaterial()); 00148 glEnable(GL_COLOR_MATERIAL); 00149 } 00150 else if(getBackColorMaterial() == GL_NONE) 00151 { 00152 glColorMaterial(GL_FRONT, getColorMaterial()); 00153 glEnable(GL_COLOR_MATERIAL); 00154 } 00155 else if(getColorMaterial() != getBackColorMaterial()) 00156 { 00157 FWARNING(("MaterialChunk::activate: can't have different " 00158 "back and front colorMaterial types!\n")); 00159 glEnable(GL_COLOR_MATERIAL); 00160 } 00161 else 00162 { 00163 glColorMaterial(GL_FRONT_AND_BACK, getColorMaterial()); 00164 glEnable(GL_COLOR_MATERIAL); 00165 } 00166 } 00167 else 00168 { 00169 target = GL_FRONT_AND_BACK; 00170 if(getColorMaterial() == GL_NONE) 00171 { 00172 glDisable(GL_COLOR_MATERIAL); 00173 } 00174 else 00175 { 00176 glColorMaterial(GL_FRONT_AND_BACK, getColorMaterial()); 00177 glEnable(GL_COLOR_MATERIAL); 00178 } 00179 } 00180 00181 glColor4fv(_sfDiffuse.getValue().getValuesRGBA()); 00182 00183 if(getLit()) 00184 { 00185 glMaterialfv(target, GL_DIFFUSE, 00186 _sfDiffuse.getValue().getValuesRGBA()); 00187 glMaterialfv(target, GL_AMBIENT, 00188 _sfAmbient.getValue().getValuesRGBA()); 00189 glMaterialfv(target, GL_SPECULAR, 00190 _sfSpecular.getValue().getValuesRGBA()); 00191 glMaterialfv(target, GL_EMISSION, 00192 _sfEmission.getValue().getValuesRGBA()); 00193 glMaterialf (target, GL_SHININESS, _sfShininess.getValue()); 00194 00195 if(getBackMaterial()) 00196 { 00197 glMaterialfv(GL_BACK, GL_DIFFUSE, 00198 _sfBackDiffuse.getValue().getValuesRGBA()); 00199 glMaterialfv(GL_BACK, GL_AMBIENT, 00200 _sfBackAmbient.getValue().getValuesRGBA()); 00201 glMaterialfv(GL_BACK, GL_SPECULAR, 00202 _sfBackSpecular.getValue().getValuesRGBA()); 00203 glMaterialfv(GL_BACK, GL_EMISSION, 00204 _sfBackEmission.getValue().getValuesRGBA()); 00205 glMaterialf (GL_BACK, GL_SHININESS, _sfBackShininess.getValue()); 00206 } 00207 00208 glEnable(GL_LIGHTING); 00209 } 00210 else 00211 { 00212 glDisable(GL_LIGHTING); 00213 } 00214 00215 glErr("material:activate:postcheck"); 00216 }
| void MaterialChunk::changeFrom | ( | DrawActionBase * | action, | |
| StateChunk * | old, | |||
| UInt32 | index = 0 | |||
| ) | [virtual] |
Definition at line 218 of file OSGMaterialChunk.cpp.
References osg::MaterialChunkBase::_sfAmbient, osg::MaterialChunkBase::_sfBackAmbient, osg::MaterialChunkBase::_sfBackDiffuse, osg::MaterialChunkBase::_sfBackEmission, osg::MaterialChunkBase::_sfBackShininess, osg::MaterialChunkBase::_sfBackSpecular, osg::MaterialChunkBase::_sfDiffuse, osg::MaterialChunkBase::_sfEmission, osg::MaterialChunkBase::_sfShininess, osg::MaterialChunkBase::_sfSpecular, FWARNING, osg::MaterialChunkBase::getBackColorMaterial(), osg::MaterialChunkBase::getBackMaterial(), osg::MaterialChunkBase::getBackShininess(), osg::MaterialChunkBase::getColorMaterial(), osg::MaterialChunkBase::getLit(), osg::MaterialChunkBase::getShininess(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), glErr, and osg::osgabs().
00219 { 00220 glErr("material:changed:precheck"); 00221 00222 MaterialChunk const *old = dynamic_cast<MaterialChunk const*>(old_chunk); 00223 00224 // change from me to me? 00225 // this assumes I haven't changed in the meantime. is that a valid assumption? 00226 if(old == this) 00227 { 00228 // Reset it, as Geometry colors might have changed it 00229 if(getColorMaterial() != GL_NONE || 00230 (getBackMaterial() && getBackColorMaterial() != GL_NONE) 00231 ) 00232 glColor4fv(_sfDiffuse.getValue().getValuesRGBA()); 00233 00234 return; 00235 } 00236 00237 if(getColorMaterial() != old->getColorMaterial() || 00238 getBackColorMaterial() != old->getBackColorMaterial() 00239 ) 00240 { 00241 if(getBackMaterial()) 00242 { 00243 if(getColorMaterial() == GL_NONE && getBackColorMaterial() == GL_NONE) 00244 { 00245 glDisable(GL_COLOR_MATERIAL); 00246 } 00247 else if(getColorMaterial() == GL_NONE) 00248 { 00249 glColorMaterial(GL_BACK, getBackColorMaterial()); 00250 glEnable(GL_COLOR_MATERIAL); 00251 } 00252 else if(getBackColorMaterial() == GL_NONE) 00253 { 00254 glColorMaterial(GL_FRONT, getColorMaterial()); 00255 glEnable(GL_COLOR_MATERIAL); 00256 } 00257 else if(getColorMaterial() != getBackColorMaterial()) 00258 { 00259 FWARNING(("MaterialChunk::changeFrom: can't have different " 00260 "back and front colorMaterial types!\n")); 00261 glEnable(GL_COLOR_MATERIAL); 00262 } 00263 else 00264 { 00265 glColorMaterial(GL_FRONT_AND_BACK, getColorMaterial()); 00266 glEnable(GL_COLOR_MATERIAL); 00267 } 00268 } 00269 else 00270 { 00271 if(getColorMaterial() == GL_NONE) 00272 { 00273 glDisable(GL_COLOR_MATERIAL); 00274 } 00275 else 00276 { 00277 glColorMaterial(GL_FRONT_AND_BACK, getColorMaterial()); 00278 glEnable(GL_COLOR_MATERIAL); 00279 } 00280 } 00281 } 00282 00283 if(getColorMaterial() != GL_NONE || getBackColorMaterial() != GL_NONE) 00284 glColor4fv(_sfDiffuse.getValue().getValuesRGBA()); 00285 00286 if(getLit() && ! old->getLit()) 00287 glEnable(GL_LIGHTING); 00288 else if(! getLit() && old->getLit()) 00289 glDisable(GL_LIGHTING); 00290 00291 if(getLit()) 00292 { 00293 GLenum target; 00294 00295 if(getBackMaterial()) 00296 { 00297 target = GL_FRONT; 00298 } 00299 else 00300 { 00301 target = GL_FRONT_AND_BACK; 00302 } 00303 00304 glMaterialfv(target, GL_DIFFUSE, 00305 _sfDiffuse.getValue().getValuesRGBA()); 00306 glMaterialfv(target, GL_AMBIENT, 00307 _sfAmbient.getValue().getValuesRGBA()); 00308 glMaterialfv(target, GL_SPECULAR, 00309 _sfSpecular.getValue().getValuesRGBA()); 00310 glMaterialfv(target, GL_EMISSION, 00311 _sfEmission.getValue().getValuesRGBA()); 00312 // adjust shininess only if it differs enough 00313 if(osgabs(_sfShininess.getValue() - old->getShininess()) > 1e-4) 00314 glMaterialf( target, GL_SHININESS, _sfShininess.getValue()); 00315 00316 if(getBackMaterial()) 00317 { 00318 glMaterialfv(GL_BACK, GL_DIFFUSE, 00319 _sfBackDiffuse.getValue().getValuesRGBA()); 00320 glMaterialfv(GL_BACK, GL_AMBIENT, 00321 _sfBackAmbient.getValue().getValuesRGBA()); 00322 glMaterialfv(GL_BACK, GL_SPECULAR, 00323 _sfBackSpecular.getValue().getValuesRGBA()); 00324 glMaterialfv(GL_BACK, GL_EMISSION, 00325 _sfBackEmission.getValue().getValuesRGBA()); 00326 // adjust shininess only if it differs enough 00327 if(osgabs(_sfBackShininess.getValue() - 00328 old->getBackShininess() 00329 ) > 1e-4) 00330 glMaterialf( GL_BACK, GL_SHININESS, _sfBackShininess.getValue()); 00331 } 00332 } 00333 00334 glErr("material:changed:postcheck"); 00335 }
| void MaterialChunk::deactivate | ( | DrawActionBase * | action, | |
| UInt32 | index = 0 | |||
| ) | [virtual] |
Reimplemented from osg::StateChunk.
Definition at line 337 of file OSGMaterialChunk.cpp.
References osg::MaterialChunkBase::getColorMaterial(), and osg::MaterialChunkBase::getLit().
00338 { 00339 if(getLit()) 00340 glDisable(GL_LIGHTING); 00341 00342 if(getColorMaterial() != GL_NONE) 00343 glDisable(GL_COLOR_MATERIAL); 00344 }
| bool MaterialChunk::isTransparent | ( | void | ) | const [virtual] |
Reimplemented from osg::StateChunk.
Definition at line 354 of file OSGMaterialChunk.cpp.
References osg::Eps, and osg::MaterialChunkBase::getDiffuse().
00355 { 00356 return(getDiffuse()[3] <(1. - Eps)); 00357 }
| Real32 MaterialChunk::switchCost | ( | StateChunk * | chunk | ) | [virtual] |
Definition at line 349 of file OSGMaterialChunk.cpp.
| bool MaterialChunk::operator< | ( | const StateChunk & | other | ) | const [virtual] |
Definition at line 360 of file OSGMaterialChunk.cpp.
| bool MaterialChunk::operator== | ( | const StateChunk & | other | ) | const [virtual] |
Definition at line 365 of file OSGMaterialChunk.cpp.
References osg::Eps, osg::Color4< ValueTypeT >::equals(), osg::MaterialChunkBase::getAmbient(), osg::MaterialChunkBase::getColorMaterial(), osg::MaterialChunkBase::getDiffuse(), osg::MaterialChunkBase::getEmission(), osg::MaterialChunkBase::getLit(), osg::MaterialChunkBase::getShininess(), and osg::MaterialChunkBase::getSpecular().
00366 { 00367 MaterialChunk const *tother = dynamic_cast<MaterialChunk const*>(&other); 00368 00369 if(!tother) 00370 return false; 00371 00372 if(tother == this) 00373 return true; 00374 00375 if(!getAmbient ().equals(tother->getAmbient (), Eps) || 00376 !getDiffuse ().equals(tother->getDiffuse (), Eps) || 00377 !getSpecular ().equals(tother->getSpecular (), Eps) || 00378 !getEmission ().equals(tother->getEmission (), Eps) || 00379 getShininess() != tother->getShininess() || 00380 getLit() != tother->getLit() || 00381 getColorMaterial() != tother->getColorMaterial() 00382 ) 00383 return false; 00384 00385 return true; 00386 }
| bool MaterialChunk::operator!= | ( | const StateChunk & | other | ) | const [virtual] |
Definition at line 388 of file OSGMaterialChunk.cpp.
| void MaterialChunk::initMethod | ( | void | ) | [static, private] |
Reimplemented from osg::StateChunk.
Definition at line 82 of file OSGMaterialChunk.cpp.
| void osg::MaterialChunk::operator= | ( | const MaterialChunk & | source | ) | [private] |
Reimplemented from osg::MaterialChunkBase.
| osg::FieldContainerType & osg::MaterialChunkBase::getClassType | ( | void | ) | [inline, static, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 58 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_type.
Referenced by osg::MaterialChunkBase::create(), and modifyMaterial().
00059 { 00060 return _type; 00061 }
| osg::UInt32 osg::MaterialChunkBase::getClassTypeId | ( | void | ) | [inline, static, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 65 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_type, and osg::TypeBase::getId().
00066 { 00067 return _type.getId(); 00068 }
| FieldContainerType & osg::MaterialChunkBase::getType | ( | void | ) | [virtual, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 251 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::_type.
00252 { 00253 return _type; 00254 }
| const FieldContainerType & osg::MaterialChunkBase::getType | ( | void | ) | const [virtual, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 256 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::_type.
00257 { 00258 return _type; 00259 }
| UInt32 osg::MaterialChunkBase::getContainerSize | ( | void | ) | const [virtual, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 271 of file OSGMaterialChunkBase.cpp.
| SFColor4f * osg::MaterialChunkBase::editSFDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 108 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse.
00109 { 00110 return &_sfDiffuse; 00111 }
| const SFColor4f * osg::MaterialChunkBase::getSFDiffuse | ( | void | ) | const [inline, inherited] |
Definition at line 101 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse.
00102 { 00103 return &_sfDiffuse; 00104 }
| SFColor4f * osg::MaterialChunkBase::getSFDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 116 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse.
00117 { 00118 return &_sfDiffuse; 00119 }
| SFColor4f * osg::MaterialChunkBase::editSFAmbient | ( | void | ) | [inline, inherited] |
Definition at line 131 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient.
00132 { 00133 return &_sfAmbient; 00134 }
| const SFColor4f * osg::MaterialChunkBase::getSFAmbient | ( | void | ) | const [inline, inherited] |
Definition at line 124 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient.
00125 { 00126 return &_sfAmbient; 00127 }
| SFColor4f * osg::MaterialChunkBase::getSFAmbient | ( | void | ) | [inline, inherited] |
Definition at line 139 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient.
00140 { 00141 return &_sfAmbient; 00142 }
| SFColor4f * osg::MaterialChunkBase::editSFSpecular | ( | void | ) | [inline, inherited] |
Definition at line 154 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular.
00155 { 00156 return &_sfSpecular; 00157 }
| const SFColor4f * osg::MaterialChunkBase::getSFSpecular | ( | void | ) | const [inline, inherited] |
Definition at line 147 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular.
00148 { 00149 return &_sfSpecular; 00150 }
| SFColor4f * osg::MaterialChunkBase::getSFSpecular | ( | void | ) | [inline, inherited] |
Definition at line 162 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular.
00163 { 00164 return &_sfSpecular; 00165 }
| SFColor4f * osg::MaterialChunkBase::editSFEmission | ( | void | ) | [inline, inherited] |
Definition at line 177 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission.
00178 { 00179 return &_sfEmission; 00180 }
| const SFColor4f * osg::MaterialChunkBase::getSFEmission | ( | void | ) | const [inline, inherited] |
Definition at line 170 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission.
00171 { 00172 return &_sfEmission; 00173 }
| SFColor4f * osg::MaterialChunkBase::getSFEmission | ( | void | ) | [inline, inherited] |
Definition at line 185 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission.
00186 { 00187 return &_sfEmission; 00188 }
| SFReal32 * osg::MaterialChunkBase::editSFShininess | ( | void | ) | [inline, inherited] |
Definition at line 200 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess.
00201 { 00202 return &_sfShininess; 00203 }
| const SFReal32 * osg::MaterialChunkBase::getSFShininess | ( | void | ) | const [inline, inherited] |
Definition at line 193 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess.
00194 { 00195 return &_sfShininess; 00196 }
| SFReal32 * osg::MaterialChunkBase::getSFShininess | ( | void | ) | [inline, inherited] |
Definition at line 208 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess.
00209 { 00210 return &_sfShininess; 00211 }
| SFBool * osg::MaterialChunkBase::editSFLit | ( | void | ) | [inline, inherited] |
Definition at line 223 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit.
00224 { 00225 return &_sfLit; 00226 }
| const SFBool * osg::MaterialChunkBase::getSFLit | ( | void | ) | const [inline, inherited] |
Definition at line 216 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit.
00217 { 00218 return &_sfLit; 00219 }
| SFBool * osg::MaterialChunkBase::getSFLit | ( | void | ) | [inline, inherited] |
Definition at line 231 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit.
00232 { 00233 return &_sfLit; 00234 }
| SFGLenum * osg::MaterialChunkBase::editSFColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 246 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial.
00247 { 00248 return &_sfColorMaterial; 00249 }
| const SFGLenum * osg::MaterialChunkBase::getSFColorMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 239 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial.
00240 { 00241 return &_sfColorMaterial; 00242 }
| SFGLenum * osg::MaterialChunkBase::getSFColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 254 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial.
00255 { 00256 return &_sfColorMaterial; 00257 }
| SFBool * osg::MaterialChunkBase::editSFBackMaterial | ( | void | ) | [inline, inherited] |
Definition at line 269 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial.
00270 { 00271 return &_sfBackMaterial; 00272 }
| const SFBool * osg::MaterialChunkBase::getSFBackMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 262 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial.
00263 { 00264 return &_sfBackMaterial; 00265 }
| SFBool * osg::MaterialChunkBase::getSFBackMaterial | ( | void | ) | [inline, inherited] |
Definition at line 277 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial.
00278 { 00279 return &_sfBackMaterial; 00280 }
| SFColor4f * osg::MaterialChunkBase::editSFBackDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 292 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse.
00293 { 00294 return &_sfBackDiffuse; 00295 }
| const SFColor4f * osg::MaterialChunkBase::getSFBackDiffuse | ( | void | ) | const [inline, inherited] |
Definition at line 285 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse.
00286 { 00287 return &_sfBackDiffuse; 00288 }
| SFColor4f * osg::MaterialChunkBase::getSFBackDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 300 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse.
00301 { 00302 return &_sfBackDiffuse; 00303 }
| SFColor4f * osg::MaterialChunkBase::editSFBackAmbient | ( | void | ) | [inline, inherited] |
Definition at line 315 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient.
00316 { 00317 return &_sfBackAmbient; 00318 }
| const SFColor4f * osg::MaterialChunkBase::getSFBackAmbient | ( | void | ) | const [inline, inherited] |
Definition at line 308 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient.
00309 { 00310 return &_sfBackAmbient; 00311 }
| SFColor4f * osg::MaterialChunkBase::getSFBackAmbient | ( | void | ) | [inline, inherited] |
Definition at line 323 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient.
00324 { 00325 return &_sfBackAmbient; 00326 }
| SFColor4f * osg::MaterialChunkBase::editSFBackSpecular | ( | void | ) | [inline, inherited] |
Definition at line 338 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular.
00339 { 00340 return &_sfBackSpecular; 00341 }
| const SFColor4f * osg::MaterialChunkBase::getSFBackSpecular | ( | void | ) | const [inline, inherited] |
Definition at line 331 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular.
00332 { 00333 return &_sfBackSpecular; 00334 }
| SFColor4f * osg::MaterialChunkBase::getSFBackSpecular | ( | void | ) | [inline, inherited] |
Definition at line 346 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular.
00347 { 00348 return &_sfBackSpecular; 00349 }
| SFColor4f * osg::MaterialChunkBase::editSFBackEmission | ( | void | ) | [inline, inherited] |
Definition at line 361 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission.
00362 { 00363 return &_sfBackEmission; 00364 }
| const SFColor4f * osg::MaterialChunkBase::getSFBackEmission | ( | void | ) | const [inline, inherited] |
Definition at line 354 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission.
00355 { 00356 return &_sfBackEmission; 00357 }
| SFColor4f * osg::MaterialChunkBase::getSFBackEmission | ( | void | ) | [inline, inherited] |
Definition at line 369 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission.
00370 { 00371 return &_sfBackEmission; 00372 }
| SFReal32 * osg::MaterialChunkBase::editSFBackShininess | ( | void | ) | [inline, inherited] |
Definition at line 384 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess.
00385 { 00386 return &_sfBackShininess; 00387 }
| const SFReal32 * osg::MaterialChunkBase::getSFBackShininess | ( | void | ) | const [inline, inherited] |
Definition at line 377 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess.
00378 { 00379 return &_sfBackShininess; 00380 }
| SFReal32 * osg::MaterialChunkBase::getSFBackShininess | ( | void | ) | [inline, inherited] |
Definition at line 392 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess.
00393 { 00394 return &_sfBackShininess; 00395 }
| SFGLenum * osg::MaterialChunkBase::editSFBackColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 407 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial.
00408 { 00409 return &_sfBackColorMaterial; 00410 }
| const SFGLenum * osg::MaterialChunkBase::getSFBackColorMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 400 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial.
00401 { 00402 return &_sfBackColorMaterial; 00403 }
| SFGLenum * osg::MaterialChunkBase::getSFBackColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 415 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial.
00416 { 00417 return &_sfBackColorMaterial; 00418 }
| Color4f & osg::MaterialChunkBase::editDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 424 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00425 { 00426 return _sfDiffuse.getValue(); 00427 }
| const Color4f & osg::MaterialChunkBase::getDiffuse | ( | void | ) | const [inline, inherited] |
Definition at line 431 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by isTransparent(), and operator==().
00432 { 00433 return _sfDiffuse.getValue(); 00434 }
| Color4f & osg::MaterialChunkBase::getDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 439 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00440 { 00441 return _sfDiffuse.getValue(); 00442 }
| Color4f & osg::MaterialChunkBase::editAmbient | ( | void | ) | [inline, inherited] |
Definition at line 454 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00455 { 00456 return _sfAmbient.getValue(); 00457 }
| const Color4f & osg::MaterialChunkBase::getAmbient | ( | void | ) | const [inline, inherited] |
Definition at line 461 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by operator==().
00462 { 00463 return _sfAmbient.getValue(); 00464 }
| Color4f & osg::MaterialChunkBase::getAmbient | ( | void | ) | [inline, inherited] |
Definition at line 469 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00470 { 00471 return _sfAmbient.getValue(); 00472 }
| Color4f & osg::MaterialChunkBase::editSpecular | ( | void | ) | [inline, inherited] |
Definition at line 484 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00485 { 00486 return _sfSpecular.getValue(); 00487 }
| const Color4f & osg::MaterialChunkBase::getSpecular | ( | void | ) | const [inline, inherited] |
Definition at line 491 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by operator==().
00492 { 00493 return _sfSpecular.getValue(); 00494 }
| Color4f & osg::MaterialChunkBase::getSpecular | ( | void | ) | [inline, inherited] |
Definition at line 499 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00500 { 00501 return _sfSpecular.getValue(); 00502 }
| Color4f & osg::MaterialChunkBase::editEmission | ( | void | ) | [inline, inherited] |
Definition at line 514 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00515 { 00516 return _sfEmission.getValue(); 00517 }
| const Color4f & osg::MaterialChunkBase::getEmission | ( | void | ) | const [inline, inherited] |
Definition at line 521 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by operator==().
00522 { 00523 return _sfEmission.getValue(); 00524 }
| Color4f & osg::MaterialChunkBase::getEmission | ( | void | ) | [inline, inherited] |
Definition at line 529 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00530 { 00531 return _sfEmission.getValue(); 00532 }
| Real32 & osg::MaterialChunkBase::editShininess | ( | void | ) | [inline, inherited] |
Definition at line 544 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00545 { 00546 return _sfShininess.getValue(); 00547 }
| const Real32 & osg::MaterialChunkBase::getShininess | ( | void | ) | const [inline, inherited] |
Definition at line 551 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by changeFrom(), and operator==().
00552 { 00553 return _sfShininess.getValue(); 00554 }
| Real32 & osg::MaterialChunkBase::getShininess | ( | void | ) | [inline, inherited] |
Definition at line 559 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00560 { 00561 return _sfShininess.getValue(); 00562 }
| bool & osg::MaterialChunkBase::editLit | ( | void | ) | [inline, inherited] |
Definition at line 574 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00575 { 00576 return _sfLit.getValue(); 00577 }
| const bool & osg::MaterialChunkBase::getLit | ( | void | ) | const [inline, inherited] |
Definition at line 581 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activate(), changeFrom(), deactivate(), and operator==().
00582 { 00583 return _sfLit.getValue(); 00584 }
| bool & osg::MaterialChunkBase::getLit | ( | void | ) | [inline, inherited] |
Definition at line 589 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00590 { 00591 return _sfLit.getValue(); 00592 }
| GLenum & osg::MaterialChunkBase::editColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 604 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00605 { 00606 return _sfColorMaterial.getValue(); 00607 }
| const GLenum & osg::MaterialChunkBase::getColorMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 611 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activate(), changeFrom(), deactivate(), and operator==().
00612 { 00613 return _sfColorMaterial.getValue(); 00614 }
| GLenum & osg::MaterialChunkBase::getColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 619 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00620 { 00621 return _sfColorMaterial.getValue(); 00622 }
| bool & osg::MaterialChunkBase::editBackMaterial | ( | void | ) | [inline, inherited] |
Definition at line 634 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00635 { 00636 return _sfBackMaterial.getValue(); 00637 }
| const bool & osg::MaterialChunkBase::getBackMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 641 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activate(), and changeFrom().
00642 { 00643 return _sfBackMaterial.getValue(); 00644 }
| bool & osg::MaterialChunkBase::getBackMaterial | ( | void | ) | [inline, inherited] |
Definition at line 649 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00650 { 00651 return _sfBackMaterial.getValue(); 00652 }
| Color4f & osg::MaterialChunkBase::editBackDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 664 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00665 { 00666 return _sfBackDiffuse.getValue(); 00667 }
| const Color4f & osg::MaterialChunkBase::getBackDiffuse | ( | void | ) | const [inline, inherited] |
Definition at line 671 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00672 { 00673 return _sfBackDiffuse.getValue(); 00674 }
| Color4f & osg::MaterialChunkBase::getBackDiffuse | ( | void | ) | [inline, inherited] |
Definition at line 679 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00680 { 00681 return _sfBackDiffuse.getValue(); 00682 }
| Color4f & osg::MaterialChunkBase::editBackAmbient | ( | void | ) | [inline, inherited] |
Definition at line 694 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00695 { 00696 return _sfBackAmbient.getValue(); 00697 }
| const Color4f & osg::MaterialChunkBase::getBackAmbient | ( | void | ) | const [inline, inherited] |
Definition at line 701 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00702 { 00703 return _sfBackAmbient.getValue(); 00704 }
| Color4f & osg::MaterialChunkBase::getBackAmbient | ( | void | ) | [inline, inherited] |
Definition at line 709 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00710 { 00711 return _sfBackAmbient.getValue(); 00712 }
| Color4f & osg::MaterialChunkBase::editBackSpecular | ( | void | ) | [inline, inherited] |
Definition at line 724 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00725 { 00726 return _sfBackSpecular.getValue(); 00727 }
| const Color4f & osg::MaterialChunkBase::getBackSpecular | ( | void | ) | const [inline, inherited] |
Definition at line 731 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00732 { 00733 return _sfBackSpecular.getValue(); 00734 }
| Color4f & osg::MaterialChunkBase::getBackSpecular | ( | void | ) | [inline, inherited] |
Definition at line 739 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00740 { 00741 return _sfBackSpecular.getValue(); 00742 }
| Color4f & osg::MaterialChunkBase::editBackEmission | ( | void | ) | [inline, inherited] |
Definition at line 754 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00755 { 00756 return _sfBackEmission.getValue(); 00757 }
| const Color4f & osg::MaterialChunkBase::getBackEmission | ( | void | ) | const [inline, inherited] |
Definition at line 761 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00762 { 00763 return _sfBackEmission.getValue(); 00764 }
| Color4f & osg::MaterialChunkBase::getBackEmission | ( | void | ) | [inline, inherited] |
Definition at line 769 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00770 { 00771 return _sfBackEmission.getValue(); 00772 }
| Real32 & osg::MaterialChunkBase::editBackShininess | ( | void | ) | [inline, inherited] |
Definition at line 784 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00785 { 00786 return _sfBackShininess.getValue(); 00787 }
| const Real32 & osg::MaterialChunkBase::getBackShininess | ( | void | ) | const [inline, inherited] |
Definition at line 791 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by changeFrom().
00792 { 00793 return _sfBackShininess.getValue(); 00794 }
| Real32 & osg::MaterialChunkBase::getBackShininess | ( | void | ) | [inline, inherited] |
Definition at line 799 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00800 { 00801 return _sfBackShininess.getValue(); 00802 }
| GLenum & osg::MaterialChunkBase::editBackColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 814 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00815 { 00816 return _sfBackColorMaterial.getValue(); 00817 }
| const GLenum & osg::MaterialChunkBase::getBackColorMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 821 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by activate(), and changeFrom().
00822 { 00823 return _sfBackColorMaterial.getValue(); 00824 }
| GLenum & osg::MaterialChunkBase::getBackColorMaterial | ( | void | ) | [inline, inherited] |
Definition at line 829 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00830 { 00831 return _sfBackColorMaterial.getValue(); 00832 }
| void osg::MaterialChunkBase::setDiffuse | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 447 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00448 { 00449 _sfDiffuse.setValue(value); 00450 }
| void osg::MaterialChunkBase::setAmbient | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 477 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00478 { 00479 _sfAmbient.setValue(value); 00480 }
| void osg::MaterialChunkBase::setSpecular | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 507 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00508 { 00509 _sfSpecular.setValue(value); 00510 }
| void osg::MaterialChunkBase::setEmission | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 537 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00538 { 00539 _sfEmission.setValue(value); 00540 }
| void osg::MaterialChunkBase::setShininess | ( | const Real32 & | value | ) | [inline, inherited] |
Definition at line 567 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00568 { 00569 _sfShininess.setValue(value); 00570 }
| void osg::MaterialChunkBase::setLit | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 597 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::MaterialChunkBase::setColorMaterial | ( | const GLenum & | value | ) | [inline, inherited] |
Definition at line 627 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00628 { 00629 _sfColorMaterial.setValue(value); 00630 }
| void osg::MaterialChunkBase::setBackMaterial | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 657 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00658 { 00659 _sfBackMaterial.setValue(value); 00660 }
| void osg::MaterialChunkBase::setBackDiffuse | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 687 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00688 { 00689 _sfBackDiffuse.setValue(value); 00690 }
| void osg::MaterialChunkBase::setBackAmbient | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 717 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00718 { 00719 _sfBackAmbient.setValue(value); 00720 }
| void osg::MaterialChunkBase::setBackSpecular | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 747 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00748 { 00749 _sfBackSpecular.setValue(value); 00750 }
| void osg::MaterialChunkBase::setBackEmission | ( | const Color4f & | value | ) | [inline, inherited] |
Definition at line 777 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackEmission, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00778 { 00779 _sfBackEmission.setValue(value); 00780 }
| void osg::MaterialChunkBase::setBackShininess | ( | const Real32 & | value | ) | [inline, inherited] |
Definition at line 807 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackShininess, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00808 { 00809 _sfBackShininess.setValue(value); 00810 }
| void osg::MaterialChunkBase::setBackColorMaterial | ( | const GLenum & | value | ) | [inline, inherited] |
Definition at line 837 of file OSGMaterialChunkBase.inl.
References osg::MaterialChunkBase::_sfBackColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00838 { 00839 _sfBackColorMaterial.setValue(value); 00840 }
Reimplemented from osg::StateChunkBase.
Definition at line 360 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::_sfAmbient, osg::MaterialChunkBase::_sfBackAmbient, osg::MaterialChunkBase::_sfBackColorMaterial, osg::MaterialChunkBase::_sfBackDiffuse, osg::MaterialChunkBase::_sfBackEmission, osg::MaterialChunkBase::_sfBackMaterial, osg::MaterialChunkBase::_sfBackShininess, osg::MaterialChunkBase::_sfBackSpecular, osg::MaterialChunkBase::_sfColorMaterial, osg::MaterialChunkBase::_sfDiffuse, osg::MaterialChunkBase::_sfEmission, osg::MaterialChunkBase::_sfLit, osg::MaterialChunkBase::_sfShininess, osg::MaterialChunkBase::_sfSpecular, osg::MaterialChunkBase::AmbientFieldMask, osg::MaterialChunkBase::BackAmbientFieldMask, osg::MaterialChunkBase::BackColorMaterialFieldMask, osg::MaterialChunkBase::BackDiffuseFieldMask, osg::MaterialChunkBase::BackEmissionFieldMask, osg::MaterialChunkBase::BackMaterialFieldMask, osg::MaterialChunkBase::BackShininessFieldMask, osg::MaterialChunkBase::BackSpecularFieldMask, osg::MaterialChunkBase::ColorMaterialFieldMask, osg::MaterialChunkBase::DiffuseFieldMask, osg::MaterialChunkBase::EmissionFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::StateChunkBase::getBinSize(), osg::MaterialChunkBase::LitFieldMask, osg::FieldBits::NoField, osg::MaterialChunkBase::ShininessFieldMask, and osg::MaterialChunkBase::SpecularFieldMask.
00361 { 00362 UInt32 returnValue = Inherited::getBinSize(whichField); 00363 00364 if(FieldBits::NoField != (DiffuseFieldMask & whichField)) 00365 { 00366 returnValue += _sfDiffuse.getBinSize(); 00367 } 00368 00369 if(FieldBits::NoField != (AmbientFieldMask & whichField)) 00370 { 00371 returnValue += _sfAmbient.getBinSize(); 00372 } 00373 00374 if(FieldBits::NoField != (SpecularFieldMask & whichField)) 00375 { 00376 returnValue += _sfSpecular.getBinSize(); 00377 } 00378 00379 if(FieldBits::NoField != (EmissionFieldMask & whichField)) 00380 { 00381 returnValue += _sfEmission.getBinSize(); 00382 } 00383 00384 if(FieldBits::NoField != (ShininessFieldMask & whichField)) 00385 { 00386 returnValue += _sfShininess.getBinSize(); 00387 } 00388 00389 if(FieldBits::NoField != (LitFieldMask & whichField)) 00390 { 00391 returnValue += _sfLit.getBinSize(); 00392 } 00393 00394 if(FieldBits::NoField != (ColorMaterialFieldMask & whichField)) 00395 { 00396 returnValue += _sfColorMaterial.getBinSize(); 00397 } 00398 00399 if(FieldBits::NoField != (BackMaterialFieldMask & whichField)) 00400 { 00401 returnValue += _sfBackMaterial.getBinSize(); 00402 } 00403 00404 if(FieldBits::NoField != (BackDiffuseFieldMask & whichField)) 00405 { 00406 returnValue += _sfBackDiffuse.getBinSize(); 00407 } 00408 00409 if(FieldBits::NoField != (BackAmbientFieldMask & whichField)) 00410 { 00411 returnValue += _sfBackAmbient.getBinSize(); 00412 } 00413 00414 if(FieldBits::NoField != (BackSpecularFieldMask & whichField)) 00415 { 00416 returnValue += _sfBackSpecular.getBinSize(); 00417 } 00418 00419 if(FieldBits::NoField != (BackEmissionFieldMask & whichField)) 00420 { 00421 returnValue += _sfBackEmission.getBinSize(); 00422 } 00423 00424 if(FieldBits::NoField != (BackShininessFieldMask & whichField)) 00425 { 00426 returnValue += _sfBackShininess.getBinSize(); 00427 } 00428 00429 if(FieldBits::NoField != (BackColorMaterialFieldMask & whichField)) 00430 { 00431 returnValue += _sfBackColorMaterial.getBinSize(); 00432 } 00433 00434 00435 return returnValue; 00436 }
| void osg::MaterialChunkBase::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 438 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::_sfAmbient, osg::MaterialChunkBase::_sfBackAmbient, osg::MaterialChunkBase::_sfBackColorMaterial, osg::MaterialChunkBase::_sfBackDiffuse, osg::MaterialChunkBase::_sfBackEmission, osg::MaterialChunkBase::_sfBackMaterial, osg::MaterialChunkBase::_sfBackShininess, osg::MaterialChunkBase::_sfBackSpecular, osg::MaterialChunkBase::_sfColorMaterial, osg::MaterialChunkBase::_sfDiffuse, osg::MaterialChunkBase::_sfEmission, osg::MaterialChunkBase::_sfLit, osg::MaterialChunkBase::_sfShininess, osg::MaterialChunkBase::_sfSpecular, osg::MaterialChunkBase::AmbientFieldMask, osg::MaterialChunkBase::BackAmbientFieldMask, osg::MaterialChunkBase::BackColorMaterialFieldMask, osg::MaterialChunkBase::BackDiffuseFieldMask, osg::MaterialChunkBase::BackEmissionFieldMask, osg::MaterialChunkBase::BackMaterialFieldMask, osg::MaterialChunkBase::BackShininessFieldMask, osg::MaterialChunkBase::BackSpecularFieldMask, osg::MaterialChunkBase::ColorMaterialFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::StateChunkBase::copyToBin(), osg::MaterialChunkBase::DiffuseFieldMask, osg::MaterialChunkBase::EmissionFieldMask, osg::MaterialChunkBase::LitFieldMask, osg::FieldBits::NoField, osg::MaterialChunkBase::ShininessFieldMask, and osg::MaterialChunkBase::SpecularFieldMask.
00440 { 00441 Inherited::copyToBin(pMem, whichField); 00442 00443 if(FieldBits::NoField != (DiffuseFieldMask & whichField)) 00444 { 00445 _sfDiffuse.copyToBin(pMem); 00446 } 00447 00448 if(FieldBits::NoField != (AmbientFieldMask & whichField)) 00449 { 00450 _sfAmbient.copyToBin(pMem); 00451 } 00452 00453 if(FieldBits::NoField != (SpecularFieldMask & whichField)) 00454 { 00455 _sfSpecular.copyToBin(pMem); 00456 } 00457 00458 if(FieldBits::NoField != (EmissionFieldMask & whichField)) 00459 { 00460 _sfEmission.copyToBin(pMem); 00461 } 00462 00463 if(FieldBits::NoField != (ShininessFieldMask & whichField)) 00464 { 00465 _sfShininess.copyToBin(pMem); 00466 } 00467 00468 if(FieldBits::NoField != (LitFieldMask & whichField)) 00469 { 00470 _sfLit.copyToBin(pMem); 00471 } 00472 00473 if(FieldBits::NoField != (ColorMaterialFieldMask & whichField)) 00474 { 00475 _sfColorMaterial.copyToBin(pMem); 00476 } 00477 00478 if(FieldBits::NoField != (BackMaterialFieldMask & whichField)) 00479 { 00480 _sfBackMaterial.copyToBin(pMem); 00481 } 00482 00483 if(FieldBits::NoField != (BackDiffuseFieldMask & whichField)) 00484 { 00485 _sfBackDiffuse.copyToBin(pMem); 00486 } 00487 00488 if(FieldBits::NoField != (BackAmbientFieldMask & whichField)) 00489 { 00490 _sfBackAmbient.copyToBin(pMem); 00491 } 00492 00493 if(FieldBits::NoField != (BackSpecularFieldMask & whichField)) 00494 { 00495 _sfBackSpecular.copyToBin(pMem); 00496 } 00497 00498 if(FieldBits::NoField != (BackEmissionFieldMask & whichField)) 00499 { 00500 _sfBackEmission.copyToBin(pMem); 00501 } 00502 00503 if(FieldBits::NoField != (BackShininessFieldMask & whichField)) 00504 { 00505 _sfBackShininess.copyToBin(pMem); 00506 } 00507 00508 if(FieldBits::NoField != (BackColorMaterialFieldMask & whichField)) 00509 { 00510 _sfBackColorMaterial.copyToBin(pMem); 00511 } 00512 00513 00514 }
| void osg::MaterialChunkBase::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 516 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::_sfAmbient, osg::MaterialChunkBase::_sfBackAmbient, osg::MaterialChunkBase::_sfBackColorMaterial, osg::MaterialChunkBase::_sfBackDiffuse, osg::MaterialChunkBase::_sfBackEmission, osg::MaterialChunkBase::_sfBackMaterial, osg::MaterialChunkBase::_sfBackShininess, osg::MaterialChunkBase::_sfBackSpecular, osg::MaterialChunkBase::_sfColorMaterial, osg::MaterialChunkBase::_sfDiffuse, osg::MaterialChunkBase::_sfEmission, osg::MaterialChunkBase::_sfLit, osg::MaterialChunkBase::_sfShininess, osg::MaterialChunkBase::_sfSpecular, osg::MaterialChunkBase::AmbientFieldMask, osg::MaterialChunkBase::BackAmbientFieldMask, osg::MaterialChunkBase::BackColorMaterialFieldMask, osg::MaterialChunkBase::BackDiffuseFieldMask, osg::MaterialChunkBase::BackEmissionFieldMask, osg::MaterialChunkBase::BackMaterialFieldMask, osg::MaterialChunkBase::BackShininessFieldMask, osg::MaterialChunkBase::BackSpecularFieldMask, osg::MaterialChunkBase::ColorMaterialFieldMask, osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::StateChunkBase::copyFromBin(), osg::MaterialChunkBase::DiffuseFieldMask, osg::MaterialChunkBase::EmissionFieldMask, osg::MaterialChunkBase::LitFieldMask, osg::FieldBits::NoField, osg::MaterialChunkBase::ShininessFieldMask, and osg::MaterialChunkBase::SpecularFieldMask.
00518 { 00519 Inherited::copyFromBin(pMem, whichField); 00520 00521 if(FieldBits::NoField != (DiffuseFieldMask & whichField)) 00522 { 00523 _sfDiffuse.copyFromBin(pMem); 00524 } 00525 00526 if(FieldBits::NoField != (AmbientFieldMask & whichField)) 00527 { 00528 _sfAmbient.copyFromBin(pMem); 00529 } 00530 00531 if(FieldBits::NoField != (SpecularFieldMask & whichField)) 00532 { 00533 _sfSpecular.copyFromBin(pMem); 00534 } 00535 00536 if(FieldBits::NoField != (EmissionFieldMask & whichField)) 00537 { 00538 _sfEmission.copyFromBin(pMem); 00539 } 00540 00541 if(FieldBits::NoField != (ShininessFieldMask & whichField)) 00542 { 00543 _sfShininess.copyFromBin(pMem); 00544 } 00545 00546 if(FieldBits::NoField != (LitFieldMask & whichField)) 00547 { 00548 _sfLit.copyFromBin(pMem); 00549 } 00550 00551 if(FieldBits::NoField != (ColorMaterialFieldMask & whichField)) 00552 { 00553 _sfColorMaterial.copyFromBin(pMem); 00554 } 00555 00556 if(FieldBits::NoField != (BackMaterialFieldMask & whichField)) 00557 { 00558 _sfBackMaterial.copyFromBin(pMem); 00559 } 00560 00561 if(FieldBits::NoField != (BackDiffuseFieldMask & whichField)) 00562 { 00563 _sfBackDiffuse.copyFromBin(pMem); 00564 } 00565 00566 if(FieldBits::NoField != (BackAmbientFieldMask & whichField)) 00567 { 00568 _sfBackAmbient.copyFromBin(pMem); 00569 } 00570 00571 if(FieldBits::NoField != (BackSpecularFieldMask & whichField)) 00572 { 00573 _sfBackSpecular.copyFromBin(pMem); 00574 } 00575 00576 if(FieldBits::NoField != (BackEmissionFieldMask & whichField)) 00577 { 00578 _sfBackEmission.copyFromBin(pMem); 00579 } 00580 00581 if(FieldBits::NoField != (BackShininessFieldMask & whichField)) 00582 { 00583 _sfBackShininess.copyFromBin(pMem); 00584 } 00585 00586 if(FieldBits::NoField != (BackColorMaterialFieldMask & whichField)) 00587 { 00588 _sfBackColorMaterial.copyFromBin(pMem); 00589 } 00590 00591 00592 }
| MaterialChunkPtr osg::MaterialChunkBase::create | ( | void | ) | [inline, static, inherited] |
Definition at line 72 of file OSGMaterialChunkBase.inl.
References osg::AttachmentPtr::dcast(), osg::MaterialChunkBase::getClassType(), osg::NullFC, and osg::MaterialChunkBase::shallowCopy().
Referenced by osg::VRMLMaterialDesc::beginNode(), and osg::VRMLMaterialDesc::endProtoInterface().
00073 { 00074 MaterialChunkPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = MaterialChunkPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 }
| MaterialChunkPtr osg::MaterialChunkBase::createEmpty | ( | void | ) | [inline, static, inherited] |
Definition at line 87 of file OSGMaterialChunkBase.inl.
References osg::FieldContainer::newPtr().
00088 { 00089 MaterialChunkPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 }
| FieldContainerPtr osg::MaterialChunkBase::shallowCopy | ( | void | ) | const [virtual, inherited] |
Implements osg::FieldContainer.
Definition at line 262 of file OSGMaterialChunkBase.cpp.
References osg::FieldContainer::newPtr().
Referenced by osg::MaterialChunkBase::create().
00263 { 00264 MaterialChunkPtr returnValue; 00265 00266 newPtr(returnValue, dynamic_cast<const MaterialChunk *>(this)); 00267 00268 return returnValue; 00269 }
| void osg::MaterialChunkBase::executeSyncImpl | ( | MaterialChunkBase * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 595 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::_sfAmbient, osg::MaterialChunkBase::_sfBackAmbient, osg::MaterialChunkBase::_sfBackColorMaterial, osg::MaterialChunkBase::_sfBackDiffuse, osg::MaterialChunkBase::_sfBackEmission, osg::MaterialChunkBase::_sfBackMaterial, osg::MaterialChunkBase::_sfBackShininess, osg::MaterialChunkBase::_sfBackSpecular, osg::MaterialChunkBase::_sfColorMaterial, osg::MaterialChunkBase::_sfDiffuse, osg::MaterialChunkBase::_sfEmission, osg::MaterialChunkBase::_sfLit, osg::MaterialChunkBase::_sfShininess, osg::MaterialChunkBase::_sfSpecular, osg::MaterialChunkBase::AmbientFieldMask, osg::MaterialChunkBase::BackAmbientFieldMask, osg::MaterialChunkBase::BackColorMaterialFieldMask, osg::MaterialChunkBase::BackDiffuseFieldMask, osg::MaterialChunkBase::BackEmissionFieldMask, osg::MaterialChunkBase::BackMaterialFieldMask, osg::MaterialChunkBase::BackShininessFieldMask, osg::MaterialChunkBase::BackSpecularFieldMask, osg::MaterialChunkBase::ColorMaterialFieldMask, osg::MaterialChunkBase::DiffuseFieldMask, osg::MaterialChunkBase::EmissionFieldMask, osg::StateChunkBase::executeSyncImpl(), osg::MaterialChunkBase::LitFieldMask, osg::FieldBits::NoField, osg::MaterialChunkBase::ShininessFieldMask, osg::MaterialChunkBase::SpecularFieldMask, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().
Referenced by osg::MaterialChunkBase::executeSync().
00597 { 00598 00599 Inherited::executeSyncImpl(pOther, whichField); 00600 00601 if(FieldBits::NoField != (DiffuseFieldMask & whichField)) 00602 _sfDiffuse.syncWith(pOther->_sfDiffuse); 00603 00604 if(FieldBits::NoField != (AmbientFieldMask & whichField)) 00605 _sfAmbient.syncWith(pOther->_sfAmbient); 00606 00607 if(FieldBits::NoField != (SpecularFieldMask & whichField)) 00608 _sfSpecular.syncWith(pOther->_sfSpecular); 00609 00610 if(FieldBits::NoField != (EmissionFieldMask & whichField)) 00611 _sfEmission.syncWith(pOther->_sfEmission); 00612 00613 if(FieldBits::NoField != (ShininessFieldMask & whichField)) 00614 _sfShininess.syncWith(pOther->_sfShininess); 00615 00616 if(FieldBits::NoField != (LitFieldMask & whichField)) 00617 _sfLit.syncWith(pOther->_sfLit); 00618 00619 if(FieldBits::NoField != (ColorMaterialFieldMask & whichField)) 00620 _sfColorMaterial.syncWith(pOther->_sfColorMaterial); 00621 00622 if(FieldBits::NoField != (BackMaterialFieldMask & whichField)) 00623 _sfBackMaterial.syncWith(pOther->_sfBackMaterial); 00624 00625 if(FieldBits::NoField != (BackDiffuseFieldMask & whichField)) 00626 _sfBackDiffuse.syncWith(pOther->_sfBackDiffuse); 00627 00628 if(FieldBits::NoField != (BackAmbientFieldMask & whichField)) 00629 _sfBackAmbient.syncWith(pOther->_sfBackAmbient); 00630 00631 if(FieldBits::NoField != (BackSpecularFieldMask & whichField)) 00632 _sfBackSpecular.syncWith(pOther->_sfBackSpecular); 00633 00634 if(FieldBits::NoField != (BackEmissionFieldMask & whichField)) 00635 _sfBackEmission.syncWith(pOther->_sfBackEmission); 00636 00637 if(FieldBits::NoField != (BackShininessFieldMask & whichField)) 00638 _sfBackShininess.syncWith(pOther->_sfBackShininess); 00639 00640 if(FieldBits::NoField != (BackColorMaterialFieldMask & whichField)) 00641 _sfBackColorMaterial.syncWith(pOther->_sfBackColorMaterial); 00642 00643 00644 }
| void osg::MaterialChunkBase::executeSync | ( | FieldContainer & | other, | |
| const BitVector & | whichField | |||
| ) | [protected, virtual, inherited] |
Reimplemented from osg::StateChunkBase.
Definition at line 278 of file OSGMaterialChunkBase.cpp.
References osg::MaterialChunkBase::executeSyncImpl().
00280 { 00281 this->executeSyncImpl(static_cast<MaterialChunkBase *>(&other), 00282 whichField); 00283 }
| virtual void osg::FieldContainer::executeSync | ( | FieldContainer & | other, | |
| const BitVector & | whichField | |||
| ) | [protected, pure virtual, inherited] |
Referenced by osg::FieldContainerPtrBase::executeSync().
| UInt32 osg::StateChunk::getClassId | ( | void | ) | const [inline, inherited] |
Definition at line 48 of file OSGStateChunk.inl.
References osg::StateChunk::getClass(), and osg::StateChunkClass::getId().
00049 { 00050 return getClass()->getId(); 00051 }
| void StateChunk::update | ( | DrawActionBase * | action | ) | [virtual, inherited] |
| void StateChunk::changeFrom | ( | DrawActionBase * | action, | |
| StateChunk * | old, | |||
| UInt32 | index = 0 | |||
| ) | [virtual, inherited] |
Change from an old chunk of the same type to this chunk. Note that in general no type checking is done, make sure to use this on a legal combination of chunks!
Definition at line 330 of file OSGStateChunk.cpp.
References osg::StateChunk::activate(), and osg::StateChunk::deactivate().
00333 { 00334 old->deactivate(action, index); 00335 activate(action, index); 00336 }
| Real32 StateChunk::switchCost | ( | StateChunk * | chunk | ) | [virtual, inherited] |
Calculate how expensive it is to switch from one instance of the chunk class to another. In most cases not implemented yet, will return 0.
Definition at line 370 of file OSGStateChunk.cpp.
| bool StateChunk::operator< | ( | const StateChunk & | other | ) | const [virtual, inherited] |
Calculate how expensive it is to switch from one instance of the chunk class to another. In most cases not implemented yet, will return 0.
Definition at line 375 of file OSGStateChunk.cpp.
| bool StateChunk::operator== | ( | const StateChunk & | other | ) | const [virtual, inherited] |
Compare two chunks. In most cases not implemented yet, will return false.
Definition at line 383 of file OSGStateChunk.cpp.
| bool StateChunk::operator!= | ( | const StateChunk & | other | ) | const [virtual, inherited] |
Calculate how expensive it is to switch from one instance of the chunk class to another. In most cases not implemented yet, will return 0.
Definition at line 388 of file OSGStateChunk.cpp.
| SFBool * osg::StateChunkBase::editSFIgnore | ( | void | ) | [inline, inherited] |
Definition at line 82 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore.
00083 { 00084 return &_sfIgnore; 00085 }
| const SFBool * osg::StateChunkBase::getSFIgnore | ( | void | ) | const [inline, inherited] |
Definition at line 75 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore.
00076 { 00077 return &_sfIgnore; 00078 }
| SFBool * osg::StateChunkBase::getSFIgnore | ( | void | ) | [inline, inherited] |
Definition at line 90 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore.
00091 { 00092 return &_sfIgnore; 00093 }
| bool & osg::StateChunkBase::editIgnore | ( | void | ) | [inline, inherited] |
Definition at line 99 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00100 { 00101 return _sfIgnore.getValue(); 00102 }
| const bool & osg::StateChunkBase::getIgnore | ( | void | ) | const [inline, inherited] |
Definition at line 106 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00107 { 00108 return _sfIgnore.getValue(); 00109 }
| bool & osg::StateChunkBase::getIgnore | ( | void | ) | [inline, inherited] |
Definition at line 114 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00115 { 00116 return _sfIgnore.getValue(); 00117 }
| void osg::StateChunkBase::setIgnore | ( | const bool & | value | ) | [inline, inherited] |
Definition at line 122 of file OSGStateChunkBase.inl.
References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| MFFieldContainerPtr & Attachment::getParents | ( | void | ) | [inherited] |
Definition at line 95 of file OSGAttachment.cpp.
00096 { 00097 return _parents; 00098 }
| const MFFieldContainerPtr & Attachment::getParents | ( | void | ) | const [inherited] |
Definition at line 100 of file OSGAttachment.cpp.
References osg::Attachment::_parents.
00101 { 00102 return _parents; 00103 }
| MFFieldContainerPtr * Attachment::getMFParents | ( | void | ) | [inherited] |
Definition at line 105 of file OSGAttachment.cpp.
References osg::Attachment::_parents.
Referenced by osg::DVRLookupTable::changed().
00106 { 00107 return &_parents; 00108 }
| void Attachment::addParent | ( | FieldContainerPtr | parent | ) | [inherited] |
Definition at line 110 of file OSGAttachment.cpp.
References osg::Attachment::_parents, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().
| void Attachment::subParent | ( | FieldContainerPtr | parent | ) | [inherited] |
Definition at line 115 of file OSGAttachment.cpp.
References osg::Attachment::_parents, osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), and osg::MField< FieldTypeT, fieldNameSpace >::find().
| Int32 Attachment::findParent | ( | FieldContainerPtr | parent | ) | [inherited] |
Definition at line 125 of file OSGAttachment.cpp.
References osg::Attachment::_parents, osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::MField< FieldTypeT, fieldNameSpace >::end(), and osg::MField< FieldTypeT, fieldNameSpace >::find().
| SFBool & Attachment::getInternal | ( | void | ) | [inherited] |
Definition at line 142 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal.
00143 { 00144 return _sfInternal; 00145 }
| const SFBool & Attachment::getInternal | ( | void | ) | const [inherited] |
Definition at line 147 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal.
00148 { 00149 return _sfInternal; 00150 }
| SFBool * Attachment::getSFInternal | ( | void | ) | [inherited] |
Definition at line 152 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal.
00153 { 00154 return &_sfInternal; 00155 }
| void Attachment::setInternal | ( | bool | bVal | ) | [inherited] |
Definition at line 157 of file OSGAttachment.cpp.
References osg::Attachment::_sfInternal, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00158 { 00159 _sfInternal.setValue(bVal); 00160 }
| void Attachment::onDestroy | ( | void | ) | [protected, virtual, inherited] |
Reimplemented from osg::FieldContainer.
Reimplemented in osg::CubeTextureChunk, osg::TextureChunk, osg::ShaderParameterChunk, and osg::SHLChunk.
Definition at line 285 of file OSGAttachment.cpp.
Referenced by osg::TextureChunk::onDestroy(), and osg::ShaderParameterChunk::onDestroy().
| UInt16 osg::FieldContainer::getClassGroupId | ( | void | ) | [inline, static, inherited] |
Definition at line 71 of file OSGFieldContainerImpl.inl.
References osg::FieldContainer::_type, and osg::FieldContainerType::getGroupId().
00072 { 00073 return _type.getGroupId(); 00074 }
| UInt32 osg::FieldContainer::getTypeId | ( | void | ) | const [inline, inherited] |
Definition at line 77 of file OSGFieldContainerImpl.inl.
References osg::TypeBase::getId(), and osg::FieldContainer::getType().
Referenced by osg::TextureChunk::changeFrom(), and osg::CubeTextureChunk::changeFrom().
00078 { 00079 return getType().getId(); 00080 }
| UInt16 osg::FieldContainer::getGroupId | ( | void | ) | const [inline, inherited] |
Definition at line 83 of file OSGFieldContainerImpl.inl.
References osg::FieldContainerType::getGroupId(), and osg::FieldContainer::getType().
Referenced by osg::Image::setAttachmentField().
00084 { 00085 return getType().getGroupId(); 00086 }
| const Char8 * osg::FieldContainer::getTypeName | ( | void | ) | const [inline, inherited] |
Definition at line 89 of file OSGFieldContainerImpl.inl.
References osg::TypeBase::getCName(), and osg::FieldContainer::getType().
00090 { 00091 return getType().getCName(); 00092 }
Generic Field Access
Definition at line 95 of file OSGFieldContainerImpl.inl.
References osg::FieldDescription::getField(), osg::FieldContainerType::getFieldDescription(), and osg::FieldContainer::getType().
Referenced by osg::QFCItem::expand(), osg::VRMLShapeDesc::getFieldAndDesc(), osg::QFieldViewBase::getFieldPtr(), osg::QFieldEditorBase::getFieldPtr(), osg::getParentsField(), and osg::QFCItem::setup().
00096 { 00097 const FieldDescription *desc = getType().getFieldDescription(fieldId); 00098 00099 return desc ? desc->getField(*this) : NULL; 00100 }
Generic Field Access
Definition at line 103 of file OSGFieldContainerImpl.inl.
References osg::FieldContainerType::findFieldDescription(), osg::FieldDescription::getField(), and osg::FieldContainer::getType().
00104 { 00105 const FieldDescription *desc =getType().findFieldDescription(fieldName); 00106 00107 return desc ? desc->getField(*this) : NULL; 00108 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result, | |
| const typename ObjectPtrT::StoredObjectType * | prototypeP | |||
| ) | [inline, static, protected, inherited] |
Definition at line 138 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
Referenced by osg::XWindowBase::createEmpty(), osg::WIN32WindowBase::createEmpty(), osg::ViewportBase::createEmpty(), osg::VertexProgramChunkBase::createEmpty(), osg::TwoSidedLightingChunkBase::createEmpty(), osg::TransformChunkBase::createEmpty(), osg::TransformBase::createEmpty(), osg::TileCameraDecoratorBase::createEmpty(), osg::TextureTransformChunkBase::createEmpty(), osg::TextureGrabForegroundBase::createEmpty(), osg::TextureGrabBackgroundBase::createEmpty(), osg::TextureChunkBase::createEmpty(), osg::TextureBackgroundBase::createEmpty(), osg::TexGenChunkBase::createEmpty(), osg::SwitchMaterialBase::createEmpty(), osg::SwitchBase::createEmpty(), osg::SurfaceBase::createEmpty(), osg::StringAttributeMapBase::createEmpty(), osg::StereoBufferViewportBase::createEmpty(), osg::StencilChunkBase::createEmpty(), osg::StateSortingGroupBase::createEmpty(), osg::StateBase::createEmpty(), osg::SpotLightBase::createEmpty(), osg::SortFirstWindowBase::createEmpty(), osg::SolidBackgroundBase::createEmpty(), osg::SlicesBase::createEmpty(), osg::SkyBackgroundBase::createEmpty(), osg::SimpleTexturedMaterialBase::createEmpty(), osg::SimpleStatisticsForegroundBase::createEmpty(), osg::SimpleMaterialBase::createEmpty(), osg::SHLParameterChunkBase::createEmpty(), osg::SHLChunkBase::createEmpty(), osg::ShearedStereoCameraDecoratorBase::createEmpty(), osg::ShaderParameterVec4fBase::createEmpty(), osg::ShaderParameterVec3fBase::createEmpty(), osg::ShaderParameterVec2fBase::createEmpty(), osg::ShaderParameterStringBase::createEmpty(), osg::ShaderParameterRealBase::createEmpty(), osg::ShaderParameterMVec4fBase::createEmpty(), osg::ShaderParameterMVec3fBase::createEmpty(), osg::ShaderParameterMVec2fBase::createEmpty(), osg::ShaderParameterMRealBase::createEmpty(), osg::ShaderParameterMMatrixBase::createEmpty(), osg::ShaderParameterMIntBase::createEmpty(), osg::ShaderParameterMatrixBase::createEmpty(), osg::ShaderParameterIntBase::createEmpty(), osg::ShaderParameterBoolBase::createEmpty(), osg::ShadeModelChunkBase::createEmpty(), osg::ScreenGroupBase::createEmpty(), osg::SClipPlaneChunkBase::createEmpty(), osg::ResolutionDisplayFilterBase::createEmpty(), osg::RenderOptionsBase::createEmpty(), osg::RegisterCombinersChunkBase::createEmpty(), osg::QTWindowBase::createEmpty(), osg::ProxyGroupBase::createEmpty(), osg::ProjectionCameraDecoratorBase::createEmpty(), osg::PolygonForegroundBase::createEmpty(), osg::PolygonChunkBase::createEmpty(), osg::PolygonBackgroundBase::createEmpty(), osg::PointLightBase::createEmpty(), osg::PointChunkBase::createEmpty(), osg::PhongMaterialBase::createEmpty(), osg::PerspectiveCameraBase::createEmpty(), osg::PassiveWindowBase::createEmpty(), osg::PassiveViewportBase::createEmpty(), osg::PassiveBackgroundBase::createEmpty(), osg::ParticlesBase::createEmpty(), osg::OrthographicCameraBase::createEmpty(), osg::OffsetCameraDecoratorBase::createEmpty(), osg::OffCenterPerspectiveCameraBase::createEmpty(), osg::MultiSwitchBase::createEmpty(), osg::MultiPassMaterialBase::createEmpty(), osg::MultiDisplayWindowBase::createEmpty(), osg::MatrixCameraDecoratorBase::createEmpty(), osg::MatrixCameraBase::createEmpty(), osg::MaterialPoolBase::createEmpty(), osg::MaterialGroupBase::createEmpty(), osg::MaterialChunkBase::createEmpty(), osg::LogicOpChunkBase::createEmpty(), osg::LineChunkBase::createEmpty(), osg::LightModelChunkBase::createEmpty(), osg::LightEnvBase::createEmpty(), osg::LightChunkBase::createEmpty(), osg::InverseTransformBase::createEmpty(), osg::InlineBase::createEmpty(), osg::ImageForegroundBase::createEmpty(), osg::ImageBase::createEmpty(), osg::ImageBackgroundBase::createEmpty(), osg::GroupBase::createEmpty(), osg::GraphicStatisticsForegroundBase::createEmpty(), osg::GradientBackgroundBase::createEmpty(), osg::GrabForegroundBase::createEmpty(), osg::GLUTWindowBase::createEmpty(), osg::GeometryBase::createEmpty(), osg::FresnelMaterialBase::createEmpty(), osg::FragmentProgramChunkBase::createEmpty(), osg::FogChunkBase::createEmpty(), osg::FogBase::createEmpty(), osg::FileGrabForegroundBase::createEmpty(), osg::FCPtrAttributeMapBase::createEmpty(), osg::FBOViewportBase::createEmpty(), osg::FatBorderChunkBase::createEmpty(), osg::DVRVolumeTextureBase::createEmpty(), osg::DVRVolumeBase::createEmpty(), osg::DVRSimpleShaderBase::createEmpty(), osg::DVRSimpleLUTShaderBase::createEmpty(), osg::DVRMtexLUTShaderBase::createEmpty(), osg::DVRLookupTableBase::createEmpty(), osg::DVRIsoSurfaceBase::createEmpty(), osg::DVRIsoShaderBase::createEmpty(), osg::DVRGeometryBase::createEmpty(), osg::DVRClipObjectsBase::createEmpty(), osg::DVRClipGeometryBase::createEmpty(), osg::DVRAppearanceBase::createEmpty(), osg::DistortionDisplayFilterBase::createEmpty(), osg::DistanceLODBase::createEmpty(), osg::DisplayFilterForegroundBase::createEmpty(), osg::DisplayCalibrationBase::createEmpty(), osg::DirectionalLightBase::createEmpty(), osg::DepthClearBackgroundBase::createEmpty(), osg::DepthChunkBase::createEmpty(), osg::CubeTextureChunkBase::createEmpty(), osg::ComponentTransformBase::createEmpty(), osg::ColorMaskChunkBase::createEmpty(), osg::ColorDisplayFilterBase::createEmpty(), osg::ColorBufferViewportBase::createEmpty(), osg::ClusterWindowBase::createEmpty(), osg::ClipPlaneChunkBase::createEmpty(), osg::ClipPlaneBase::createEmpty(), osg::ChunkMaterialBase::createEmpty(), osg::BlendChunkBase::createEmpty(), osg::BillboardBase::createEmpty(), osg::XWindowBase::shallowCopy(), osg::WIN32WindowBase::shallowCopy(), osg::ViewportBase::shallowCopy(), osg::VertexProgramChunkBase::shallowCopy(), osg::TwoSidedLightingChunkBase::shallowCopy(), osg::TransformChunkBase::shallowCopy(), osg::TransformBase::shallowCopy(), osg::TileCameraDecoratorBase::shallowCopy(), osg::TextureTransformChunkBase::shallowCopy(), osg::TextureGrabForegroundBase::shallowCopy(), osg::TextureGrabBackgroundBase::shallowCopy(), osg::TextureChunkBase::shallowCopy(), osg::TextureBackgroundBase::shallowCopy(), osg::TexGenChunkBase::shallowCopy(), osg::SwitchMaterialBase::shallowCopy(), osg::SwitchBase::shallowCopy(), osg::SurfaceBase::shallowCopy(), osg::StringAttributeMapBase::shallowCopy(), osg::StereoBufferViewportBase::shallowCopy(), osg::StencilChunkBase::shallowCopy(), osg::StateSortingGroupBase::shallowCopy(), osg::StateBase::shallowCopy(), osg::SpotLightBase::shallowCopy(), osg::SortFirstWindowBase::shallowCopy(), osg::SolidBackgroundBase::shallowCopy(), osg::SlicesBase::shallowCopy(), osg::SkyBackgroundBase::shallowCopy(), osg::SimpleTexturedMaterialBase::shallowCopy(), osg::SimpleStatisticsForegroundBase::shallowCopy(), osg::SimpleMaterialBase::shallowCopy(), osg::SHLParameterChunkBase::shallowCopy(), osg::SHLChunkBase::shallowCopy(), osg::ShearedStereoCameraDecoratorBase::shallowCopy(), osg::ShaderParameterVec4fBase::shallowCopy(), osg::ShaderParameterVec3fBase::shallowCopy(), osg::ShaderParameterVec2fBase::shallowCopy(), osg::ShaderParameterStringBase::shallowCopy(), osg::ShaderParameterRealBase::shallowCopy(), osg::ShaderParameterMVec4fBase::shallowCopy(), osg::ShaderParameterMVec3fBase::shallowCopy(), osg::ShaderParameterMVec2fBase::shallowCopy(), osg::ShaderParameterMRealBase::shallowCopy(), osg::ShaderParameterMMatrixBase::shallowCopy(), osg::ShaderParameterMIntBase::shallowCopy(), osg::ShaderParameterMatrixBase::shallowCopy(), osg::ShaderParameterIntBase::shallowCopy(), osg::ShaderParameterBoolBase::shallowCopy(), osg::ShadeModelChunkBase::shallowCopy(), osg::ScreenGroupBase::shallowCopy(), osg::SClipPlaneChunkBase::shallowCopy(), osg::ResolutionDisplayFilterBase::shallowCopy(), osg::RenderOptionsBase::shallowCopy(), osg::RegisterCombinersChunkBase::shallowCopy(), osg::QTWindowBase::shallowCopy(), osg::ProxyGroupBase::shallowCopy(), osg::ProjectionCameraDecoratorBase::shallowCopy(), osg::PolygonForegroundBase::shallowCopy(), osg::PolygonChunkBase::shallowCopy(), osg::PolygonBackgroundBase::shallowCopy(), osg::PointLightBase::shallowCopy(), osg::PointChunkBase::shallowCopy(), osg::PhongMaterialBase::shallowCopy(), osg::PerspectiveCameraBase::shallowCopy(), osg::PassiveWindowBase::shallowCopy(), osg::PassiveViewportBase::shallowCopy(), osg::PassiveBackgroundBase::shallowCopy(), osg::ParticlesBase::shallowCopy(), osg::OrthographicCameraBase::shallowCopy(), osg::OffsetCameraDecoratorBase::shallowCopy(), osg::OffCenterPerspectiveCameraBase::shallowCopy(), osg::MultiSwitchBase::shallowCopy(), osg::MultiPassMaterialBase::shallowCopy(), osg::MultiDisplayWindowBase::shallowCopy(), osg::MatrixCameraDecoratorBase::shallowCopy(), osg::MatrixCameraBase::shallowCopy(), osg::MaterialPoolBase::shallowCopy(), osg::MaterialGroupBase::shallowCopy(), osg::MaterialChunkBase::shallowCopy(), osg::LogicOpChunkBase::shallowCopy(), osg::LineChunkBase::shallowCopy(), osg::LightModelChunkBase::shallowCopy(), osg::LightEnvBase::shallowCopy(), osg::LightChunkBase::shallowCopy(), osg::InverseTransformBase::shallowCopy(), osg::InlineBase::shallowCopy(), osg::ImageForegroundBase::shallowCopy(), osg::ImageBase::shallowCopy(), osg::ImageBackgroundBase::shallowCopy(), osg::GroupBase::shallowCopy(), osg::GraphicStatisticsForegroundBase::shallowCopy(), osg::GradientBackgroundBase::shallowCopy(), osg::GrabForegroundBase::shallowCopy(), osg::GLUTWindowBase::shallowCopy(), osg::GeometryBase::shallowCopy(), osg::FresnelMaterialBase::shallowCopy(), osg::FragmentProgramChunkBase::shallowCopy(), osg::FogChunkBase::shallowCopy(), osg::FogBase::shallowCopy(), osg::FileGrabForegroundBase::shallowCopy(), osg::FCPtrAttributeMapBase::shallowCopy(), osg::FBOViewportBase::shallowCopy(), osg::FatBorderChunkBase::shallowCopy(), osg::DVRVolumeTextureBase::shallowCopy(), osg::DVRVolumeBase::shallowCopy(), osg::DVRSimpleShaderBase::shallowCopy(), osg::DVRSimpleLUTShaderBase::shallowCopy(), osg::DVRMtexLUTShaderBase::shallowCopy(), osg::DVRLookupTableBase::shallowCopy(), osg::DVRIsoSurfaceBase::shallowCopy(), osg::DVRIsoShaderBase::shallowCopy(), osg::DVRGeometryBase::shallowCopy(), osg::DVRClipObjectsBase::shallowCopy(), osg::DVRClipGeometryBase::shallowCopy(), osg::DVRAppearanceBase::shallowCopy(), osg::DistortionDisplayFilterBase::shallowCopy(), osg::DistanceLODBase::shallowCopy(), osg::DisplayFilterForegroundBase::shallowCopy(), osg::DisplayCalibrationBase::shallowCopy(), osg::DirectionalLightBase::shallowCopy(), osg::DepthClearBackgroundBase::shallowCopy(), osg::DepthChunkBase::shallowCopy(), osg::CubeTextureChunkBase::shallowCopy(), osg::ComponentTransformBase::shallowCopy(), osg::ColorMaskChunkBase::shallowCopy(), osg::ColorDisplayFilterBase::shallowCopy(), osg::ColorBufferViewportBase::shallowCopy(), osg::ClusterWindowBase::shallowCopy(), osg::ClipPlaneChunkBase::shallowCopy(), osg::ClipPlaneBase::shallowCopy(), osg::ChunkMaterialBase::shallowCopy(), osg::BlendChunkBase::shallowCopy(), and osg::BillboardBase::shallowCopy().
00141 { 00142 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00143 00144 UInt8 *pTmp; 00145 00146 result._containerSize = sizeof(ObjectType); 00147 00148 pTmp = 00149 static_cast<UInt8 *>(operator new( 00150 sizeof(Int32) + // ReferenceCount 00151 sizeof(UInt32) + // ContainerId 00152 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00153 00154 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00155 00156 pTmp += sizeof(Int32); 00157 00158 result._storeP = (pTmp + sizeof(UInt32)); 00159 00160 #ifdef OSG_DEBUG_FCPTR 00161 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00162 #endif 00163 00164 *(reinterpret_cast<UInt32 *>(pTmp)) = 00165 FieldContainerFactory::the()->registerFieldContainer(result); 00166 00167 #ifdef OSG_INVALID_PTR_CHECK 00168 result._id = *(reinterpret_cast<UInt32 *>(pTmp)); 00169 #endif 00170 00171 Thread::getCurrentChangeList()->addCreated( 00172 *(reinterpret_cast<UInt32 *>(pTmp))); 00173 00174 pTmp += sizeof(UInt32); 00175 00176 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00177 00178 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00179 { 00180 pTmp = 00181 reinterpret_cast<UInt8 *>(new (pTmp) ObjectType(*prototypeP)); 00182 00183 pTmp += sizeof(ObjectType); 00184 } 00185 00186 result->onCreate(prototypeP); 00187 00188 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00189 { 00190 aObject[i].onCreateAspect(aObject, prototypeP); 00191 } 00192 00193 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00194 00195 fprintf(stderr, "GV_MEM_FC_DBG : (%u) cc (%p|%u)\n", 00196 Thread::getAspect(), 00197 result._storeP, 00198 // ObjectType::getClassType().getCName(), 00199 ObjectType::getClassType().getId()); 00200 #endif 00201 00202 #ifdef OSG_DEBUG_TYPED_FCPTR 00203 result.updateTypedStore(); 00204 #endif 00205 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result | ) | [inline, static, protected, inherited] |
Definition at line 208 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
00209 { 00210 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00211 00212 UInt8 *pTmp; 00213 00214 result._containerSize = sizeof(ObjectType); 00215 00216 pTmp = 00217 static_cast<UInt8 *>(operator new( 00218 sizeof(Int32) + // ReferenceCount 00219 sizeof(UInt32) + // ContainerId 00220 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00221 00222 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00223 00224 pTmp += sizeof(Int32); 00225 00226 result._storeP = (pTmp + sizeof(UInt32)); 00227 00228 #ifdef OSG_DEBUG_FCPTR 00229 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00230 #endif 00231 00232 *(reinterpret_cast<UInt32 *>(pTmp)) = 00233 FieldContainerFactory::the()->registerFieldContainer(result); 00234 00235 #ifdef OSG_INVALID_PTR_CHECK 00236 result._id = *(reinterpret_cast<UInt32 *>(pTmp)); 00237 #endif 00238 00239 Thread::getCurrentChangeList()->addCreated( 00240 *(reinterpret_cast<UInt32 *>(pTmp))); 00241 00242 pTmp += sizeof(UInt32); 00243 00244 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00245 00246 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00247 { 00248 pTmp = reinterpret_cast<UInt8 *>(new (pTmp) ObjectType()); 00249 00250 pTmp += sizeof(ObjectType); 00251 } 00252 00253 result->onCreate(); 00254 00255 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00256 { 00257 aObject[i].onCreateAspect(aObject); 00258 } 00259 00260 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00261 fprintf(stderr, "GV_MEM_FC_DBG : (%u) c (%p|%u)\n", 00262 Thread::getAspect(), 00263 result._storeP, 00264 // ObjectType::getClassType().getCName(), 00265 ObjectType::getClassType().getId()); 00266 #endif 00267 00268 #ifdef OSG_DEBUG_TYPED_FCPTR 00269 result.updateTypedStore(); 00270 #endif 00271 }
| void osg::FieldContainer::beginEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
Definition at line 293 of file OSGFieldContainerImpl.inl.
| void osg::FieldContainer::endEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
Definition at line 299 of file OSGFieldContainerImpl.inl.
References osg::endEditCP().
00300 { 00301 FieldContainerPtr tmpPtr(this); 00302 endEditCP(tmpPtr, whichField); 00303 }
| void osg::FieldContainer::onCreate | ( | const FieldContainer * | source = NULL |
) | [inline, protected, inherited] |
Reimplemented in osg::Node, osg::Geometry, osg::FatBorderChunk, osg::Surface, osg::CubeTextureChunk, osg::FragmentProgramChunk, osg::ProgramChunk, osg::TextureChunk, osg::VertexProgramChunk, osg::FBOViewport, osg::SkyBackground, osg::Window, osg::ShaderParameterChunk, and osg::SHLChunk.
Definition at line 326 of file OSGFieldContainerImpl.inl.
Referenced by osg::SkyBackground::onCreate(), and osg::ShaderParameterChunk::onCreate().
| void osg::FieldContainer::onCreateAspect | ( | const FieldContainer * | aspect0, | |
| const FieldContainer * | source = NULL | |||
| ) | [inline, protected, inherited] |
Reimplemented in osg::Window.
Definition at line 331 of file OSGFieldContainerImpl.inl.
friend class FieldContainer [friend] |
Reimplemented from osg::MaterialChunkBase.
Definition at line 142 of file OSGMaterialChunk.h.
friend class MaterialChunkBase [friend] |
Definition at line 143 of file OSGMaterialChunk.h.
char osg::MaterialChunk::cvsid[] [static, private] |
Reimplemented from osg::StateChunk.
Definition at line 145 of file OSGMaterialChunk.h.
StateChunkClass MaterialChunk::_class [static, private] |
Definition at line 148 of file OSGMaterialChunk.h.
Referenced by getClass(), and getStaticClass().
const osg::BitVector osg::MaterialChunkBase::DiffuseFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::DiffuseFieldId)
Definition at line 124 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), and modifyMaterial().
const osg::BitVector osg::MaterialChunkBase::AmbientFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::AmbientFieldId)
Definition at line 125 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::SpecularFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::SpecularFieldId)
Definition at line 126 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::EmissionFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::EmissionFieldId)
Definition at line 127 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::ShininessFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::ShininessFieldId)
Definition at line 128 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::LitFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::LitFieldId)
Definition at line 129 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::ColorMaterialFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::ColorMaterialFieldId)
Definition at line 130 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackMaterialFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackMaterialFieldId)
Definition at line 131 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackDiffuseFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackDiffuseFieldId)
Definition at line 132 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackAmbientFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackAmbientFieldId)
Definition at line 133 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackSpecularFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackSpecularFieldId)
Definition at line 134 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackEmissionFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackEmissionFieldId)
Definition at line 135 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackShininessFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackShininessFieldId)
Definition at line 136 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::BackColorMaterialFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << MaterialChunkBase::BackColorMaterialFieldId)
Definition at line 137 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::executeSyncImpl(), and osg::MaterialChunkBase::getBinSize().
const osg::BitVector osg::MaterialChunkBase::MTInfluenceMask [static, inherited] |
(Inherited::MTInfluenceMask) |
(static_cast<BitVector>(0x0) << Inherited::NextFieldId)
Reimplemented from osg::StateChunkBase.
Definition at line 140 of file OSGMaterialChunkBase.h.
Color4f osg::MaterialChunkBase::_sfDiffuse [protected, inherited] |
Definition at line 395 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editDiffuse(), osg::MaterialChunkBase::editSFDiffuse(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getDiffuse(), osg::MaterialChunkBase::getSFDiffuse(), and osg::MaterialChunkBase::setDiffuse().
Color4f osg::MaterialChunkBase::_sfAmbient [protected, inherited] |
Definition at line 396 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editAmbient(), osg::MaterialChunkBase::editSFAmbient(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getAmbient(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFAmbient(), and osg::MaterialChunkBase::setAmbient().
Color4f osg::MaterialChunkBase::_sfSpecular [protected, inherited] |
Definition at line 397 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editSFSpecular(), osg::MaterialChunkBase::editSpecular(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFSpecular(), osg::MaterialChunkBase::getSpecular(), and osg::MaterialChunkBase::setSpecular().
Color4f osg::MaterialChunkBase::_sfEmission [protected, inherited] |
Definition at line 398 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editEmission(), osg::MaterialChunkBase::editSFEmission(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getEmission(), osg::MaterialChunkBase::getSFEmission(), and osg::MaterialChunkBase::setEmission().
Real32 osg::MaterialChunkBase::_sfShininess [protected, inherited] |
Definition at line 399 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editSFShininess(), osg::MaterialChunkBase::editShininess(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFShininess(), osg::MaterialChunkBase::getShininess(), and osg::MaterialChunkBase::setShininess().
bool osg::MaterialChunkBase::_sfLit [protected, inherited] |
Switch for using this material in lighting calculation. If not set the diffuse color is used as is.
Definition at line 400 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editLit(), osg::MaterialChunkBase::editSFLit(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getLit(), osg::MaterialChunkBase::getSFLit(), and osg::MaterialChunkBase::setLit().
GLenum osg::MaterialChunkBase::_sfColorMaterial [protected, inherited] |
The mode for using Geometry colors in lighting. Defaults to GL_DIFFUSE.
Definition at line 401 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editColorMaterial(), osg::MaterialChunkBase::editSFColorMaterial(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getColorMaterial(), osg::MaterialChunkBase::getSFColorMaterial(), and osg::MaterialChunkBase::setColorMaterial().
bool osg::MaterialChunkBase::_sfBackMaterial [protected, inherited] |
Switch for using separate material properties for front- and back-facing polygons. If set to false the standard parameters will be used for front- and backfaces.
Definition at line 402 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackMaterial(), osg::MaterialChunkBase::editSFBackMaterial(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackMaterial(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackMaterial(), and osg::MaterialChunkBase::setBackMaterial().
Color4f osg::MaterialChunkBase::_sfBackDiffuse [protected, inherited] |
Definition at line 403 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackDiffuse(), osg::MaterialChunkBase::editSFBackDiffuse(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackDiffuse(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackDiffuse(), and osg::MaterialChunkBase::setBackDiffuse().
Color4f osg::MaterialChunkBase::_sfBackAmbient [protected, inherited] |
Definition at line 404 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackAmbient(), osg::MaterialChunkBase::editSFBackAmbient(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackAmbient(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackAmbient(), and osg::MaterialChunkBase::setBackAmbient().
Color4f osg::MaterialChunkBase::_sfBackSpecular [protected, inherited] |
Definition at line 405 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackSpecular(), osg::MaterialChunkBase::editSFBackSpecular(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackSpecular(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackSpecular(), and osg::MaterialChunkBase::setBackSpecular().
Color4f osg::MaterialChunkBase::_sfBackEmission [protected, inherited] |
Definition at line 406 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackEmission(), osg::MaterialChunkBase::editSFBackEmission(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackEmission(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackEmission(), and osg::MaterialChunkBase::setBackEmission().
Real32 osg::MaterialChunkBase::_sfBackShininess [protected, inherited] |
Definition at line 407 of file OSGMaterialChunkBase.h.
Referenced by activate(), changeFrom(), osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackShininess(), osg::MaterialChunkBase::editSFBackShininess(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackShininess(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackShininess(), and osg::MaterialChunkBase::setBackShininess().
GLenum osg::MaterialChunkBase::_sfBackColorMaterial [protected, inherited] |
The mode for using Geometry colors in lighting. Defaults to GL_DIFFUSE.
Definition at line 408 of file OSGMaterialChunkBase.h.
Referenced by osg::MaterialChunkBase::copyFromBin(), osg::MaterialChunkBase::copyToBin(), osg::MaterialChunkBase::editBackColorMaterial(), osg::MaterialChunkBase::editSFBackColorMaterial(), osg::MaterialChunkBase::executeSyncImpl(), osg::MaterialChunkBase::getBackColorMaterial(), osg::MaterialChunkBase::getBinSize(), osg::MaterialChunkBase::getSFBackColorMaterial(), and osg::MaterialChunkBase::setBackColorMaterial().
const osg::BitVector osg::StateChunkBase::IgnoreFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << StateChunkBase::IgnoreFieldId)
Definition at line 98 of file OSGStateChunkBase.h.
Referenced by osg::StateChunkBase::copyFromBin(), osg::StateChunkBase::copyToBin(), osg::StateChunkBase::executeSyncImpl(), and osg::StateChunkBase::getBinSize().
bool osg::StateChunkBase::_sfIgnore [protected, inherited] |
Enables / disables a chunk
Definition at line 171 of file OSGStateChunkBase.h.
Referenced by osg::StateChunkBase::copyFromBin(), osg::StateChunkBase::copyToBin(), osg::StateChunkBase::editIgnore(), osg::StateChunkBase::editSFIgnore(), osg::StateChunkBase::executeSyncImpl(), osg::StateChunkBase::getBinSize(), osg::StateChunkBase::getIgnore(), osg::StateChunkBase::getSFIgnore(), and osg::StateChunkBase::setIgnore().
const BitVector Attachment::InternalFieldMask = (1 << Attachment::InternalFieldId) [static, inherited] |
Definition at line 93 of file OSGAttachmentImpl.h.
Referenced by osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::executeSyncImpl(), and osg::Attachment::getBinSize().
const BitVector Attachment::ParentsFieldMask = (1 << Attachment::ParentsFieldId) [static, inherited] |
Definition at line 94 of file OSGAttachmentImpl.h.
Referenced by osg::SharePtrGraphOp::addAttachmentParent(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::SharePtrGraphOp::compareFCs(), osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::executeSyncImpl(), osg::Attachment::getBinSize(), osg::Surface::onDestroy(), osg::Particles::setColors(), osg::Geometry::setColors(), osg::Surface::setControlPoints(), osg::Geometry::setIndices(), osg::Geometry::setLengths(), osg::Particles::setNormals(), osg::Geometry::setNormals(), osg::Particles::setPositions(), osg::Geometry::setPositions(), osg::Geometry::setSecondaryColors(), osg::Particles::setSecPositions(), osg::Geometry::setTexCoords(), osg::Geometry::setTexCoords1(), osg::Geometry::setTexCoords2(), osg::Geometry::setTexCoords3(), osg::Geometry::setTexCoords4(), osg::Geometry::setTexCoords5(), osg::Geometry::setTexCoords6(), osg::Geometry::setTexCoords7(), osg::Surface::setTextureControlPoints(), osg::Geometry::setTypes(), osg::AttachmentContainer::subAttachment(), osg::AttachmentContainer::~AttachmentContainer(), osg::Geometry::~Geometry(), and osg::Particles::~Particles().
SFBool osg::Attachment::_sfInternal [protected, inherited] |
Definition at line 165 of file OSGAttachmentImpl.h.
Referenced by osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::executeSyncImpl(), osg::Attachment::getBinSize(), osg::Attachment::getInternal(), osg::Attachment::getSFInternal(), and osg::Attachment::setInternal().
MFFieldContainerPtr osg::Attachment::_parents [protected, inherited] |
Definition at line 166 of file OSGAttachmentImpl.h.
Referenced by osg::Attachment::addParent(), osg::Attachment::copyFromBin(), osg::Attachment::copyToBin(), osg::Attachment::dump(), osg::Attachment::executeSyncImpl(), osg::Attachment::findParent(), osg::Attachment::getBinSize(), osg::Attachment::getMFParents(), osg::Attachment::getParents(), and osg::Attachment::subParent().
const BitVector osg::FieldContainer::NextFieldMask [static, inherited] |
(TypeTraits<BitVector>::One << NextFieldId)
Definition at line 75 of file OSGFieldContainerImpl.h.
const bool osg::FieldContainer::isNodeCore = false [static, inherited] |
Reimplemented in osg::NodeCore.
Definition at line 181 of file OSGFieldContainerImpl.h.
UInt32 osg::FieldContainer::_shares [protected, inherited] |
Definition at line 199 of file OSGFieldContainerImpl.h.
1.6.1