Wildmeshing Toolkit
wmtk::operations::AttributeTransferConfiguration Class Reference

#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::AttributeTransferConfigurationPimplm_impl
 

Detailed Description

Definition at line 23 of file AttributeTransferConfiguration.hpp.

Constructor & Destructor Documentation

◆ AttributeTransferConfiguration()

wmtk::operations::AttributeTransferConfiguration::AttributeTransferConfiguration ( )

Definition at line 64 of file AttributeTransferConfiguration.cpp.

◆ ~AttributeTransferConfiguration()

wmtk::operations::AttributeTransferConfiguration::~AttributeTransferConfiguration ( )
default

Member Function Documentation

◆ add()

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().

Here is the caller graph for this function:

◆ add_collapse_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().

Here is the call graph for this function:

◆ add_split_new()

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().

Here is the call graph for this function:

◆ apply() [1/2]

void wmtk::operations::AttributeTransferConfiguration::apply ( EdgeCollapse collapse,
bool  clear = false 
) const
Parameters
clearremoves 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().

Here is the call graph for this function:

◆ apply() [2/2]

void wmtk::operations::AttributeTransferConfiguration::apply ( EdgeSplit split,
bool  clear = false 
) const
Parameters
clearremoves 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().

Here is the call graph for this function:

◆ linearized_new_strategies()

auto wmtk::operations::AttributeTransferConfiguration::linearized_new_strategies ( ) const

Definition at line 78 of file AttributeTransferConfiguration.cpp.

References m_impl.

◆ linearized_strategies()

auto wmtk::operations::AttributeTransferConfiguration::linearized_strategies ( ) const

Definition at line 72 of file AttributeTransferConfiguration.cpp.

References m_impl.

Referenced by apply().

Here is the caller graph for this function:

◆ linearized_transfer_strategies()

auto wmtk::operations::AttributeTransferConfiguration::linearized_transfer_strategies ( ) const

Definition at line 83 of file AttributeTransferConfiguration.cpp.

References m_impl.

Referenced by apply().

Here is the caller graph for this function:

Member Data Documentation

◆ m_impl

std::unique_ptr<internal::AttributeTransferConfigurationPimpl> wmtk::operations::AttributeTransferConfiguration::m_impl
private

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