// Copyright (c) 2015 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //======================================================================= //function : BindTypes //purpose : Register types //======================================================================= void ShapePersistent::BindTypes (StdObjMgt_MapOfInstantiators& theMap) { theMap.Bind ("PTopoDS_HArray1OfHShape"); theMap.Bind ("PColPGeom_HArray1OfCurve"); theMap.Bind ("PColPGeom_HArray1OfBoundedCurve"); theMap.Bind ("PColPGeom_HArray1OfBezierCurve"); theMap.Bind ("PColPGeom_HArray1OfBSplineCurve"); theMap.Bind ("PColPGeom_HArray1OfSurface"); theMap.Bind ("PColPGeom_HArray1OfBoundedSurface"); theMap.Bind ("PColPGeom_HArray2OfSurface"); theMap.Bind ("PColPGeom_HArray2OfBoundedSurface"); theMap.Bind ("PColPGeom_HArray2OfBezierSurface"); theMap.Bind ("PColPGeom_HArray2OfBSplineSurface"); theMap.Bind ("PColPGeom2d_HArray1OfCurve"); theMap.Bind ("PColPGeom2d_HArray1OfBoundedCurve"); theMap.Bind ("PColPGeom2d_HArray1OfBezierCurve"); theMap.Bind ("PColPGeom2d_HArray1OfBSplineCurve"); theMap.Bind ("PColStd_HArray2OfReal"); theMap.Bind ("PTopoDS_HShape"); theMap.Bind ("PTopoDS_Vertex"); theMap.Bind ("PTopoDS_Edge"); theMap.Bind ("PTopoDS_Wire"); theMap.Bind ("PTopoDS_Face"); theMap.Bind ("PTopoDS_Shell"); theMap.Bind ("PTopoDS_Solid"); theMap.Bind ("PTopoDS_CompSolid"); theMap.Bind ("PTopoDS_Compound"); theMap.Bind ("PTopoDS_TShape"); theMap.Bind ("PTopoDS_TVertex"); theMap.Bind ("PTopoDS_TVertex1"); theMap.Bind ("PTopoDS_TEdge"); theMap.Bind ("PTopoDS_TEdge1"); theMap.Bind ("PTopoDS_TFace"); theMap.Bind ("PTopoDS_TFace1"); theMap.Bind ("PTopoDS_TWire"); theMap.Bind ("PTopoDS_TWire1"); theMap.Bind ("PTopoDS_TShell"); theMap.Bind ("PTopoDS_TShell1"); theMap.Bind ("PTopoDS_TSolid"); theMap.Bind ("PTopoDS_TSolid1"); theMap.Bind ("PTopoDS_TCompSolid"); theMap.Bind ("PTopoDS_TCompSolid1"); theMap.Bind ("PTopoDS_TCompound"); theMap.Bind ("PTopoDS_TCompound1"); theMap.Bind ("PColgp_HArray1OfXYZ"); theMap.Bind ("PColgp_HArray1OfPnt"); theMap.Bind ("PColgp_HArray1OfDir"); theMap.Bind ("PColgp_HArray1OfVec"); theMap.Bind ("PColgp_HArray1OfXY"); theMap.Bind ("PColgp_HArray1OfPnt2d"); theMap.Bind ("PColgp_HArray1OfDir2d"); theMap.Bind ("PColgp_HArray1OfVec2d"); theMap.Bind ("PColgp_HArray1OfLin2d"); theMap.Bind ("PColgp_HArray1OfCirc2d"); theMap.Bind ("PPoly_HArray1OfTriangle"); theMap.Bind ("PColgp_HArray2OfXYZ"); theMap.Bind ("PColgp_HArray2OfPnt"); theMap.Bind ("PColgp_HArray2OfDir"); theMap.Bind ("PColgp_HArray2OfVec"); theMap.Bind ("PColgp_HArray2OfXY"); theMap.Bind ("PColgp_HArray2OfPnt2d"); theMap.Bind ("PColgp_HArray2OfDir2d"); theMap.Bind ("PColgp_HArray2OfVec2d"); theMap.Bind ("PColgp_HArray2OfLin2d"); theMap.Bind ("PColgp_HArray2OfCirc2d"); theMap.Bind ("PColgp_HSequenceOfXYZ"); theMap.Bind ("PColgp_HSequenceOfPnt"); theMap.Bind ("PColgp_HSequenceOfDir"); theMap.Bind ("PColgp_HSequenceOfVec"); theMap.Bind ("PColgp_SeqNodeOfHSequenceOfXYZ"); theMap.Bind ("PColgp_SeqNodeOfHSequenceOfPnt"); theMap.Bind ("PColgp_SeqNodeOfHSequenceOfDir"); theMap.Bind ("PColgp_SeqNodeOfHSequenceOfVec"); theMap.Bind ("PGeom2d_Transformation"); theMap.Bind ("PGeom2d_Geometry"); theMap.Bind ("PGeom2d_Point"); theMap.Bind ("PGeom2d_CartesianPoint"); theMap.Bind ("PGeom2d_Vector"); theMap.Bind ("PGeom2d_Direction"); theMap.Bind ("PGeom2d_VectorWithMagnitude"); theMap.Bind ("PGeom2d_AxisPlacement"); theMap.Bind ("PGeom2d_Curve"); theMap.Bind ("PGeom2d_Line"); theMap.Bind ("PGeom2d_Conic"); theMap.Bind ("PGeom2d_Circle"); theMap.Bind ("PGeom2d_Ellipse"); theMap.Bind ("PGeom2d_Hyperbola"); theMap.Bind ("PGeom2d_Parabola"); theMap.Bind ("PGeom2d_BoundedCurve"); theMap.Bind ("PGeom2d_BezierCurve"); theMap.Bind ("PGeom2d_BSplineCurve"); theMap.Bind ("PGeom2d_TrimmedCurve"); theMap.Bind ("PGeom2d_OffsetCurve"); theMap.Bind ("PGeom_Transformation"); theMap.Bind ("PGeom_Geometry"); theMap.Bind ("PGeom_Point"); theMap.Bind ("PGeom_CartesianPoint"); theMap.Bind ("PGeom_Vector"); theMap.Bind ("PGeom_Direction"); theMap.Bind ("PGeom_VectorWithMagnitude"); theMap.Bind ("PGeom_AxisPlacement"); theMap.Bind ("PGeom_Axis1Placement"); theMap.Bind ("PGeom_Axis2Placement"); theMap.Bind ("PGeom_Curve"); theMap.Bind ("PGeom_Line"); theMap.Bind ("PGeom_Conic"); theMap.Bind ("PGeom_Circle"); theMap.Bind ("PGeom_Ellipse"); theMap.Bind ("PGeom_Hyperbola"); theMap.Bind ("PGeom_Parabola"); theMap.Bind ("PGeom_BoundedCurve"); theMap.Bind ("PGeom_BezierCurve"); theMap.Bind ("PGeom_BSplineCurve"); theMap.Bind ("PGeom_TrimmedCurve"); theMap.Bind ("PGeom_OffsetCurve"); theMap.Bind ("PGeom_Surface"); theMap.Bind ("PGeom_ElementarySurface"); theMap.Bind ("PGeom_Plane"); theMap.Bind ("PGeom_ConicalSurface"); theMap.Bind ("PGeom_CylindricalSurface"); theMap.Bind ("PGeom_SphericalSurface"); theMap.Bind ("PGeom_ToroidalSurface"); theMap.Bind ("PGeom_SweptSurface"); theMap.Bind ("PGeom_SurfaceOfLinearExtrusion"); theMap.Bind ("PGeom_SurfaceOfRevolution"); theMap.Bind ("PGeom_BoundedSurface"); theMap.Bind ("PGeom_BezierSurface"); theMap.Bind ("PGeom_BSplineSurface"); theMap.Bind ("PGeom_RectangularTrimmedSurface"); theMap.Bind ("PGeom_OffsetSurface"); theMap.Bind ("PPoly_Polygon2D"); theMap.Bind ("PPoly_Polygon3D"); theMap.Bind ("PPoly_PolygonOnTriangulation"); theMap.Bind ("PPoly_Triangulation"); theMap.Bind ("PBRep_PointRepresentation"); theMap.Bind ("PBRep_PointOnCurve"); theMap.Bind ("PBRep_PointsOnSurface"); theMap.Bind ("PBRep_PointOnCurveOnSurface"); theMap.Bind ("PBRep_PointOnSurface"); theMap.Bind ("PBRep_CurveRepresentation"); theMap.Bind ("PBRep_GCurve"); theMap.Bind ("PBRep_Curve3D"); theMap.Bind ("PBRep_CurveOnSurface"); theMap.Bind ("PBRep_CurveOnClosedSurface"); theMap.Bind ("PBRep_Polygon3D"); theMap.Bind ("PBRep_PolygonOnTriangulation"); theMap.Bind ("PBRep_PolygonOnClosedTriangulation"); theMap.Bind ("PBRep_PolygonOnSurface"); theMap.Bind ("PBRep_PolygonOnClosedSurface"); theMap.Bind ("PBRep_CurveOn2Surfaces"); theMap.Bind ("PBRep_TVertex"); theMap.Bind ("PBRep_TVertex1"); theMap.Bind ("PBRep_TEdge"); theMap.Bind ("PBRep_TEdge1"); theMap.Bind ("PBRep_TFace"); theMap.Bind ("PBRep_TFace1"); }