API Documentation
Loading...
Searching...
No Matches
DXFBlockWriter Class Reference

#include <DXFBlockWriter.h>

Inheritance diagram for DXFBlockWriter:
[legend]
Collaboration diagram for DXFBlockWriter:
[legend]

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 FactoryParametersparams
 
DXFWriterwriter
 
CADGeometryWritergeo_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< Modelm_model_stack
 
Buffer< uint04m_model_parent_child_count
 
Buffer< Modelm_model_parent_stack
 

Constructor & Destructor Documentation

◆ DXFBlockWriter()

DXFBlockWriter ( Dictionary< UUID, BlockData > & block_data,
CADGeometryWriter & geo_options )
inline

Member Function Documentation

◆ insertObject()

void insertObject ( const Model & model,
uint04 parent_handle = Constant<uint04>::NaN )
inline

◆ postProcess()

ParseResult postProcess ( Model & model)
inlinefinaloverridevirtual

Reimplemented from ModelIterator.

◆ process()

ParseResult process ( Model & model)
inlinefinaloverridevirtual

Reimplemented from ModelIterator.

Member Data Documentation

◆ block_data

const Dictionary<UUID, BlockData>& block_data

◆ geo_options

CADGeometryWriter& geo_options

◆ params

const FactoryParameters& params

◆ write_modifiers

Buffer<CADWriteModifier*> write_modifiers

◆ writer

DXFWriter& writer

The documentation for this class was generated from the following file: