#include <OSGGeometryBase.h>

Definition at line 104 of file OSGGeometryBase.h.
typedef MaterialDrawable osg::GeometryBase::Inherited [private] |
Reimplemented from osg::MaterialDrawable.
Reimplemented in osg::Geometry, osg::DVRGeometry, osg::DVRGeometryBase, osg::Surface, and osg::SurfaceBase.
Definition at line 108 of file OSGGeometryBase.h.
| typedef GeometryPtr osg::GeometryBase::Ptr |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 113 of file OSGGeometryBase.h.
typedef MFNodePtr osg::NodeCore::ParentField [inherited] |
Definition at line 85 of file OSGNodeCore.h.
typedef MFNodePtr* osg::NodeCore::ParentFieldPtr [inherited] |
Definition at line 86 of file OSGNodeCore.h.
typedef MFNodePtr::iterator osg::NodeCore::ParentFieldIt [inherited] |
Definition at line 87 of file OSGNodeCore.h.
| anonymous enum |
Definition at line 115 of file OSGGeometryBase.h.
00116 { 00117 TypesFieldId = Inherited::NextFieldId, 00118 LengthsFieldId = TypesFieldId + 1, 00119 PositionsFieldId = LengthsFieldId + 1, 00120 NormalsFieldId = PositionsFieldId + 1, 00121 ColorsFieldId = NormalsFieldId + 1, 00122 SecondaryColorsFieldId = ColorsFieldId + 1, 00123 TexCoordsFieldId = SecondaryColorsFieldId + 1, 00124 TexCoords1FieldId = TexCoordsFieldId + 1, 00125 TexCoords2FieldId = TexCoords1FieldId + 1, 00126 TexCoords3FieldId = TexCoords2FieldId + 1, 00127 TexCoords4FieldId = TexCoords3FieldId + 1, 00128 TexCoords5FieldId = TexCoords4FieldId + 1, 00129 TexCoords6FieldId = TexCoords5FieldId + 1, 00130 TexCoords7FieldId = TexCoords6FieldId + 1, 00131 IndicesFieldId = TexCoords7FieldId + 1, 00132 IndexMappingFieldId = IndicesFieldId + 1, 00133 DlistCacheFieldId = IndexMappingFieldId + 1, 00134 GLIdFieldId = DlistCacheFieldId + 1, 00135 IgnoreGLForAspectFieldId = GLIdFieldId + 1, 00136 MinindexFieldId = IgnoreGLForAspectFieldId + 1, 00137 MaxindexFieldId = MinindexFieldId + 1, 00138 LowindicesFieldId = MaxindexFieldId + 1, 00139 HighindicesFieldId = LowindicesFieldId + 1, 00140 VboFieldId = HighindicesFieldId + 1, 00141 NextFieldId = VboFieldId + 1 00142 };
anonymous enum [inherited] |
Definition at line 92 of file OSGMaterialDrawableBase.h.
00093 { 00094 MaterialFieldId = Inherited::NextFieldId, 00095 NextFieldId = MaterialFieldId + 1 00096 };
anonymous enum [inherited] |
Definition at line 93 of file OSGNodeCore.h.
00094 { 00095 ParentsFieldId = Inherited::NextFieldId, 00096 NextFieldId = ParentsFieldId + 1 00097 };
anonymous enum [inherited] |
Definition at line 78 of file OSGAttachmentContainerImpl.h.
00079 { 00080 AttachmentsFieldId = Inherited::NextFieldId, 00081 NextFieldId = AttachmentsFieldId + 1 00082 };
anonymous enum [inherited] |
| osg::GeometryBase::GeometryBase | ( | void | ) | [protected] |
Definition at line 420 of file OSGGeometryBase.cpp.
00420 : 00421 _sfTypes (), 00422 _sfLengths (), 00423 _sfPositions (), 00424 _sfNormals (), 00425 _sfColors (), 00426 _sfSecondaryColors (), 00427 _sfTexCoords (), 00428 _sfTexCoords1 (), 00429 _sfTexCoords2 (), 00430 _sfTexCoords3 (), 00431 _sfTexCoords4 (), 00432 _sfTexCoords5 (), 00433 _sfTexCoords6 (), 00434 _sfTexCoords7 (), 00435 _sfIndices (), 00436 _mfIndexMapping (), 00437 _sfDlistCache (bool(true)), 00438 _sfGLId (Int32(0)), 00439 _sfIgnoreGLForAspect (Int32(-1)), 00440 _sfMinindex (), 00441 _sfMaxindex (), 00442 _mfLowindices (), 00443 _mfHighindices (), 00444 _sfVbo (bool(false)), 00445 Inherited() 00446 { 00447 }
| osg::GeometryBase::GeometryBase | ( | const GeometryBase & | source | ) | [protected] |
Definition at line 453 of file OSGGeometryBase.cpp.
00453 : 00454 _sfTypes (source._sfTypes ), 00455 _sfLengths (source._sfLengths ), 00456 _sfPositions (source._sfPositions ), 00457 _sfNormals (source._sfNormals ), 00458 _sfColors (source._sfColors ), 00459 _sfSecondaryColors (source._sfSecondaryColors ), 00460 _sfTexCoords (source._sfTexCoords ), 00461 _sfTexCoords1 (source._sfTexCoords1 ), 00462 _sfTexCoords2 (source._sfTexCoords2 ), 00463 _sfTexCoords3 (source._sfTexCoords3 ), 00464 _sfTexCoords4 (source._sfTexCoords4 ), 00465 _sfTexCoords5 (source._sfTexCoords5 ), 00466 _sfTexCoords6 (source._sfTexCoords6 ), 00467 _sfTexCoords7 (source._sfTexCoords7 ), 00468 _sfIndices (source._sfIndices ), 00469 _mfIndexMapping (source._mfIndexMapping ), 00470 _sfDlistCache (source._sfDlistCache ), 00471 _sfGLId (source._sfGLId ), 00472 _sfIgnoreGLForAspect (source._sfIgnoreGLForAspect ), 00473 _sfMinindex (source._sfMinindex ), 00474 _sfMaxindex (source._sfMaxindex ), 00475 _mfLowindices (source._mfLowindices ), 00476 _mfHighindices (source._mfHighindices ), 00477 _sfVbo (source._sfVbo ), 00478 Inherited (source) 00479 { 00480 }
| osg::GeometryBase::~GeometryBase | ( | void | ) | [protected, virtual] |
| osg::FieldContainerType & osg::GeometryBase::getClassType | ( | void | ) | [inline, static] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 58 of file OSGGeometryBase.inl.
References _type.
Referenced by create(), osg::VRMLWriteAction::initializeAction(), osg::Geometry::initMethod(), osg::MergeGraphOp::processGeometries(), osg::MergeGraphOp::processGroups(), osg::MergeGraphOp::processTransformations(), osg::RemoteAspect::RemoteAspect(), osg::SplitGraphOp::splitNode(), and osg::VerifyGeoGraphOp::travNodeEnter().
00059 { 00060 return _type; 00061 }
| osg::UInt32 osg::GeometryBase::getClassTypeId | ( | void | ) | [inline, static] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 65 of file OSGGeometryBase.inl.
References _type, and osg::TypeBase::getId().
00066 { 00067 return _type.getId(); 00068 }
| FieldContainerType & osg::GeometryBase::getType | ( | void | ) | [virtual] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 359 of file OSGGeometryBase.cpp.
References _type.
Referenced by osg::Geometry::dump().
00360 { 00361 return _type; 00362 }
| const FieldContainerType & osg::GeometryBase::getType | ( | void | ) | const [virtual] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 364 of file OSGGeometryBase.cpp.
References _type.
00365 { 00366 return _type; 00367 }
| UInt32 osg::GeometryBase::getContainerSize | ( | void | ) | const [virtual] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 379 of file OSGGeometryBase.cpp.
| SFGeoPTypesPtr * osg::GeometryBase::getSFTypes | ( | void | ) | [inline] |
Definition at line 101 of file OSGGeometryBase.inl.
References _sfTypes.
00102 { 00103 return &_sfTypes; 00104 }
| SFGeoPLengthsPtr * osg::GeometryBase::getSFLengths | ( | void | ) | [inline] |
Definition at line 108 of file OSGGeometryBase.inl.
References _sfLengths.
00109 { 00110 return &_sfLengths; 00111 }
| SFGeoPositionsPtr * osg::GeometryBase::getSFPositions | ( | void | ) | [inline] |
Definition at line 115 of file OSGGeometryBase.inl.
References _sfPositions.
00116 { 00117 return &_sfPositions; 00118 }
| SFGeoNormalsPtr * osg::GeometryBase::getSFNormals | ( | void | ) | [inline] |
Definition at line 122 of file OSGGeometryBase.inl.
References _sfNormals.
00123 { 00124 return &_sfNormals; 00125 }
| SFGeoColorsPtr * osg::GeometryBase::getSFColors | ( | void | ) | [inline] |
Definition at line 129 of file OSGGeometryBase.inl.
References _sfColors.
00130 { 00131 return &_sfColors; 00132 }
| SFGeoColorsPtr * osg::GeometryBase::getSFSecondaryColors | ( | void | ) | [inline] |
Definition at line 136 of file OSGGeometryBase.inl.
References _sfSecondaryColors.
00137 { 00138 return &_sfSecondaryColors; 00139 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords | ( | void | ) | [inline] |
Definition at line 143 of file OSGGeometryBase.inl.
References _sfTexCoords.
00144 { 00145 return &_sfTexCoords; 00146 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords1 | ( | void | ) | [inline] |
Definition at line 150 of file OSGGeometryBase.inl.
References _sfTexCoords1.
00151 { 00152 return &_sfTexCoords1; 00153 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords2 | ( | void | ) | [inline] |
Definition at line 157 of file OSGGeometryBase.inl.
References _sfTexCoords2.
00158 { 00159 return &_sfTexCoords2; 00160 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords3 | ( | void | ) | [inline] |
Definition at line 164 of file OSGGeometryBase.inl.
References _sfTexCoords3.
00165 { 00166 return &_sfTexCoords3; 00167 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords4 | ( | void | ) | [inline] |
Definition at line 171 of file OSGGeometryBase.inl.
References _sfTexCoords4.
00172 { 00173 return &_sfTexCoords4; 00174 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords5 | ( | void | ) | [inline] |
Definition at line 178 of file OSGGeometryBase.inl.
References _sfTexCoords5.
00179 { 00180 return &_sfTexCoords5; 00181 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords6 | ( | void | ) | [inline] |
Definition at line 185 of file OSGGeometryBase.inl.
References _sfTexCoords6.
00186 { 00187 return &_sfTexCoords6; 00188 }
| SFGeoTexCoordsPtr * osg::GeometryBase::getSFTexCoords7 | ( | void | ) | [inline] |
Definition at line 192 of file OSGGeometryBase.inl.
References _sfTexCoords7.
00193 { 00194 return &_sfTexCoords7; 00195 }
| SFGeoIndicesPtr * osg::GeometryBase::getSFIndices | ( | void | ) | [inline] |
Definition at line 199 of file OSGGeometryBase.inl.
References _sfIndices.
00200 { 00201 return &_sfIndices; 00202 }
| MFUInt16 * osg::GeometryBase::getMFIndexMapping | ( | void | ) | [inline] |
Definition at line 206 of file OSGGeometryBase.inl.
References _mfIndexMapping.
Referenced by osg::Geometry::clone(), and osg::Geometry::merge().
00207 { 00208 return &_mfIndexMapping; 00209 }
| SFBool * osg::GeometryBase::getSFDlistCache | ( | void | ) | [inline] |
Definition at line 213 of file OSGGeometryBase.inl.
References _sfDlistCache.
00214 { 00215 return &_sfDlistCache; 00216 }
| SFInt32 * osg::GeometryBase::getSFIgnoreGLForAspect | ( | void | ) | [inline] |
Definition at line 227 of file OSGGeometryBase.inl.
References _sfIgnoreGLForAspect.
00228 { 00229 return &_sfIgnoreGLForAspect; 00230 }
| SFUInt32 * osg::GeometryBase::getSFMinindex | ( | void | ) | [inline] |
Definition at line 234 of file OSGGeometryBase.inl.
References _sfMinindex.
00235 { 00236 return &_sfMinindex; 00237 }
| SFUInt32 * osg::GeometryBase::getSFMaxindex | ( | void | ) | [inline] |
Definition at line 241 of file OSGGeometryBase.inl.
References _sfMaxindex.
00242 { 00243 return &_sfMaxindex; 00244 }
| MFUInt32 * osg::GeometryBase::getMFLowindices | ( | void | ) | [inline] |
Definition at line 248 of file OSGGeometryBase.inl.
References _mfLowindices.
00249 { 00250 return &_mfLowindices; 00251 }
| MFUInt32 * osg::GeometryBase::getMFHighindices | ( | void | ) | [inline] |
Definition at line 255 of file OSGGeometryBase.inl.
References _mfHighindices.
00256 { 00257 return &_mfHighindices; 00258 }
| SFBool * osg::GeometryBase::getSFVbo | ( | void | ) | [inline] |
Definition at line 262 of file OSGGeometryBase.inl.
References _sfVbo.
00263 { 00264 return &_sfVbo; 00265 }
| GeoPTypesPtr & osg::GeometryBase::getTypes | ( | void | ) | [inline] |
Definition at line 270 of file OSGGeometryBase.inl.
References _sfTypes, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Geometry::clone(), osg::Geometry::drawPrimitives(), osg::Geometry::dump(), osg::GeoPumpFactory::getIndex(), and osg::Geometry::updateLowHighIndices().
00271 { 00272 return _sfTypes.getValue(); 00273 }
| const GeoPTypesPtr & osg::GeometryBase::getTypes | ( | void | ) | const [inline] |
Definition at line 277 of file OSGGeometryBase.inl.
References _sfTypes, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00278 { 00279 return _sfTypes.getValue(); 00280 }
| GeoPLengthsPtr & osg::GeometryBase::getLengths | ( | void | ) | [inline] |
Definition at line 291 of file OSGGeometryBase.inl.
References _sfLengths, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Geometry::clone(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), and osg::Geometry::updateLowHighIndices().
00292 { 00293 return _sfLengths.getValue(); 00294 }
| const GeoPLengthsPtr & osg::GeometryBase::getLengths | ( | void | ) | const [inline] |
Definition at line 298 of file OSGGeometryBase.inl.
References _sfLengths, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00299 { 00300 return _sfLengths.getValue(); 00301 }
| GeoPositionsPtr & osg::GeometryBase::getPositions | ( | void | ) | [inline] |
Definition at line 312 of file OSGGeometryBase.inl.
References _sfPositions, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::adjustVolume(), osg::Geometry::adjustVolume(), osg::Surface::buildSurface(), osg::Surface::calcIndexMapping(), osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::drawPrimitives(), osg::Geometry::dump(), osg::Surface::FindClosestPointExact(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), osg::Geometry::isMergeable(), osg::Geometry::merge(), and osg::Surface::writetoobj().
00313 { 00314 return _sfPositions.getValue(); 00315 }
| const GeoPositionsPtr & osg::GeometryBase::getPositions | ( | void | ) | const [inline] |
Definition at line 319 of file OSGGeometryBase.inl.
References _sfPositions, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00320 { 00321 return _sfPositions.getValue(); 00322 }
| GeoNormalsPtr & osg::GeometryBase::getNormals | ( | void | ) | [inline] |
Definition at line 333 of file OSGGeometryBase.inl.
References _sfNormals, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Surface::calcIndexMapping(), osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), osg::Geometry::MergeIndex(), and osg::Surface::writetoobj().
00334 { 00335 return _sfNormals.getValue(); 00336 }
| const GeoNormalsPtr & osg::GeometryBase::getNormals | ( | void | ) | const [inline] |
Definition at line 340 of file OSGGeometryBase.inl.
References _sfNormals, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00341 { 00342 return _sfNormals.getValue(); 00343 }
| GeoColorsPtr & osg::GeometryBase::getColors | ( | void | ) | [inline] |
Definition at line 354 of file OSGGeometryBase.inl.
References _sfColors, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::drawPrimitives(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00355 { 00356 return _sfColors.getValue(); 00357 }
| const GeoColorsPtr & osg::GeometryBase::getColors | ( | void | ) | const [inline] |
Definition at line 361 of file OSGGeometryBase.inl.
References _sfColors, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00362 { 00363 return _sfColors.getValue(); 00364 }
| GeoColorsPtr & osg::GeometryBase::getSecondaryColors | ( | void | ) | [inline] |
Definition at line 375 of file OSGGeometryBase.inl.
References _sfSecondaryColors, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00376 { 00377 return _sfSecondaryColors.getValue(); 00378 }
| const GeoColorsPtr & osg::GeometryBase::getSecondaryColors | ( | void | ) | const [inline] |
Definition at line 382 of file OSGGeometryBase.inl.
References _sfSecondaryColors, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00383 { 00384 return _sfSecondaryColors.getValue(); 00385 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords | ( | void | ) | [inline] |
Definition at line 396 of file OSGGeometryBase.inl.
References _sfTexCoords, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Surface::calcIndexMapping(), osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), osg::Geometry::MergeIndex(), and osg::Surface::writetoobj().
00397 { 00398 return _sfTexCoords.getValue(); 00399 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords | ( | void | ) | const [inline] |
Definition at line 403 of file OSGGeometryBase.inl.
References _sfTexCoords, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00404 { 00405 return _sfTexCoords.getValue(); 00406 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords1 | ( | void | ) | [inline] |
Definition at line 417 of file OSGGeometryBase.inl.
References _sfTexCoords1, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Surface::calcIndexMapping(), osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00418 { 00419 return _sfTexCoords1.getValue(); 00420 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords1 | ( | void | ) | const [inline] |
Definition at line 424 of file OSGGeometryBase.inl.
References _sfTexCoords1, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00425 { 00426 return _sfTexCoords1.getValue(); 00427 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords2 | ( | void | ) | [inline] |
Definition at line 438 of file OSGGeometryBase.inl.
References _sfTexCoords2, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00439 { 00440 return _sfTexCoords2.getValue(); 00441 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords2 | ( | void | ) | const [inline] |
Definition at line 445 of file OSGGeometryBase.inl.
References _sfTexCoords2, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00446 { 00447 return _sfTexCoords2.getValue(); 00448 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords3 | ( | void | ) | [inline] |
Definition at line 459 of file OSGGeometryBase.inl.
References _sfTexCoords3, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00460 { 00461 return _sfTexCoords3.getValue(); 00462 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords3 | ( | void | ) | const [inline] |
Definition at line 466 of file OSGGeometryBase.inl.
References _sfTexCoords3, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00467 { 00468 return _sfTexCoords3.getValue(); 00469 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords4 | ( | void | ) | [inline] |
Definition at line 480 of file OSGGeometryBase.inl.
References _sfTexCoords4, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00481 { 00482 return _sfTexCoords4.getValue(); 00483 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords4 | ( | void | ) | const [inline] |
Definition at line 487 of file OSGGeometryBase.inl.
References _sfTexCoords4, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00488 { 00489 return _sfTexCoords4.getValue(); 00490 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords5 | ( | void | ) | [inline] |
Definition at line 501 of file OSGGeometryBase.inl.
References _sfTexCoords5, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00502 { 00503 return _sfTexCoords5.getValue(); 00504 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords5 | ( | void | ) | const [inline] |
Definition at line 508 of file OSGGeometryBase.inl.
References _sfTexCoords5, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00509 { 00510 return _sfTexCoords5.getValue(); 00511 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords6 | ( | void | ) | [inline] |
Definition at line 522 of file OSGGeometryBase.inl.
References _sfTexCoords6, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00523 { 00524 return _sfTexCoords6.getValue(); 00525 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords6 | ( | void | ) | const [inline] |
Definition at line 529 of file OSGGeometryBase.inl.
References _sfTexCoords6, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00530 { 00531 return _sfTexCoords6.getValue(); 00532 }
| GeoTexCoordsPtr & osg::GeometryBase::getTexCoords7 | ( | void | ) | [inline] |
Definition at line 543 of file OSGGeometryBase.inl.
References _sfTexCoords7, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::clone(), osg::GeoVBO::draw(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::getProperty(), and osg::Geometry::MergeIndex().
00544 { 00545 return _sfTexCoords7.getValue(); 00546 }
| const GeoTexCoordsPtr & osg::GeometryBase::getTexCoords7 | ( | void | ) | const [inline] |
Definition at line 550 of file OSGGeometryBase.inl.
References _sfTexCoords7, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00551 { 00552 return _sfTexCoords7.getValue(); 00553 }
| GeoIndicesPtr & osg::GeometryBase::getIndices | ( | void | ) | [inline] |
Definition at line 564 of file OSGGeometryBase.inl.
References _sfIndices, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Geometry::clone(), osg::Geometry::drawPrimitives(), osg::Geometry::dump(), osg::Geometry::getCachedGfxMemoryUsage(), osg::GeoPumpFactory::getIndex(), osg::Geometry::merge(), osg::Geometry::merge0(), osg::Geometry::merge1(), osg::Geometry::merge3(), osg::Geometry::merge5(), osg::Geometry::merge6(), osg::Geometry::updateLowHighIndices(), and osg::Surface::writetoobj().
00565 { 00566 return _sfIndices.getValue(); 00567 }
| const GeoIndicesPtr & osg::GeometryBase::getIndices | ( | void | ) | const [inline] |
Definition at line 571 of file OSGGeometryBase.inl.
References _sfIndices, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00572 { 00573 return _sfIndices.getValue(); 00574 }
| bool & osg::GeometryBase::getDlistCache | ( | void | ) | [inline] |
Definition at line 585 of file OSGGeometryBase.inl.
References _sfDlistCache, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::changed(), osg::Geometry::clone(), and osg::Geometry::drawPrimitives().
00586 { 00587 return _sfDlistCache.getValue(); 00588 }
| const bool & osg::GeometryBase::getDlistCache | ( | void | ) | const [inline] |
Definition at line 592 of file OSGGeometryBase.inl.
References _sfDlistCache, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00593 { 00594 return _sfDlistCache.getValue(); 00595 }
| Int32 & osg::GeometryBase::getIgnoreGLForAspect | ( | void | ) | [inline] |
Definition at line 627 of file OSGGeometryBase.inl.
References _sfIgnoreGLForAspect, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00628 { 00629 return _sfIgnoreGLForAspect.getValue(); 00630 }
| const Int32 & osg::GeometryBase::getIgnoreGLForAspect | ( | void | ) | const [inline] |
Definition at line 634 of file OSGGeometryBase.inl.
References _sfIgnoreGLForAspect, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00635 { 00636 return _sfIgnoreGLForAspect.getValue(); 00637 }
| UInt32 & osg::GeometryBase::getMinindex | ( | void | ) | [inline] |
Definition at line 648 of file OSGGeometryBase.inl.
References _sfMinindex, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by GeoPump129().
00649 { 00650 return _sfMinindex.getValue(); 00651 }
| const UInt32 & osg::GeometryBase::getMinindex | ( | void | ) | const [inline] |
Definition at line 655 of file OSGGeometryBase.inl.
References _sfMinindex, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00656 { 00657 return _sfMinindex.getValue(); 00658 }
| UInt32 & osg::GeometryBase::getMaxindex | ( | void | ) | [inline] |
Definition at line 669 of file OSGGeometryBase.inl.
References _sfMaxindex, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by GeoPump129().
00670 { 00671 return _sfMaxindex.getValue(); 00672 }
| const UInt32 & osg::GeometryBase::getMaxindex | ( | void | ) | const [inline] |
Definition at line 676 of file OSGGeometryBase.inl.
References _sfMaxindex, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00677 { 00678 return _sfMaxindex.getValue(); 00679 }
| bool & osg::GeometryBase::getVbo | ( | void | ) | [inline] |
Definition at line 690 of file OSGGeometryBase.inl.
References _sfVbo, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::changed(), osg::Geometry::drawPrimitives(), and osg::Geometry::handleGL().
00691 { 00692 return _sfVbo.getValue(); 00693 }
| const bool & osg::GeometryBase::getVbo | ( | void | ) | const [inline] |
Definition at line 697 of file OSGGeometryBase.inl.
References _sfVbo, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00698 { 00699 return _sfVbo.getValue(); 00700 }
Definition at line 712 of file OSGGeometryBase.inl.
References _mfIndexMapping.
Referenced by osg::GeoPumpFactory::getIndex(), and osg::GeoPumpFactory::masterGeoPump().
00713 { 00714 return _mfIndexMapping[index]; 00715 }
| MFUInt16 & osg::GeometryBase::getIndexMapping | ( | void | ) | [inline] |
Definition at line 719 of file OSGGeometryBase.inl.
References _mfIndexMapping.
Referenced by osg::Surface::calcIndexMapping(), osg::Geometry::calcMappingIndex(), osg::Geometry::drawPrimitives(), osg::Geometry::merge0(), osg::Geometry::merge3(), osg::Geometry::merge5(), osg::Geometry::MergeIndex(), and osg::Geometry::updateLowHighIndices().
00720 { 00721 return _mfIndexMapping; 00722 }
| const MFUInt16 & osg::GeometryBase::getIndexMapping | ( | void | ) | const [inline] |
Definition at line 726 of file OSGGeometryBase.inl.
References _mfIndexMapping.
00727 { 00728 return _mfIndexMapping; 00729 }
Definition at line 733 of file OSGGeometryBase.inl.
References _mfLowindices.
Referenced by osg::GeoVBO::draw(), and GeoPump129().
00734 { 00735 return _mfLowindices[index]; 00736 }
| MFUInt32 & osg::GeometryBase::getLowindices | ( | void | ) | [inline] |
Definition at line 740 of file OSGGeometryBase.inl.
References _mfLowindices.
Referenced by osg::Geometry::updateLowHighIndices().
00741 { 00742 return _mfLowindices; 00743 }
| const MFUInt32 & osg::GeometryBase::getLowindices | ( | void | ) | const [inline] |
Definition at line 747 of file OSGGeometryBase.inl.
References _mfLowindices.
00748 { 00749 return _mfLowindices; 00750 }
Definition at line 754 of file OSGGeometryBase.inl.
References _mfHighindices.
Referenced by osg::GeoVBO::draw(), and GeoPump129().
00755 { 00756 return _mfHighindices[index]; 00757 }
| MFUInt32 & osg::GeometryBase::getHighindices | ( | void | ) | [inline] |
Definition at line 761 of file OSGGeometryBase.inl.
References _mfHighindices.
Referenced by osg::Geometry::updateLowHighIndices().
00762 { 00763 return _mfHighindices; 00764 }
| const MFUInt32 & osg::GeometryBase::getHighindices | ( | void | ) | const [inline] |
Definition at line 768 of file OSGGeometryBase.inl.
References _mfHighindices.
00769 { 00770 return _mfHighindices; 00771 }
| void osg::GeometryBase::setTypes | ( | const GeoPTypesPtr & | value | ) | [inline] |
Definition at line 284 of file OSGGeometryBase.inl.
References _sfTypes, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::GeometryBase::setLengths | ( | const GeoPLengthsPtr & | value | ) | [inline] |
Definition at line 305 of file OSGGeometryBase.inl.
References _sfLengths, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00306 { 00307 _sfLengths.setValue(value); 00308 }
| void osg::GeometryBase::setPositions | ( | const GeoPositionsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 326 of file OSGGeometryBase.inl.
References _sfPositions, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00327 { 00328 _sfPositions.setValue(value); 00329 }
| void osg::GeometryBase::setNormals | ( | const GeoNormalsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 347 of file OSGGeometryBase.inl.
References _sfNormals, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00348 { 00349 _sfNormals.setValue(value); 00350 }
| void osg::GeometryBase::setColors | ( | const GeoColorsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 368 of file OSGGeometryBase.inl.
References _sfColors, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
| void osg::GeometryBase::setSecondaryColors | ( | const GeoColorsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 389 of file OSGGeometryBase.inl.
References _sfSecondaryColors, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00390 { 00391 _sfSecondaryColors.setValue(value); 00392 }
| void osg::GeometryBase::setTexCoords | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 410 of file OSGGeometryBase.inl.
References _sfTexCoords, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00411 { 00412 _sfTexCoords.setValue(value); 00413 }
| void osg::GeometryBase::setTexCoords1 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 431 of file OSGGeometryBase.inl.
References _sfTexCoords1, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00432 { 00433 _sfTexCoords1.setValue(value); 00434 }
| void osg::GeometryBase::setTexCoords2 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 452 of file OSGGeometryBase.inl.
References _sfTexCoords2, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00453 { 00454 _sfTexCoords2.setValue(value); 00455 }
| void osg::GeometryBase::setTexCoords3 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 473 of file OSGGeometryBase.inl.
References _sfTexCoords3, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00474 { 00475 _sfTexCoords3.setValue(value); 00476 }
| void osg::GeometryBase::setTexCoords4 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 494 of file OSGGeometryBase.inl.
References _sfTexCoords4, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00495 { 00496 _sfTexCoords4.setValue(value); 00497 }
| void osg::GeometryBase::setTexCoords5 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 515 of file OSGGeometryBase.inl.
References _sfTexCoords5, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00516 { 00517 _sfTexCoords5.setValue(value); 00518 }
| void osg::GeometryBase::setTexCoords6 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 536 of file OSGGeometryBase.inl.
References _sfTexCoords6, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00537 { 00538 _sfTexCoords6.setValue(value); 00539 }
| void osg::GeometryBase::setTexCoords7 | ( | const GeoTexCoordsPtr & | value | ) | [inline] |
Reimplemented in osg::Geometry.
Definition at line 557 of file OSGGeometryBase.inl.
References _sfTexCoords7, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00558 { 00559 _sfTexCoords7.setValue(value); 00560 }
| void osg::GeometryBase::setIndices | ( | const GeoIndicesPtr & | value | ) | [inline] |
Definition at line 578 of file OSGGeometryBase.inl.
References _sfIndices, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00579 { 00580 _sfIndices.setValue(value); 00581 }
| void osg::GeometryBase::setDlistCache | ( | const bool & | value | ) | [inline] |
Definition at line 599 of file OSGGeometryBase.inl.
References _sfDlistCache, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Geometry::merge().
00600 { 00601 _sfDlistCache.setValue(value); 00602 }
| void osg::GeometryBase::setIgnoreGLForAspect | ( | const Int32 & | value | ) | [inline] |
Definition at line 641 of file OSGGeometryBase.inl.
References _sfIgnoreGLForAspect, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
00642 { 00643 _sfIgnoreGLForAspect.setValue(value); 00644 }
| void osg::GeometryBase::setMinindex | ( | const UInt32 & | value | ) | [inline] |
Definition at line 662 of file OSGGeometryBase.inl.
References _sfMinindex, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Geometry::updateLowHighIndices().
00663 { 00664 _sfMinindex.setValue(value); 00665 }
| void osg::GeometryBase::setMaxindex | ( | const UInt32 & | value | ) | [inline] |
Definition at line 683 of file OSGGeometryBase.inl.
References _sfMaxindex, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Geometry::updateLowHighIndices().
00684 { 00685 _sfMaxindex.setValue(value); 00686 }
| void osg::GeometryBase::setVbo | ( | const bool & | value | ) | [inline] |
Definition at line 704 of file OSGGeometryBase.inl.
References _sfVbo, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 490 of file OSGGeometryBase.cpp.
References _mfHighindices, _mfIndexMapping, _mfLowindices, _sfColors, _sfDlistCache, _sfGLId, _sfIgnoreGLForAspect, _sfIndices, _sfLengths, _sfMaxindex, _sfMinindex, _sfNormals, _sfPositions, _sfSecondaryColors, _sfTexCoords, _sfTexCoords1, _sfTexCoords2, _sfTexCoords3, _sfTexCoords4, _sfTexCoords5, _sfTexCoords6, _sfTexCoords7, _sfTypes, _sfVbo, ColorsFieldMask, DlistCacheFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::MaterialDrawableBase::getBinSize(), GLIdFieldMask, HighindicesFieldMask, IgnoreGLForAspectFieldMask, IndexMappingFieldMask, IndicesFieldMask, LengthsFieldMask, LowindicesFieldMask, MaxindexFieldMask, MinindexFieldMask, osg::FieldBits::NoField, NormalsFieldMask, PositionsFieldMask, SecondaryColorsFieldMask, TexCoords1FieldMask, TexCoords2FieldMask, TexCoords3FieldMask, TexCoords4FieldMask, TexCoords5FieldMask, TexCoords6FieldMask, TexCoords7FieldMask, TexCoordsFieldMask, TypesFieldMask, and VboFieldMask.
Referenced by osg::SurfaceBase::getBinSize(), and osg::DVRGeometryBase::getBinSize().
00491 { 00492 UInt32 returnValue = Inherited::getBinSize(whichField); 00493 00494 if(FieldBits::NoField != (TypesFieldMask & whichField)) 00495 { 00496 returnValue += _sfTypes.getBinSize(); 00497 } 00498 00499 if(FieldBits::NoField != (LengthsFieldMask & whichField)) 00500 { 00501 returnValue += _sfLengths.getBinSize(); 00502 } 00503 00504 if(FieldBits::NoField != (PositionsFieldMask & whichField)) 00505 { 00506 returnValue += _sfPositions.getBinSize(); 00507 } 00508 00509 if(FieldBits::NoField != (NormalsFieldMask & whichField)) 00510 { 00511 returnValue += _sfNormals.getBinSize(); 00512 } 00513 00514 if(FieldBits::NoField != (ColorsFieldMask & whichField)) 00515 { 00516 returnValue += _sfColors.getBinSize(); 00517 } 00518 00519 if(FieldBits::NoField != (SecondaryColorsFieldMask & whichField)) 00520 { 00521 returnValue += _sfSecondaryColors.getBinSize(); 00522 } 00523 00524 if(FieldBits::NoField != (TexCoordsFieldMask & whichField)) 00525 { 00526 returnValue += _sfTexCoords.getBinSize(); 00527 } 00528 00529 if(FieldBits::NoField != (TexCoords1FieldMask & whichField)) 00530 { 00531 returnValue += _sfTexCoords1.getBinSize(); 00532 } 00533 00534 if(FieldBits::NoField != (TexCoords2FieldMask & whichField)) 00535 { 00536 returnValue += _sfTexCoords2.getBinSize(); 00537 } 00538 00539 if(FieldBits::NoField != (TexCoords3FieldMask & whichField)) 00540 { 00541 returnValue += _sfTexCoords3.getBinSize(); 00542 } 00543 00544 if(FieldBits::NoField != (TexCoords4FieldMask & whichField)) 00545 { 00546 returnValue += _sfTexCoords4.getBinSize(); 00547 } 00548 00549 if(FieldBits::NoField != (TexCoords5FieldMask & whichField)) 00550 { 00551 returnValue += _sfTexCoords5.getBinSize(); 00552 } 00553 00554 if(FieldBits::NoField != (TexCoords6FieldMask & whichField)) 00555 { 00556 returnValue += _sfTexCoords6.getBinSize(); 00557 } 00558 00559 if(FieldBits::NoField != (TexCoords7FieldMask & whichField)) 00560 { 00561 returnValue += _sfTexCoords7.getBinSize(); 00562 } 00563 00564 if(FieldBits::NoField != (IndicesFieldMask & whichField)) 00565 { 00566 returnValue += _sfIndices.getBinSize(); 00567 } 00568 00569 if(FieldBits::NoField != (IndexMappingFieldMask & whichField)) 00570 { 00571 returnValue += _mfIndexMapping.getBinSize(); 00572 } 00573 00574 if(FieldBits::NoField != (DlistCacheFieldMask & whichField)) 00575 { 00576 returnValue += _sfDlistCache.getBinSize(); 00577 } 00578 00579 if(FieldBits::NoField != (GLIdFieldMask & whichField)) 00580 { 00581 returnValue += _sfGLId.getBinSize(); 00582 } 00583 00584 if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField)) 00585 { 00586 returnValue += _sfIgnoreGLForAspect.getBinSize(); 00587 } 00588 00589 if(FieldBits::NoField != (MinindexFieldMask & whichField)) 00590 { 00591 returnValue += _sfMinindex.getBinSize(); 00592 } 00593 00594 if(FieldBits::NoField != (MaxindexFieldMask & whichField)) 00595 { 00596 returnValue += _sfMaxindex.getBinSize(); 00597 } 00598 00599 if(FieldBits::NoField != (LowindicesFieldMask & whichField)) 00600 { 00601 returnValue += _mfLowindices.getBinSize(); 00602 } 00603 00604 if(FieldBits::NoField != (HighindicesFieldMask & whichField)) 00605 { 00606 returnValue += _mfHighindices.getBinSize(); 00607 } 00608 00609 if(FieldBits::NoField != (VboFieldMask & whichField)) 00610 { 00611 returnValue += _sfVbo.getBinSize(); 00612 } 00613 00614 00615 return returnValue; 00616 }
| void osg::GeometryBase::copyToBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 618 of file OSGGeometryBase.cpp.
References _mfHighindices, _mfIndexMapping, _mfLowindices, _sfColors, _sfDlistCache, _sfGLId, _sfIgnoreGLForAspect, _sfIndices, _sfLengths, _sfMaxindex, _sfMinindex, _sfNormals, _sfPositions, _sfSecondaryColors, _sfTexCoords, _sfTexCoords1, _sfTexCoords2, _sfTexCoords3, _sfTexCoords4, _sfTexCoords5, _sfTexCoords6, _sfTexCoords7, _sfTypes, _sfVbo, ColorsFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::MaterialDrawableBase::copyToBin(), DlistCacheFieldMask, GLIdFieldMask, HighindicesFieldMask, IgnoreGLForAspectFieldMask, IndexMappingFieldMask, IndicesFieldMask, LengthsFieldMask, LowindicesFieldMask, MaxindexFieldMask, MinindexFieldMask, osg::FieldBits::NoField, NormalsFieldMask, PositionsFieldMask, SecondaryColorsFieldMask, TexCoords1FieldMask, TexCoords2FieldMask, TexCoords3FieldMask, TexCoords4FieldMask, TexCoords5FieldMask, TexCoords6FieldMask, TexCoords7FieldMask, TexCoordsFieldMask, TypesFieldMask, and VboFieldMask.
Referenced by osg::SurfaceBase::copyToBin(), and osg::DVRGeometryBase::copyToBin().
00620 { 00621 Inherited::copyToBin(pMem, whichField); 00622 00623 if(FieldBits::NoField != (TypesFieldMask & whichField)) 00624 { 00625 _sfTypes.copyToBin(pMem); 00626 } 00627 00628 if(FieldBits::NoField != (LengthsFieldMask & whichField)) 00629 { 00630 _sfLengths.copyToBin(pMem); 00631 } 00632 00633 if(FieldBits::NoField != (PositionsFieldMask & whichField)) 00634 { 00635 _sfPositions.copyToBin(pMem); 00636 } 00637 00638 if(FieldBits::NoField != (NormalsFieldMask & whichField)) 00639 { 00640 _sfNormals.copyToBin(pMem); 00641 } 00642 00643 if(FieldBits::NoField != (ColorsFieldMask & whichField)) 00644 { 00645 _sfColors.copyToBin(pMem); 00646 } 00647 00648 if(FieldBits::NoField != (SecondaryColorsFieldMask & whichField)) 00649 { 00650 _sfSecondaryColors.copyToBin(pMem); 00651 } 00652 00653 if(FieldBits::NoField != (TexCoordsFieldMask & whichField)) 00654 { 00655 _sfTexCoords.copyToBin(pMem); 00656 } 00657 00658 if(FieldBits::NoField != (TexCoords1FieldMask & whichField)) 00659 { 00660 _sfTexCoords1.copyToBin(pMem); 00661 } 00662 00663 if(FieldBits::NoField != (TexCoords2FieldMask & whichField)) 00664 { 00665 _sfTexCoords2.copyToBin(pMem); 00666 } 00667 00668 if(FieldBits::NoField != (TexCoords3FieldMask & whichField)) 00669 { 00670 _sfTexCoords3.copyToBin(pMem); 00671 } 00672 00673 if(FieldBits::NoField != (TexCoords4FieldMask & whichField)) 00674 { 00675 _sfTexCoords4.copyToBin(pMem); 00676 } 00677 00678 if(FieldBits::NoField != (TexCoords5FieldMask & whichField)) 00679 { 00680 _sfTexCoords5.copyToBin(pMem); 00681 } 00682 00683 if(FieldBits::NoField != (TexCoords6FieldMask & whichField)) 00684 { 00685 _sfTexCoords6.copyToBin(pMem); 00686 } 00687 00688 if(FieldBits::NoField != (TexCoords7FieldMask & whichField)) 00689 { 00690 _sfTexCoords7.copyToBin(pMem); 00691 } 00692 00693 if(FieldBits::NoField != (IndicesFieldMask & whichField)) 00694 { 00695 _sfIndices.copyToBin(pMem); 00696 } 00697 00698 if(FieldBits::NoField != (IndexMappingFieldMask & whichField)) 00699 { 00700 _mfIndexMapping.copyToBin(pMem); 00701 } 00702 00703 if(FieldBits::NoField != (DlistCacheFieldMask & whichField)) 00704 { 00705 _sfDlistCache.copyToBin(pMem); 00706 } 00707 00708 if(FieldBits::NoField != (GLIdFieldMask & whichField)) 00709 { 00710 _sfGLId.copyToBin(pMem); 00711 } 00712 00713 if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField)) 00714 { 00715 _sfIgnoreGLForAspect.copyToBin(pMem); 00716 } 00717 00718 if(FieldBits::NoField != (MinindexFieldMask & whichField)) 00719 { 00720 _sfMinindex.copyToBin(pMem); 00721 } 00722 00723 if(FieldBits::NoField != (MaxindexFieldMask & whichField)) 00724 { 00725 _sfMaxindex.copyToBin(pMem); 00726 } 00727 00728 if(FieldBits::NoField != (LowindicesFieldMask & whichField)) 00729 { 00730 _mfLowindices.copyToBin(pMem); 00731 } 00732 00733 if(FieldBits::NoField != (HighindicesFieldMask & whichField)) 00734 { 00735 _mfHighindices.copyToBin(pMem); 00736 } 00737 00738 if(FieldBits::NoField != (VboFieldMask & whichField)) 00739 { 00740 _sfVbo.copyToBin(pMem); 00741 } 00742 00743 00744 }
| void osg::GeometryBase::copyFromBin | ( | BinaryDataHandler & | pMem, | |
| const BitVector & | whichField | |||
| ) | [virtual] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 746 of file OSGGeometryBase.cpp.
References _mfHighindices, _mfIndexMapping, _mfLowindices, _sfColors, _sfDlistCache, _sfGLId, _sfIgnoreGLForAspect, _sfIndices, _sfLengths, _sfMaxindex, _sfMinindex, _sfNormals, _sfPositions, _sfSecondaryColors, _sfTexCoords, _sfTexCoords1, _sfTexCoords2, _sfTexCoords3, _sfTexCoords4, _sfTexCoords5, _sfTexCoords6, _sfTexCoords7, _sfTypes, _sfVbo, ColorsFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::MaterialDrawableBase::copyFromBin(), DlistCacheFieldMask, GLIdFieldMask, HighindicesFieldMask, IgnoreGLForAspectFieldMask, IndexMappingFieldMask, IndicesFieldMask, LengthsFieldMask, LowindicesFieldMask, MaxindexFieldMask, MinindexFieldMask, osg::FieldBits::NoField, NormalsFieldMask, PositionsFieldMask, SecondaryColorsFieldMask, TexCoords1FieldMask, TexCoords2FieldMask, TexCoords3FieldMask, TexCoords4FieldMask, TexCoords5FieldMask, TexCoords6FieldMask, TexCoords7FieldMask, TexCoordsFieldMask, TypesFieldMask, and VboFieldMask.
Referenced by osg::SurfaceBase::copyFromBin(), and osg::DVRGeometryBase::copyFromBin().
00748 { 00749 Inherited::copyFromBin(pMem, whichField); 00750 00751 if(FieldBits::NoField != (TypesFieldMask & whichField)) 00752 { 00753 _sfTypes.copyFromBin(pMem); 00754 } 00755 00756 if(FieldBits::NoField != (LengthsFieldMask & whichField)) 00757 { 00758 _sfLengths.copyFromBin(pMem); 00759 } 00760 00761 if(FieldBits::NoField != (PositionsFieldMask & whichField)) 00762 { 00763 _sfPositions.copyFromBin(pMem); 00764 } 00765 00766 if(FieldBits::NoField != (NormalsFieldMask & whichField)) 00767 { 00768 _sfNormals.copyFromBin(pMem); 00769 } 00770 00771 if(FieldBits::NoField != (ColorsFieldMask & whichField)) 00772 { 00773 _sfColors.copyFromBin(pMem); 00774 } 00775 00776 if(FieldBits::NoField != (SecondaryColorsFieldMask & whichField)) 00777 { 00778 _sfSecondaryColors.copyFromBin(pMem); 00779 } 00780 00781 if(FieldBits::NoField != (TexCoordsFieldMask & whichField)) 00782 { 00783 _sfTexCoords.copyFromBin(pMem); 00784 } 00785 00786 if(FieldBits::NoField != (TexCoords1FieldMask & whichField)) 00787 { 00788 _sfTexCoords1.copyFromBin(pMem); 00789 } 00790 00791 if(FieldBits::NoField != (TexCoords2FieldMask & whichField)) 00792 { 00793 _sfTexCoords2.copyFromBin(pMem); 00794 } 00795 00796 if(FieldBits::NoField != (TexCoords3FieldMask & whichField)) 00797 { 00798 _sfTexCoords3.copyFromBin(pMem); 00799 } 00800 00801 if(FieldBits::NoField != (TexCoords4FieldMask & whichField)) 00802 { 00803 _sfTexCoords4.copyFromBin(pMem); 00804 } 00805 00806 if(FieldBits::NoField != (TexCoords5FieldMask & whichField)) 00807 { 00808 _sfTexCoords5.copyFromBin(pMem); 00809 } 00810 00811 if(FieldBits::NoField != (TexCoords6FieldMask & whichField)) 00812 { 00813 _sfTexCoords6.copyFromBin(pMem); 00814 } 00815 00816 if(FieldBits::NoField != (TexCoords7FieldMask & whichField)) 00817 { 00818 _sfTexCoords7.copyFromBin(pMem); 00819 } 00820 00821 if(FieldBits::NoField != (IndicesFieldMask & whichField)) 00822 { 00823 _sfIndices.copyFromBin(pMem); 00824 } 00825 00826 if(FieldBits::NoField != (IndexMappingFieldMask & whichField)) 00827 { 00828 _mfIndexMapping.copyFromBin(pMem); 00829 } 00830 00831 if(FieldBits::NoField != (DlistCacheFieldMask & whichField)) 00832 { 00833 _sfDlistCache.copyFromBin(pMem); 00834 } 00835 00836 if(FieldBits::NoField != (GLIdFieldMask & whichField)) 00837 { 00838 _sfGLId.copyFromBin(pMem); 00839 } 00840 00841 if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField)) 00842 { 00843 _sfIgnoreGLForAspect.copyFromBin(pMem); 00844 } 00845 00846 if(FieldBits::NoField != (MinindexFieldMask & whichField)) 00847 { 00848 _sfMinindex.copyFromBin(pMem); 00849 } 00850 00851 if(FieldBits::NoField != (MaxindexFieldMask & whichField)) 00852 { 00853 _sfMaxindex.copyFromBin(pMem); 00854 } 00855 00856 if(FieldBits::NoField != (LowindicesFieldMask & whichField)) 00857 { 00858 _mfLowindices.copyFromBin(pMem); 00859 } 00860 00861 if(FieldBits::NoField != (HighindicesFieldMask & whichField)) 00862 { 00863 _mfHighindices.copyFromBin(pMem); 00864 } 00865 00866 if(FieldBits::NoField != (VboFieldMask & whichField)) 00867 { 00868 _sfVbo.copyFromBin(pMem); 00869 } 00870 00871 00872 }
| GeometryPtr osg::GeometryBase::create | ( | void | ) | [inline, static] |
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 72 of file OSGGeometryBase.inl.
References osg::AttachmentContainerPtr::dcast(), getClassType(), osg::NullFC, and shallowCopy().
Referenced by osg::calcFaceNormalsGeo(), osg::calcVertexNormalsGeo(), osg::Geometry::clone(), osg::DisplayCalibration::createCMViewports(), osg::ExtrusionSurface::createGeometry(), osg::DisplayFilterForeground::DisplayFilterGroup::DisplayFilterGroup(), osg::SimpleSceneManager::highlightChanged(), osg::VRMLGeometryPointSetDesc::init(), osg::VRMLGeometryDesc::init(), osg::makeBoxGeo(), osg::makeConicalFrustumGeo(), osg::TextVectorFace::makeGeo(), osg::TextTXFFace::makeGeo(), osg::makeLatLongSphereGeo(), osg::makePlaneGeo(), osg::makeSphereGeo(), osg::makeTorusGeo(), osg::MergeGraphOp::processGeometries(), osg::RAWSceneFileType::read(), osg::OFFSceneFileType::read(), osg::OBJSceneFileType::read(), and osg::SplitGraphOp::splitNode().
00073 { 00074 GeometryPtr fc; 00075 00076 if(getClassType().getPrototype() != OSG::NullFC) 00077 { 00078 fc = GeometryPtr::dcast( 00079 getClassType().getPrototype()-> shallowCopy()); 00080 } 00081 00082 return fc; 00083 }
| GeometryPtr osg::GeometryBase::createEmpty | ( | void | ) | [inline, static] |
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 87 of file OSGGeometryBase.inl.
References osg::FieldContainer::newPtr().
00088 { 00089 GeometryPtr returnValue; 00090 00091 newPtr(returnValue); 00092 00093 return returnValue; 00094 }
| FieldContainerPtr osg::GeometryBase::shallowCopy | ( | void | ) | const [virtual] |
Implements osg::FieldContainer.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 370 of file OSGGeometryBase.cpp.
References osg::FieldContainer::newPtr().
Referenced by create().
00371 { 00372 GeometryPtr returnValue; 00373 00374 newPtr(returnValue, dynamic_cast<const Geometry *>(this)); 00375 00376 return returnValue; 00377 }
| SFInt32 * osg::GeometryBase::getSFGLId | ( | void | ) | [inline, protected] |
Definition at line 220 of file OSGGeometryBase.inl.
References _sfGLId.
00221 { 00222 return &_sfGLId; 00223 }
| Int32 & osg::GeometryBase::getGLId | ( | void | ) | [inline, protected] |
Definition at line 606 of file OSGGeometryBase.inl.
References _sfGLId, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Geometry::changed(), osg::Geometry::drawPrimitives(), osg::Geometry::invalidateDlistCache(), and osg::Geometry::onDestroy().
00607 { 00608 return _sfGLId.getValue(); 00609 }
| const Int32 & osg::GeometryBase::getGLId | ( | void | ) | const [inline, protected] |
Definition at line 613 of file OSGGeometryBase.inl.
References _sfGLId, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00614 { 00615 return _sfGLId.getValue(); 00616 }
| void osg::GeometryBase::setGLId | ( | const Int32 & | value | ) | [inline, protected] |
Definition at line 620 of file OSGGeometryBase.inl.
References _sfGLId, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
Referenced by osg::Geometry::changed(), and osg::Geometry::onCreate().
| void osg::GeometryBase::executeSyncImpl | ( | GeometryBase * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected] |
Definition at line 875 of file OSGGeometryBase.cpp.
References _mfHighindices, _mfIndexMapping, _mfLowindices, _sfColors, _sfDlistCache, _sfGLId, _sfIgnoreGLForAspect, _sfIndices, _sfLengths, _sfMaxindex, _sfMinindex, _sfNormals, _sfPositions, _sfSecondaryColors, _sfTexCoords, _sfTexCoords1, _sfTexCoords2, _sfTexCoords3, _sfTexCoords4, _sfTexCoords5, _sfTexCoords6, _sfTexCoords7, _sfTypes, _sfVbo, ColorsFieldMask, DlistCacheFieldMask, osg::MaterialDrawableBase::executeSyncImpl(), GLIdFieldMask, HighindicesFieldMask, IgnoreGLForAspectFieldMask, IndexMappingFieldMask, IndicesFieldMask, LengthsFieldMask, LowindicesFieldMask, MaxindexFieldMask, MinindexFieldMask, osg::FieldBits::NoField, NormalsFieldMask, PositionsFieldMask, SecondaryColorsFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), TexCoords1FieldMask, TexCoords2FieldMask, TexCoords3FieldMask, TexCoords4FieldMask, TexCoords5FieldMask, TexCoords6FieldMask, TexCoords7FieldMask, TexCoordsFieldMask, TypesFieldMask, and VboFieldMask.
Referenced by executeSync(), osg::SurfaceBase::executeSyncImpl(), and osg::DVRGeometryBase::executeSyncImpl().
00877 { 00878 00879 Inherited::executeSyncImpl(pOther, whichField); 00880 00881 if(FieldBits::NoField != (TypesFieldMask & whichField)) 00882 _sfTypes.syncWith(pOther->_sfTypes); 00883 00884 if(FieldBits::NoField != (LengthsFieldMask & whichField)) 00885 _sfLengths.syncWith(pOther->_sfLengths); 00886 00887 if(FieldBits::NoField != (PositionsFieldMask & whichField)) 00888 _sfPositions.syncWith(pOther->_sfPositions); 00889 00890 if(FieldBits::NoField != (NormalsFieldMask & whichField)) 00891 _sfNormals.syncWith(pOther->_sfNormals); 00892 00893 if(FieldBits::NoField != (ColorsFieldMask & whichField)) 00894 _sfColors.syncWith(pOther->_sfColors); 00895 00896 if(FieldBits::NoField != (SecondaryColorsFieldMask & whichField)) 00897 _sfSecondaryColors.syncWith(pOther->_sfSecondaryColors); 00898 00899 if(FieldBits::NoField != (TexCoordsFieldMask & whichField)) 00900 _sfTexCoords.syncWith(pOther->_sfTexCoords); 00901 00902 if(FieldBits::NoField != (TexCoords1FieldMask & whichField)) 00903 _sfTexCoords1.syncWith(pOther->_sfTexCoords1); 00904 00905 if(FieldBits::NoField != (TexCoords2FieldMask & whichField)) 00906 _sfTexCoords2.syncWith(pOther->_sfTexCoords2); 00907 00908 if(FieldBits::NoField != (TexCoords3FieldMask & whichField)) 00909 _sfTexCoords3.syncWith(pOther->_sfTexCoords3); 00910 00911 if(FieldBits::NoField != (TexCoords4FieldMask & whichField)) 00912 _sfTexCoords4.syncWith(pOther->_sfTexCoords4); 00913 00914 if(FieldBits::NoField != (TexCoords5FieldMask & whichField)) 00915 _sfTexCoords5.syncWith(pOther->_sfTexCoords5); 00916 00917 if(FieldBits::NoField != (TexCoords6FieldMask & whichField)) 00918 _sfTexCoords6.syncWith(pOther->_sfTexCoords6); 00919 00920 if(FieldBits::NoField != (TexCoords7FieldMask & whichField)) 00921 _sfTexCoords7.syncWith(pOther->_sfTexCoords7); 00922 00923 if(FieldBits::NoField != (IndicesFieldMask & whichField)) 00924 _sfIndices.syncWith(pOther->_sfIndices); 00925 00926 if(FieldBits::NoField != (IndexMappingFieldMask & whichField)) 00927 _mfIndexMapping.syncWith(pOther->_mfIndexMapping); 00928 00929 if(FieldBits::NoField != (DlistCacheFieldMask & whichField)) 00930 _sfDlistCache.syncWith(pOther->_sfDlistCache); 00931 00932 if(FieldBits::NoField != (GLIdFieldMask & whichField)) 00933 _sfGLId.syncWith(pOther->_sfGLId); 00934 00935 if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField)) 00936 _sfIgnoreGLForAspect.syncWith(pOther->_sfIgnoreGLForAspect); 00937 00938 if(FieldBits::NoField != (MinindexFieldMask & whichField)) 00939 _sfMinindex.syncWith(pOther->_sfMinindex); 00940 00941 if(FieldBits::NoField != (MaxindexFieldMask & whichField)) 00942 _sfMaxindex.syncWith(pOther->_sfMaxindex); 00943 00944 if(FieldBits::NoField != (LowindicesFieldMask & whichField)) 00945 _mfLowindices.syncWith(pOther->_mfLowindices); 00946 00947 if(FieldBits::NoField != (HighindicesFieldMask & whichField)) 00948 _mfHighindices.syncWith(pOther->_mfHighindices); 00949 00950 if(FieldBits::NoField != (VboFieldMask & whichField)) 00951 _sfVbo.syncWith(pOther->_sfVbo); 00952 00953 00954 }
| void osg::GeometryBase::executeSync | ( | FieldContainer & | other, | |
| const BitVector & | whichField | |||
| ) | [protected, virtual] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 386 of file OSGGeometryBase.cpp.
References executeSyncImpl().
00388 { 00389 this->executeSyncImpl((GeometryBase *) &other, whichField); 00390 }
| void osg::GeometryBase::operator= | ( | const GeometryBase & | source | ) | [private] |
| Action::ResultE MaterialDrawable::drawPrimitives | ( | DrawActionBase * | action | ) | [virtual, inherited] |
Reimplemented in osg::Geometry, osg::Slices, osg::Particles, and osg::Surface.
Definition at line 87 of file OSGMaterialDrawable.cpp.
References osg::Action::Continue, and FWARNING.
Referenced by osg::MaterialDrawable::drawActionHandler(), and osg::MaterialDrawable::renderActionHandler().
00088 { 00089 FWARNING (("You should overload drawPrimitives in your code\n")); 00090 00091 return Action::Continue; 00092 }
| Action::ResultE MaterialDrawable::drawActionHandler | ( | Action * | action | ) | [inherited] |
Definition at line 122 of file OSGMaterialDrawable.cpp.
References osg::Action::Continue, osg::Material::draw(), osg::MaterialDrawable::drawPrimitives(), FWARNING, osg::getDefaultMaterial(), osg::MaterialDrawableBase::getMaterial(), osg::DrawActionBase::getMaterial(), osg::NullFC, and osg::osgTypedMethodFunctor1ObjPtr().
Referenced by osg::Surface::initMethod(), osg::Slices::initMethod(), osg::Particles::initMethod(), and osg::Geometry::initMethod().
00123 { 00124 DrawAction *a = dynamic_cast<DrawAction*>(action); 00125 Material::DrawFunctor func; 00126 00127 func=osgTypedMethodFunctor1ObjPtr(&(*this), 00128 &MaterialDrawable::drawPrimitives); 00129 00130 if(a->getMaterial() != NULL) 00131 { 00132 a->getMaterial()->draw(func, a); 00133 } 00134 else if ( getMaterial() != NullFC ) 00135 { 00136 getMaterial()->draw( func, a ); 00137 } 00138 else 00139 { 00140 getDefaultMaterial()->draw( func, a ); 00141 FWARNING(("MaterialDrawable::draw:: no material!\n"));; 00142 } 00143 return Action::Continue; 00144 }
| Action::ResultE MaterialDrawable::renderActionHandler | ( | Action * | action | ) | [inherited] |
Definition at line 94 of file OSGMaterialDrawable.cpp.
References osg::Action::Continue, osg::MaterialDrawable::drawPrimitives(), osg::RenderAction::dropFunctor(), FNOTICE, osg::AttachmentContainerPtr::getCPtr(), osg::getDefaultMaterial(), osg::MaterialDrawableBase::getMaterial(), osg::DrawActionBase::getMaterial(), osg::NullFC, and osg::osgTypedMethodFunctor1ObjPtr().
Referenced by osg::Surface::initMethod(), osg::Slices::initMethod(), osg::Particles::initMethod(), and osg::Geometry::initMethod().
00095 { 00096 RenderAction *a = dynamic_cast<RenderAction *>(action); 00097 00098 Material::DrawFunctor func; 00099 func = osgTypedMethodFunctor1ObjPtr(this, 00100 &MaterialDrawable::drawPrimitives); 00101 00102 Material* m = a->getMaterial(); 00103 00104 if(m == NULL) 00105 { 00106 if(getMaterial() != NullFC) 00107 { 00108 m = getMaterial().getCPtr(); 00109 } 00110 else 00111 { 00112 m = getDefaultMaterial().getCPtr(); 00113 FNOTICE(("MaterialDrawable::render: no Material!?!\n")); 00114 } 00115 } 00116 00117 a->dropFunctor(func, m); 00118 00119 return Action::Continue; 00120 }
Reimplemented from osg::Drawable.
Reimplemented in osg::Geometry, osg::Slices, osg::Particles, osg::DVRGeometry, and osg::Surface.
Definition at line 153 of file OSGMaterialDrawable.cpp.
References osg::Drawable::changed().
Referenced by osg::Particles::changed(), and osg::Geometry::changed().
00154 { 00155 Inherited::changed(whichField, origin); 00156 }
| void MaterialDrawable::dump | ( | UInt32 | uiIndent = 0, |
|
| const BitVector | bvFlags = 0 | |||
| ) | const [virtual, inherited] |
Reimplemented from osg::Drawable.
Reimplemented in osg::Geometry, osg::Slices, osg::Particles, osg::DVRGeometry, and osg::Surface.
Definition at line 160 of file OSGMaterialDrawable.cpp.
References SLOG.
00162 { 00163 SLOG << "Dump MaterialDrawable NI" << std::endl; 00164 }
| void osg::MaterialDrawable::setMaterial | ( | const MaterialPtr & | value | ) | [inline, inherited] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::Geometry, osg::Slices, and osg::Particles.
Definition at line 46 of file OSGMaterialDrawable.inl.
References osg::MaterialDrawableBase::_sfMaterial, osg::SField< FieldTypeT, fieldNameSpace >::getValue(), and osg::setRefdCP().
00047 { 00048 setRefdCP(_sfMaterial.getValue(), value); 00049 }
| SFMaterialPtr * osg::MaterialDrawableBase::getSFMaterial | ( | void | ) | [inline, inherited] |
Definition at line 75 of file OSGMaterialDrawableBase.inl.
References osg::MaterialDrawableBase::_sfMaterial.
00076 { 00077 return &_sfMaterial; 00078 }
| MaterialPtr & osg::MaterialDrawableBase::getMaterial | ( | void | ) | [inline, inherited] |
Definition at line 83 of file OSGMaterialDrawableBase.inl.
References osg::MaterialDrawableBase::_sfMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
Referenced by osg::Surface::buildSurface(), osg::Surface::clone(), osg::Geometry::clone(), osg::MaterialDrawable::drawActionHandler(), osg::RenderAction::dropGeometry(), osg::Geometry::dump(), osg::Geometry::MergeIndex(), and osg::MaterialDrawable::renderActionHandler().
00084 { 00085 return _sfMaterial.getValue(); 00086 }
| const MaterialPtr & osg::MaterialDrawableBase::getMaterial | ( | void | ) | const [inline, inherited] |
Definition at line 90 of file OSGMaterialDrawableBase.inl.
References osg::MaterialDrawableBase::_sfMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().
00091 { 00092 return _sfMaterial.getValue(); 00093 }
| void MaterialDrawableBase::executeSyncImpl | ( | MaterialDrawableBase * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Definition at line 219 of file OSGMaterialDrawableBase.cpp.
References osg::MaterialDrawableBase::_sfMaterial, osg::DrawableBase::executeSyncImpl(), osg::MaterialDrawableBase::MaterialFieldMask, osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().
Referenced by osg::MaterialDrawableBase::executeSync(), osg::SlicesBase::executeSyncImpl(), osg::ParticlesBase::executeSyncImpl(), and executeSyncImpl().
00221 { 00222 00223 Inherited::executeSyncImpl(pOther, whichField); 00224 00225 if(FieldBits::NoField != (MaterialFieldMask & whichField)) 00226 _sfMaterial.syncWith(pOther->_sfMaterial); 00227 00228 00229 }
| void DrawableBase::executeSyncImpl | ( | DrawableBase * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Definition at line 182 of file OSGDrawableBase.cpp.
References osg::NodeCore::executeSyncImpl().
Referenced by osg::DrawableBase::executeSync(), and osg::MaterialDrawableBase::executeSyncImpl().
00184 { 00185 00186 Inherited::executeSyncImpl(pOther, whichField); 00187 00188 00189 }
| void osg::NodeCore::executeSyncImpl | ( | NodeCore * | pOther, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, inherited] |
Definition at line 180 of file OSGNodeCore.inl.
References osg::NodeCore::_parents, osg::AttachmentContainer::executeSyncImpl(), osg::FieldBits::NoField, osg::NodeCore::ParentsFieldMask, and osg::MField< FieldTypeT, fieldNameSpace >::syncWith().
Referenced by osg::NodeCore::executeSync(), osg::StateSortingGroupBase::executeSyncImpl(), osg::LightEnvBase::executeSyncImpl(), osg::InlineBase::executeSyncImpl(), osg::GroupBase::executeSyncImpl(), osg::DVRVolumeBase::executeSyncImpl(), and osg::DrawableBase::executeSyncImpl().
00182 { 00183 Inherited::executeSyncImpl(pOther, whichField); 00184 00185 if(FieldBits::NoField != (ParentsFieldMask & whichField)) 00186 { 00187 _parents.syncWith(pOther->_parents); 00188 } 00189 }
| void AttachmentContainer::executeSyncImpl | ( | AttachmentContainer * | pOther, | |
| const BitVector & | whichField | |||
| ) | [protected, inherited] |
Definition at line 316 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::AttachmentContainer::AttachmentsFieldMask, osg::FieldContainer::executeSyncImpl(), osg::FieldBits::NoField, and osg::SField< FieldTypeT, fieldNameSpace >::syncWith().
Referenced by osg::AttachmentContainer::executeSync(), osg::WindowBase::executeSyncImpl(), osg::ViewportBase::executeSyncImpl(), osg::ShaderParameterBase::executeSyncImpl(), osg::Node::executeSyncImpl(), osg::NodeCore::executeSyncImpl(), osg::MaterialBase::executeSyncImpl(), osg::ImageComposerBase::executeSyncImpl(), osg::ImageBase::executeSyncImpl(), osg::ForegroundBase::executeSyncImpl(), osg::DisplayFilterBase::executeSyncImpl(), osg::DisplayCalibrationBase::executeSyncImpl(), osg::CameraBase::executeSyncImpl(), and osg::BackgroundBase::executeSyncImpl().
00319 { 00320 Inherited::executeSyncImpl(pOther, whichField); 00321 00322 if (FieldBits::NoField != (AttachmentsFieldMask & whichField)) 00323 { 00324 _attachmentMap.syncWith(pOther->_attachmentMap); 00325 } 00326 }
| void osg::FieldContainer::executeSyncImpl | ( | FieldContainer * | pOther, | |
| const BitVector & | whichField | |||
| ) | [inline, protected, inherited] |
Definition at line 333 of file OSGFieldContainerImpl.inl.
Referenced by osg::StateBase::executeSyncImpl(), osg::DVRShaderBase::executeSyncImpl(), osg::DVRClipGeometryBase::executeSyncImpl(), osg::AttachmentContainer::executeSyncImpl(), and osg::Attachment::executeSyncImpl().
| MFNodePtr & osg::NodeCore::getParents | ( | void | ) | [inline, inherited] |
Definition at line 56 of file OSGNodeCore.inl.
Referenced by osg::Surface::FindClosestPoint().
00057 { 00058 return _parents; 00059 }
| const MFNodePtr & osg::NodeCore::getParents | ( | void | ) | const [inline, inherited] |
Definition at line 62 of file OSGNodeCore.inl.
References osg::NodeCore::_parents.
00063 { 00064 return _parents; 00065 }
| MFNodePtr * osg::NodeCore::getMFParents | ( | void | ) | [inline, inherited] |
Definition at line 68 of file OSGNodeCore.inl.
References osg::NodeCore::_parents.
00069 { 00070 return &_parents; 00071 }
| void osg::NodeCore::invalidateVolume | ( | void | ) | [inline, virtual, inherited] |
Definition at line 237 of file OSGNodeCore.inl.
References osg::NodeCore::_parents, and osg::MField< FieldTypeT, fieldNameSpace >::size().
Referenced by osg::Transform::changed(), and osg::Slices::changed().
00238 { 00239 for(UInt32 i = 0; i < _parents.size(); i++) 00240 { 00241 _parents[i]->invalidateVolume(); 00242 } 00243 }
| void osg::NodeCore::onDestroy | ( | void | ) | [inline, protected, virtual, inherited] |
Reimplemented from osg::FieldContainer.
Reimplemented in osg::Geometry, osg::Surface, and osg::MaterialPool.
Definition at line 142 of file OSGNodeCore.inl.
Referenced by osg::Geometry::onDestroy().
| void osg::NodeCore::addParent | ( | const NodePtr & | parent | ) | [inline, protected, inherited] |
Definition at line 150 of file OSGNodeCore.inl.
References osg::NodeCore::_parents, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().
00151 { 00152 _parents.push_back(parent); 00153 }
| void osg::NodeCore::subParent | ( | const NodePtr & | parent | ) | [inline, protected, inherited] |
Definition at line 156 of file OSGNodeCore.inl.
References osg::NodeCore::_parents, osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), and osg::MField< FieldTypeT, fieldNameSpace >::find().
00157 { 00158 MFNodePtr::iterator parentIt = _parents.find(parent); 00159 00160 if(parentIt != _parents.end()) 00161 { 00162 _parents.erase(parentIt); 00163 } 00164 }
| NodeCorePtr osg::NodeCore::getPtr | ( | void | ) | const [inline, protected, inherited] |
Reimplemented in osg::Geometry.
Definition at line 170 of file OSGNodeCore.inl.
Referenced by osg::MaterialPool::add(), osg::NodeCore::dump(), and osg::MaterialPool::sub().
| AttachmentContainerPtr AttachmentContainer::getPtr | ( | void | ) | [protected, inherited] |
Definition at line 352 of file OSGAttachmentContainer.cpp.
Referenced by osg::FileGrabForeground::draw(), osg::FBOViewport::render(), osg::AttachmentContainer::subAttachment(), and osg::AttachmentContainer::~AttachmentContainer().
00353 { 00354 return AttachmentContainerPtr(*this); 00355 }
| void osg::NodeCore::accumulateMatrix | ( | Matrix & | result | ) | [inline, protected, virtual, inherited] |
Reimplemented in osg::Billboard, osg::InverseTransform, osg::ScreenGroup, and osg::Transform.
Definition at line 224 of file OSGNodeCore.inl.
| void osg::NodeCore::adjustVolume | ( | Volume & | volume | ) | [inline, protected, virtual, inherited] |
Reimplemented in osg::Geometry, osg::Slices, osg::Particles, osg::DVRVolume, osg::Surface, osg::Billboard, osg::InverseTransform, osg::ProxyGroup, osg::ScreenGroup, and osg::Transform.
Definition at line 232 of file OSGNodeCore.inl.
Referenced by osg::Billboard::adjustVolume().
| void AttachmentContainer::addAttachment | ( | const AttachmentPtr & | fieldContainerP, | |
| UInt16 | binding = 0 | |||
| ) | [inherited] |
Definition at line 84 of file OSGAttachmentContainer.cpp.
References osg::addRefCP(), osg::beginEditCP(), osg::endEditCP(), osg::NullFC, and osg::subRefCP().
Referenced by osg::AttachmentContainer::AttachmentContainer(), osg::Node::onCreate(), and osg::Image::setAttachmentField().
00086 { 00087 UInt32 key; 00088 00089 if(fieldContainerP == NullFC) 00090 return; 00091 00092 key = (UInt32 (fieldContainerP->getGroupId()) << 16) | binding; 00093 00094 addRefCP(fieldContainerP); 00095 00096 beginEditCP(fieldContainerP, Attachment::ParentsFieldMask); 00097 { 00098 fieldContainerP->addParent(getPtr()); 00099 } 00100 endEditCP (fieldContainerP, Attachment::ParentsFieldMask); 00101 00102 AttachmentMap::iterator fcI = _attachmentMap.getValue().find(key); 00103 00104 if(fcI != _attachmentMap.getValue().end()) 00105 { 00106 beginEditCP((*fcI).second, Attachment::ParentsFieldMask); 00107 { 00108 (*fcI).second->subParent(getPtr()); 00109 } 00110 endEditCP ((*fcI).second, Attachment::ParentsFieldMask); 00111 00112 subRefCP((*fcI).second); 00113 00114 (*fcI).second = fieldContainerP; 00115 } 00116 else 00117 { 00118 _attachmentMap.getValue()[key] = fieldContainerP; 00119 } 00120 }
| void AttachmentContainer::subAttachment | ( | const AttachmentPtr & | fieldContainerP, | |
| UInt16 | binding = 0 | |||
| ) | [inherited] |
Definition at line 122 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::beginEditCP(), osg::endEditCP(), osg::AttachmentContainer::getPtr(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), osg::NullFC, osg::Attachment::ParentsFieldMask, and osg::subRefCP().
00124 { 00125 UInt32 key; 00126 00127 AttachmentMap::iterator fcI; 00128 00129 if(fieldContainerP == NullFC) 00130 return; 00131 00132 key = (UInt32(fieldContainerP->getGroupId()) << 16) | binding; 00133 00134 fcI = _attachmentMap.getValue().find(key); 00135 00136 if(fcI != _attachmentMap.getValue().end()) 00137 { 00138 beginEditCP(fieldContainerP, Attachment::ParentsFieldMask); 00139 { 00140 (*fcI).second->subParent(getPtr()); 00141 } 00142 endEditCP (fieldContainerP, Attachment::ParentsFieldMask); 00143 00144 subRefCP((*fcI).second); 00145 00146 _attachmentMap.getValue().erase(fcI); 00147 } 00148 }
| AttachmentPtr AttachmentContainer::findAttachment | ( | UInt32 | groupId, | |
| UInt16 | binding = 0 | |||
| ) | [inherited] |
Definition at line 150 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap, osg::SField< FieldTypeT, fieldNameSpace >::getValue(), and osg::NullFC.
Referenced by osg::Image::findAttachmentField(), and osg::Image::setAttachmentField().
00152 { 00153 UInt32 key = (UInt32(groupId) << 16) | binding; 00154 00155 AttachmentMap::iterator fcI = _attachmentMap.getValue().find(key); 00156 00157 if(fcI == _attachmentMap.getValue().end()) 00158 { 00159 return NullFC; 00160 } 00161 else 00162 { 00163 return (*fcI).second; 00164 } 00165 }
| AttachmentPtr osg::AttachmentContainer::findAttachment | ( | const FieldContainerType & | type, | |
| UInt16 | binding = 0 | |||
| ) | [inline, inherited] |
Definition at line 57 of file OSGAttachmentContainerImpl.inl.
00060 { 00061 return findAttachment(type.getGroupId(), binding); 00062 }
| SFAttachmentMap * AttachmentContainer::getSFAttachments | ( | void | ) | [inherited] |
Field Access
Definition at line 170 of file OSGAttachmentContainer.cpp.
References osg::AttachmentContainer::_attachmentMap.
00171 { 00172 return &_attachmentMap; 00173 }
| 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::fcptrAttributeMap(), osg::Image::setAttachmentField(), and osg::stringAttributeMap().
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::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::OffCenterPerspectiveCameraBase::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(), createEmpty(), osg::FresnelMaterialBase::createEmpty(), osg::FragmentProgramChunkBase::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::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::OffCenterPerspectiveCameraBase::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(), shallowCopy(), osg::FresnelMaterialBase::shallowCopy(), osg::FragmentProgramChunkBase::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 Thread::getCurrentChangeList()->addCreated( 00168 *(reinterpret_cast<UInt32 *>(pTmp))); 00169 00170 pTmp += sizeof(UInt32); 00171 00172 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00173 00174 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00175 { 00176 pTmp = 00177 reinterpret_cast<UInt8 *>(new (pTmp) ObjectType(*prototypeP)); 00178 00179 pTmp += sizeof(ObjectType); 00180 } 00181 00182 result->onCreate(prototypeP); 00183 00184 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00185 { 00186 aObject[i].onCreateAspect(aObject, prototypeP); 00187 } 00188 00189 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00190 00191 fprintf(stderr, "GV_MEM_FC_DBG : (%u) cc (%p|%u)\n", 00192 Thread::getAspect(), 00193 result._storeP, 00194 // ObjectType::getClassType().getCName(), 00195 ObjectType::getClassType().getId()); 00196 #endif 00197 00198 #ifdef OSG_DEBUG_TYPED_FCPTR 00199 result.updateTypedStore(); 00200 #endif 00201 }
| void osg::FieldContainer::newPtr | ( | ObjectPtrT & | result | ) | [inline, static, protected, inherited] |
Definition at line 204 of file OSGFieldContainerImpl.inl.
References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().
00205 { 00206 typedef typename ObjectPtrT::StoredObjectType ObjectType; 00207 00208 UInt8 *pTmp; 00209 00210 result._containerSize = sizeof(ObjectType); 00211 00212 pTmp = 00213 static_cast<UInt8 *>(operator new( 00214 sizeof(Int32) + // ReferenceCount 00215 sizeof(UInt32) + // ContainerId 00216 sizeof(ObjectType) * ThreadManager::getNumAspects())); 00217 00218 *(reinterpret_cast<Int32 *>(pTmp)) = 0; 00219 00220 pTmp += sizeof(Int32); 00221 00222 result._storeP = (pTmp + sizeof(UInt32)); 00223 00224 #ifdef OSG_DEBUG_FCPTR 00225 result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP); 00226 #endif 00227 00228 *(reinterpret_cast<UInt32 *>(pTmp)) = 00229 FieldContainerFactory::the()->registerFieldContainer(result); 00230 00231 Thread::getCurrentChangeList()->addCreated( 00232 *(reinterpret_cast<UInt32 *>(pTmp))); 00233 00234 pTmp += sizeof(UInt32); 00235 00236 ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp); 00237 00238 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00239 { 00240 pTmp = reinterpret_cast<UInt8 *>(new (pTmp) ObjectType()); 00241 00242 pTmp += sizeof(ObjectType); 00243 } 00244 00245 result->onCreate(); 00246 00247 for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++) 00248 { 00249 aObject[i].onCreateAspect(aObject); 00250 } 00251 00252 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM) 00253 fprintf(stderr, "GV_MEM_FC_DBG : (%u) c (%p|%u)\n", 00254 Thread::getAspect(), 00255 result._storeP, 00256 // ObjectType::getClassType().getCName(), 00257 ObjectType::getClassType().getId()); 00258 #endif 00259 00260 #ifdef OSG_DEBUG_TYPED_FCPTR 00261 result.updateTypedStore(); 00262 #endif 00263 }
| void osg::FieldContainer::beginEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
| void osg::FieldContainer::endEditX | ( | const BitVector & | whichField, | |
| FieldTypeT & | field | |||
| ) | [inline, protected, inherited] |
Definition at line 291 of file OSGFieldContainerImpl.inl.
References osg::endEditCP().
00292 { 00293 FieldContainerPtr tmpPtr(this); 00294 endEditCP(tmpPtr, whichField); 00295 }
| void osg::FieldContainer::onCreate | ( | const FieldContainer * | source = NULL |
) | [inline, protected, inherited] |
Definition at line 318 of file OSGFieldContainerImpl.inl.
Referenced by osg::ShaderParameterChunk::onCreate().
| void osg::FieldContainer::onCreateAspect | ( | const FieldContainer * | aspect0, | |
| const FieldContainer * | source = NULL | |||
| ) | [inline, protected, inherited] |
friend class FieldContainer [friend] |
Reimplemented from osg::MaterialDrawable.
Reimplemented in osg::Geometry, osg::DVRGeometry, osg::DVRGeometryBase, osg::Surface, and osg::SurfaceBase.
Definition at line 427 of file OSGGeometryBase.h.
const osg::BitVector osg::GeometryBase::TypesFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TypesFieldId)
Definition at line 144 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::ExtrusionSurface::createGeometry(), osg::VRMLGeometryPointSetDesc::endNode(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::LengthsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::LengthsFieldId)
Definition at line 145 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::ExtrusionSurface::createGeometry(), osg::VRMLGeometryPointSetDesc::endNode(), executeSyncImpl(), getBinSize(), osg::GeoTypeGraphOp::setParams(), and osg::GeoTypeGraphOp::travNodeEnter().
const osg::BitVector osg::GeometryBase::PositionsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::PositionsFieldId)
Definition at line 146 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::DistortionDisplayFilter::createFilter(), osg::ExtrusionSurface::createGeometry(), executeSyncImpl(), getBinSize(), and osg::SimpleSceneManager::updateHighlight().
const osg::BitVector osg::GeometryBase::NormalsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::NormalsFieldId)
Definition at line 147 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::ExtrusionSurface::createGeometry(), executeSyncImpl(), getBinSize(), osg::GeoTypeGraphOp::setParams(), and osg::GeoTypeGraphOp::travNodeEnter().
const osg::BitVector osg::GeometryBase::ColorsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::ColorsFieldId)
Definition at line 148 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::SecondaryColorsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::SecondaryColorsFieldId)
Definition at line 149 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoordsFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoordsFieldId)
Definition at line 150 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::ExtrusionSurface::createGeometry(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords1FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords1FieldId)
Definition at line 151 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords2FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords2FieldId)
Definition at line 152 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords3FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords3FieldId)
Definition at line 153 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords4FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords4FieldId)
Definition at line 154 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords5FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords5FieldId)
Definition at line 155 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords6FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords6FieldId)
Definition at line 156 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::TexCoords7FieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::TexCoords7FieldId)
Definition at line 157 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::IndicesFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::IndicesFieldId)
Definition at line 158 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::calcVertexTangents(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::ExtrusionSurface::createGeometry(), osg::createSingleIndex(), executeSyncImpl(), getBinSize(), osg::Geometry::merge(), osg::Geometry::merge2(), osg::Geometry::merge4(), osg::GeoTypeGraphOp::setParams(), and osg::GeoTypeGraphOp::travNodeEnter().
const osg::BitVector osg::GeometryBase::IndexMappingFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::IndexMappingFieldId)
Definition at line 159 of file OSGGeometryBase.h.
Referenced by osg::Surface::buildSurface(), osg::calcVertexTangents(), osg::Geometry::changed(), copyFromBin(), copyToBin(), osg::ExtrusionSurface::createGeometry(), osg::createSingleIndex(), executeSyncImpl(), getBinSize(), and osg::VerifyGraphOp::verifyIndexMap().
const osg::BitVector osg::GeometryBase::DlistCacheFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::DlistCacheFieldId)
Definition at line 160 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::GLIdFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::GLIdFieldId)
Definition at line 161 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), osg::Geometry::onCreate(), and osg::RemoteAspect::RemoteAspect().
const osg::BitVector osg::GeometryBase::IgnoreGLForAspectFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::IgnoreGLForAspectFieldId)
Definition at line 162 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::MinindexFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::MinindexFieldId)
Definition at line 163 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), and osg::Geometry::updateLowHighIndices().
const osg::BitVector osg::GeometryBase::MaxindexFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::MaxindexFieldId)
Definition at line 164 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), and osg::Geometry::updateLowHighIndices().
const osg::BitVector osg::GeometryBase::LowindicesFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::LowindicesFieldId)
Definition at line 165 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), and osg::Geometry::updateLowHighIndices().
const osg::BitVector osg::GeometryBase::HighindicesFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::HighindicesFieldId)
Definition at line 166 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), and osg::Geometry::updateLowHighIndices().
const osg::BitVector osg::GeometryBase::VboFieldMask [static] |
Initial value:
(TypeTraits<BitVector>::One << GeometryBase::VboFieldId)
Definition at line 167 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().
const osg::BitVector osg::GeometryBase::MTInfluenceMask [static] |
Initial value:
(Inherited::MTInfluenceMask) |
(static_cast<BitVector>(0x0) << Inherited::NextFieldId)
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 170 of file OSGGeometryBase.h.
GeoPTypesPtr osg::GeometryBase::_sfTypes [protected] |
The types property contains the primitive's types. Legal values are everything that can be passed to glBegin(). There have to be as many types as lengths.
Definition at line 335 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTypes(), getTypes(), osg::Geometry::onDestroy(), setTypes(), and osg::Geometry::setTypes().
GeoPLengthsPtr osg::GeometryBase::_sfLengths [protected] |
The lengths property contains the number of vertices to use for the corresponding primitive. There have to be as many lengths as types.
Definition at line 336 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getLengths(), getSFLengths(), osg::Geometry::onDestroy(), setLengths(), and osg::Geometry::setLengths().
GeoPositionsPtr osg::GeometryBase::_sfPositions [protected] |
The positions property contains the position data.
Definition at line 337 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getPositions(), getSFPositions(), osg::Geometry::onDestroy(), setPositions(), and osg::Geometry::setPositions().
GeoNormalsPtr osg::GeometryBase::_sfNormals [protected] |
The normals property contains the normal data.
Definition at line 338 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getNormals(), getSFNormals(), osg::Geometry::onDestroy(), setNormals(), and osg::Geometry::setNormals().
GeoColorsPtr osg::GeometryBase::_sfColors [protected] |
The colors property contains the color data. See MaterialChunk for details on when these colors are used.
Definition at line 339 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getColors(), getSFColors(), osg::Geometry::onDestroy(), setColors(), and osg::Geometry::setColors().
GeoColorsPtr osg::GeometryBase::_sfSecondaryColors [protected] |
The secondaryColors property contains the secondary colors data. Secondary colors are used for some higher level shaders.
Definition at line 340 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSecondaryColors(), getSFSecondaryColors(), osg::Geometry::onDestroy(), setSecondaryColors(), and osg::Geometry::setSecondaryColors().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords [protected] |
The texCoords property contains the texture coordinate data.
Definition at line 341 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords(), getTexCoords(), osg::Geometry::onDestroy(), setTexCoords(), and osg::Geometry::setTexCoords().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords1 [protected] |
The texCoords1 property contains the texture coordinate data for the second texture. See TextureChunk for multi-texturing.
Definition at line 342 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords1(), getTexCoords1(), osg::Geometry::onDestroy(), setTexCoords1(), and osg::Geometry::setTexCoords1().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords2 [protected] |
The texCoords2 property contains the texture coordinate data for the third texture. See TextureChunk for multi-texturing.
Definition at line 343 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords2(), getTexCoords2(), osg::Geometry::onDestroy(), setTexCoords2(), and osg::Geometry::setTexCoords2().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords3 [protected] |
The texCoords3 property contains the texture coordinate data for the fourth texture. See TextureChunk for multi-texturing.
Definition at line 344 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords3(), getTexCoords3(), osg::Geometry::onDestroy(), setTexCoords3(), and osg::Geometry::setTexCoords3().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords4 [protected] |
The texCoords4 property contains the texture coordinate data for the fifth texture. See TextureChunk for multi-texturing.
Definition at line 345 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords4(), getTexCoords4(), osg::Geometry::onDestroy(), setTexCoords4(), and osg::Geometry::setTexCoords4().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords5 [protected] |
The texCoords5 property contains the texture coordinate data for the sixth texture. See TextureChunk for multi-texturing.
Definition at line 346 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords5(), getTexCoords5(), osg::Geometry::onDestroy(), setTexCoords5(), and osg::Geometry::setTexCoords5().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords6 [protected] |
The texCoords6 property contains the texture coordinate data for the seventh texture. See TextureChunk for multi-texturing.
Definition at line 347 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords6(), getTexCoords6(), osg::Geometry::onDestroy(), setTexCoords6(), and osg::Geometry::setTexCoords6().
GeoTexCoordsPtr osg::GeometryBase::_sfTexCoords7 [protected] |
The texCoords7 property contains the texture coordinate data for the eighth texture. See TextureChunk for multi-texturing.
Definition at line 348 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTexCoords7(), getTexCoords7(), osg::Geometry::onDestroy(), setTexCoords7(), and osg::Geometry::setTexCoords7().
GeoIndicesPtr osg::GeometryBase::_sfIndices [protected] |
The indices property contains the index data. See Indexing for a description of the indexing options.
Definition at line 349 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getIndices(), getSFIndices(), osg::Geometry::onDestroy(), setIndices(), and osg::Geometry::setIndices().
UInt16 osg::GeometryBase::_mfIndexMapping [protected] |
The indexMapping property contains the definition which index element is used for which attribute data. See Indexing for a description of the indexing options.
Definition at line 350 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getIndexMapping(), and getMFIndexMapping().
bool osg::GeometryBase::_sfDlistCache [protected] |
Flag to activate caching the geometry inside a display list.
Definition at line 351 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDlistCache(), getSFDlistCache(), and setDlistCache().
Int32 osg::GeometryBase::_sfGLId [protected] |
The dlist id, if used.
Definition at line 352 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getGLId(), getSFGLId(), and setGLId().
Int32 osg::GeometryBase::_sfIgnoreGLForAspect [protected] |
The dlist id, if used.
Definition at line 353 of file OSGGeometryBase.h.
Referenced by osg::Geometry::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getIgnoreGLForAspect(), getSFIgnoreGLForAspect(), osg::Surface::onCreate(), osg::Geometry::onCreate(), and setIgnoreGLForAspect().
UInt32 osg::GeometryBase::_sfMinindex [protected] |
The minimum index used (for single-indexed mode only).
Definition at line 354 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMinindex(), getSFMinindex(), and setMinindex().
UInt32 osg::GeometryBase::_sfMaxindex [protected] |
The maximum index used (for single-indexed mode only).
Definition at line 355 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMaxindex(), getSFMaxindex(), and setMaxindex().
UInt32 osg::GeometryBase::_mfLowindices [protected] |
For each primitive (entry in types) the lowest index used (for single-indexed mode only).
Definition at line 356 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getLowindices(), and getMFLowindices().
UInt32 osg::GeometryBase::_mfHighindices [protected] |
For each primitive (entry in types) the highest index used (for single-indexed mode only).
Definition at line 357 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getHighindices(), and getMFHighindices().
bool osg::GeometryBase::_sfVbo [protected] |
Flag to activate vbo rendering.
Definition at line 358 of file OSGGeometryBase.h.
Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFVbo(), getVbo(), and setVbo().
FieldDescription * osg::GeometryBase::_desc [static, private] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::SurfaceBase.
Definition at line 429 of file OSGGeometryBase.h.
FieldContainerType osg::GeometryBase::_type [static, private] |
Reimplemented from osg::MaterialDrawableBase.
Reimplemented in osg::DVRGeometryBase, and osg::SurfaceBase.
Definition at line 430 of file OSGGeometryBase.h.
Referenced by getClassType(), getClassTypeId(), and getType().
const osg::BitVector MaterialDrawableBase::MaterialFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << MaterialDrawableBase::MaterialFieldId)
Definition at line 98 of file OSGMaterialDrawableBase.h.
Referenced by osg::Slices::changed(), osg::Particles::changed(), osg::Geometry::changed(), osg::MaterialDrawableBase::copyFromBin(), osg::MaterialDrawableBase::copyToBin(), osg::MaterialDrawableBase::executeSyncImpl(), and osg::MaterialDrawableBase::getBinSize().
MaterialPtr MaterialDrawableBase::_sfMaterial [protected, inherited] |
The material used to render the Drawable.
Definition at line 162 of file OSGMaterialDrawableBase.h.
Referenced by osg::Slices::changed(), osg::Particles::changed(), osg::Geometry::changed(), osg::MaterialDrawableBase::copyFromBin(), osg::MaterialDrawableBase::copyToBin(), osg::MaterialDrawableBase::executeSyncImpl(), osg::MaterialDrawableBase::getBinSize(), osg::MaterialDrawableBase::getMaterial(), osg::MaterialDrawableBase::getSFMaterial(), osg::Geometry::onDestroy(), osg::Slices::setMaterial(), osg::Particles::setMaterial(), osg::MaterialDrawableBase::setMaterial(), osg::MaterialDrawable::setMaterial(), osg::Geometry::setMaterial(), osg::Particles::~Particles(), and osg::Slices::~Slices().
StatElemDesc< StatIntElem > Drawable::statNTriangles [static, inherited] |
Definition at line 68 of file OSGDrawable.h.
Referenced by osg::Slices::drawPrimitives(), osg::Geometry::drawPrimitives(), osg::SimpleSceneManager::initialize(), and osg::DrawActionBase::start().
StatElemDesc< StatIntElem > Drawable::statNLines [static, inherited] |
Definition at line 69 of file OSGDrawable.h.
Referenced by osg::Geometry::drawPrimitives(), osg::SimpleSceneManager::initialize(), and osg::DrawActionBase::start().
StatElemDesc< StatIntElem > Drawable::statNPoints [static, inherited] |
Definition at line 70 of file OSGDrawable.h.
Referenced by osg::SimpleSceneManager::initialize(), and osg::DrawActionBase::start().
StatElemDesc< StatIntElem > Drawable::statNVertices [static, inherited] |
Definition at line 71 of file OSGDrawable.h.
Referenced by osg::Slices::drawPrimitives(), osg::Geometry::drawPrimitives(), osg::SimpleSceneManager::initialize(), and osg::DrawActionBase::start().
StatElemDesc< StatIntElem > Drawable::statNPrimitives [static, inherited] |
Definition at line 72 of file OSGDrawable.h.
Referenced by osg::Geometry::drawPrimitives(), and osg::DrawActionBase::start().
StatElemDesc< StatIntOnceElem > Drawable::statNGeoBytes [static, inherited] |
Definition at line 73 of file OSGDrawable.h.
Referenced by osg::Geometry::drawPrimitives(), and osg::DrawActionBase::start().
const BitVector NodeCore::ParentsFieldMask = (1 << NodeCore::ParentsFieldId ) [static, inherited] |
Definition at line 99 of file OSGNodeCore.h.
Referenced by osg::NodeCore::copyFromBin(), osg::NodeCore::copyToBin(), osg::NodeCore::executeSyncImpl(), osg::NodeCore::getBinSize(), and osg::Node::~Node().
const bool osg::NodeCore::isNodeCore = true [static, inherited] |
MFNodePtr osg::NodeCore::_parents [protected, inherited] |
Definition at line 168 of file OSGNodeCore.h.
Referenced by osg::NodeCore::addParent(), osg::ProxyGroup::changed(), osg::Particles::changed(), osg::Geometry::changed(), osg::NodeCore::copyFromBin(), osg::NodeCore::copyToBin(), osg::NodeCore::dump(), osg::Geometry::dump(), osg::NodeCore::executeSyncImpl(), osg::NodeCore::getBinSize(), osg::NodeCore::getMFParents(), osg::NodeCore::getParents(), osg::NodeCore::getType(), osg::NodeCore::invalidateVolume(), and osg::NodeCore::subParent().
const BitVector AttachmentContainer::AttachmentsFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One <<
AttachmentContainer::AttachmentsFieldId)
Definition at line 84 of file OSGAttachmentContainerImpl.h.
Referenced by osg::VRMLFile::beginNode(), osg::AttachmentContainer::changed(), osg::AttachmentContainer::copyFromBin(), osg::AttachmentContainer::copyToBin(), osg::deepCloneAttachments(), osg::AttachmentContainer::executeSyncImpl(), osg::fcptrAttributeMap(), osg::AttachmentContainer::getBinSize(), and osg::stringAttributeMap().
SFAttachmentMap osg::AttachmentContainer::_attachmentMap [protected, inherited] |
Definition at line 161 of file OSGAttachmentContainerImpl.h.
Referenced by osg::AttachmentContainer::AttachmentContainer(), osg::AttachmentContainer::changed(), osg::AttachmentContainer::copyFromBin(), osg::AttachmentContainer::copyToBin(), osg::NodeCore::dump(), osg::Node::dump(), osg::Geometry::dump(), osg::AttachmentContainer::dump(), osg::AttachmentContainer::executeSyncImpl(), osg::AttachmentContainer::findAttachment(), osg::AttachmentContainer::getBinSize(), osg::AttachmentContainer::getSFAttachments(), osg::Node::onCreate(), osg::AttachmentContainer::subAttachment(), and osg::AttachmentContainer::~AttachmentContainer().
const BitVector osg::FieldContainer::NextFieldMask [static, inherited] |
Initial value:
(TypeTraits<BitVector>::One << NextFieldId)
Definition at line 75 of file OSGFieldContainerImpl.h.
UInt32 osg::FieldContainer::_shares [protected, inherited] |
Definition at line 199 of file OSGFieldContainerImpl.h.
1.5.5