Changeset 1018
- Timestamp:
- 11/19/07 17:57:29 (8 months ago)
- Files:
-
- branches/Carsten_PtrWork2/Source/Contrib/Manipulators/OSGManipulatorBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/Contrib/VTK/OSGVTKMapperBase.cpp (modified) (45 diffs)
- branches/Carsten_PtrWork2/Source/System/Cluster/Window/Base/OSGClusterWindowBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/Depreciated/State/OSGCubeTextureChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Depreciated/State/OSGTextureChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.h (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGAttachmentContainerFieldTraits.h (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGAttachmentContainerMFields.h (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGAttachmentContainerSFields.h (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGContainerTypeInst.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMChildFCPointerField.h (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMChildFCPointerField.inl (modified) (4 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMFCPointerFieldBase.h (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGMParentFCPointerField.inl (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGSFCPointerFieldBase.h (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Misc/OSGContainerPool.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Misc/OSGContainerPoolBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Mixins/OSGDynamicAttachmentMixin.h (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Mixins/OSGDynamicAttachmentMixin.inl (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Node/OSGNode.cpp (modified) (19 diffs)
- branches/Carsten_PtrWork2/Source/System/FieldContainer/Node/OSGNodeCore.cpp (modified) (4 diffs)
- branches/Carsten_PtrWork2/Source/System/FileIO/OSG/OSGOSGLoader.cpp (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/FileIO/OSG/OSGOSGWriter.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork2/Source/System/Image/ES/OSGImageBase.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/Image/OSGImageGenericAtt.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Image/OSGImageGenericAtt.h (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/Image/WS/OSGImage.cpp (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/Image/WS/OSGImageBase.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGChunkMaterial.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGChunkMaterialBase.cpp (modified) (7 diffs)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGMultiPassMaterial.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGMultiPassMaterialBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGSimpleMaterial.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGSwitchMaterial.cpp (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/Material/Base/OSGSwitchMaterialBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/Material/Simple/OSGSimpleTexturedMaterialBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Base/OSGDrawableStatsAttachment.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Base/OSGMaterialDrawableBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Geometry/Base/ES/OSGGeometryBase.cpp (modified) (10 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Geometry/Base/WS/OSGGeometryBase.cpp (modified) (10 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoMultiPropertyBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Particles/OSGParticlesBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Terrain/QuadTree/OSGQuadTreeTerrainBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Terrain/QuadTree/OSGTiledQuadTreeTerrain.cpp (modified) (28 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Drawables/Terrain/QuadTree/OSGTiledQuadTreeTerrainBase.cpp (modified) (10 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Base/OSGChunkOverrideGroup.cpp (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Base/OSGChunkOverrideGroup.h (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Base/OSGChunkOverrideGroup.inl (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Base/OSGChunkOverrideGroupBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Base/OSGLightBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Base/OSGMaterialGroupBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/DynamicStateGenerators/OSGCubeMapGeneratorBase.cpp (modified) (6 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/DynamicStateGenerators/OSGDynamicStateGeneratorBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Light/Shadow/Base/OSGShadowMapEngineBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Misc/OSGMultiCoreBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Misc/OSGProxyGroupBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Misc/OSGVisitSubTreeBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Stage/OSGAlgorithmStageBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Stage/OSGSimpleStageBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/NodeCores/Groups/Stage/OSGStageBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/RenderingBackend/OSGDrawEnv.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/State/Auxiliary/OSGTextureSelectChunkBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/State/Base/ES/OSGTextureObjChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/Base/OSGLightChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/Base/OSGStateBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/State/Base/WS/OSGTextureObjChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/OpenGL/OSGClipPlaneChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/OpenGL/OSGCubeTextureObjChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/OpenGL/OSGTexGenChunk.fcd (modified) (4 diffs)
- branches/Carsten_PtrWork2/Source/System/State/OpenGL/OSGTexGenChunkBase.cpp (modified) (21 diffs)
- branches/Carsten_PtrWork2/Source/System/State/OpenGL/OSGTexGenChunkBase.h (modified) (8 diffs)
- branches/Carsten_PtrWork2/Source/System/State/OpenGL/OSGTexGenChunkBase.inl (modified) (4 diffs)
- branches/Carsten_PtrWork2/Source/System/State/SHL/OSGSHLChunk.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/SHL/OSGSHLParameterChunkBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/SHL/OSGShaderParameterChunk.fcd (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/State/SHL/OSGShaderParameterChunkBase.cpp (modified) (15 diffs)
- branches/Carsten_PtrWork2/Source/System/State/SHL/OSGShaderParameterChunkBase.h (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/State/SHL/OSGShaderParameterChunkBase.inl (modified) (6 diffs)
- branches/Carsten_PtrWork2/Source/System/State/SHL/Parameter/OSGShaderParameter.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/State/SHL/Parameter/OSGShaderParameterBase.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/Background/OSGPolygonBackgroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Background/OSGSkyBackgroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Background/OSGTextureBackgroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Background/OSGTextureGrabBackgroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGCameraBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGCameraDecoratorBase.cpp (modified) (6 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGViewport.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGViewportBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGWindow.cpp (modified) (2 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGWindow.fcd (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Base/OSGWindowBase.cpp (modified) (8 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/Camera/OSGProjectionCameraDecoratorBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Foreground/OSGGrabForegroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Foreground/OSGImageForegroundBase.cpp (modified) (5 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/Foreground/OSGPolygonForegroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/Foreground/OSGTextureGrabForegroundBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/FrameBufferObjects/OSGFBOViewportBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Source/System/Window/FrameBufferObjects/OSGFrameBufferObject.cpp (modified) (3 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/FrameBufferObjects/OSGFrameBufferObjectBase.cpp (modified) (6 diffs)
- branches/Carsten_PtrWork2/Source/System/Window/FrameBufferObjects/OSGTextureBufferBase.cpp (modified) (1 diff)
- branches/Carsten_PtrWork2/Tools/fcd2code/TemplateFieldContainerBase_cpp.txt (modified) (17 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/Contrib/Manipulators/OSGManipulatorBase.cpp
r1017 r1018 892 892 if(source != NULL) 893 893 { 894 895 894 this->setTarget(source->getTarget()); 896 897 895 this->setActiveSubHandle(source->getActiveSubHandle()); 898 899 896 this->setViewport(source->getViewport()); 900 901 897 this->setHandleXNode(source->getHandleXNode()); 902 903 898 this->setHandleYNode(source->getHandleYNode()); 904 905 899 this->setHandleZNode(source->getHandleZNode()); 906 907 900 this->setTransXNode(source->getTransXNode()); 908 909 901 this->setTransYNode(source->getTransYNode()); 910 911 902 this->setTransZNode(source->getTransZNode()); 912 913 903 this->setMaterialX(source->getMaterialX()); 914 915 904 this->setMaterialY(source->getMaterialY()); 916 917 905 this->setMaterialZ(source->getMaterialZ()); 918 919 906 this->setAxisLinesN(source->getAxisLinesN()); 920 907 } branches/Carsten_PtrWork2/Source/Contrib/VTK/OSGVTKMapperBase.cpp
r1017 r1018 441 441 editMField(GeoRootsFieldMask, _mfGeoRoots); 442 442 443 MFNodeInternalPtr::iterator fieldIt = _mfGeoRoots.begin();443 GeoRootsFieldType::iterator fieldIt = _mfGeoRoots.begin(); 444 444 445 445 fieldIt += uiIndex; … … 472 472 return; 473 473 474 MFNodeInternalPtr::iterator fieldIt =474 GeoRootsFieldType::iterator fieldIt = 475 475 _mfGeoRoots.find(pOldElem); 476 476 … … 490 490 editMField(GeoRootsFieldMask, _mfGeoRoots); 491 491 492 MFNodeInternalPtr::iterator fieldIt = _mfGeoRoots.begin();492 GeoRootsFieldType::iterator fieldIt = _mfGeoRoots.begin(); 493 493 494 494 fieldIt += uiIndex; … … 502 502 MFNodeInternalPtr::ArgumentType value) 503 503 { 504 MFNodeInternalPtr::iterator fieldIt =504 GeoRootsFieldType::iterator fieldIt = 505 505 _mfGeoRoots.find(value); 506 506 … … 554 554 editMField(GeometriesFieldMask, _mfGeometries); 555 555 556 MFGeometryInternalPtr::iterator fieldIt = _mfGeometries.begin();556 GeometriesFieldType::iterator fieldIt = _mfGeometries.begin(); 557 557 558 558 fieldIt += uiIndex; … … 585 585 return; 586 586 587 MFGeometryInternalPtr::iterator fieldIt =587 GeometriesFieldType::iterator fieldIt = 588 588 _mfGeometries.find(pOldElem); 589 589 … … 603 603 editMField(GeometriesFieldMask, _mfGeometries); 604 604 605 MFGeometryInternalPtr::iterator fieldIt = _mfGeometries.begin();605 GeometriesFieldType::iterator fieldIt = _mfGeometries.begin(); 606 606 607 607 fieldIt += uiIndex; … … 615 615 MFGeometryInternalPtr::ArgumentType value) 616 616 { 617 MFGeometryInternalPtr::iterator fieldIt =617 GeometriesFieldType::iterator fieldIt = 618 618 _mfGeometries.find(value); 619 619 … … 667 667 editMField(MaterialsFieldMask, _mfMaterials); 668 668 669 M FChunkMaterialInternalPtr::iterator fieldIt = _mfMaterials.begin();669 MaterialsFieldType::iterator fieldIt = _mfMaterials.begin(); 670 670 671 671 fieldIt += uiIndex; … … 698 698 return; 699 699 700 M FChunkMaterialInternalPtr::iterator fieldIt =700 MaterialsFieldType::iterator fieldIt = 701 701 _mfMaterials.find(pOldElem); 702 702 … … 716 716 editMField(MaterialsFieldMask, _mfMaterials); 717 717 718 M FChunkMaterialInternalPtr::iterator fieldIt = _mfMaterials.begin();718 MaterialsFieldType::iterator fieldIt = _mfMaterials.begin(); 719 719 720 720 fieldIt += uiIndex; … … 728 728 MFChunkMaterialInternalPtr::ArgumentType value) 729 729 { 730 M FChunkMaterialInternalPtr::iterator fieldIt =730 MaterialsFieldType::iterator fieldIt = 731 731 _mfMaterials.find(value); 732 732 … … 780 780 editMField(MaterialChunksFieldMask, _mfMaterialChunks); 781 781 782 M FMaterialChunkInternalPtr::iterator fieldIt = _mfMaterialChunks.begin();782 MaterialChunksFieldType::iterator fieldIt = _mfMaterialChunks.begin(); 783 783 784 784 fieldIt += uiIndex; … … 811 811 return; 812 812 813 M FMaterialChunkInternalPtr::iterator fieldIt =813 MaterialChunksFieldType::iterator fieldIt = 814 814 _mfMaterialChunks.find(pOldElem); 815 815 … … 829 829 editMField(MaterialChunksFieldMask, _mfMaterialChunks); 830 830 831 M FMaterialChunkInternalPtr::iterator fieldIt = _mfMaterialChunks.begin();831 MaterialChunksFieldType::iterator fieldIt = _mfMaterialChunks.begin(); 832 832 833 833 fieldIt += uiIndex; … … 841 841 MFMaterialChunkInternalPtr::ArgumentType value) 842 842 { 843 M FMaterialChunkInternalPtr::iterator fieldIt =843 MaterialChunksFieldType::iterator fieldIt = 844 844 _mfMaterialChunks.find(value); 845 845 … … 893 893 editMField(PositionsFieldMask, _mfPositions); 894 894 895 MFGeoPnt3fPropertyInternalPtr::iterator fieldIt = _mfPositions.begin();895 PositionsFieldType::iterator fieldIt = _mfPositions.begin(); 896 896 897 897 fieldIt += uiIndex; … … 924 924 return; 925 925 926 MFGeoPnt3fPropertyInternalPtr::iterator fieldIt =926 PositionsFieldType::iterator fieldIt = 927 927 _mfPositions.find(pOldElem); 928 928 … … 942 942 editMField(PositionsFieldMask, _mfPositions); 943 943 944 MFGeoPnt3fPropertyInternalPtr::iterator fieldIt = _mfPositions.begin();944 PositionsFieldType::iterator fieldIt = _mfPositions.begin(); 945 945 946 946 fieldIt += uiIndex; … … 954 954 MFGeoPnt3fPropertyInternalPtr::ArgumentType value) 955 955 { 956 MFGeoPnt3fPropertyInternalPtr::iterator fieldIt =956 PositionsFieldType::iterator fieldIt = 957 957 _mfPositions.find(value); 958 958 … … 1006 1006 editMField(LengthFieldMask, _mfLength); 1007 1007 1008 MFGeoUInt32PropertyInternalPtr::iterator fieldIt = _mfLength.begin();1008 LengthFieldType::iterator fieldIt = _mfLength.begin(); 1009 1009 1010 1010 fieldIt += uiIndex; … … 1037 1037 return; 1038 1038 1039 MFGeoUInt32PropertyInternalPtr::iterator fieldIt =1039 LengthFieldType::iterator fieldIt = 1040 1040 _mfLength.find(pOldElem); 1041 1041 … … 1055 1055 editMField(LengthFieldMask, _mfLength); 1056 1056 1057 MFGeoUInt32PropertyInternalPtr::iterator fieldIt = _mfLength.begin();1057 LengthFieldType::iterator fieldIt = _mfLength.begin(); 1058 1058 1059 1059 fieldIt += uiIndex; … … 1067 1067 MFGeoUInt32PropertyInternalPtr::ArgumentType value) 1068 1068 { 1069 MFGeoUInt32PropertyInternalPtr::iterator fieldIt =1069 LengthFieldType::iterator fieldIt = 1070 1070 _mfLength.find(value); 1071 1071 … … 1119 1119 editMField(TypesFieldMask, _mfTypes); 1120 1120 1121 MFGeoUInt8PropertyInternalPtr::iterator fieldIt = _mfTypes.begin();1121 TypesFieldType::iterator fieldIt = _mfTypes.begin(); 1122 1122 1123 1123 fieldIt += uiIndex; … … 1150 1150 return; 1151 1151 1152 MFGeoUInt8PropertyInternalPtr::iterator fieldIt =1152 TypesFieldType::iterator fieldIt = 1153 1153 _mfTypes.find(pOldElem); 1154 1154 … … 1168 1168 editMField(TypesFieldMask, _mfTypes); 1169 1169 1170 MFGeoUInt8PropertyInternalPtr::iterator fieldIt = _mfTypes.begin();1170 TypesFieldType::iterator fieldIt = _mfTypes.begin(); 1171 1171 1172 1172 fieldIt += uiIndex; … … 1180 1180 MFGeoUInt8PropertyInternalPtr::ArgumentType value) 1181 1181 { 1182 MFGeoUInt8PropertyInternalPtr::iterator fieldIt =1182 TypesFieldType::iterator fieldIt = 1183 1183 _mfTypes.find(value); 1184 1184 … … 1232 1232 editMField(ColorsFieldMask, _mfColors); 1233 1233 1234 MFGeoColor4fPropertyInternalPtr::iterator fieldIt = _mfColors.begin();1234 ColorsFieldType::iterator fieldIt = _mfColors.begin(); 1235 1235 1236 1236 fieldIt += uiIndex; … … 1263 1263 return; 1264 1264 1265 MFGeoColor4fPropertyInternalPtr::iterator fieldIt =1265 ColorsFieldType::iterator fieldIt = 1266 1266 _mfColors.find(pOldElem); 1267 1267 … … 1281 1281 editMField(ColorsFieldMask, _mfColors); 1282 1282 1283 MFGeoColor4fPropertyInternalPtr::iterator fieldIt = _mfColors.begin();1283 ColorsFieldType::iterator fieldIt = _mfColors.begin(); 1284 1284 1285 1285 fieldIt += uiIndex; … … 1293 1293 MFGeoColor4fPropertyInternalPtr::ArgumentType value) 1294 1294 { 1295 MFGeoColor4fPropertyInternalPtr::iterator fieldIt =1295 ColorsFieldType::iterator fieldIt = 1296 1296 _mfColors.find(value); 1297 1297 … … 1345 1345 editMField(NormalsFieldMask, _mfNormals); 1346 1346 1347 MFGeoVec3fPropertyInternalPtr::iterator fieldIt = _mfNormals.begin();1347 NormalsFieldType::iterator fieldIt = _mfNormals.begin(); 1348 1348 1349 1349 fieldIt += uiIndex; … … 1376 1376 return; 1377 1377 1378 MFGeoVec3fPropertyInternalPtr::iterator fieldIt =1378 NormalsFieldType::iterator fieldIt = 1379 1379 _mfNormals.find(pOldElem); 1380 1380 … … 1394 1394 editMField(NormalsFieldMask, _mfNormals); 1395 1395 1396 MFGeoVec3fPropertyInternalPtr::iterator fieldIt = _mfNormals.begin();1396 NormalsFieldType::iterator fieldIt = _mfNormals.begin(); 1397 1397 1398 1398 fieldIt += uiIndex; … … 1406 1406 MFGeoVec3fPropertyInternalPtr::ArgumentType value) 1407 1407 { 1408 MFGeoVec3fPropertyInternalPtr::iterator fieldIt =1408 NormalsFieldType::iterator fieldIt = 1409 1409 _mfNormals.find(value); 1410 1410 … … 1652 1652 if(source != NULL) 1653 1653 { 1654 1655 1654 this->setRoot(source->getRoot()); 1656 1657 MFNodeInternalPtr::const_iterator GeoRootsIt = 1655 GeoRootsFieldType::const_iterator GeoRootsIt = 1658 1656 source->_mfGeoRoots.begin(); 1659 MFNodeInternalPtr::const_iterator GeoRootsEnd =1657 GeoRootsFieldType::const_iterator GeoRootsEnd = 1660 1658 source->_mfGeoRoots.end (); 1661 1659 … … 1666 1664 ++GeoRootsIt; 1667 1665 } 1668 1669 MFGeometryInternalPtr::const_iterator GeometriesIt = 1666 GeometriesFieldType::const_iterator GeometriesIt = 1670 1667 source->_mfGeometries.begin(); 1671 MFGeometryInternalPtr::const_iterator GeometriesEnd =1668 GeometriesFieldType::const_iterator GeometriesEnd = 1672 1669 source->_mfGeometries.end (); 1673 1670 … … 1678 1675 ++GeometriesIt; 1679 1676 } 1680 1681 MFChunkMaterialInternalPtr::const_iterator MaterialsIt = 1677 MaterialsFieldType::const_iterator MaterialsIt = 1682 1678 source->_mfMaterials.begin(); 1683 M FChunkMaterialInternalPtr::const_iterator MaterialsEnd =1679 MaterialsFieldType::const_iterator MaterialsEnd = 1684 1680 source->_mfMaterials.end (); 1685 1681 … … 1690 1686 ++MaterialsIt; 1691 1687 } 1692 1693 MFMaterialChunkInternalPtr::const_iterator MaterialChunksIt = 1688 MaterialChunksFieldType::const_iterator MaterialChunksIt = 1694 1689 source->_mfMaterialChunks.begin(); 1695 M FMaterialChunkInternalPtr::const_iterator MaterialChunksEnd =1690 MaterialChunksFieldType::const_iterator MaterialChunksEnd = 1696 1691 source->_mfMaterialChunks.end (); 1697 1692 … … 1702 1697 ++MaterialChunksIt; 1703 1698 } 1704 1705 MFGeoPnt3fPropertyInternalPtr::const_iterator PositionsIt = 1699 PositionsFieldType::const_iterator PositionsIt = 1706 1700 source->_mfPositions.begin(); 1707 MFGeoPnt3fPropertyInternalPtr::const_iterator PositionsEnd =1701 PositionsFieldType::const_iterator PositionsEnd = 1708 1702 source->_mfPositions.end (); 1709 1703 … … 1714 1708 ++PositionsIt; 1715 1709 } 1716 1717 MFGeoUInt32PropertyInternalPtr::const_iterator LengthIt = 1710 LengthFieldType::const_iterator LengthIt = 1718 1711 source->_mfLength.begin(); 1719 MFGeoUInt32PropertyInternalPtr::const_iterator LengthEnd =1712 LengthFieldType::const_iterator LengthEnd = 1720 1713 source->_mfLength.end (); 1721 1714 … … 1726 1719 ++LengthIt; 1727 1720 } 1728 1729 MFGeoUInt8PropertyInternalPtr::const_iterator TypesIt = 1721 TypesFieldType::const_iterator TypesIt = 1730 1722 source->_mfTypes.begin(); 1731 MFGeoUInt8PropertyInternalPtr::const_iterator TypesEnd =1723 TypesFieldType::const_iterator TypesEnd = 1732 1724 source->_mfTypes.end (); 1733 1725 … … 1738 1730 ++TypesIt; 1739 1731 } 1740 1741 MFGeoColor4fPropertyInternalPtr::const_iterator ColorsIt = 1732 ColorsFieldType::const_iterator ColorsIt = 1742 1733 source->_mfColors.begin(); 1743 MFGeoColor4fPropertyInternalPtr::const_iterator ColorsEnd =1734 ColorsFieldType::const_iterator ColorsEnd = 1744 1735 source->_mfColors.end (); 1745 1736 … … 1750 1741 ++ColorsIt; 1751 1742 } 1752 1753 MFGeoVec3fPropertyInternalPtr::const_iterator NormalsIt = 1743 NormalsFieldType::const_iterator NormalsIt = 1754 1744 source->_mfNormals.begin(); 1755 MFGeoVec3fPropertyInternalPtr::const_iterator NormalsEnd =1745 NormalsFieldType::const_iterator NormalsEnd = 1756 1746 source->_mfNormals.end (); 1757 1747 branches/Carsten_PtrWork2/Source/System/Cluster/Window/Base/OSGClusterWindowBase.cpp
r1017 r1018 812 812 if(source != NULL) 813 813 { 814 815 814 this->setClientWindow(source->getClientWindow()); 816 817 815 this->setComposer(source->getComposer()); 818 816 } branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSortLastWindowBase.cpp
r1017 r1018 248 248 editMField(GroupNodesFieldMask, _mfGroupNodes); 249 249 250 MFNodeInternalPtr::iterator fieldIt = _mfGroupNodes.begin();250 GroupNodesFieldType::iterator fieldIt = _mfGroupNodes.begin(); 251 251 252 252 fieldIt += uiIndex; … … 279 279 return; 280 280 281 MFNodeInternalPtr::iterator fieldIt =281 GroupNodesFieldType::iterator fieldIt = 282 282 _mfGroupNodes.find(pOldElem); 283 283 … … 297 297 editMField(GroupNodesFieldMask, _mfGroupNodes); 298 298 299 MFNodeInternalPtr::iterator fieldIt = _mfGroupNodes.begin();299 GroupNodesFieldType::iterator fieldIt = _mfGroupNodes.begin(); 300 300 301 301 fieldIt += uiIndex; … … 309 309 MFNodeInternalPtr::ArgumentType value) 310 310 { 311 MFNodeInternalPtr::iterator fieldIt =311 GroupNodesFieldType::iterator fieldIt = 312 312 _mfGroupNodes.find(value); 313 313 … … 460 460 if(source != NULL) 461 461 { 462 463 MFNodeInternalPtr::const_iterator GroupNodesIt = 462 GroupNodesFieldType::const_iterator GroupNodesIt = 464 463 source->_mfGroupNodes.begin(); 465 MFNodeInternalPtr::const_iterator GroupNodesEnd =464 GroupNodesFieldType::const_iterator GroupNodesEnd = 466 465 source->_mfGroupNodes.end (); 467 466 branches/Carsten_PtrWork2/Source/System/Depreciated/State/OSGCubeTextureChunkBase.cpp
r1017 r1018 519 519 if(source != NULL) 520 520 { 521 522 521 this->setPosZImage(source->getPosZImage()); 523 524 522 this->setPosXImage(source->getPosXImage()); 525 526 523 this->setNegXImage(source->getNegXImage()); 527 528 524 this->setPosYImage(source->getPosYImage()); 529 530 525 this->setNegYImage(source->getNegYImage()); 531 526 } branches/Carsten_PtrWork2/Source/System/Depreciated/State/OSGTextureChunkBase.cpp
r1017 r1018 2817 2817 if(source != NULL) 2818 2818 { 2819 2820 2819 this->setImage(source->getImage()); 2821 2820 } branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.cpp
r1017 r1018 57 57 FieldDescriptionBase *pDesc; 58 58 59 typedef MF ParentFieldContainerPtr::Description SFDesc;59 typedef MFFieldContainerParentPtr::Description SFDesc; 60 60 61 61 pDesc = new SFDesc( 62 MF ParentFieldContainerPtr::getClassType(),62 MFFieldContainerParentPtr::getClassType(), 63 63 "parents", 64 64 "", … … 193 193 { 194 194 FieldContainerParentPtr pTypedParent( 195 dynamic_cast<FieldContainerParentPtr::Object *>(pParent .getPointer()),196 pParent.getChildrenFieldId());195 dynamic_cast<FieldContainerParentPtr::Object *>(pParent), 196 childrenFieldId ); 197 197 198 198 if(pTypedParent.getPointer() != NullFC) … … 220 220 { 221 221 FieldContainerParentPtr pTypedParent( 222 dynamic_cast<FieldContainerParentPtr::Object *>(pParent .getPointer()),223 pParent.getChildrenFildId());222 dynamic_cast<FieldContainerParentPtr::Object *>(pParent), 223 childrenFieldId ); 224 224 225 225 if(pTypedParent != NullFC) … … 266 266 GetFieldHandlePtr FieldContainerAttachment::getHandleParents(void) const 267 267 { 268 MF ParentFieldContainerPtr::GetHandlePtr returnValue(269 new MF ParentFieldContainerPtr::GetHandle(268 MFFieldContainerParentPtr::GetHandlePtr returnValue( 269 new MFFieldContainerParentPtr::GetHandle( 270 270 &_mfParents, 271 271 this->getType().getFieldDesc(ParentsFieldId))); branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGFieldContainerAttachment.h
r1017 r1018 60 60 typedef FieldContainer Inherited; 61 61 62 typedef MFFieldContainerParentPtr ParentsFieldType; 63 typedef SFBool InternalFieldType; 64 62 65 /*---------------------------------------------------------------------*/ 63 66 /*! \name dcast */ … … 66 69 OSG_GEN_INTERNALPTR(FieldContainerAttachment); 67 70 71 typedef WeakRefCountPtrBuilder<FieldContainerAttachment>::Ptr ObjWeakRefPtr; 72 typedef MTRefCountPtrBuilder <FieldContainerAttachment>::Ptr ObjMTRefPtr; 73 typedef RefCountPtrBuilder <FieldContainerAttachment>::Ptr ObjRefPtr; 74 typedef ParentPtrBuilder <FieldContainerAttachment>::Ptr ObjParentPtr; 75 68 76 /*! \} */ 69 77 /*---------------------------------------------------------------------*/ … … 250 258 OSG_GEN_CONTAINERPTR(FieldContainerAttachment); 251 259 252 typedef RefPtr<FieldContainerAttachmentPtr>253 FieldContainerAttachmentRefPtr;254 typedef WeakPtr<FieldContainerAttachmentPtr>255 FieldContainerAttachmentWeakPtr;260 typedef FieldContainerAttachment::ObjRefPtr FieldContainerAttachmentRefPtr; 261 typedef FieldContainerAttachment::ObjMTRefPtr FieldContainerAttachmentMTRefPtr; 262 typedef FieldContainerAttachment::ObjWeakRefPtr FieldContainerAttachmentWeakRefPtr; 263 typedef FieldContainerAttachment::ObjParentPtr FieldContainerAttachmentParentPtr; 256 264 257 265 #ifdef OSG_1_COMPAT branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGAttachmentContainerFieldTraits.h
r598 r1018 47 47 48 48 #include "OSGContainerForwards.h" 49 #include "OSGFieldTraitsPointerFieldBase.h" 50 #include "OSGFieldTraitsParentPointerFieldBase.h" 49 51 50 52 OSG_BEGIN_NAMESPACE … … 67 69 template <> 68 70 struct FieldTraits<AttachmentContainerPtr> 69 : public FieldTraits FCPtrBase<AttachmentContainerPtr>71 : public FieldTraitsPointerFieldBase<AttachmentContainerPtr> 70 72 { 71 static DataType _type; 72 typedef FieldTraits<AttachmentContainerPtr> Self; 73 74 75 enum { Convertible = Self::NotConvertible }; 76 77 static OSG_SYSTEM_DLLMAPPING 78 DataType &getType (void); 79 80 static const Char8 *getSName (void) 73 private: 74 static DataType _type; 75 76 public: 77 typedef FieldTraits<AttachmentContainerPtr> Self; 78 79 enum { Convertible = Self::NotConvertible }; 80 81 static OSG_SYSTEM_DLLMAPPING DataType &getType (void); 82 83 static Char8 const *getSChildName (void) 81 84 { 82 return "SFAttachmentContainer Ptr";85 return "SFAttachmentContainerChildPtr"; 83 86 } 84 85 static const Char8 *getMName(void)87 88 static Char8 const *getSInternalName(void) 86 89 { 87 return "MFAttachmentContainerPtr"; 90 return "SFAttachmentContainerInternalPtr"; 91 } 92 93 static Char8 const *getSWeakName (void) 94 { 95 return "SFAttachmentContainerWeakPtr"; 96 } 97 98 static
