17 std::vector<attribute::MeshAttributeHandle> tag_attr_vec;
28 keeps.insert(keeps.end(), tag_attr_vec.begin(), tag_attr_vec.end());
void clear_attributes(const std::vector< attribute::MeshAttributeHandle::HandleVariant > &keep_attributes)
Remove all custom attributes besides the one passed in.
PrimitiveType top_simplex_type() const
virtual std::tuple< std::vector< std::vector< int64_t > >, std::vector< std::vector< int64_t > > > consolidate()
Consolidate the attributes, moving all valid simplexes at the beginning of the corresponding vector.
void regularize_tags(bool generate_simplicial_embedding=true)
Regularize tags in mesh.
void simplicial_embedding(Mesh &mesh, const SimplicialEmbeddingOptions &options)
std::vector< PrimitiveType > primitive_below(PrimitiveType pt, bool lower_to_upper)
bool generate_simplicial_embedding
If false, this component forms a simplicial complex out of the tags, i.e., all faces of tagged simpli...
std::map< PrimitiveType, attribute::MeshAttributeHandle > tag_attributes
All simplex dimensions must have an int64_t scalar attribute where the tags are stored.
int64_t value
The value that should be simplicially embedded.
std::vector< attribute::MeshAttributeHandle > pass_through_attributes
Other attributes that should be processed with the default behavior.