#include <ImportOCAF2.h>
Public Types | |
typedef std::function< std::map< std::string, App::Color >(App::DocumentObject *, const char *)> | GetShapeColorsFunc |
Public Member Functions | |
bool | canFallback (std::vector< App::DocumentObject * > objs) |
void | exportObjects (std::vector< App::DocumentObject * > &objs, const char *name=nullptr) |
ExportOCAF2 (Handle(TDocStd_Document) h, GetShapeColorsFunc func=GetShapeColorsFunc()) | |
void | setExportHiddenObject (bool enable) |
void | setKeepPlacement (bool enable) |
typedef std::function<std::map<std::string,App::Color>( App::DocumentObject*, const char*)> Import::ExportOCAF2::GetShapeColorsFunc |
ExportOCAF2::ExportOCAF2 | ( | Handle(TDocStd_Document) | h, |
GetShapeColorsFunc | func = GetShapeColorsFunc() |
||
) |
bool ExportOCAF2::canFallback | ( | std::vector< App::DocumentObject * > | objs | ) |
void ExportOCAF2::exportObjects | ( | std::vector< App::DocumentObject * > & | objs, |
const char * | name = nullptr |
||
) |
void Import::ExportOCAF2::setExportHiddenObject | ( | bool | enable | ) |
void Import::ExportOCAF2::setKeepPlacement | ( | bool | enable | ) |