- Timestamp:
- 04/02/08 14:28:39 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/Contrib/VTK/OSGVTKMapperBase.cpp
r1070 r1073 137 137 FieldDescriptionBase *pDesc = NULL; 138 138 139 pDesc = new SFNode InternalPtr::Description(140 SFNode InternalPtr::getClassType(),139 pDesc = new SFNodeUnrecPtr::Description( 140 SFNodeUnrecPtr::getClassType(), 141 141 "root", 142 142 "", … … 151 151 152 152 153 pDesc = new MFNode InternalPtr::Description(154 MFNode InternalPtr::getClassType(),153 pDesc = new MFNodeUnrecPtr::Description( 154 MFNodeUnrecPtr::getClassType(), 155 155 "geoRoots", 156 156 "", … … 165 165 166 166 167 pDesc = new MFGeometry InternalPtr::Description(168 MFGeometry InternalPtr::getClassType(),167 pDesc = new MFGeometryUnrecPtr::Description( 168 MFGeometryUnrecPtr::getClassType(), 169 169 "geometries", 170 170 "", … … 179 179 180 180 181 pDesc = new MFChunkMaterial InternalPtr::Description(182 MFChunkMaterial InternalPtr::getClassType(),181 pDesc = new MFChunkMaterialUnrecPtr::Description( 182 MFChunkMaterialUnrecPtr::getClassType(), 183 183 "materials", 184 184 "", … … 193 193 194 194 195 pDesc = new MFMaterialChunk InternalPtr::Description(196 MFMaterialChunk InternalPtr::getClassType(),195 pDesc = new MFMaterialChunkUnrecPtr::Description( 196 MFMaterialChunkUnrecPtr::getClassType(), 197 197 "materialChunks", 198 198 "", … … 207 207 208 208 209 pDesc = new MFGeoPnt3fProperty InternalPtr::Description(210 MFGeoPnt3fProperty InternalPtr::getClassType(),209 pDesc = new MFGeoPnt3fPropertyUnrecPtr::Description( 210 MFGeoPnt3fPropertyUnrecPtr::getClassType(), 211 211 "positions", 212 212 "", … … 221 221 222 222 223 pDesc = new MFGeoUInt32Property InternalPtr::Description(224 MFGeoUInt32Property InternalPtr::getClassType(),223 pDesc = new MFGeoUInt32PropertyUnrecPtr::Description( 224 MFGeoUInt32PropertyUnrecPtr::getClassType(), 225 225 "length", 226 226 "", … … 235 235 236 236 237 pDesc = new MFGeoUInt8Property InternalPtr::Description(238 MFGeoUInt8Property InternalPtr::getClassType(),237 pDesc = new MFGeoUInt8PropertyUnrecPtr::Description( 238 MFGeoUInt8PropertyUnrecPtr::getClassType(), 239 239 "types", 240 240 "", … … 249 249 250 250 251 pDesc = new MFGeoColor4fProperty InternalPtr::Description(252 MFGeoColor4fProperty InternalPtr::getClassType(),251 pDesc = new MFGeoColor4fPropertyUnrecPtr::Description( 252 MFGeoColor4fPropertyUnrecPtr::getClassType(), 253 253 "Colors", 254 254 "", … … 263 263 264 264 265 pDesc = new MFGeoVec3fProperty InternalPtr::Description(266 MFGeoVec3fProperty InternalPtr::getClassType(),265 pDesc = new MFGeoVec3fPropertyUnrecPtr::Description( 266 MFGeoVec3fPropertyUnrecPtr::getClassType(), 267 267 "normals", 268 268 "", … … 427 427 /* Field MFGeoRoots */ 428 428 void 429 VTKMapperBase::addGeoRoots(MFNode InternalPtr::ArgumentType value)429 VTKMapperBase::addGeoRoots(MFNodeUnrecPtr::ArgumentType value) 430 430 { 431 431 if(value == NullFC) … … 438 438 439 439 void 440 VTKMapperBase::assignGeoRoots(MFNode InternalPtr const &value)440 VTKMapperBase::assignGeoRoots(MFNodeUnrecPtr const &value) 441 441 { 442 442 editMField(GeoRootsFieldMask, _mfGeoRoots); … … 448 448 VTKMapperBase::insertGeoRoots( 449 449 UInt32 const uiIndex, 450 MFNode InternalPtr::ArgumentType value)450 MFNodeUnrecPtr::ArgumentType value) 451 451 { 452 452 if(value == NullFC) … … 465 465 VTKMapperBase::replaceGeoRoots( 466 466 UInt32 const uiIndex, 467 MFNode InternalPtr::ArgumentType value)467 MFNodeUnrecPtr::ArgumentType value) 468 468 { 469 469 if(value == NullFC) … … 480 480 bool 481 481 VTKMapperBase::replaceGeoRoots( 482 MFNode InternalPtr::ArgumentType pOldElem,483 MFNode InternalPtr::ArgumentType pNewElem )482 MFNodeUnrecPtr::ArgumentType pOldElem, 483 MFNodeUnrecPtr::ArgumentType pNewElem ) 484 484 { 485 485 bool retVal = false; … … 520 520 bool 521 521 VTKMapperBase::subGeoRoots( 522 MFNode InternalPtr::ArgumentType value)522 MFNodeUnrecPtr::ArgumentType value) 523 523 { 524 524 bool retVal = false; … … 550 550 /* Field MFGeometries */ 551 551 void 552 VTKMapperBase::addGeometries(MFGeometry InternalPtr::ArgumentType value)552 VTKMapperBase::addGeometries(MFGeometryUnrecPtr::ArgumentType value) 553 553 { 554 554 if(value == NullFC) … … 561 561 562 562 void 563 VTKMapperBase::assignGeometries(MFGeometry InternalPtr const &value)563 VTKMapperBase::assignGeometries(MFGeometryUnrecPtr const &value) 564 564 { 565 565 editMField(GeometriesFieldMask, _mfGeometries); … … 571 571 VTKMapperBase::insertGeometries( 572 572 UInt32 const uiIndex, 573 MFGeometry InternalPtr::ArgumentType value)573 MFGeometryUnrecPtr::ArgumentType value) 574 574 { 575 575 if(value == NullFC) … … 588 588 VTKMapperBase::replaceGeometries( 589 589 UInt32 const uiIndex, 590 MFGeometry InternalPtr::ArgumentType value)590 MFGeometryUnrecPtr::ArgumentType value) 591 591 { 592 592 if(value == NullFC) … … 603 603 bool 604 604 VTKMapperBase::replaceGeometries( 605 MFGeometry InternalPtr::ArgumentType pOldElem,606 MFGeometry InternalPtr::ArgumentType pNewElem )605 MFGeometryUnrecPtr::ArgumentType pOldElem, 606 MFGeometryUnrecPtr::ArgumentType pNewElem ) 607 607 { 608 608 bool retVal = false; … … 643 643 bool 644 644 VTKMapperBase::subGeometries( 645 MFGeometry InternalPtr::ArgumentType value)645 MFGeometryUnrecPtr::ArgumentType value) 646 646 { 647 647 bool retVal = false; … … 673 673 /* Field MFMaterials */ 674 674 void 675 VTKMapperBase::addMaterials(MFChunkMaterial InternalPtr::ArgumentType value)675 VTKMapperBase::addMaterials(MFChunkMaterialUnrecPtr::ArgumentType value) 676 676 { 677 677 if(value == NullFC) … … 684 684 685 685 void 686 VTKMapperBase::assignMaterials(MFChunkMaterial InternalPtr const &value)686 VTKMapperBase::assignMaterials(MFChunkMaterialUnrecPtr const &value) 687 687 { 688 688 editMField(MaterialsFieldMask, _mfMaterials); … … 694 694 VTKMapperBase::insertMaterials( 695 695 UInt32 const uiIndex, 696 MFChunkMaterial InternalPtr::ArgumentType value)696 MFChunkMaterialUnrecPtr::ArgumentType value) 697 697 { 698 698 if(value == NullFC) … … 711 711 VTKMapperBase::replaceMaterials( 712 712 UInt32 const uiIndex, 713 MFChunkMaterial InternalPtr::ArgumentType value)713 MFChunkMaterialUnrecPtr::ArgumentType value) 714 714 { 715 715 if(value == NullFC) … … 726 726 bool 727 727 VTKMapperBase::replaceMaterials( 728 MFChunkMaterial InternalPtr::ArgumentType pOldElem,729 MFChunkMaterial InternalPtr::ArgumentType pNewElem )728 MFChunkMaterialUnrecPtr::ArgumentType pOldElem, 729 MFChunkMaterialUnrecPtr::ArgumentType pNewElem ) 730 730 { 731 731 bool retVal = false; … … 766 766 bool 767 767 VTKMapperBase::subMaterials( 768 MFChunkMaterial InternalPtr::ArgumentType value)768 MFChunkMaterialUnrecPtr::ArgumentType value) 769 769 { 770 770 bool retVal = false; … … 796 796 /* Field MFMaterialChunks */ 797 797 void 798 VTKMapperBase::addMaterialChunks(MFMaterialChunk InternalPtr::ArgumentType value)798 VTKMapperBase::addMaterialChunks(MFMaterialChunkUnrecPtr::ArgumentType value) 799 799 { 800 800 if(value == NullFC) … … 807 807 808 808 void 809 VTKMapperBase::assignMaterialChunks(MFMaterialChunk InternalPtr const &value)809 VTKMapperBase::assignMaterialChunks(MFMaterialChunkUnrecPtr const &value) 810 810 { 811 811 editMField(MaterialChunksFieldMask, _mfMaterialChunks); … … 817 817 VTKMapperBase::insertMaterialChunks( 818 818 UInt32 const uiIndex, 819 MFMaterialChunk InternalPtr::ArgumentType value)819 MFMaterialChunkUnrecPtr::ArgumentType value) 820 820 { 821 821 if(value == NullFC) … … 834 834 VTKMapperBase::replaceMaterialChunks( 835 835 UInt32 const uiIndex, 836 MFMaterialChunk InternalPtr::ArgumentType value)836 MFMaterialChunkUnrecPtr::ArgumentType value) 837 837 { 838 838 if(value == NullFC) … … 849 849 bool 850 850 VTKMapperBase::replaceMaterialChunks( 851 MFMaterialChunk InternalPtr::ArgumentType pOldElem,852 MFMaterialChunk InternalPtr::ArgumentType pNewElem )851 MFMaterialChunkUnrecPtr::ArgumentType pOldElem, 852 MFMaterialChunkUnrecPtr::ArgumentType pNewElem ) 853 853 { 854 854 bool retVal = false; … … 889 889 bool 890 890 VTKMapperBase::subMaterialChunks( 891 MFMaterialChunk InternalPtr::ArgumentType value)891 MFMaterialChunkUnrecPtr::ArgumentType value) 892 892 { 893 893 bool retVal = false; … … 919 919 /* Field MFPositions */ 920 920 void 921 VTKMapperBase::addPositions(MFGeoPnt3fProperty InternalPtr::ArgumentType value)921 VTKMapperBase::addPositions(MFGeoPnt3fPropertyUnrecPtr::ArgumentType value) 922 922 { 923 923 if(value == NullFC) … … 930 930 931 931 void 932 VTKMapperBase::assignPositions(MFGeoPnt3fProperty InternalPtr const &value)932 VTKMapperBase::assignPositions(MFGeoPnt3fPropertyUnrecPtr const &value) 933 933 { 934 934 editMField(PositionsFieldMask, _mfPositions); … … 940 940 VTKMapperBase::insertPositions( 941 941 UInt32 const uiIndex, 942 MFGeoPnt3fProperty InternalPtr::ArgumentType value)942 MFGeoPnt3fPropertyUnrecPtr::ArgumentType value) 943 943 { 944 944 if(value == NullFC) … … 957 957 VTKMapperBase::replacePositions( 958 958 UInt32 const uiIndex, 959 MFGeoPnt3fProperty InternalPtr::ArgumentType value)959 MFGeoPnt3fPropertyUnrecPtr::ArgumentType value) 960 960 { 961 961 if(value == NullFC) … … 972 972 bool 973 973 VTKMapperBase::replacePositions( 974 MFGeoPnt3fProperty InternalPtr::ArgumentType pOldElem,975 MFGeoPnt3fProperty InternalPtr::ArgumentType pNewElem )974 MFGeoPnt3fPropertyUnrecPtr::ArgumentType pOldElem, 975 MFGeoPnt3fPropertyUnrecPtr::ArgumentType pNewElem ) 976 976 { 977 977 bool retVal = false; … … 1012 1012 bool 1013 1013 VTKMapperBase::subPositions( 1014 MFGeoPnt3fProperty InternalPtr::ArgumentType value)1014 MFGeoPnt3fPropertyUnrecPtr::ArgumentType value) 1015 1015 { 1016 1016 bool retVal = false; … … 1042 1042 /* Field MFLength */ 1043 1043 void 1044 VTKMapperBase::addLength(MFGeoUInt32Property InternalPtr::ArgumentType value)1044 VTKMapperBase::addLength(MFGeoUInt32PropertyUnrecPtr::ArgumentType value) 1045 1045 { 1046 1046 if(value == NullFC) … … 1053 1053 1054 1054 void 1055 VTKMapperBase::assignLength(MFGeoUInt32Property InternalPtr const &value)1055 VTKMapperBase::assignLength(MFGeoUInt32PropertyUnrecPtr const &value) 1056 1056 { 1057 1057 editMField(LengthFieldMask, _mfLength); … … 1063 1063 VTKMapperBase::insertLength( 1064 1064 UInt32 const uiIndex, 1065 MFGeoUInt32Property InternalPtr::ArgumentType value)1065 MFGeoUInt32PropertyUnrecPtr::ArgumentType value) 1066 1066 { 1067 1067 if(value == NullFC) … … 1080 1080 VTKMapperBase::replaceLength( 1081 1081 UInt32 const uiIndex, 1082 MFGeoUInt32Property InternalPtr::ArgumentType value)1082 MFGeoUInt32PropertyUnrecPtr::ArgumentType value) 1083 1083 { 1084 1084 if(value == NullFC) … … 1095 1095 bool 1096 1096 VTKMapperBase::replaceLength( 1097 MFGeoUInt32Property InternalPtr::ArgumentType pOldElem,1098 MFGeoUInt32Property InternalPtr::ArgumentType pNewElem )1097 MFGeoUInt32PropertyUnrecPtr::ArgumentType pOldElem, 1098 MFGeoUInt32PropertyUnrecPtr::ArgumentType pNewElem ) 1099 1099 { 1100 1100 bool retVal = false; … … 1135 1135 bool 1136 1136 VTKMapperBase::subLength( 1137 MFGeoUInt32Property InternalPtr::ArgumentType value)1137 MFGeoUInt32PropertyUnrecPtr::ArgumentType value) 1138 1138 { 1139 1139 bool retVal = false; … … 1165 1165 /* Field MFTypes */ 1166 1166 void 1167 VTKMapperBase::addTypes(MFGeoUInt8Property InternalPtr::ArgumentType value)1167 VTKMapperBase::addTypes(MFGeoUInt8PropertyUnrecPtr::ArgumentType value) 1168 1168 { 1169 1169 if(value == NullFC) … … 1176 1176 1177 1177 void 1178 VTKMapperBase::assignTypes(MFGeoUInt8Property InternalPtr const &value)1178 VTKMapperBase::assignTypes(MFGeoUInt8PropertyUnrecPtr const &value) 1179 1179 { 1180 1180 editMField(TypesFieldMask, _mfTypes); … … 1186 1186 VTKMapperBase::insertTypes( 1187 1187 UInt32 const uiIndex, 1188 MFGeoUInt8Property InternalPtr::ArgumentType value)1188 MFGeoUInt8PropertyUnrecPtr::ArgumentType value) 1189 1189 { 1190 1190 if(value == NullFC) … … 1203 1203 VTKMapperBase::replaceTypes( 1204 1204 UInt32 const uiIndex, 1205 MFGeoUInt8Property InternalPtr::ArgumentType value)1205 MFGeoUInt8PropertyUnrecPtr::ArgumentType value) 1206 1206 { 1207 1207 if(value == NullFC) … … 1218 1218 bool 1219 1219 VTKMapperBase::replaceTypes( 1220 MFGeoUInt8Property InternalPtr::ArgumentType pOldElem,1221 MFGeoUInt8Property InternalPtr::ArgumentType pNewElem )1220 MFGeoUInt8PropertyUnrecPtr::ArgumentType pOldElem, 1221 MFGeoUInt8PropertyUnrecPtr::ArgumentType pNewElem ) 1222 1222 { 1223 1223 bool retVal = false; … … 1258 1258 bool 1259 1259 VTKMapperBase::subTypes( 1260 MFGeoUInt8Property InternalPtr::ArgumentType value)1260 MFGeoUInt8PropertyUnrecPtr::ArgumentType value) 1261 1261 { 1262 1262 bool retVal = false; … … 1288 1288 /* Field MFColors */ 1289 1289 void 1290 VTKMapperBase::addColors(MFGeoColor4fProperty InternalPtr::ArgumentType value)1290 VTKMapperBase::addColors(MFGeoColor4fPropertyUnrecPtr::ArgumentType value) 1291 1291 { 1292 1292 if(value == NullFC) … … 1299 1299 1300 1300 void 1301 VTKMapperBase::assignColors(MFGeoColor4fProperty InternalPtr const &value)1301 VTKMapperBase::assignColors(MFGeoColor4fPropertyUnrecPtr const &value) 1302 1302 { 1303 1303 editMField(ColorsFieldMask, _mfColors); … … 1309 1309 VTKMapperBase::insertColors( 1310 1310 UInt32 const uiIndex, 1311 MFGeoColor4fProperty InternalPtr::ArgumentType value)1311 MFGeoColor4fPropertyUnrecPtr::ArgumentType value) 1312 1312 { 1313 1313 if(value == NullFC) … … 1326 1326 VTKMapperBase::replaceColors( 1327 1327 UInt32 const uiIndex, 1328 MFGeoColor4fProperty InternalPtr::ArgumentType value)1328 MFGeoColor4fPropertyUnrecPtr::ArgumentType value) 1329 1329 { 1330 1330 if(value == NullFC) … … 1341 1341 bool 1342 1342 VTKMapperBase::replaceColors( 1343 MFGeoColor4fProperty InternalPtr::ArgumentType pOldElem,1344 MFGeoColor4fProperty InternalPtr::ArgumentType pNewElem )1343 MFGeoColor4fPropertyUnrecPtr::ArgumentType pOldElem, 1344 MFGeoColor4fPropertyUnrecPtr::ArgumentType pNewElem ) 1345 1345 { 1346 1346 bool retVal = false; … … 1381 1381 bool 1382 1382 VTKMapperBase::subColors( 1383 MFGeoColor4fProperty InternalPtr::ArgumentType value)1383 MFGeoColor4fPropertyUnrecPtr::ArgumentType value) 1384 1384 { 1385 1385 bool retVal = false; … … 1411 1411 /* Field MFNormals */ 1412 1412 void 1413 VTKMapperBase::addNormals(MFGeoVec3fProperty InternalPtr::ArgumentType value)1413 VTKMapperBase::addNormals(MFGeoVec3fPropertyUnrecPtr::ArgumentType value) 1414 1414 { 1415 1415 if(value == NullFC) … … 1422 1422 1423 1423 void 1424 VTKMapperBase::assignNormals(MFGeoVec3fProperty InternalPtr const &value)1424 VTKMapperBase::assignNormals(MFGeoVec3fPropertyUnrecPtr const &value) 1425 1425 { 1426 1426 editMField(NormalsFieldMask, _mfNormals); … … 1432 1432 VTKMapperBase::insertNormals( 1433 1433 UInt32 const uiIndex, 1434 MFGeoVec3fProperty InternalPtr::ArgumentType value)1434 MFGeoVec3fPropertyUnrecPtr::ArgumentType value) 1435 1435 { 1436 1436 if(value == NullFC) … … 1449 1449 VTKMapperBase::replaceNormals( 1450 1450 UInt32 const uiIndex, 1451 MFGeoVec3fProperty InternalPtr::ArgumentType value)1451 MFGeoVec3fPropertyUnrecPtr::ArgumentType value) 1452 1452 { 1453 1453 if(value == NullFC) … … 1464 1464 bool 1465 1465 VTKMapperBase::replaceNormals( 1466 MFGeoVec3fProperty InternalPtr::ArgumentType pOldElem,1467 MFGeoVec3fProperty InternalPtr::ArgumentType pNewElem )1466 MFGeoVec3fPropertyUnrecPtr::ArgumentType pOldElem, 1467 MFGeoVec3fPropertyUnrecPtr::ArgumentType pNewElem ) 1468 1468 { 1469 1469 bool retVal = false; … … 1504 1504 bool 1505 1505 VTKMapperBase::subNormals( 1506 MFGeoVec3fProperty InternalPtr::ArgumentType value)1506 MFGeoVec3fPropertyUnrecPtr::ArgumentType value) 1507 1507 { 1508 1508 bool retVal = false; … … 1874 1874 GetFieldHandlePtr VTKMapperBase::getHandleRoot(void) const 1875 1875 { 1876 SFNode InternalPtr::GetHandlePtr returnValue(1877 new SFNode InternalPtr::GetHandle(1876 SFNodeUnrecPtr::GetHandlePtr returnValue( 1877 new SFNodeUnrecPtr::GetHandle( 1878 1878 &_sfRoot, 1879 1879 this->getType().getFieldDesc(RootFieldId))); … … 1884 1884 EditFieldHandlePtr VTKMapperBase::editHandleRoot(void) 1885 1885 { 1886 SFNode InternalPtr::EditHandlePtr returnValue(1887 new SFNode InternalPtr::EditHandle(1886 SFNodeUnrecPtr::EditHandlePtr returnValue( 1887 new SFNodeUnrecPtr::EditHandle( 1888 1888 &_sfRoot, 1889 1889 this->getType().getFieldDesc(RootFieldId))); … … 1901 1901 GetFieldHandlePtr VTKMapperBase::getHandleGeoRoots(void) const 1902 1902 { 1903 MFNode InternalPtr::GetHandlePtr returnValue(1904 new MFNode InternalPtr::GetHandle(1903 MFNodeUnrecPtr::GetHandlePtr returnValue( 1904 new MFNodeUnrecPtr::GetHandle( 1905 1905 &_mfGeoRoots, 1906 1906 this->getType().getFieldDesc(GeoRootsFieldId))); … … 1911 1911 EditFieldHandlePtr VTKMapperBase::editHandleGeoRoots(void) 1912 1912 { 1913 MFNode InternalPtr::EditHandlePtr returnValue(1914 new MFNode InternalPtr::EditHandle(1913 MFNodeUnrecPtr::EditHandlePtr returnValue( 1914 new MFNodeUnrecPtr::EditHandle( 1915 1915 &_mfGeoRoots, 1916 1916 this->getType().getFieldDesc(GeoRootsFieldId))); … … 1926 1926 void (VTKMapper::*replaceGeoRootsIndexFunc)( 1927 1927 UInt32 const, 1928 MFNode InternalPtr::ArgumentType) =1928 MFNodeUnrecPtr::ArgumentType) = 1929 1929 &VTKMapper::replaceGeoRoots; 1930 1930 returnValue->setReplaceIndexFunc( … … 1934 1934 1935 1935 bool (VTKMapper::*replaceGeoRootsObjectFunc)( 1936 MFNode InternalPtr::ArgumentType,1937 MFNode InternalPtr::ArgumentType ) =1936 MFNodeUnrecPtr::ArgumentType, 1937 MFNodeUnrecPtr::ArgumentType ) = 1938 1938 &VTKMapper::replaceGeoRoots; 1939 1939 returnValue->setReplaceObjectFunc( … … 1950 1950 1951 1951 bool (VTKMapper::*subGeoRootsObjectFunc)( 1952 MFNode InternalPtr::ArgumentType) =1952 MFNodeUnrecPtr::ArgumentType) = 1953 1953 &VTKMapper::subGeoRoots; 1954 1954 returnValue->setSubObjectFunc( … … 1968 1968 GetFieldHandlePtr VTKMapperBase::getHandleGeometries(void) const 1969 1969 { 1970 MFGeometry InternalPtr::GetHandlePtr returnValue(1971 new MFGeometry InternalPtr::GetHandle(1970 MFGeometryUnrecPtr::GetHandlePtr returnValue( 1971 new MFGeometryUnrecPtr::GetHandle( 1972 1972 &_mfGeometries, 1973 1973 this->getType().getFieldDesc(GeometriesFieldId))); … … 1978 1978 EditFieldHandlePtr VTKMapperBase::editHandleGeometries(void) 1979 1979 { 1980 MFGeometry InternalPtr::EditHandlePtr returnValue(1981 new MFGeometry InternalPtr::EditHandle(1980 MFGeometryUnrecPtr::EditHandlePtr returnValue( 1981 new MFGeometryUnrecPtr::EditHandle( 1982 1982 &_mfGeometries, 1983 1983 this->getType().getFieldDesc(GeometriesFieldId))); … … 1993 1993 void (VTKMapper::*replaceGeometriesIndexFunc)( 1994 1994 UInt32 const, 1995 MFGeometry InternalPtr::ArgumentType) =1995 MFGeometryUnrecPtr::ArgumentType) = 1996 1996 &VTKMapper::replaceGeometries; 1997 1997 returnValue->setReplaceIndexFunc( … … 2001 2001 2002 2002 bool (VTKMapper::*replaceGeometriesObjectFunc)( 2003 MFGeometry InternalPtr::ArgumentType,2004 MFGeometry InternalPtr::ArgumentType ) =2003 MFGeometryUnrecPtr::ArgumentType, 2004 MFGeometryUnrecPtr::ArgumentType ) = 2005 2005 &VTKMapper::replaceGeometries; 2006 2006 returnValue->setReplaceObjectFunc( … … 2017 2017 2018 2018 bool (VTKMapper::*subGeometriesObjectFunc)( 2019 MFGeometry InternalPtr::ArgumentType) =2019 MFGeometryUnrecPtr::ArgumentType) = 2020 2020 &VTKMapper::subGeometries; 2021 2021 returnValue->setSubObjectFunc( … … 2035 2035 GetFieldHandlePtr VTKMapperBase::getHandleMaterials(void) const 2036 2036 { 2037 MFChunkMaterial InternalPtr::GetHandlePtr returnValue(2038 new MFChunkMaterial InternalPtr::GetHandle(2037 MFChunkMaterialUnrecPtr::GetHandlePtr returnValue( 2038 new MFChunkMaterialUnrecPtr::GetHandle( 2039 2039 &_mfMaterials, 2040 2040 this->getType().getFieldDesc(MaterialsFieldId))); … … 2045 2045 EditFieldHandlePtr VTKMapperBase::editHandleMaterials(void) 2046 2046 { 2047 MFChunkMaterial InternalPtr::EditHandlePtr returnValue(2048 new MFChunkMaterial InternalPtr::EditHandle(2047 MFChunkMaterialUnrecPtr::EditHandlePtr returnValue( 2048 new MFChunkMaterialUnrecPtr::EditHandle( 2049 2049 &_mfMaterials, 2050 2050 this->getType().getFieldDesc(MaterialsFieldId))); … … 2060 2060 void (VTKMapper::*replaceMaterialsIndexFunc)( 2061 2061 UInt32 const, 2062 MFChunkMaterial InternalPtr::ArgumentType) =2062 MFChunkMaterialUnrecPtr::ArgumentType) = 2063 2063 &VTKMapper::replaceMaterials; 2064 2064 returnValue->setReplaceIndexFunc( … … 2068 2068 2069 2069 bool (VTKMapper::*replaceMaterialsObjectFunc)( 2070 MFChunkMaterial InternalPtr::ArgumentType,2071 MFChunkMaterial InternalPtr::ArgumentType ) =2070 MFChunkMaterialUnrecPtr::ArgumentType, 2071 MFChunkMaterialUnrecPtr::ArgumentType ) = 2072 2072 &VTKMapper::replaceMaterials; 2073 2073 returnValue->setReplaceObjectFunc( … … 2084 2084 2085 2085 bool (VTKMapper::*subMaterialsObjectFunc)( 2086 MFChunkMaterial InternalPtr::ArgumentType) =2086 MFChunkMaterialUnrecPtr::ArgumentType) = 2087 2087 &VTKMapper::subMaterials; 2088 2088 returnValue->setSubObjectFunc( … … 2102 2102 GetFieldHandlePtr VTKMapperBase::getHandleMaterialChunks(void) const 2103 2103 { 2104 MFMaterialChunk InternalPtr::GetHandlePtr returnValue(2105 new MFMaterialChunk InternalPtr::GetHandle(2104 MFMaterialChunkUnrecPtr::GetHandlePtr returnValue( 2105 new MFMaterialChunkUnrecPtr::GetHandle( 2106 2106 &_mfMaterialChunks, 2107 2107 this->getType().getFieldDesc(MaterialChunksFieldId))); … … 2112 2112 EditFieldHandlePtr VTKMapperBase::editHandleMaterialChunks(void) 2113 2113 { 2114 MFMaterialChunk InternalPtr::EditHandlePtr returnValue(2115 new MFMaterialChunk InternalPtr::EditHandle(2114 MFMaterialChunkUnrecPtr::EditHandlePtr returnValue( 2115 new MFMaterialChunkUnrecPtr::EditHandle( 2116 2116 &_mfMaterialChunks, 2117 2117 this->getType().getFieldDesc(MaterialChunksFieldId))); … … 2127 2127 void (VTKMapper::*replaceMaterialChunksIndexFunc)( 2128 2128 UInt32 const, 2129 MFMaterialChunk InternalPtr::ArgumentType) =2129 MFMaterialChunkUnrecPtr::ArgumentType) = 2130 2130 &VTKMapper::replaceMaterialChunks; 2131 2131 returnValue->setReplaceIndexFunc( … … 2135 2135 2136 2136 bool (VTKMapper::*replaceMaterialChunksObjectFunc)( 2137 MFMaterialChunk InternalPtr::ArgumentType,2138 MFMaterialChunk InternalPtr::ArgumentType ) =2137 MFMaterialChunkUnrecPtr::ArgumentType, 2138 MFMaterialChunkUnrecPtr::ArgumentType ) = 2139 2139 &VTKMapper::replaceMaterialChunks; 2140 2140 returnValue->setReplaceObjectFunc( … … 2151 2151 2152 2152 bool (VTKMapper::*subMaterialChunksObjectFunc)( 2153 MFMaterialChunk InternalPtr::ArgumentType) =2153 MFMaterialChunkUnrecPtr::ArgumentType) = 2154 2154 &VTKMapper::subMaterialChunks; 2155 2155 returnValue->setSubObjectFunc( … … 2169 2169 GetFieldHandlePtr VTKMapperBase::getHandlePositions(void) const 2170 2170 { 2171 MFGeoPnt3fProperty InternalPtr::GetHandlePtr returnValue(2172 new MFGeoPnt3fProperty InternalPtr::GetHandle(2171 MFGeoPnt3fPropertyUnrecPtr::GetHandlePtr returnValue( 2172 new MFGeoPnt3fPropertyUnrecPtr::GetHandle( 2173 2173 &_mfPositions, 2174 2174 this->getType().getFieldDesc(PositionsFieldId))); … … 2179 2179 EditFieldHandlePtr VTKMapperBase::editHandlePositions(void) 2180 2180 { 2181 MFGeoPnt3fProperty InternalPtr::EditHandlePtr returnValue(2182 new MFGeoPnt3fProperty InternalPtr::EditHandle(2181 MFGeoPnt3fPropertyUnrecPtr::EditHandlePtr returnValue( 2182 new MFGeoPnt3fPropertyUnrecPtr::EditHandle( 2183 2183 &_mfPositions, 2184 2184 this->getType().getFieldDesc(PositionsFieldId))); … … 2194 2194 void (VTKMapper::*replacePositionsIndexFunc)( 2195 2195 UInt32 const, 2196 MFGeoPnt3fProperty InternalPtr::ArgumentType) =2196 MFGeoPnt3fPropertyUnrecPtr::ArgumentType) = 2197 2197 &VTKMapper::replacePositions; 2198 2198 returnValue->setReplaceIndexFunc( … … 2202 2202 2203 2203 bool (VTKMapper::*replacePositionsObjectFunc)( 2204 MFGeoPnt3fProperty InternalPtr::ArgumentType,2205 MFGeoPnt3fProperty InternalPtr::ArgumentType ) =2204 MFGeoPnt3fPropertyUnrecPtr::ArgumentType, 2205 MFGeoPnt3fPropertyUnrecPtr::ArgumentType ) = 2206 2206 &VTKMapper::replacePositions; 2207 2207 returnValue->setReplaceObjectFunc( … … 2218 2218 2219 2219 bool (VTKMapper::*subPositionsObjectFunc)( 2220 MFGeoPnt3fProperty InternalPtr::ArgumentType) =2220 MFGeoPnt3fPropertyUnrecPtr::ArgumentType) = 2221 2221 &VTKMapper::subPositions; 2222 2222 returnValue->setSubObjectFunc( … … 2236 2236 GetFieldHandlePtr VTKMapperBase::getHandleLength(void) const 2237 2237 { 2238 MFGeoUInt32Property InternalPtr::GetHandlePtr returnValue(2239 new MFGeoUInt32Property InternalPtr::GetHandle(2238 MFGeoUInt32PropertyUnrecPtr::GetHandlePtr returnValue( 2239 new MFGeoUInt32PropertyUnrecPtr::GetHandle( 2240 2240 &_mfLength, 2241 2241 this->getType().getFieldDesc(LengthFieldId))); … … 2246 2246 EditFieldHandlePtr VTKMapperBase::editHandleLength(void) 2247 2247 { 2248 MFGeoUInt32Property InternalPtr::EditHandlePtr returnValue(2249 new MFGeoUInt32Property InternalPtr::EditHandle(2248 MFGeoUInt32PropertyUnrecPtr::EditHandlePtr returnValue( 2249 new MFGeoUInt32PropertyUnrecPtr::EditHandle( 2250 2250 &_mfLength, 2251 2251 this->getType().getFieldDesc(LengthFieldId))); … … 2261 2261 void (VTKMapper::*replaceLengthIndexFunc)( 2262 2262 UInt32 const, 2263 MFGeoUInt32Property InternalPtr::ArgumentType) =2263 MFGeoUInt32PropertyUnrecPtr::ArgumentType) = 2264 2264 &VTKMapper::replaceLength; 2265 2265 returnValue->setReplaceIndexFunc( … … 2269 2269 2270 2270 bool (VTKMapper::*replaceLengthObjectFunc)( 2271 MFGeoUInt32Property InternalPtr::ArgumentType,2272 MFGeoUInt32Property InternalPtr::ArgumentType ) =2271 MFGeoUInt32PropertyUnrecPtr::ArgumentType, 2272 MFGeoUInt32PropertyUnrecPtr::ArgumentType ) = 2273 2273 &VTKMapper::replaceLength; 2274 2274 returnValue->setReplaceObjectFunc( … … 2285 2285 2286 2286 bool (VTKMapper::*subLengthObjectFunc)( 2287 MFGeoUInt32Property InternalPtr::ArgumentType) =2287 MFGeoUInt32PropertyUnrecPtr::ArgumentType) = 2288 2288 &VTKMapper::subLength; 2289 2289 returnValue->setSubObjectFunc( … … 2303 2303 GetFieldHandlePtr VTKMapperBase::getHandleTypes(void) const 2304 2304 { 2305 MFGeoUInt8Property InternalPtr::GetHandlePtr returnValue(2306 new MFGeoUInt8Property InternalPtr::GetHandle(2305 MFGeoUInt8PropertyUnrecPtr::GetHandlePtr returnValue( 2306 new MFGeoUInt8PropertyUnrecPtr::GetHandle( 2307 2307 &_mfTypes, 2308 2308 this->getType().getFieldDesc(TypesFieldId))); … … 2313 2313 EditFieldHandlePtr VTKMapperBase::editHandleTypes(void) 2314 2314 { 2315 MFGeoUInt8Property InternalPtr::EditHandlePtr returnValue(2316 new MFGeoUInt8Property InternalPtr::EditHandle(2315 MFGeoUInt8PropertyUnrecPtr::EditHandlePtr returnValue( 2316 new MFGeoUInt8PropertyUnrecPtr::EditHandle( 2317 2317 &_mfTypes, 2318 2318 this->getType().getFieldDesc(TypesFieldId))); … … 2328 2328 void (VTKMapper::*replaceTypesIndexFunc)( 2329 2329 UInt32 const, 2330 MFGeoUInt8Property InternalPtr::ArgumentType) =2330 MFGeoUInt8PropertyUnrecPtr::ArgumentType) = 2331 2331 &VTKMapper::replaceTypes; 2332 2332 returnValue->setReplaceIndexFunc( … … 2336 2336 2337 2337 bool (VTKMapper::*replaceTypesObjectFunc)( 2338 MFGeoUInt8Property InternalPtr::ArgumentType,2339 MFGeoUInt8Property InternalPtr::ArgumentType ) =2338 MFGeoUInt8PropertyUnrecPtr::ArgumentType, 2339 MFGeoUInt8PropertyUnrecPtr::ArgumentType ) = 2340 2340 &VTKMapper::replaceTypes; 2341 2341 returnValue->setReplaceObjectFunc( … … 2352 2352 2353 2353 bool (VTKMapper::*subTypesObjectFunc)( 2354 MFGeoUInt8Property InternalPtr::ArgumentType) =2354 MFGeoUInt8PropertyUnrecPtr::ArgumentType) = 2355 2355 &VTKMapper::subTypes; 2356 2356 returnValue->setSubObjectFunc( … … 2370 2370 GetFieldHandlePtr VTKMapperBase::getHandleColors(void) const 2371 2371 { 2372 MFGeoColor4fProperty InternalPtr::GetHandlePtr returnValue(2373 new MFGeoColor4fProperty InternalPtr::GetHandle(2372 MFGeoColor4fPropertyUnrecPtr::GetHandlePtr returnValue( 2373 new MFGeoColor4fPropertyUnrecPtr::GetHandle( 2374 2374 &_mfColors, 2375 2375 this->getType().getFieldDesc(ColorsFieldId))); … … 2380 2380 EditFieldHandlePtr VTKMapperBase::editHandleColors(void) 2381 2381 { 2382 MFGeoColor4fProperty InternalPtr::EditHandlePtr returnValue(2383 new MFGeoColor4fProperty InternalPtr::EditHandle(2382 MFGeoColor4fPropertyUnrecPtr::EditHandlePtr returnValue( 2383 new MFGeoColor4fPropertyUnrecPtr::EditHandle( 2384 2384 &_mfColors, 2385 2385 this->getType().getFieldDesc(ColorsFieldId))); … … 2395 2395 void (VTKMapper::*replaceColorsIndexFunc)( 2396 2396 UInt32 const, 2397 MFGeoColor4fProperty InternalPtr::ArgumentType) =2397 MFGeoColor4fPropertyUnrecPtr::ArgumentType) = 2398 2398 &VTKMapper::replaceColors; 2399 2399 returnValue->setReplaceIndexFunc( … … 2403 2403 2404 2404 bool (VTKMapper::*replaceColorsObjectFunc)( 2405 MFGeoColor4fProperty InternalPtr::ArgumentType,2406 MFGeoColor4fProperty InternalPtr::ArgumentType ) =2405 MFGeoColor4fPropertyUnrecPtr::ArgumentType, 2406 MFGeoColor4fPropertyUnrecPtr::ArgumentType ) = 2407 2407 &VTKMapper::replaceColors; 2408 2408 returnValue->setReplaceObjectFunc( … … 2419 2419 2420 2420 bool (VTKMapper::*subColorsObjectFunc)( 2421 MFGeoColor4fProperty InternalPtr::ArgumentType) =2421 MFGeoColor4fPropertyUnrecPtr::ArgumentType) = 2422 2422 &VTKMapper::subColors; 2423 2423 returnValue->setSubObjectFunc( … … 2437 2437 GetFieldHandlePtr VTKMapperBase::getHandleNormals(void) const 2438 2438 { 2439 MFGeoVec3fProperty InternalPtr::GetHandlePtr returnValue(2440 new MFGeoVec3fProperty InternalPtr::GetHandle(2439 MFGeoVec3fPropertyUnrecPtr::GetHandlePtr returnValue( 2440 new MFGeoVec3fPropertyUnrecPtr::GetHandle( 2441 2441 &_mfNormals, 2442 2442 this->getType().getFieldDesc(NormalsFieldId))); … … 2447 2447 EditFieldHandlePtr VTKMapperBase::editHandleNormals(void) 2448 2448 { 2449 MFGeoVec3fProperty InternalPtr::EditHandlePtr returnValue(2450 new MFGeoVec3fProperty InternalPtr::EditHandle(2449 MFGeoVec3fPropertyUnrecPtr::EditHandlePtr returnValue( 2450 new MFGeoVec3fPropertyUnrecPtr::EditHandle( 2451 2451 &_mfNormals, 2452 2452 this->getType().getFieldDesc(NormalsFieldId))); … … 2462 2462 void (VTKMapper::*replaceNormalsIndexFunc)( 2463 2463 UInt32 const, 2464 MFGeoVec3fProperty InternalPtr::ArgumentType) =2464 MFGeoVec3fPropertyUnrecPtr::ArgumentType) = 2465 2465 &VTKMapper::replaceNormals; 2466 2466 returnValue->setReplaceIndexFunc( … … 2470 2470 2471 2471 bool (VTKMapper::*replaceNormalsObjectFunc)( 2472 MFGeoVec3fProperty InternalPtr::ArgumentType,2473 MFGeoVec3fProperty InternalPtr::ArgumentType ) =2472 MFGeoVec3fPropertyUnrecPtr::ArgumentType, 2473 MFGeoVec3fPropertyUnrecPtr::ArgumentType ) = 2474 2474 &VTKMapper::replaceNormals; 2475 2475 returnValue->setReplaceObjectFunc( … … 2486 2486 2487 2487 bool (VTKMapper::*subNormalsObjectFunc)( 2488 MFGeoVec3fProperty InternalPtr::ArgumentType) =2488 MFGeoVec3fPropertyUnrecPtr::ArgumentType) = 2489 2489 &VTKMapper::subNormals; 2490 2490 returnValue->setSubObjectFunc( … … 2551 2551 OSG_END_NAMESPACE 2552 2552 2553 #include "OSG SChildFCPointerField.ins"2554 #include "OSG SInternalFCPointerField.ins"2555 #include "OSG SParentFCPointerField.ins"2556 #include "OSG SWeakFCPointerField.ins"2557 #include "OSG MChildFCPointerField.ins"2558 #include "OSG MInternalFCPointerField.ins"2559 #include "OSG MParentFCPointerField.ins"2560 #include "OSG MWeakFCPointerField.ins"2553 #include "OSGChildPointerSField.ins" 2554 #include "OSGParentPointerSField.ins" 2555 #include "OSGUnrecordedPointerSField.ins" 2556 #include "OSGWeakPointerSField.ins" 2557 #include "OSGChildPointerMField.ins" 2558 #include "OSGParentPointerMField.ins" 2559 #include "OSGUnrecordedPointerMField.ins" 2560 #include "OSGWeakPointerMField.ins" 2561 2561 2562 2562 OSG_BEGIN_NAMESPACE … … 2565 2565 DataType FieldTraits<VTKMapperPtr>::_type( 2566 2566 "VTKMapperPtr", 2567 "GroupPtr" ); 2568 DataType FieldTraits<VTKMapperParentPtr>::_type( 2569 "VTKMapperParentPtr", 2570 "GroupParentPtr"); 2567 "GroupPtr" ); 2571 2568 #endif 2572 2569 2573 2570 OSG_FIELDTRAITS_GETTYPE(VTKMapperPtr) 2574 OSG_FIELDTRAITS_GETTYPE(VTKMapperParentPtr) 2575 2576 OSG_FIELD_DLLEXPORT_DEF1(SChildFCPointerField, VTKMapper); 2577 OSG_FIELD_DLLEXPORT_DEF1(SInternalFCPointerField, VTKMapper); 2578 OSG_FIELD_DLLEXPORT_DEF1(SParentFCPointerField, VTKMapper); 2579 OSG_FIELD_DLLEXPORT_DEF1(SWeakFCPointerField, VTKMapper); 2580 2581 OSG_FIELD_DLLEXPORT_DEF1(MChildFCPointerField, VTKMapper); 2582 OSG_FIELD_DLLEXPORT_DEF1(MInternalFCPointerField, VTKMapper); 2583 OSG_FIELD_DLLEXPORT_DEF1(MParentFCPointerField, VTKMapper); 2584 OSG_FIELD_DLLEXPORT_DEF1(MWeakFCPointerField, VTKMapper); 2571 2572 OSG_FIELD_DLLEXPORT_DEF1(ChildPointerSField, VTKMapper); 2573 OSG_FIELD_DLLEXPORT_DEF1(ParentPointerSField, VTKMapper); 2574 OSG_FIELD_DLLEXPORT_DEF1(UnrecordedPointerSField, VTKMapper); 2575 OSG_FIELD_DLLEXPORT_DEF1(WeakPointerSField, VTKMapper); 2576 2577 OSG_FIELD_DLLEXPORT_DEF1(ChildPointerMField, VTKMapper); 2578 OSG_FIELD_DLLEXPORT_DEF1(ParentPointerMField, VTKMapper); 2579 OSG_FIELD_DLLEXPORT_DEF1(UnrecordedPointerMField, VTKMapper); 2580 OSG_FIELD_DLLEXPORT_DEF1(WeakPointerMField, VTKMapper); 2585 2581 2586 2582
