Lagrange
|
Legacy indexed attribute class. More...
#include <lagrange/IndexedAttributes.h>
Public Types | |
using | AttributeArray = _AttributeArray |
using | IndexArray = _IndexArray |
using | AttributeData = GenuineMeshGeometry< AttributeArray, IndexArray > |
using | Scalar = typename AttributeArray::Scalar |
using | Index = typename IndexArray::Scalar |
Public Member Functions | |
std::vector< std::string > | get_attribute_names () const |
bool | has_attribute (const std::string &name) const |
void | add_attribute (const std::string &name) |
template<typename ValueDerived , typename IndexDerived > | |
void | add_attribute (const std::string &name, const Eigen::PlainObjectBase< ValueDerived > &values, const Eigen::PlainObjectBase< IndexDerived > &indices) |
template<typename ValueDerived , typename IndexDerived > | |
void | set_attribute (const std::string &name, const Eigen::PlainObjectBase< ValueDerived > &values, const Eigen::PlainObjectBase< IndexDerived > &indices) |
const AttributeData & | get_attribute (const std::string &name) const |
AttributeData & | get_attribute (const std::string &name) |
const AttributeArray & | get_attribute_values (const std::string &name) const |
AttributeArray & | get_attribute_values (const std::string &name) |
const IndexArray & | get_attribute_indices (const std::string &name) const |
IndexArray & | get_attribute_indices (const std::string &name) |
void | remove_attribute (const std::string &name) |
template<typename ValueDerived , typename IndexDerived > | |
void | import_attribute (const std::string &name, Eigen::PlainObjectBase< ValueDerived > &values, Eigen::PlainObjectBase< IndexDerived > &indices) |
template<typename ValueDerived , typename IndexDerived > | |
void | export_attribute (const std::string &name, Eigen::PlainObjectBase< ValueDerived > &values, Eigen::PlainObjectBase< IndexDerived > &indices) |
decltype(auto) | get_attribute_as_mesh (const std::string &name) |
Legacy indexed attribute class.