Wildmeshing Toolkit
|
#include <TagIntersection.hpp>
Public Member Functions | |||||
TagAttribute (Mesh &m, const attribute::MeshAttributeHandle &attribute, PrimitiveType ptype, int64_t val) | |||||
TagAttribute (TagAttribute &)=delete | |||||
TagAttribute (Mesh &m, const attribute::MeshAttributeHandle &attribute, PrimitiveType ptype, int64_t val) | |||||
TagAttribute (TagAttribute &)=delete | |||||
is_tagged | |||||
if a given simplex is not the current attributehandle's primitivetype, return false. otherwise check if a given simplex's attribute is tagged, if yes return true, else return false.
| |||||
bool | is_tagged (Mesh &m, const simplex::Simplex &s) const | ||||
set_tag | |||||
first check if the given simplex's primitivetype is equal to the attibutehandle's. if yes, then tag this simplex with the given tag_val, otherwise do nothing.
| |||||
void | set_tag (Mesh &m, const simplex::Simplex &s) | ||||
Public Attributes | |
wmtk::attribute::Accessor< int64_t > | m_accessor |
PrimitiveType | m_ptype |
int64_t | m_val |
attribute::Accessor< int64_t > | m_tag_accessor |
int64_t | m_tag_val |
Definition at line 17 of file Marching.cpp.
|
inline |
Definition at line 24 of file Marching.cpp.
|
delete |
|
inline |
Definition at line 25 of file TagIntersection.hpp.
|
delete |
|
inline |
Definition at line 45 of file TagIntersection.hpp.
References wmtk::attribute::Accessor< T, MeshType, Dim >::const_scalar_attribute(), m_ptype, m_tag_accessor, m_tag_val, wmtk::simplex::Simplex::primitive_type(), and wmtk::simplex::Simplex::tuple().
|
inline |
Definition at line 60 of file TagIntersection.hpp.
References m_ptype, m_tag_accessor, m_tag_val, wmtk::simplex::Simplex::primitive_type(), wmtk::attribute::Accessor< T, MeshType, Dim >::scalar_attribute(), and wmtk::simplex::Simplex::tuple().
wmtk::attribute::Accessor<int64_t> wmtk::components::TagAttribute::m_accessor |
Definition at line 20 of file Marching.cpp.
PrimitiveType wmtk::components::TagAttribute::m_ptype |
Definition at line 21 of file Marching.cpp.
Referenced by is_tagged(), and set_tag().
attribute::Accessor<int64_t> wmtk::components::TagAttribute::m_tag_accessor |
Definition at line 21 of file TagIntersection.hpp.
Referenced by is_tagged(), and set_tag().
int64_t wmtk::components::TagAttribute::m_tag_val |
Definition at line 23 of file TagIntersection.hpp.
Referenced by is_tagged(), and set_tag().
int64_t wmtk::components::TagAttribute::m_val |
Definition at line 22 of file Marching.cpp.