- Timestamp:
- 05/05/08 07:12:19 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Contrib/Manipulators/OSGSimpleGeometryExt.cpp
r1168 r1198 272 272 273 273 274 NodeTransitPtr makeSelection(Node PtrgeoN)274 NodeTransitPtr makeSelection(Node *geoN) 275 275 { 276 276 NodeTransitPtr transN = Node::create(); … … 288 288 } 289 289 290 GeometryTransitPtr makeSelectionGeo(Node PtrgeoN)290 GeometryTransitPtr makeSelectionGeo(Node *geoN) 291 291 { 292 292 Pnt3f min, max; … … 304 304 LineChunkUnrecPtr lineChunk = LineChunk::create(); 305 305 306 Geometry Ptr selGeoC = dynamic_cast<GeometryPtr>(geoN->getCore());307 if( selGeoC != N ullFC)308 { 309 GeoPnt3fProperty Ptr pnts = dynamic_cast<GeoPnt3fPropertyPtr>(selGeoC->getPositions());306 Geometry *selGeoC = dynamic_cast<Geometry *>(geoN->getCore()); 307 if( selGeoC != NULL ) 308 { 309 GeoPnt3fProperty *pnts = dynamic_cast<GeoPnt3fProperty *>(selGeoC->getPositions()); 310 310 // GeoPositions3f::StoredFieldType *p = pnts->getFieldPtr(); 311 311 … … 350 350 PolygonChunkUnrecPtr _gayaPolygonChunk; 351 351 352 PolygonChunk PtrgetPolygonChunk(const UInt16 faces,353 const UInt16 mode )354 { 355 if( _gayaPolygonChunk == N ullFC)352 PolygonChunk *getPolygonChunk(const UInt16 faces, 353 const UInt16 mode ) 354 { 355 if( _gayaPolygonChunk == NULL ) 356 356 { 357 357 _gayaPolygonChunk = PolygonChunk::create(); … … 372 372 MaterialChunkRecPtr _gayaMaterialChunk; 373 373 374 MaterialChunk PtrgetMaterialChunk(const Color4f &ambientColor,375 const Color4f &diffuseColor,376 const Color4f &specularColor,377 const bool lit )378 { 379 if( _gayaMaterialChunk == N ullFC)374 MaterialChunk *getMaterialChunk(const Color4f &ambientColor, 375 const Color4f &diffuseColor, 376 const Color4f &specularColor, 377 const bool lit ) 378 { 379 if( _gayaMaterialChunk == NULL ) 380 380 { 381 381 _gayaMaterialChunk = MaterialChunk::create(); … … 393 393 ChunkMaterialRecPtr _gayaSelectionMaterial; 394 394 395 ChunkMaterial PtrgetSelectionMaterial()396 { 397 if( _gayaSelectionMaterial == N ullFC)395 ChunkMaterial *getSelectionMaterial() 396 { 397 if( _gayaSelectionMaterial == NULL ) 398 398 { 399 399 _gayaSelectionMaterial = ChunkMaterial::create();
