33 std::string checkMaterialAssignmentForShapes(std::list<EntityGeometry *> &geometryEntities);
34 std::string checkMaterialAssignmentForBoundingSphere(
Properties &properties);
35 std::string addBoundingSphere(std::list<EntityGeometry *> &geometryEntities,
Properties &properties,
StepWidthManager &stepWidthManager);
36 void buildNonManifoldModel(
const std::string &meshName, std::list<EntityGeometry *> &geometryEntities,
Properties &properties,
MaterialManager &materialManager);
37 double getMeshPriority(EntityBase *entity,
MaterialManager &materialManager);
38 void createAllShapes(BRepAlgoAPI_BuilderAlgo &booleanOperation,
const std::string &meshName, EntityGeometry *entity,
double meshPriority);
39 void analyzeOverlaps(
void);
40 void resolveOverlaps(
void);
41 void removeUnnecessaryHierarchies(
void);
42 void mergeShapesOfSameParent(
void);
43 bool mergeChildren(std::vector<std::string> &childList, std::map<std::string, EntityGeometry *> &shapesInEntityList);
44 EntityGeometry *createGeometryEntity(
const std::string &name, TopoDS_Shape &shape,
const ot::PropertyGridCfg& shapeProperties);
45 void storeEntities(
void);
48 std::list<EntityGeometry *> modelEntities;
49 std::map<std::string, double> meshPriorities;
50 std::map<std::string, std::string> parentShapeName;
51 std::list<std::vector<std::string>> allShapeOverlaps;
void buildModel(const std::string &meshName, std::list< EntityGeometry * > &geometryEntities, Properties &properties, StepWidthManager &stepWidthManager, MaterialManager &materialManager)
Definition ModelBuilder.cpp:36