#include "ElementOps.h"
#include <RobotAPI/interface/ArViz/Elements.h>
#include <Eigen/Core>
#include <functional>
#include <numeric>
#include <vector>
Go to the source code of this file.
|
template<class T > |
std::vector< T > | flatten (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...
|
|