14 #ifndef HRPUTIL_TRIANGULATOR_H_INCLUDED 15 #define HRPUTIL_TRIANGULATOR_H_INCLUDED 18 #include <boost/dynamic_bitset.hpp> 35 int apply(
const std::vector<int>& polygon);
62 return getVector3Ref((*vertices)[(*orgPolygon)[workPolygon[workPolygonIndex]]].
data());
std::vector< int > workPolygon
Vector3Ref getVector3Ref(const double *data)
Eigen::Vector3d Vector3Ref
boost::dynamic_bitset earMask
Vector3Ref workVertex(int workPolygonIndex)
std::vector< SFVec3f > MFVec3f
void setVertices(const MFVec3f &vertices)
Vector3Ref vertex(int localIndex)
const std::vector< int > & triangles()
int apply(const std::vector< int > &polygon)
bool checkIfEarContainsOtherVertices(int ear)
const std::vector< int > * orgPolygon
Convexity calcConvexity(int ear)
std::vector< int > triangles_