Wildmeshing Toolkit
|
#include <AndOperationSequence.hpp>
Public Member Functions | |
AndOperationSequence (Mesh &mesh, const std::vector< std::shared_ptr< Operation >> &operations={}) | |
virtual | ~AndOperationSequence () |
Public Member Functions inherited from wmtk::operations::OperationSequence | |
OperationSequence (Mesh &mesh, const std::vector< std::shared_ptr< Operation >> &operations={}) | |
virtual | ~OperationSequence () |
std::vector< simplex::Simplex > | operator() (const simplex::Simplex &simplex) override |
double | priority (const simplex::Simplex &simplex) const override |
bool | use_random_priority () const override |
bool & | use_random_priority () override |
PrimitiveType | primitive_type () const override |
void | reserve_enough_simplices () override |
void | add_operation (const std::shared_ptr< Operation > &op) |
Public Member Functions inherited from wmtk::operations::Operation | |
Operation (Mesh &mesh) | |
virtual | ~Operation () |
const Mesh & | mesh () const |
Mesh & | mesh () |
void | add_invariant (std::shared_ptr< Invariant > invariant) |
void | set_priority (const std::function< double(const simplex::Simplex &)> &func) |
std::shared_ptr< const operations::AttributeTransferStrategyBase > | get_transfer_strategy (const attribute::MeshAttributeHandle &attribute) |
void | add_transfer_strategy (const std::shared_ptr< const operations::AttributeTransferStrategyBase > &other) |
void | set_transfer_strategy (const attribute::MeshAttributeHandle &attribute, const std::shared_ptr< const operations::AttributeTransferStrategyBase > &other) |
void | clear_attribute_transfer_strategies () |
Protected Member Functions | |
std::vector< simplex::Simplex > | execute_operations (const simplex::Simplex &simplex) override |
Protected Member Functions inherited from wmtk::operations::OperationSequence | |
std::vector< simplex::Simplex > | execute (const simplex::Simplex &simplex) override |
returns an empty vector in case of failure More... | |
std::vector< simplex::Simplex > | unmodified_primitives (const simplex::Simplex &simplex) const override |
Returns all simplices that will be potentially affected by the OperationSequence. More... | |
Protected Member Functions inherited from wmtk::operations::Operation | |
virtual bool | before (const simplex::Simplex &simplex) const |
virtual bool | after (const std::vector< simplex::Simplex > &unmods, const std::vector< simplex::Simplex > &mods) const |
void | apply_attribute_transfer (const std::vector< simplex::Simplex > &direct_mods) |
Additional Inherited Members | |
Protected Attributes inherited from wmtk::operations::OperationSequence | |
std::vector< std::shared_ptr< Operation > > | m_operations |
Protected Attributes inherited from wmtk::operations::Operation | |
std::function< double(const simplex::Simplex &)> | m_priority = nullptr |
invariants::InvariantCollection | m_invariants |
std::vector< std::shared_ptr< const operations::AttributeTransferStrategyBase > > | m_attr_transfer_strategies |
Definition at line 14 of file AndOperationSequence.hpp.
wmtk::operations::AndOperationSequence::AndOperationSequence | ( | Mesh & | mesh, |
const std::vector< std::shared_ptr< Operation >> & | operations = {} |
||
) |
Definition at line 7 of file AndOperationSequence.cpp.
|
virtualdefault |
|
overrideprotectedvirtual |
Implements wmtk::operations::OperationSequence.
Definition at line 15 of file AndOperationSequence.cpp.
References wmtk::operations::OperationSequence::m_operations, and wmtk::operations::Operation::mesh().