|
| Mesh () |
| The default constructor only build a frame of the data structure with null geometry and attributes. More...
|
|
| Mesh (std::shared_ptr< Geometry > geom) |
|
| Mesh (const Mesh &other)=delete |
|
void | operator= (const Mesh &other)=delete |
|
void | initialize (const VertexArray &vertices, const FacetArray &facets) |
|
bool | is_initialized () const |
|
Index | get_dim () const |
|
Index | get_num_vertices () const |
|
Index | get_num_facets () const |
|
Index | get_vertex_per_facet () const |
|
const VertexArray & | get_vertices () const |
|
const FacetArray & | get_facets () const |
|
VertexArray & | ref_vertices () |
|
FacetArray & | ref_facets () |
|
std::vector< std::string > | get_vertex_attribute_names () const |
|
std::vector< std::string > | get_facet_attribute_names () const |
|
std::vector< std::string > | get_corner_attribute_names () const |
|
std::vector< std::string > | get_edge_attribute_names () const |
|
std::vector< std::string > | get_indexed_attribute_names () const |
|
bool | has_vertex_attribute (const std::string &name) const |
|
bool | has_facet_attribute (const std::string &name) const |
|
bool | has_corner_attribute (const std::string &name) const |
|
bool | has_edge_attribute (const std::string &name) const |
|
bool | has_indexed_attribute (const std::string &name) const |
|
void | add_vertex_attribute (const std::string &name) const |
|
void | add_facet_attribute (const std::string &name) const |
|
void | add_corner_attribute (const std::string &name) const |
|
void | add_edge_attribute (const std::string &name) const |
|
void | add_indexed_attribute (const std::string &name) const |
|
const AttributeArray & | get_vertex_attribute (const std::string &name) const |
|
decltype(auto) | get_vertex_attribute_array (const std::string &name) const |
|
decltype(auto) | get_vertex_attribute_array (const std::string &name) |
|
const AttributeArray & | get_facet_attribute (const std::string &name) const |
|
decltype(auto) | get_facet_attribute_array (const std::string &name) const |
|
decltype(auto) | get_facet_attribute_array (const std::string &name) |
|
const AttributeArray & | get_corner_attribute (const std::string &name) const |
|
decltype(auto) | get_corner_attribute_array (const std::string &name) const |
|
decltype(auto) | get_corner_attribute_array (const std::string &name) |
|
const AttributeArray & | get_edge_attribute (const std::string &name) const |
|
decltype(auto) | get_edge_attribute_array (const std::string &name) const |
|
decltype(auto) | get_edge_attribute_array (const std::string &name) |
|
auto | get_indexed_attribute (const std::string &name) const |
|
auto | get_indexed_attribute_array (const std::string &name) const |
|
auto | get_indexed_attribute_array (const std::string &name) |
|
void | set_vertex_attribute (const std::string &name, const AttributeArray &attr) |
|
void | set_facet_attribute (const std::string &name, const AttributeArray &attr) |
|
void | set_corner_attribute (const std::string &name, const AttributeArray &attr) |
|
void | set_edge_attribute (const std::string &name, const AttributeArray &attr) |
|
template<typename Derived > |
void | set_vertex_attribute_array (const std::string &name, Derived &&attr) |
|
template<typename Derived > |
void | set_facet_attribute_array (const std::string &name, Derived &&attr) |
|
template<typename Derived > |
void | set_corner_attribute_array (const std::string &name, Derived &&attr) |
|
template<typename Derived > |
void | set_edge_attribute_array (const std::string &name, Derived &&attr) |
|
void | set_indexed_attribute (const std::string &name, const AttributeArray &values, const IndexArray &indices) |
|
void | remove_vertex_attribute (const std::string &name) |
|
void | remove_facet_attribute (const std::string &name) |
|
void | remove_corner_attribute (const std::string &name) |
|
void | remove_edge_attribute (const std::string &name) |
|
void | remove_indexed_attribute (const std::string &name) |
|
template<typename Derived > |
void | import_vertices (Eigen::PlainObjectBase< Derived > &vertices) |
|
template<typename Derived > |
void | import_facets (Eigen::PlainObjectBase< Derived > &facets) |
|
template<typename AttributeDerived > |
void | import_vertex_attribute (const std::string &name, AttributeDerived &&attr) const |
|
template<typename AttributeDerived > |
void | import_facet_attribute (const std::string &name, AttributeDerived &&attr) const |
|
template<typename AttributeDerived > |
void | import_corner_attribute (const std::string &name, AttributeDerived &&attr) const |
|
template<typename AttributeDerived > |
void | import_edge_attribute (const std::string &name, AttributeDerived &&attr) const |
|
template<typename ValueDerived , typename IndexDerived > |
void | import_indexed_attribute (const std::string &name, ValueDerived &&values, IndexDerived &&indices) |
|
template<typename Derived > |
void | export_vertices (Eigen::PlainObjectBase< Derived > &vertices) |
|
template<typename Derived > |
void | export_facets (Eigen::PlainObjectBase< Derived > &facets) |
|
template<typename Derived > |
void | export_vertex_attribute (const std::string &name, Eigen::PlainObjectBase< Derived > &attr) |
|
template<typename Derived > |
void | export_facet_attribute (const std::string &name, Eigen::PlainObjectBase< Derived > &attr) |
|
template<typename Derived > |
void | export_corner_attribute (const std::string &name, Eigen::PlainObjectBase< Derived > &attr) |
|
template<typename Derived > |
void | export_edge_attribute (const std::string &name, Eigen::PlainObjectBase< Derived > &attr) |
|
template<typename ValueDerived , typename IndexDerived > |
void | export_indexed_attribute (const std::string &name, Eigen::PlainObjectBase< ValueDerived > &values, Eigen::PlainObjectBase< IndexDerived > &indices) |
|
void | initialize_connectivity () |
|
bool | is_connectivity_initialized () const |
|
const AdjacencyList & | get_vertex_vertex_adjacency () const |
|
const AdjacencyList & | get_vertex_facet_adjacency () const |
|
const AdjacencyList & | get_facet_facet_adjacency () const |
|
const IndexList & | get_vertices_adjacent_to_vertex (Index vi) const |
|
const IndexList & | get_facets_adjacent_to_vertex (Index vi) const |
|
const IndexList & | get_facets_adjacent_to_facet (Index fi) const |
|
void | initialize_edge_data () |
| Edge data initialization.
|
|
void | clear_edge_data () |
| Clear edge data.
|
|
bool | is_edge_data_initialized () const |
| Edge data accessors (const)
|
|
Index | get_num_edges () const |
| Gets the number of edges. More...
|
|
Index | get_edge (Index f, Index lv) const |
| Gets the edge index corresponding to (f, lv) – (f, lv+1). More...
|
|
Index | get_edge_from_corner (Index c) const |
| Gets the edge index corresponding to a corner index. More...
|
|
Index | find_edge_from_vertices (Index v0, Index v1) const |
| Retrieve the edge id from end vertices (v0, v1). More...
|
|
std::array< Index, 2 > | get_edge_vertices (Index e) const |
| Retrieve edge endpoints. More...
|
|
Index | get_vertex_opposite_edge (Index e) const |
| Returns a vertex id opposite the edge. More...
|
|
Index | get_num_facets_around_vertex (Index v) const |
| Count the number of facets incident to a given vertex. More...
|
|
Index | get_num_facets_around_edge (Index e) const |
| Count the number of facets incident to a given edge. More...
|
|
Index | get_one_facet_around_edge (Index e) const |
| Get the index of one facet around a given edge. More...
|
|
Index | get_one_corner_around_edge (Index e) const |
| Get the index of one corner around a given edge. More...
|
|
Index | get_one_corner_around_vertex (Index v) const |
| Get the index of one corner around a given vertex. More...
|
|
bool | is_boundary_edge (Index e) const |
| Determines whether the specified edge e is a boundary edge. More...
|
|
bool | is_boundary_vertex (Index v) const |
| Determines whether the specified vertex v is a boundary vertex. More...
|
|
template<typename Func > |
void | foreach_facets_around_vertex (Index v, Func func) const |
| Applies a function to each facet around a prescribed vertex. More...
|
|
template<typename Func > |
void | foreach_facets_around_edge (Index e, Func func) const |
| Applies a function to each facet around a prescribed edge. More...
|
|
template<typename Func > |
void | foreach_corners_around_vertex (Index v, Func func) const |
| Applies a function to each corner around a prescribed vertex. More...
|
|
template<typename Func > |
void | foreach_corners_around_edge (Index e, Func func) const |
| Applies a function to each corner around a prescribed edge. More...
|
|
void | initialize_topology () |
|
bool | is_topology_initialized () const |
|
bool | is_edge_manifold () const |
|
bool | is_vertex_manifold () const |
|
const MeshTopology< MeshType > & | get_topology () const |
|
void | initialize_components () |
|
bool | is_components_initialized () const |
|
Index | get_num_components () const |
|
const std::vector< IndexList > & | get_components () const |
|
const IndexList & | get_per_facet_component_ids () const |
|
bool | is_uv_initialized () const |
|
void | initialize_uv (const UVArray &uv, const UVIndices &uv_indices) |
|
void | import_uv (UVArray &&uv, UVIndices &&uv_indices) |
|
decltype(auto) | get_uv () const |
|
decltype(auto) | get_uv_indices () const |
|
decltype(auto) | get_uv_mesh () const |
|
void | clear_uv () const |
|
template<typename Archive > |
void | serialize_impl (Archive &ar) |
|