Show
Ignore:
Timestamp:
04/18/08 04:10:31 (8 months ago)
Author:
vossg
Message:

changed: pointer cleanup base rebuild

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Contrib/VTK/OSGVTKMapperBase.cpp

    r1161 r1178  
    458458 
    459459 
    460 void VTKMapperBase::pushToGeoRoots(NodePtrConstArg value) 
     460void VTKMapperBase::pushToGeoRoots(const NodePtr value) 
    461461{ 
    462462    if(value == NullFC) 
     
    487487} 
    488488 
    489 void VTKMapperBase::insertIntoGeoRoots(UInt32                uiIndex, 
    490                                                    NodePtrConstArg value   ) 
     489void VTKMapperBase::insertIntoGeoRoots(      UInt32         uiIndex, 
     490                                                   const NodePtr value   ) 
    491491{ 
    492492    if(value == NullFC) 
     
    504504} 
    505505 
    506 void VTKMapperBase::replaceInGeoRoots(UInt32                uiIndex, 
    507                                                        NodePtrConstArg value   ) 
     506void VTKMapperBase::replaceInGeoRoots(      UInt32         uiIndex, 
     507                                                       const NodePtr value   ) 
    508508{ 
    509509    if(value == NullFC) 
     
    524524} 
    525525 
    526 void VTKMapperBase::replaceInGeoRoots(NodePtrConstArg pOldElem, 
    527                                                         NodePtrConstArg pNewElem) 
     526void VTKMapperBase::replaceInGeoRoots(const NodePtr pOldElem, 
     527                                                        const NodePtr pNewElem) 
    528528{ 
    529529    if(pNewElem == NullFC) 
     
    563563} 
    564564 
    565 void VTKMapperBase::removeFromGeoRoots(NodePtrConstArg value) 
     565void VTKMapperBase::removeFromGeoRoots(const NodePtr value) 
    566566{ 
    567567    Int32 iElemIdx = _mfGeoRoots.findIndex(value); 
     
    588588} 
    589589 
    590 void VTKMapperBase::pushToGeometries(GeometryPtrConstArg value) 
     590void VTKMapperBase::pushToGeometries(const GeometryPtr value) 
    591591{ 
    592592    if(value == NullFC) 
     
    617617} 
    618618 
    619 void VTKMapperBase::insertIntoGeometries(UInt32                uiIndex, 
    620                                                    GeometryPtrConstArg value   ) 
     619void VTKMapperBase::insertIntoGeometries(      UInt32         uiIndex, 
     620                                                   const GeometryPtr value   ) 
    621621{ 
    622622    if(value == NullFC) 
     
    634634} 
    635635 
    636 void VTKMapperBase::replaceInGeometries(UInt32                uiIndex, 
    637                                                        GeometryPtrConstArg value   ) 
     636void VTKMapperBase::replaceInGeometries(      UInt32         uiIndex, 
     637                                                       const GeometryPtr value   ) 
    638638{ 
    639639    if(value == NullFC) 
     
    654654} 
    655655 
    656 void VTKMapperBase::replaceInGeometries(GeometryPtrConstArg pOldElem, 
    657                                                         GeometryPtrConstArg pNewElem) 
     656void VTKMapperBase::replaceInGeometries(const GeometryPtr pOldElem, 
     657                                                        const GeometryPtr pNewElem) 
    658658{ 
    659659    if(pNewElem == NullFC) 
     
    693693} 
    694694 
    695 void VTKMapperBase::removeFromGeometries(GeometryPtrConstArg value) 
     695void VTKMapperBase::removeFromGeometries(const GeometryPtr value) 
    696696{ 
    697697    Int32 iElemIdx = _mfGeometries.findIndex(value); 
     
    718718} 
    719719 
    720 void VTKMapperBase::pushToMaterials(ChunkMaterialPtrConstArg value) 
     720void VTKMapperBase::pushToMaterials(const ChunkMaterialPtr value) 
    721721{ 
    722722    if(value == NullFC) 
     
    747747} 
    748748 
    749 void VTKMapperBase::insertIntoMaterials(UInt32                uiIndex, 
    750                                                    ChunkMaterialPtrConstArg value   ) 
     749void VTKMapperBase::insertIntoMaterials(      UInt32         uiIndex, 
     750                                                   const ChunkMaterialPtr value   ) 
    751751{ 
    752752    if(value == NullFC) 
     
    764764} 
    765765 
    766 void VTKMapperBase::replaceInMaterials(UInt32                uiIndex, 
    767                                                        ChunkMaterialPtrConstArg value   ) 
     766void VTKMapperBase::replaceInMaterials(      UInt32         uiIndex, 
     767                                                       const ChunkMaterialPtr value   ) 
    768768{ 
    769769    if(value == NullFC) 
     
    784784} 
    785785 
    786 void VTKMapperBase::replaceInMaterials(ChunkMaterialPtrConstArg pOldElem, 
    787                                                         ChunkMaterialPtrConstArg pNewElem) 
     786void VTKMapperBase::replaceInMaterials(const ChunkMaterialPtr pOldElem, 
     787                                                        const ChunkMaterialPtr pNewElem) 
    788788{ 
    789789    if(pNewElem == NullFC) 
     
    823823} 
    824824 
    825 void VTKMapperBase::removeFromMaterials(ChunkMaterialPtrConstArg value) 
     825void VTKMapperBase::removeFromMaterials(const ChunkMaterialPtr value) 
    826826{ 
    827827    Int32 iElemIdx = _mfMaterials.findIndex(value); 
     
    848848} 
    849849 
    850 void VTKMapperBase::pushToMaterialChunks(MaterialChunkPtrConstArg value) 
     850void VTKMapperBase::pushToMaterialChunks(const MaterialChunkPtr value) 
    851851{ 
    852852    if(value == NullFC) 
     
    877877} 
    878878 
    879 void VTKMapperBase::insertIntoMaterialChunks(UInt32                uiIndex, 
    880                                                    MaterialChunkPtrConstArg value   ) 
     879void VTKMapperBase::insertIntoMaterialChunks(      UInt32         uiIndex, 
     880                                                   const MaterialChunkPtr value   ) 
    881881{ 
    882882    if(value == NullFC) 
     
    894894} 
    895895 
    896 void VTKMapperBase::replaceInMaterialChunks(UInt32                uiIndex, 
    897                                                        MaterialChunkPtrConstArg value   ) 
     896void VTKMapperBase::replaceInMaterialChunks(      UInt32         uiIndex, 
     897                                                       const MaterialChunkPtr value   ) 
    898898{ 
    899899    if(value == NullFC) 
     
    914914} 
    915915 
    916 void VTKMapperBase::replaceInMaterialChunks(MaterialChunkPtrConstArg pOldElem, 
    917                                                         MaterialChunkPtrConstArg pNewElem) 
     916void VTKMapperBase::replaceInMaterialChunks(const MaterialChunkPtr pOldElem, 
     917                                                        const MaterialChunkPtr pNewElem) 
    918918{ 
    919919    if(pNewElem == NullFC) 
     
    953953} 
    954954 
    955 void VTKMapperBase::removeFromMaterialChunks(MaterialChunkPtrConstArg value) 
     955void VTKMapperBase::removeFromMaterialChunks(const MaterialChunkPtr value) 
    956956{ 
    957957    Int32 iElemIdx = _mfMaterialChunks.findIndex(value); 
     
    978978} 
    979979 
    980 void VTKMapperBase::pushToPositions(GeoPnt3fPropertyPtrConstArg value) 
     980void VTKMapperBase::pushToPositions(const GeoPnt3fPropertyPtr value) 
    981981{ 
    982982    if(value == NullFC) 
     
    10071007} 
    10081008 
    1009 void VTKMapperBase::insertIntoPositions(UInt32                uiIndex, 
    1010                                                    GeoPnt3fPropertyPtrConstArg value   ) 
     1009void VTKMapperBase::insertIntoPositions(      UInt32         uiIndex, 
     1010                                                   const GeoPnt3fPropertyPtr value   ) 
    10111011{ 
    10121012    if(value == NullFC) 
     
    10241024} 
    10251025 
    1026 void VTKMapperBase::replaceInPositions(UInt32                uiIndex, 
    1027                                                        GeoPnt3fPropertyPtrConstArg value   ) 
     1026void VTKMapperBase::replaceInPositions(      UInt32         uiIndex, 
     1027                                                       const GeoPnt3fPropertyPtr value   ) 
    10281028{ 
    10291029    if(value == NullFC) 
     
    10441044} 
    10451045 
    1046 void VTKMapperBase::replaceInPositions(GeoPnt3fPropertyPtrConstArg pOldElem, 
    1047                                                         GeoPnt3fPropertyPtrConstArg pNewElem) 
     1046void VTKMapperBase::replaceInPositions(const GeoPnt3fPropertyPtr pOldElem, 
     1047                                                        const GeoPnt3fPropertyPtr pNewElem) 
    10481048{ 
    10491049    if(pNewElem == NullFC) 
     
    10831083} 
    10841084 
    1085 void VTKMapperBase::removeFromPositions(GeoPnt3fPropertyPtrConstArg value) 
     1085void VTKMapperBase::removeFromPositions(const GeoPnt3fPropertyPtr value) 
    10861086{ 
    10871087    Int32 iElemIdx = _mfPositions.findIndex(value); 
     
    11081108} 
    11091109 
    1110 void VTKMapperBase::pushToLength(GeoUInt32PropertyPtrConstArg value) 
     1110void VTKMapperBase::pushToLength(const GeoUInt32PropertyPtr value) 
    11111111{ 
    11121112    if(value == NullFC) 
     
    11371137} 
    11381138 
    1139 void VTKMapperBase::insertIntoLength(UInt32                uiIndex, 
    1140                                                    GeoUInt32PropertyPtrConstArg value   ) 
     1139void VTKMapperBase::insertIntoLength(      UInt32         uiIndex, 
     1140                                                   const GeoUInt32PropertyPtr value   ) 
    11411141{ 
    11421142    if(value == NullFC) 
     
    11541154} 
    11551155 
    1156 void VTKMapperBase::replaceInLength(UInt32                uiIndex, 
    1157                                                        GeoUInt32PropertyPtrConstArg value   ) 
     1156void VTKMapperBase::replaceInLength(      UInt32         uiIndex, 
     1157                                                       const GeoUInt32PropertyPtr value   ) 
    11581158{ 
    11591159    if(value == NullFC) 
     
    11741174} 
    11751175 
    1176 void VTKMapperBase::replaceInLength(GeoUInt32PropertyPtrConstArg pOldElem, 
    1177                                                         GeoUInt32PropertyPtrConstArg pNewElem) 
     1176void VTKMapperBase::replaceInLength(const GeoUInt32PropertyPtr pOldElem, 
     1177                                                        const GeoUInt32PropertyPtr pNewElem) 
    11781178{ 
    11791179    if(pNewElem == NullFC) 
     
    12131213} 
    12141214 
    1215 void VTKMapperBase::removeFromLength(GeoUInt32PropertyPtrConstArg value) 
     1215void VTKMapperBase::removeFromLength(const GeoUInt32PropertyPtr value) 
    12161216{ 
    12171217    Int32 iElemIdx = _mfLength.findIndex(value); 
     
    12381238} 
    12391239 
    1240 void VTKMapperBase::pushToTypes(GeoUInt8PropertyPtrConstArg value) 
     1240void VTKMapperBase::pushToTypes(const GeoUInt8PropertyPtr value) 
    12411241{ 
    12421242    if(value == NullFC) 
     
    12671267} 
    12681268 
    1269 void VTKMapperBase::insertIntoTypes(UInt32                uiIndex, 
    1270                                                    GeoUInt8PropertyPtrConstArg value   ) 
     1269void VTKMapperBase::insertIntoTypes(      UInt32         uiIndex, 
     1270                                                   const GeoUInt8PropertyPtr value   ) 
    12711271{ 
    12721272    if(value == NullFC) 
     
    12841284} 
    12851285 
    1286 void VTKMapperBase::replaceInTypes(UInt32                uiIndex, 
    1287                                                        GeoUInt8PropertyPtrConstArg value   ) 
     1286void VTKMapperBase::replaceInTypes(      UInt32         uiIndex, 
     1287                                                       const GeoUInt8PropertyPtr value   ) 
    12881288{ 
    12891289    if(value == NullFC) 
     
    13041304} 
    13051305 
    1306 void VTKMapperBase::replaceInTypes(GeoUInt8PropertyPtrConstArg pOldElem, 
    1307                                                         GeoUInt8PropertyPtrConstArg pNewElem) 
     1306void VTKMapperBase::replaceInTypes(const GeoUInt8PropertyPtr pOldElem, 
     1307                                                        const GeoUInt8PropertyPtr pNewElem) 
    13081308{ 
    13091309    if(pNewElem == NullFC) 
     
    13431343} 
    13441344 
    1345 void VTKMapperBase::removeFromTypes(GeoUInt8PropertyPtrConstArg value) 
     1345void VTKMapperBase::removeFromTypes(const GeoUInt8PropertyPtr value) 
    13461346{ 
    13471347    Int32 iElemIdx = _mfTypes.findIndex(value); 
     
    13681368} 
    13691369 
    1370 void VTKMapperBase::pushToColors(GeoColor4fPropertyPtrConstArg value) 
     1370void VTKMapperBase::pushToColors(const GeoColor4fPropertyPtr value) 
    13711371{ 
    13721372    if(value == NullFC) 
     
    13971397} 
    13981398 
    1399 void VTKMapperBase::insertIntoColors(UInt32                uiIndex, 
    1400                                                    GeoColor4fPropertyPtrConstArg value   ) 
     1399void VTKMapperBase::insertIntoColors(      UInt32         uiIndex, 
     1400                                                   const GeoColor4fPropertyPtr value   ) 
    14011401{ 
    14021402    if(value == NullFC) 
     
    14141414} 
    14151415 
    1416 void VTKMapperBase::replaceInColors(UInt32                uiIndex, 
    1417                                                        GeoColor4fPropertyPtrConstArg value   ) 
     1416void VTKMapperBase::replaceInColors(      UInt32         uiIndex, 
     1417                                                       const GeoColor4fPropertyPtr value   ) 
    14181418{ 
    14191419    if(value == NullFC) 
     
    14341434} 
    14351435 
    1436 void VTKMapperBase::replaceInColors(GeoColor4fPropertyPtrConstArg pOldElem, 
    1437                                                         GeoColor4fPropertyPtrConstArg pNewElem) 
     1436void VTKMapperBase::replaceInColors(const GeoColor4fPropertyPtr pOldElem, 
     1437                                                        const GeoColor4fPropertyPtr pNewElem) 
    14381438{ 
    14391439    if(pNewElem == NullFC) 
     
    14731473} 
    14741474 
    1475 void VTKMapperBase::removeFromColors(GeoColor4fPropertyPtrConstArg value) 
     1475void VTKMapperBase::removeFromColors(const GeoColor4fPropertyPtr value) 
    14761476{ 
    14771477    Int32 iElemIdx = _mfColors.findIndex(value); 
     
    14981498} 
    14991499 
    1500 void VTKMapperBase::pushToNormals(GeoVec3fPropertyPtrConstArg value) 
     1500void VTKMapperBase::pushToNormals(const GeoVec3fPropertyPtr value) 
    15011501{ 
    15021502    if(value == NullFC) 
     
    15271527} 
    15281528 
    1529 void VTKMapperBase::insertIntoNormals(UInt32                uiIndex, 
    1530                                                    GeoVec3fPropertyPtrConstArg value   ) 
     1529void VTKMapperBase::insertIntoNormals(      UInt32         uiIndex, 
     1530                                                   const GeoVec3fPropertyPtr value   ) 
    15311531{ 
    15321532    if(value == NullFC) 
     
    15441544} 
    15451545 
    1546 void VTKMapperBase::replaceInNormals(UInt32                uiIndex, 
    1547                                                        GeoVec3fPropertyPtrConstArg value   ) 
     1546void VTKMapperBase::replaceInNormals(      UInt32         uiIndex, 
     1547                                                       const GeoVec3fPropertyPtr value   ) 
    15481548{ 
    15491549    if(value == NullFC) 
     
    15641564} 
    15651565 
    1566 void VTKMapperBase::replaceInNormals(GeoVec3fPropertyPtrConstArg pOldElem, 
    1567                                                         GeoVec3fPropertyPtrConstArg pNewElem) 
     1566void VTKMapperBase::replaceInNormals(const GeoVec3fPropertyPtr pOldElem, 
     1567                                                        const GeoVec3fPropertyPtr pNewElem) 
    15681568{ 
    15691569    if(pNewElem == NullFC) 
     
    16031603} 
    16041604 
    1605 void VTKMapperBase::removeFromNormals(GeoVec3fPropertyPtrConstArg value) 
     1605void VTKMapperBase::removeFromNormals(const GeoVec3fPropertyPtr value) 
    16061606{ 
    16071607    Int32 iElemIdx = _mfNormals.findIndex(value);