API Documentation
Loading...
Searching...
No Matches
InverseIterator Class Reference
Inheritance diagram for InverseIterator:
[legend]
Collaboration diagram for InverseIterator:
[legend]

Public Member Functions

 InverseIterator (const Buffer< UUID > &model_ids)
 
ParseResult process (Model &m) override
 
ParseResult postProcess (Model &model) 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

Buffer< bool > has_model_stack
 
Buffer< UUIDmodel_ids
 
Buffer< UUIDinverse
 
- 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

◆ InverseIterator()

InverseIterator ( const Buffer< UUID > & model_ids)
inline

Member Function Documentation

◆ postProcess()

ParseResult postProcess ( Model & model)
inlineoverridevirtual

Reimplemented from ModelIterator.

◆ process()

ParseResult process ( Model & m)
inlineoverridevirtual

Reimplemented from ModelIterator.

Member Data Documentation

◆ has_model_stack

Buffer<bool> has_model_stack

◆ inverse

Buffer<UUID> inverse

◆ model_ids

Buffer<UUID> model_ids

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