STEP reader improvements

Create Global STEP Tree when assemblies are present
Make TBB usage dependant of its activation status at CMake Level
Fix hierarchy opening into STEP Assembly
This commit is contained in:
Jean-Marie Verdun
2017-01-22 18:29:10 +01:00
committed by wmayer
parent dd63fe9210
commit f10a436787
2 changed files with 52 additions and 16 deletions

View File

@@ -35,6 +35,8 @@
#include <map>
#include <vector>
#include <App/Material.h>
#include <Mod/Part/App/FeatureCompound.h>
class TDF_Label;
class TopLoc_Location;
@@ -57,8 +59,10 @@ public:
void loadShapes();
private:
void loadShapes(const TDF_Label& label, const TopLoc_Location&, const std::string& partname, const std::string& assembly, bool isRef);
void createShape(const TDF_Label& label, const TopLoc_Location&, const std::string&);
// void loadShapes(const TDF_Label& label, const TopLoc_Location&, const std::string& partname, const std::string& assembly, bool isRef);
void loadShapes(const TDF_Label& label, const TopLoc_Location&, const std::string& partname, const std::string& assembly, bool isRef, std::vector<App::DocumentObject*> &);
// void createShape(const TDF_Label& label, const TopLoc_Location&, const std::string&);
void createShape(const TDF_Label& label, const TopLoc_Location&, const std::string&, std::vector<App::DocumentObject*> &);
void createShape(const TopoDS_Shape& label, const TopLoc_Location&, const std::string&, std::vector<App::DocumentObject*> &);
virtual void applyColors(Part::Feature*, const std::vector<App::Color>&){}