- Timestamp:
- 12/12/07 18:00:42 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/Contrib/VTK/OSGVTKMapperBase.h
r1020 r1032 112 112 OSG_GEN_INTERNALPTR(VTKMapper); 113 113 114 typedef WeakRefCountPtrBuilder<VTKMapper>::Ptr ObjWeakRefPtr; 115 typedef MTRefCountPtrBuilder <VTKMapper>::Ptr ObjMTRefPtr; 116 typedef RefCountPtrBuilder <VTKMapper>::Ptr ObjRefPtr; 117 typedef ParentPtrBuilder <VTKMapper>::Ptr ObjParentPtr; 114 typedef MTRefCountPtrBuilder <VTKMapper>::Ptr ObjMTRefPtr; 115 typedef RefCountPtrBuilder <VTKMapper>::Ptr ObjRefPtr; 116 typedef ParentPtrBuilder <VTKMapper>::Ptr ObjParentPtr; 117 typedef WeakRefCountPtrBuilder <VTKMapper>::Ptr ObjWeakRefPtr; 118 typedef InternalRefCountPtrBuilder<VTKMapper>::Ptr ObjInternalRefPtr; 118 119 119 120 /*! \} */ … … 224 225 UInt32 const uiIndex, 225 226 MFNodeInternalPtr::ArgumentType value); 226 voidreplaceGeoRoots(227 bool replaceGeoRoots( 227 228 MFNodeInternalPtr::ArgumentType pOldElem, 228 MFNodeInternalPtr::ArgumentType pNewElem );229 MFNodeInternalPtr::ArgumentType pNewElem ); 229 230 void subGeoRoots(UInt32 const uiIndex); 230 voidsubGeoRoots(MFNodeInternalPtr::ArgumentType value);231 bool subGeoRoots(MFNodeInternalPtr::ArgumentType value); 231 232 void clearGeoRoots(void); 232 233 … … 259 260 UInt32 const uiIndex, 260 261 MFGeometryInternalPtr::ArgumentType value); 261 voidreplaceGeometries(262 bool replaceGeometries( 262 263 MFGeometryInternalPtr::ArgumentType pOldElem, 263 MFGeometryInternalPtr::ArgumentType pNewElem );264 MFGeometryInternalPtr::ArgumentType pNewElem ); 264 265 void subGeometries(UInt32 const uiIndex); 265 voidsubGeometries(MFGeometryInternalPtr::ArgumentType value);266 bool subGeometries(MFGeometryInternalPtr::ArgumentType value); 266 267 void clearGeometries(void); 267 268 … … 294 295 UInt32 const uiIndex, 295 296 MFChunkMaterialInternalPtr::ArgumentType value); 296 voidreplaceMaterials(297 bool replaceMaterials( 297 298 MFChunkMaterialInternalPtr::ArgumentType pOldElem, 298 MFChunkMaterialInternalPtr::ArgumentType pNewElem );299 MFChunkMaterialInternalPtr::ArgumentType pNewElem ); 299 300 void subMaterials(UInt32 const uiIndex); 300 voidsubMaterials(MFChunkMaterialInternalPtr::ArgumentType value);301 bool subMaterials(MFChunkMaterialInternalPtr::ArgumentType value); 301 302 void clearMaterials(void); 302 303 … … 329 330 UInt32 const uiIndex, 330 331 MFMaterialChunkInternalPtr::ArgumentType value); 331 voidreplaceMaterialChunks(332 bool replaceMaterialChunks( 332 333 MFMaterialChunkInternalPtr::ArgumentType pOldElem, 333 MFMaterialChunkInternalPtr::ArgumentType pNewElem );334 MFMaterialChunkInternalPtr::ArgumentType pNewElem ); 334 335 void subMaterialChunks(UInt32 const uiIndex); 335 voidsubMaterialChunks(MFMaterialChunkInternalPtr::ArgumentType value);336 bool subMaterialChunks(MFMaterialChunkInternalPtr::ArgumentType value); 336 337 void clearMaterialChunks(void); 337 338 … … 364 365 UInt32 const uiIndex, 365 366 MFGeoPnt3fPropertyInternalPtr::ArgumentType value); 366 voidreplacePositions(367 bool replacePositions( 367 368 MFGeoPnt3fPropertyInternalPtr::ArgumentType pOldElem, 368 MFGeoPnt3fPropertyInternalPtr::ArgumentType pNewElem );369 MFGeoPnt3fPropertyInternalPtr::ArgumentType pNewElem ); 369 370 void subPositions(UInt32 const uiIndex); 370 voidsubPositions(MFGeoPnt3fPropertyInternalPtr::ArgumentType value);371 bool subPositions(MFGeoPnt3fPropertyInternalPtr::ArgumentType value); 371 372 void clearPositions(void); 372 373 … … 399 400 UInt32 const uiIndex, 400 401 MFGeoUInt32PropertyInternalPtr::ArgumentType value); 401 voidreplaceLength(402 bool replaceLength( 402 403 MFGeoUInt32PropertyInternalPtr::ArgumentType pOldElem, 403 MFGeoUInt32PropertyInternalPtr::ArgumentType pNewElem );404 MFGeoUInt32PropertyInternalPtr::ArgumentType pNewElem ); 404 405 void subLength(UInt32 const uiIndex); 405 voidsubLength(MFGeoUInt32PropertyInternalPtr::ArgumentType value);406 bool subLength(MFGeoUInt32PropertyInternalPtr::ArgumentType value); 406 407 void clearLength(void); 407 408 … … 434 435 UInt32 const uiIndex, 435 436 MFGeoUInt8PropertyInternalPtr::ArgumentType value); 436 voidreplaceTypes(437 bool replaceTypes( 437 438 MFGeoUInt8PropertyInternalPtr::ArgumentType pOldElem, 438 MFGeoUInt8PropertyInternalPtr::ArgumentType pNewElem );439 MFGeoUInt8PropertyInternalPtr::ArgumentType pNewElem ); 439 440 void subTypes(UInt32 const uiIndex); 440 voidsubTypes(MFGeoUInt8PropertyInternalPtr::ArgumentType value);441 bool subTypes(MFGeoUInt8PropertyInternalPtr::ArgumentType value); 441 442 void clearTypes(void); 442 443 … … 469 470 UInt32 const uiIndex, 470 471 MFGeoColor4fPropertyInternalPtr::ArgumentType value); 471 voidreplaceColors(472 bool replaceColors( 472 473 MFGeoColor4fPropertyInternalPtr::ArgumentType pOldElem, 473 MFGeoColor4fPropertyInternalPtr::ArgumentType pNewElem );474 MFGeoColor4fPropertyInternalPtr::ArgumentType pNewElem ); 474 475 void subColors(UInt32 const uiIndex); 475 voidsubColors(MFGeoColor4fPropertyInternalPtr::ArgumentType value);476 bool subColors(MFGeoColor4fPropertyInternalPtr::ArgumentType value); 476 477 void clearColors(void); 477 478 … … 504 505 UInt32 const uiIndex, 505 506 MFGeoVec3fPropertyInternalPtr::ArgumentType value); 506 voidreplaceNormals(507 bool replaceNormals( 507 508 MFGeoVec3fPropertyInternalPtr::ArgumentType pOldElem, 508 MFGeoVec3fPropertyInternalPtr::ArgumentType pNewElem );509 MFGeoVec3fPropertyInternalPtr::ArgumentType pNewElem ); 509 510 void subNormals(UInt32 const uiIndex); 510 voidsubNormals(MFGeoVec3fPropertyInternalPtr::ArgumentType value);511 bool subNormals(MFGeoVec3fPropertyInternalPtr::ArgumentType value); 511 512 void clearNormals(void); 512 513 … … 528 529 /*! \{ */ 529 530 530 static VTKMapperPtrcreate (void);531 static ObjRefPtr create (void); 531 532 static VTKMapperPtr createEmpty(void); 532 533 … … 536 537 /*! \{ */ 537 538 538 virtual FieldContainer Ptr shallowCopy(void) const;539 virtual FieldContainerRefPtr shallowCopy(void) const; 539 540 540 541 /*! \} */ … … 653 654 }; 654 655 655 typedef VTKMapperBase::ObjRefPtr VTKMapperRefPtr; 656 typedef VTKMapperBase::ObjMTRefPtr VTKMapperMTRefPtr; 657 typedef VTKMapperBase::ObjWeakRefPtr VTKMapperWeakRefPtr; 658 typedef VTKMapperBase::ObjParentPtr VTKMapperParentPtr; 656 typedef VTKMapperBase::ObjRefPtr VTKMapperRefPtr; 657 typedef VTKMapperBase::ObjMTRefPtr VTKMapperMTRefPtr; 658 typedef VTKMapperBase::ObjWeakRefPtr VTKMapperWeakRefPtr; 659 typedef VTKMapperBase::ObjParentPtr VTKMapperParentPtr; 660 typedef VTKMapperBase::ObjInternalRefPtr VTKMapperInternalPtr; 659 661 660 662 typedef boost::mpl::if_<
