]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Interfaces to be used by Import feature.
authorszy <szy@opencascade.com>
Fri, 31 Oct 2014 12:07:25 +0000 (15:07 +0300)
committerszy <szy@opencascade.com>
Fri, 31 Oct 2014 12:07:25 +0000 (15:07 +0300)
src/Model/Model_ResultBody.cpp
src/Model/Model_ResultBody.h
src/ModelAPI/ModelAPI_ResultBody.h

index 9b3d2cac8dee30a57d47618020e406f0333c5768..f4a37d35316ac21749b73464e9d5e847ec469295 100644 (file)
@@ -237,4 +237,19 @@ void Model_ResultBody::loadAndOrientGeneratedShapes (
                  builder(theTag)->Generated(aRoot,aNewShape);
     }
   }
+}
+
+void Model_ResultBody::loadFirstLevel(boost::shared_ptr<GeomAPI_Shape> theShapeIn,int&  theTag)
+{
+
+}
+
+void Model_ResultBody::loadDisconnectedEdges(boost::shared_ptr<GeomAPI_Shape> theShapeIn,int&  theTag)
+{
+
+}
+
+void Model_ResultBody::loadDisconnectedVertexes(boost::shared_ptr<GeomAPI_Shape> theShapeIn,int&  theTag)
+{
+
 }
\ No newline at end of file
index a12ccb87d509deee934bdffbd5c30c1e27237153..6526b9d554971e0e60dd80fb2a57d81661882d8d 100644 (file)
@@ -82,6 +82,15 @@ public:
                                                const int  theKindOfShape,
                                                const int  theTag,
                                                GeomAPI_DataMapOfShapeShape& theSubShapes);
+  
+  /// load shapes of the first level (to be used during shape import)
+  MODEL_EXPORT virtual void loadFirstLevel(boost::shared_ptr<GeomAPI_Shape> theShape, int&  theTag);
+  
+  /// load disconnected edges
+  MODEL_EXPORT virtual void loadDisconnectedEdges(boost::shared_ptr<GeomAPI_Shape> theShape, int&  theTag);
+
+  /// load disconnected vetexes
+  MODEL_EXPORT virtual void loadDisconnectedVertexes(boost::shared_ptr<GeomAPI_Shape> theShape, int&  theTag);
 
   /// Removes the stored builders
   MODEL_EXPORT virtual ~Model_ResultBody();
index 4991cf27986c61ab24453c3873a87628baad583d..cce169833c42946840385e7b82ff2af581471aa4 100644 (file)
@@ -90,6 +90,16 @@ public:
                                                const int  theKindOfShape,
                                                const int  theTag,
                                                GeomAPI_DataMapOfShapeShape& theSubShapes) = 0;
+
+  /// load shapes of the first level (to be used during shape import)
+  virtual void loadFirstLevel(boost::shared_ptr<GeomAPI_Shape> theShape, int&  theTag) = 0;
+  
+  /// load disconnected edges
+  virtual void loadDisconnectedEdges(boost::shared_ptr<GeomAPI_Shape> theShape, int&  theTag) = 0;
+
+  /// load disconnected vetexes
+  virtual void loadDisconnectedVertexes(boost::shared_ptr<GeomAPI_Shape> theShape, int&  theTag) = 0;
+
 protected:
 };