Add initial code for hierarchical STEP exporter
This commit is contained in:
committed by
Yorik van Havre
parent
4095fdbb57
commit
a120a1cbbe
@@ -35,6 +35,7 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <App/Material.h>
|
||||
#include <App/Part.h>
|
||||
#include <Mod/Part/App/FeatureCompound.h>
|
||||
|
||||
|
||||
@@ -77,8 +78,13 @@ private:
|
||||
class ImportExport ExportOCAF
|
||||
{
|
||||
public:
|
||||
void createNode(App::Part* part, int& root_it, std::vector <TDF_Label>& hierarchical_label,std::vector <TopLoc_Location>& hierarchical_loc);
|
||||
void ComputeDoc(int labels);
|
||||
ExportOCAF(Handle(TDocStd_Document) h, bool explicitPlacement);
|
||||
void saveShape(Part::Feature* part, const std::vector<App::Color>&);
|
||||
int saveShape(Part::Feature* part, const std::vector<App::Color>&, std::vector <TDF_Label>& hierarchical_label,std::vector <TopLoc_Location>& hierarchical_loc);
|
||||
void push_node(int root, int node, std::vector <TDF_Label>& hierarchical_label,std::vector <TopLoc_Location>& hierarchical_loc);
|
||||
|
||||
|
||||
|
||||
private:
|
||||
Handle(TDocStd_Document) pDoc;
|
||||
|
||||
Reference in New Issue
Block a user