Wildmeshing Toolkit
|
#include <AttributeTransferConfiguration.hpp>
Public Member Functions | |
AttributeTransferConfiguration () | |
~AttributeTransferConfiguration () | |
void | add (const AttributeTransferEdge &) |
void | add_split_new (const attribute::MeshAttributeHandle &attribute, const wmtk::operations::SplitBasicStrategy &spine=wmtk::operations::SplitBasicStrategy::Default, const wmtk::operations::SplitRibBasicStrategy &rib=wmtk::operations::SplitRibBasicStrategy::Default) |
void | add_collapse_new (const attribute::MeshAttributeHandle &attribute, const wmtk::operations::CollapseBasicStrategy &strategy=wmtk::operations::CollapseBasicStrategy::Default) |
std::vector< std::shared_ptr< const AttributeTransferEdge > > | linearized_strategies () const |
std::vector< std::shared_ptr< const NewAttributeStrategy > > | linearized_new_strategies () const |
std::vector< std::shared_ptr< const AttributeTransferStrategyBase > > | linearized_transfer_strategies () const |
void | apply (EdgeSplit &split, bool clear=false) const |
void | apply (EdgeCollapse &split, bool clear=false) const |
Private Attributes | |
std::unique_ptr< internal::AttributeTransferConfigurationPimpl > | m_impl |
Definition at line 23 of file AttributeTransferConfiguration.hpp.
wmtk::operations::AttributeTransferConfiguration::AttributeTransferConfiguration | ( | ) |
Definition at line 64 of file AttributeTransferConfiguration.cpp.
|
default |
void wmtk::operations::AttributeTransferConfiguration::add | ( | const AttributeTransferEdge & | a | ) |
Definition at line 68 of file AttributeTransferConfiguration.cpp.
References m_impl.
Referenced by add_collapse_new(), and add_split_new().
void wmtk::operations::AttributeTransferConfiguration::add_collapse_new | ( | const attribute::MeshAttributeHandle & | attribute, |
const wmtk::operations::CollapseBasicStrategy & | strategy = wmtk::operations::CollapseBasicStrategy::Default |
||
) |
Definition at line 116 of file AttributeTransferConfiguration.cpp.
References add(), and wmtk::attribute::MeshAttributeHandle::handle().
void wmtk::operations::AttributeTransferConfiguration::add_split_new | ( | const attribute::MeshAttributeHandle & | attribute, |
const wmtk::operations::SplitBasicStrategy & | spine = wmtk::operations::SplitBasicStrategy::Default , |
||
const wmtk::operations::SplitRibBasicStrategy & | rib = wmtk::operations::SplitRibBasicStrategy::Default |
||
) |
Definition at line 89 of file AttributeTransferConfiguration.cpp.
References add(), and wmtk::attribute::MeshAttributeHandle::handle().
void wmtk::operations::AttributeTransferConfiguration::apply | ( | EdgeCollapse & | collapse, |
bool | clear = false |
||
) | const |
clear | removes all prior attribute transfer behaviors |
Definition at line 161 of file AttributeTransferConfiguration.cpp.
References wmtk::operations::EdgeCollapse::clear_attribute_new_strategies(), wmtk::operations::Operation::clear_attribute_transfer_strategies(), linearized_strategies(), linearized_transfer_strategies(), wmtk::operations::EdgeCollapse::set_new_attribute_strategy(), and wmtk::operations::Operation::set_transfer_strategy().
void wmtk::operations::AttributeTransferConfiguration::apply | ( | EdgeSplit & | split, |
bool | clear = false |
||
) | const |
clear | removes all prior attribute transfer behaviors |
Definition at line 140 of file AttributeTransferConfiguration.cpp.
References wmtk::operations::EdgeSplit::clear_attribute_new_strategies(), wmtk::operations::Operation::clear_attribute_transfer_strategies(), linearized_strategies(), linearized_transfer_strategies(), wmtk::operations::EdgeSplit::set_new_attribute_strategy(), and wmtk::operations::Operation::set_transfer_strategy().
auto wmtk::operations::AttributeTransferConfiguration::linearized_new_strategies | ( | ) | const |
Definition at line 78 of file AttributeTransferConfiguration.cpp.
References m_impl.
auto wmtk::operations::AttributeTransferConfiguration::linearized_strategies | ( | ) | const |
Definition at line 72 of file AttributeTransferConfiguration.cpp.
References m_impl.
Referenced by apply().
auto wmtk::operations::AttributeTransferConfiguration::linearized_transfer_strategies | ( | ) | const |
Definition at line 83 of file AttributeTransferConfiguration.cpp.
References m_impl.
Referenced by apply().
|
private |
Definition at line 60 of file AttributeTransferConfiguration.hpp.
Referenced by add(), linearized_new_strategies(), linearized_strategies(), and linearized_transfer_strategies().