Mesh.h File Reference
#include "ElementOps.h"
#include <RobotAPI/interface/ArViz/Elements.h>
#include <Eigen/Core>
#include <functional>
#include <numeric>
#include <vector>
+ Include dependency graph for Mesh.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Mesh
class  Polyhedron_3< PolyhedronTraits_3, PolyhedronItems_3, T_HDS, Alloc >
class  Surface_mesh< class >


 This file offers overloads of toIce() and fromIce() functions for STL container types.


template<class T >
std::vector< Tflatten (const std::vector< std::vector< T >> &vector)
 Flattens a 2D vector of nested vectors to a 1D vector. More...
std::vector< std::vector< viz::data::Color > > makeGrid2DColors (const std::vector< std::vector< Eigen::Vector3f >> &vertices, std::function< viz::Color(size_t x, size_t y, const Eigen::Vector3f &p)> colorFunc)
 Build colors of a 2D grid. More...
std::vector< viz::data::Face > makeGrid2DFaces (size_t num_x, size_t num_y)
 Builds faces of a 2D grid. More...
std::vector< std::vector< Eigen::Vector3f > > makeGrid2DVertices (Eigen::Vector2f extents, Eigen::Vector2i numPoints, float height=0)
 Builds vertices of a regular 2D grid in the xy-plane. More...