Loading...
Searching...
No Matches
Mesh_medit.h
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Siargey Kachanovich
*
* Copyright (C) 2019 Inria
*
* Modification(s):
* - YYYY/MM Author: Description of the modification
*/
#ifndef IO_MESH_MEDIT_H_
#define IO_MESH_MEDIT_H_
#include <Eigen/Dense>
#include <vector>
#include <utility> // for std::pair
namespace Gudhi {
namespace coxeter_triangulation {
struct Mesh_medit {
typedef std::vector<Eigen::VectorXd> Vertex_points;
typedef std::pair<std::vector<std::size_t>, std::size_t> Mesh_element;
typedef std::vector<Mesh_element> Mesh_elements;
typedef std::vector<double> Scalar_field_range;
Vertex_points vertex_points;
Mesh_elements edges;
Mesh_elements triangles;
Mesh_elements tetrahedra;
Scalar_field_range triangles_scalar_range;
Scalar_field_range tetrahedra_scalar_range;
};
} // namespace coxeter_triangulation
} // namespace Gudhi
#endif
Gudhi
Gudhi namespace.
Definition SimplicialComplexForAlpha.h:14
Gudhi::coxeter_triangulation::Mesh_medit
Structure to store a mesh that can be output in Medit .mesh file format using the output_meshes_to_me...
Definition Mesh_medit.h:29
Gudhi::coxeter_triangulation::Mesh_medit::Vertex_points
std::vector< Eigen::VectorXd > Vertex_points
Type of a range of vertices.
Definition Mesh_medit.h:31
Gudhi::coxeter_triangulation::Mesh_medit::vertex_points
Vertex_points vertex_points
Range of vertices of type Eigen::VectorXd to output.
Definition Mesh_medit.h:43
Gudhi::coxeter_triangulation::Mesh_medit::Scalar_field_range
std::vector< double > Scalar_field_range
Type of a range of scalar field .
Definition Mesh_medit.h:40
Gudhi::coxeter_triangulation::Mesh_medit::tetrahedra
Mesh_elements tetrahedra
Range of tetrahedra.
Definition Mesh_medit.h:49
Gudhi::coxeter_triangulation::Mesh_medit::tetrahedra_scalar_range
Scalar_field_range tetrahedra_scalar_range
Range of scalar values over tetrahedra.
Definition Mesh_medit.h:53
Gudhi::coxeter_triangulation::Mesh_medit::triangles
Mesh_elements triangles
Range of triangles.
Definition Mesh_medit.h:47
Gudhi::coxeter_triangulation::Mesh_medit::Mesh_element
std::pair< std::vector< std::size_t >, std::size_t > Mesh_element
Type of a mesh element. A pair consisting of a vector of vertex indices of type std::size_t and of an...
Definition Mesh_medit.h:36
Gudhi::coxeter_triangulation::Mesh_medit::edges
Mesh_elements edges
Range of edges.
Definition Mesh_medit.h:45
Gudhi::coxeter_triangulation::Mesh_medit::Mesh_elements
std::vector< Mesh_element > Mesh_elements
Type of a range of mesh elements.
Definition Mesh_medit.h:38
Gudhi::coxeter_triangulation::Mesh_medit::triangles_scalar_range
Scalar_field_range triangles_scalar_range
Range of scalar values over triangles.
Definition Mesh_medit.h:51