Go to the documentation of this file.
5 #ifndef BALL_STRUCTURE_TRIANGULATEDSURFACE_H
6 #define BALL_STRUCTURE_TRIANGULATEDSURFACE_H
8 #ifndef BALL_STRUCTURE_TRIANGLE_H
12 #ifndef BALL_STRUCTURE_TRIANGLEEDGE_H
16 #ifndef BALL_STRUCTURE_TRIANGLEPOINT_H
20 #ifndef BALL_MATHS_PLANE3_H
24 #ifndef BALL_MATHS_SURFACE_H
28 #ifndef BALL_MATHS_VECTOR3_H
51 typedef std::list<TrianglePoint*>::iterator
53 typedef std::list<TrianglePoint*>::const_iterator
55 typedef std::list<TriangleEdge*>::iterator
57 typedef std::list<TriangleEdge*>::const_iterator
59 typedef std::list<Triangle*>::iterator
61 typedef std::list<Triangle*>::const_iterator
478 void refine(
bool out);
480 void buildFourTriangles
490 void setIncidences();
499 #endif // BALL_STRUCTURE_TRIANGULATEDSURFACE_H
std::list< TrianglePoint * > points_
PointIterator beginPoint()
void copy(const TriangulatedSurface &surface)
void insert(TriangleEdge *edge)
void remove(Triangle *triangle, bool deep=true)
std::list< Triangle * >::const_iterator ConstTriangleIterator
void insert(Triangle *triangle)
Size getNumberOfPoints() const
ConstTriangleIterator beginTriangle() const
std::list< Triangle * >::iterator TriangleIterator
void set(const TriangulatedSurface &surface, bool=true)
void remove(TriangleEdge *edge, bool deep=true)
std::list< TrianglePoint * >::iterator PointIterator
ConstEdgeIterator beginEdge() const
virtual ~TriangulatedSurface()
std::list< TrianglePoint * >::const_iterator ConstPointIterator
void icosaeder(bool out=true)
void shift(const TVector3< double > &c)
TriangleIterator endTriangle()
void insert(TrianglePoint *point)
std::list< TriangleEdge * >::const_iterator ConstEdgeIterator
void join(TriangulatedSurface &source)
void deleteIsolatedPoints()
void pentakisDodecaeder(bool out=true)
BALL_EXTERN_VARIABLE const double c
ConstEdgeIterator endEdge() const
TriangleIterator beginTriangle()
Size getNumberOfEdges() const
void setDensity(const double &density)
void remove(TrianglePoint *point, bool deep=true)
void refine(Position iterations, bool out=true)
TriangulatedSurface(const TriangulatedSurface &surface, bool=true)
Size number_of_triangles_
Size getNumberOfTriangles() const
void remove(TriangleIterator t, bool deep=true)
void set(const TriangulatedSphere &sphere, bool=true)
ConstPointIterator endPoint() const
BALL_EXPORT std::ostream & operator<<(std::ostream &os, const Exception::GeneralException &e)
std::list< TriangleEdge * >::iterator EdgeIterator
TriangulatedSphere(const TriangulatedSphere &sphere, bool=true)
void deleteIsolatedEdges()
ConstTriangleIterator endTriangle() const
#define BALL_CREATE(name)
void getBorder(std::list< TriangleEdge * > &border)
void cut(const TPlane3< double > &plane, const double &fuzzy=0)
std::list< Triangle * > triangles_
std::list< TriangleEdge * > edges_
void exportSurface(Surface &surface)
static TriangulatedSurface * createTube(unsigned int num_vertices, unsigned int subdiv=0, bool closed=false, bool out=true)
void remove(EdgeIterator e, bool deep=true)
virtual ~TriangulatedSphere()
static TriangulatedSurface * createDisk(unsigned int num_vertices, bool out=true)
void blowUp(const double &r)
void remove(PointIterator p, bool deep=true)
double getDensity() const
ConstPointIterator beginPoint() const