// Author: Mikhail PONIKAROV
#include <Model_ResultBody.h>
+#include <Model_BodyBuilder.h>
#include <Model_Data.h>
#include <Model_Document.h>
#include <ModelAPI_AttributeIntArray.h>
+
#include <TNaming_Builder.hxx>
#include <TNaming_NamedShape.hxx>
#include <TNaming_Iterator.hxx>
#include <BRep_Tool.hxx>
#include <GeomAPI_Shape.h>
#include <GeomAlgoAPI_MakeShape.h>
+
#include <Config_PropManager.h>
// DEB
//#include <TCollection_AsciiString.hxx>
Model_ResultBody::Model_ResultBody()
{
+ myBuilder = new Model_BodyBuilder(this);
+
myIsDisabled = true; // by default it is not initialized and false to be after created
setIsConcealed(false);
}
return aChanged;
}
+/*
void Model_ResultBody::store(const std::shared_ptr<GeomAPI_Shape>& theShape)
{
std::shared_ptr<Model_Data> aData = std::dynamic_pointer_cast<Model_Data>(data());
}
}
}
-
+*/
std::shared_ptr<GeomAPI_Shape> Model_ResultBody::shape()
{
std::shared_ptr<Model_Data> aData = std::dynamic_pointer_cast<Model_Data>(data());
}
return std::shared_ptr<GeomAPI_Shape>();
}
-
+/*
void Model_ResultBody::clean()
{
std::vector<TNaming_Builder*>::iterator aBuilder = myBuilders.begin();
#endif
theTag++;
}
- */
+ *+/
TopTools_MapOfShape anEdgesToDelete;
TopExp_Explorer anEx(aShape,TopAbs_EDGE);
std::string aName;
}
}
}
+*/
\ No newline at end of file