Import::ExportOCAF Class Reference

#include <ExportOCAF.h>

Public Member Functions

void createNode (App::Part *part, int &root_it, std::vector< TDF_Label > &hierarchical_label, std::vector< TopLoc_Location > &hierarchical_loc, std::vector< App::DocumentObject * > &hierarchical_part)
 
int exportObject (App::DocumentObject *obj, std::vector< TDF_Label > &hierarchical_label, std::vector< TopLoc_Location > &hierarchical_loc, std::vector< App::DocumentObject * > &hierarchical_part)
 
 ExportOCAF (Handle(TDocStd_Document) h, bool explicitPlacement)
 
void getFreeLabels (std::vector< TDF_Label > &hierarchical_label, std::vector< TDF_Label > &labels, std::vector< int > &label_part_id)
 
void getPartColors (std::vector< App::DocumentObject * > hierarchical_part, std::vector< TDF_Label > FreeLabels, std::vector< int > part_id, std::vector< std::vector< App::Color > > &Colors) const
 
void pushNode (int root, int node, std::vector< TDF_Label > &hierarchical_label, std::vector< TopLoc_Location > &hierarchical_loc)
 
void reallocateFreeShape (std::vector< App::DocumentObject * > hierarchical_part, std::vector< TDF_Label > FreeLabels, std::vector< int > part_id, std::vector< std::vector< App::Color > > &Colors)
 
int saveShape (Part::Feature *part, const std::vector< App::Color > &, std::vector< TDF_Label > &hierarchical_label, std::vector< TopLoc_Location > &hierarchical_loc, std::vector< App::DocumentObject * > &hierarchical_part)
 
virtual ~ExportOCAF ()
 

Constructor & Destructor Documentation

◆ ExportOCAF()

ExportOCAF::ExportOCAF ( Handle(TDocStd_Document)  h,
bool  explicitPlacement 
)

◆ ~ExportOCAF()

ExportOCAF::~ExportOCAF ( )
virtual

Member Function Documentation

◆ createNode()

void ExportOCAF::createNode ( App::Part part,
int &  root_it,
std::vector< TDF_Label > &  hierarchical_label,
std::vector< TopLoc_Location > &  hierarchical_loc,
std::vector< App::DocumentObject * > &  hierarchical_part 
)

◆ exportObject()

int ExportOCAF::exportObject ( App::DocumentObject obj,
std::vector< TDF_Label > &  hierarchical_label,
std::vector< TopLoc_Location > &  hierarchical_loc,
std::vector< App::DocumentObject * > &  hierarchical_part 
)

◆ getFreeLabels()

void ExportOCAF::getFreeLabels ( std::vector< TDF_Label > &  hierarchical_label,
std::vector< TDF_Label > &  labels,
std::vector< int > &  label_part_id 
)

◆ getPartColors()

void ExportOCAF::getPartColors ( std::vector< App::DocumentObject * >  hierarchical_part,
std::vector< TDF_Label >  FreeLabels,
std::vector< int >  part_id,
std::vector< std::vector< App::Color > > &  Colors 
) const

◆ pushNode()

void ExportOCAF::pushNode ( int  root,
int  node,
std::vector< TDF_Label > &  hierarchical_label,
std::vector< TopLoc_Location > &  hierarchical_loc 
)

Referenced by exportObject().

◆ reallocateFreeShape()

void ExportOCAF::reallocateFreeShape ( std::vector< App::DocumentObject * >  hierarchical_part,
std::vector< TDF_Label >  FreeLabels,
std::vector< int >  part_id,
std::vector< std::vector< App::Color > > &  Colors 
)

◆ saveShape()


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/Import/App/ExportOCAF.h
  • Sources/FreeCAD/src/Mod/Import/App/ExportOCAF.cpp