- Timestamp:
- 10/20/07 18:11:52 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork/Source/Contrib/VTK/OSGVTKMapperBase.h
r965 r976 161 161 /*! \{ */ 162 162 163 SFNode Ptr const *getSFRoot(void) const;163 SFNodeInternalRefPtr const *getSFRoot(void) const; 164 164 NodePtrConst getRoot(void) const; 165 165 … … 171 171 /*! \{ */ 172 172 173 MFNode Ptr const *getMFGeoRoots(void) const;174 MFNode Ptr const &getGeoRoots (void) const;173 MFNodeInternalRefPtr const *getMFGeoRoots(void) const; 174 MFNodeInternalRefPtr const &getGeoRoots (void) const; 175 175 NodePtrConst getGeoRoots(UInt32 const index) const; 176 176 177 177 void addGeoRoots(NodePtrConstArg value); 178 void assignGeoRoots(MFNode Ptr const &value);178 void assignGeoRoots(MFNodeInternalRefPtr const &value); 179 179 void insertGeoRoots( 180 180 UInt32 const uiIndex, … … 195 195 /*! \{ */ 196 196 197 MFGeometry Ptr const *getMFGeometries(void) const;198 MFGeometry Ptr const &getGeometries (void) const;197 MFGeometryInternalRefPtr const *getMFGeometries(void) const; 198 MFGeometryInternalRefPtr const &getGeometries (void) const; 199 199 GeometryPtrConst getGeometries(UInt32 const index) const; 200 200 201 201 void addGeometries(GeometryPtrConstArg value); 202 void assignGeometries(MFGeometry Ptr const &value);202 void assignGeometries(MFGeometryInternalRefPtr const &value); 203 203 void insertGeometries( 204 204 UInt32 const uiIndex, … … 219 219 /*! \{ */ 220 220 221 MFChunkMaterial Ptr const *getMFMaterials(void) const;222 MFChunkMaterial Ptr const &getMaterials (void) const;221 MFChunkMaterialInternalRefPtr const *getMFMaterials(void) const; 222 MFChunkMaterialInternalRefPtr const &getMaterials (void) const; 223 223 ChunkMaterialPtrConst getMaterials(UInt32 const index) const; 224 224 225 225 void addMaterials(ChunkMaterialPtrConstArg value); 226 void assignMaterials(MFChunkMaterial Ptr const &value);226 void assignMaterials(MFChunkMaterialInternalRefPtr const &value); 227 227 void insertMaterials( 228 228 UInt32 const uiIndex, … … 243 243 /*! \{ */ 244 244 245 MFMaterialChunk Ptr const *getMFMaterialChunks(void) const;246 MFMaterialChunk Ptr const &getMaterialChunks (void) const;245 MFMaterialChunkInternalRefPtr const *getMFMaterialChunks(void) const; 246 MFMaterialChunkInternalRefPtr const &getMaterialChunks (void) const; 247 247 MaterialChunkPtrConst getMaterialChunks(UInt32 const index) const; 248 248 249 249 void addMaterialChunks(MaterialChunkPtrConstArg value); 250 void assignMaterialChunks(MFMaterialChunk Ptr const &value);250 void assignMaterialChunks(MFMaterialChunkInternalRefPtr const &value); 251 251 void insertMaterialChunks( 252 252 UInt32 const uiIndex, … … 267 267 /*! \{ */ 268 268 269 MFGeoPnt3fProperty Ptr const *getMFPositions(void) const;270 MFGeoPnt3fProperty Ptr const &getPositions (void) const;269 MFGeoPnt3fPropertyInternalRefPtr const *getMFPositions(void) const; 270 MFGeoPnt3fPropertyInternalRefPtr const &getPositions (void) const; 271 271 GeoPnt3fPropertyPtrConst getPositions(UInt32 const index) const; 272 272 273 273 void addPositions(GeoPnt3fPropertyPtrConstArg value); 274 void assignPositions(MFGeoPnt3fProperty Ptr const &value);274 void assignPositions(MFGeoPnt3fPropertyInternalRefPtr const &value); 275 275 void insertPositions( 276 276 UInt32 const uiIndex, … … 291 291 /*! \{ */ 292 292 293 MFGeoUInt32Property Ptr const *getMFLength(void) const;294 MFGeoUInt32Property Ptr const &getLength (void) const;293 MFGeoUInt32PropertyInternalRefPtr const *getMFLength(void) const; 294 MFGeoUInt32PropertyInternalRefPtr const &getLength (void) const; 295 295 GeoUInt32PropertyPtrConst getLength(UInt32 const index) const; 296 296 297 297 void addLength(GeoUInt32PropertyPtrConstArg value); 298 void assignLength(MFGeoUInt32Property Ptr const &value);298 void assignLength(MFGeoUInt32PropertyInternalRefPtr const &value); 299 299 void insertLength( 300 300 UInt32 const uiIndex, … … 315 315 /*! \{ */ 316 316 317 MFGeoUInt8Property Ptr const *getMFTypes(void) const;318 MFGeoUInt8Property Ptr const &getTypes (void) const;317 MFGeoUInt8PropertyInternalRefPtr const *getMFTypes(void) const; 318 MFGeoUInt8PropertyInternalRefPtr const &getTypes (void) const; 319 319 GeoUInt8PropertyPtrConst getTypes(UInt32 const index) const; 320 320 321 321 void addTypes(GeoUInt8PropertyPtrConstArg value); 322 void assignTypes(MFGeoUInt8Property Ptr const &value);322 void assignTypes(MFGeoUInt8PropertyInternalRefPtr const &value); 323 323 void insertTypes( 324 324 UInt32 const uiIndex, … … 339 339 /*! \{ */ 340 340 341 MFGeoColor4fProperty Ptr const *getMFColors(void) const;342 MFGeoColor4fProperty Ptr const &getColors (void) const;341 MFGeoColor4fPropertyInternalRefPtr const *getMFColors(void) const; 342 MFGeoColor4fPropertyInternalRefPtr const &getColors (void) const; 343 343 GeoColor4fPropertyPtrConst getColors(UInt32 const index) const; 344 344 345 345 void addColors(GeoColor4fPropertyPtrConstArg value); 346 void assignColors(MFGeoColor4fProperty Ptr const &value);346 void assignColors(MFGeoColor4fPropertyInternalRefPtr const &value); 347 347 void insertColors( 348 348 UInt32 const uiIndex, … … 363 363 /*! \{ */ 364 364 365 MFGeoVec3fProperty Ptr const *getMFNormals(void) const;366 MFGeoVec3fProperty Ptr const &getNormals (void) const;365 MFGeoVec3fPropertyInternalRefPtr const *getMFNormals(void) const; 366 MFGeoVec3fPropertyInternalRefPtr const &getNormals (void) const; 367 367 GeoVec3fPropertyPtrConst getNormals(UInt32 const index) const; 368 368 369 369 void addNormals(GeoVec3fPropertyPtrConstArg value); 370 void assignNormals(MFGeoVec3fProperty Ptr const &value);370 void assignNormals(MFGeoVec3fPropertyInternalRefPtr const &value); 371 371 void insertNormals( 372 372 UInt32 const uiIndex, … … 415 415 static TypeObject _type; 416 416 417 static void classDescInserter(TypeObject &oType);418 static Char8 *getClassname (void );417 static void classDescInserter(TypeObject &oType); 418 static Char8 const *getClassname (void ); 419 419 420 420 /*---------------------------------------------------------------------*/ … … 422 422 /*! \{ */ 423 423 424 SFNode Ptr_sfRoot;425 MFNode Ptr_mfGeoRoots;426 MFGeometry Ptr_mfGeometries;427 MFChunkMaterial Ptr _mfMaterials;428 MFMaterialChunk Ptr _mfMaterialChunks;429 MFGeoPnt3fProperty Ptr _mfPositions;430 MFGeoUInt32Property Ptr _mfLength;431 MFGeoUInt8Property Ptr _mfTypes;432 MFGeoColor4fProperty Ptr _mfColors;433 MFGeoVec3fProperty Ptr _mfNormals;424 SFNodeInternalRefPtr _sfRoot; 425 MFNodeInternalRefPtr _mfGeoRoots; 426 MFGeometryInternalRefPtr _mfGeometries; 427 MFChunkMaterialInternalRefPtr _mfMaterials; 428 MFMaterialChunkInternalRefPtr _mfMaterialChunks; 429 MFGeoPnt3fPropertyInternalRefPtr _mfPositions; 430 MFGeoUInt32PropertyInternalRefPtr _mfLength; 431 MFGeoUInt8PropertyInternalRefPtr _mfTypes; 432 MFGeoColor4fPropertyInternalRefPtr _mfColors; 433 MFGeoVec3fPropertyInternalRefPtr _mfNormals; 434 434 435 435 /*! \} */ … … 526 526 typedef VTKMapperBase *VTKMapperBaseP; 527 527 528 /** Type specific RefPtr type for VTKMapper. */ 529 typedef RefPtr<VTKMapper> VTKMapperRefPtr; 530 typedef MTRefPtr<VTKMapper> VTKMapperMTRefPtr; 531 532 typedef InternalRefPtr<VTKMapper> VTKMapperInternalRefPtr; 533 typedef InternalRefPtr<VTKMapper> const VTKMapperInternalRefPtrConst; 534 typedef InternalRefPtr<VTKMapper> const VTKMapperInternalRefPtrConstArg; 528 typedef RefCountPtrBuilder<VTKMapper>::Ptr VTKMapperRefPtr; 529 typedef MTRefCountPtrBuilder<VTKMapper>::Ptr VTKMapperMTRefPtr; 530 typedef WeakRefCountPtrBuilder<VTKMapper>::Ptr VTKMapperWeakRefPtr; 531 typedef InternalRefCountPtrBuilder<VTKMapper>::Ptr VTKMapperInternalRefPtr; 532 533 typedef ParentPtrBuilder<VTKMapper>::Ptr VTKMapperParentPtr; 535 534 536 535 typedef boost::mpl::if_<
