Wildmeshing Toolkit
|
#include <TupleAccessor.hpp>
Public Types | |
template<int D = Dim> | |
using | MapResult = internal::MapResult< Tuple, D > |
template<int D = Dim> | |
using | ConstMapResult = internal::ConstMapResult< Tuple, D > |
Public Member Functions | |
TupleAccessor (MeshType &m, const TypedAttributeHandle< int64_t > &handle) | |
TupleAccessor (const MeshType &m, const TypedAttributeHandle< int64_t > &handle) | |
template<int Dim2> | |
TupleAccessor (const Accessor< int64_t, MeshType, Dim2 > &accessor) | |
const Tuple & | const_scalar_attribute (const Tuple &t) const |
Tuple & | scalar_attribute (const Tuple &t) |
template<int D = Dim> | |
ConstMapResult< D > | const_vector_attribute (const Tuple &t) const |
template<int D = Dim> | |
MapResult< D > | vector_attribute (const Tuple &t) |
Eigen::Index | dimension () const |
template<int D> | |
auto | const_vector_attribute (const Tuple &t) const -> ConstMapResult< D > |
template<int D> | |
auto | vector_attribute (const Tuple &t) -> MapResult< D > |
Private Attributes | |
Accessor< int64_t, MeshType > | m_base_accessor |
Eigen::Index | m_dimension |
Definition at line 10 of file TupleAccessor.hpp.
using wmtk::attribute::TupleAccessor< MeshType, Dim >::ConstMapResult = internal::ConstMapResult<Tuple, D> |
Definition at line 23 of file TupleAccessor.hpp.
using wmtk::attribute::TupleAccessor< MeshType, Dim >::MapResult = internal::MapResult<Tuple, D> |
Definition at line 20 of file TupleAccessor.hpp.
wmtk::attribute::TupleAccessor< MeshType, Dim >::TupleAccessor | ( | MeshType & | m, |
const TypedAttributeHandle< int64_t > & | handle | ||
) |
Definition at line 10 of file TupleAccessor.hxx.
wmtk::attribute::TupleAccessor< MeshType, Dim >::TupleAccessor | ( | const MeshType & | m, |
const TypedAttributeHandle< int64_t > & | handle | ||
) |
Definition at line 15 of file TupleAccessor.hxx.
wmtk::attribute::TupleAccessor< MeshType, Dim >::TupleAccessor | ( | const Accessor< int64_t, MeshType, Dim2 > & | accessor | ) |
Definition at line 22 of file TupleAccessor.hxx.
auto wmtk::attribute::TupleAccessor< MeshType, Dim >::const_scalar_attribute | ( | const Tuple & | t | ) | const |
Definition at line 59 of file TupleAccessor.hxx.
ConstMapResult<D> wmtk::attribute::TupleAccessor< MeshType, Dim >::const_vector_attribute | ( | const Tuple & | t | ) | const |
Referenced by wmtk::multimesh::utils::read_tuple_map_attribute().
auto wmtk::attribute::TupleAccessor< MeshType, Dim >::const_vector_attribute | ( | const Tuple & | t | ) | const -> ConstMapResult<D> |
Definition at line 30 of file TupleAccessor.hxx.
|
inline |
Definition at line 34 of file TupleAccessor.hpp.
References wmtk::attribute::TupleAccessor< MeshType, Dim >::m_dimension.
Referenced by wmtk::multimesh::utils::read_tuple_map_attribute(), and wmtk::multimesh::utils::write_tuple_map_attribute().
auto wmtk::attribute::TupleAccessor< MeshType, Dim >::scalar_attribute | ( | const Tuple & | t | ) |
Definition at line 50 of file TupleAccessor.hxx.
MapResult<D> wmtk::attribute::TupleAccessor< MeshType, Dim >::vector_attribute | ( | const Tuple & | t | ) |
Referenced by wmtk::multimesh::utils::write_tuple_map_attribute().
auto wmtk::attribute::TupleAccessor< MeshType, Dim >::vector_attribute | ( | const Tuple & | t | ) | -> MapResult<D> |
Definition at line 41 of file TupleAccessor.hxx.
|
private |
Definition at line 37 of file TupleAccessor.hpp.
|
private |
Definition at line 38 of file TupleAccessor.hpp.
Referenced by wmtk::attribute::TupleAccessor< MeshType, Dim >::dimension().