API Documentation
|
#include <DXFBlockWriter.h>
Public Member Functions | |
DXFBlockWriter (Dictionary< UUID, BlockData > &block_data, CADGeometryWriter &geo_options) | |
void | insertObject (const Model &model, uint04 parent_handle=Constant< uint04 >::NaN) |
ParseResult | process (Model &model) final override |
ParseResult | postProcess (Model &model) final override |
Public Member Functions inherited from ModelIterator | |
ModelIterator () | |
ModelIterator (const Model &model) | |
ModelIterator (Buffer< Model > models) | |
void | parseAll (const Model &model) |
void | parseAll (const Buffer< Model > &models) |
void | parseAll () |
ParseResult | parseNext () |
Model | currentModel () const |
Public Attributes | |
const Dictionary< UUID, BlockData > & | block_data |
const FactoryParameters & | params |
DXFWriter & | writer |
CADGeometryWriter & | geo_options |
Buffer< CADWriteModifier * > | write_modifiers |
Public Attributes inherited from ModelIterator | |
std::function< bool(const Model &, const Geometry &)> | geo_filter |
std::function< bool(const Model &, const Material &)> | material_filter |
std::function< bool(const Model &)> | model_filter |
bool | process_material = false |
bool | process_geometry = true |
bool | process_model = true |
bool | post_process_model = false |
bool | depth_first = true |
bool | is_recursive = true |
bool | use_unit = false |
PrimitiveProperty | material_property = PrimitiveProperty::Solid |
Additional Inherited Members | |
Public Types inherited from ModelIterator | |
enum | ParseResult { e_continue_parsing , e_do_not_parse_children , e_finish_parsing } |
Protected Member Functions inherited from ModelIterator | |
virtual ParseResult | process (Model &model, Material &mat) |
virtual ParseResult | process (Model &model, Geometry &geo) |
void | removeFromPostProcessStack () |
virtual void | _parseAll () |
Model | popNextModel () |
Protected Attributes inherited from ModelIterator | |
Buffer< Model > | m_model_stack |
Buffer< uint04 > | m_model_parent_child_count |
Buffer< Model > | m_model_parent_stack |
|
inline |
|
inlinefinaloverridevirtual |
Reimplemented from ModelIterator.
|
inlinefinaloverridevirtual |
Reimplemented from ModelIterator.
const Dictionary<UUID, BlockData>& block_data |
CADGeometryWriter& geo_options |
const FactoryParameters& params |
Buffer<CADWriteModifier*> write_modifiers |
DXFWriter& writer |