23 #include "Triangle3.h" 35 void openFile(std::string filename);
38 void writeBall(
Ball3* ball);
39 void writeBall(
const Point3& center,
double weight,
bool bTransparent=
false);
40 void writeBalls(
const std::vector<Ball3>& vBalls,
bool bTransparent=
false);
41 void writeSegment(
const Point3& src,
const Point3& trg,
const std::string& c);
42 void writePolygon(std::vector<Point3>& vPoints,
const std::string& c);
43 void writeTetrahedron(
Tet3* pTet,
const std::string& c);
44 void writeTriangle(Triangle3* pT,
const std::string& c);
45 void writeTriangles(std::vector<Triangle3*> vTriangles,
const std::string& c);
46 void writeBbox(
const Bbox3& bbx,
const std::string& c);
48 void writePoint(
const Point3& p,
unsigned lineWidth,
const std::string& color);
49 void writePoints(std::vector<Point3>& vPoints,
unsigned lineWidth,
const std::string& color);
50 void writePoints(std::vector<Point3*>& vPoints,
unsigned lineWidth,
const std::string& color);
52 static std::string getNextColor();
53 static std::string getColor(
unsigned ith);
54 static std::string getColorName(
unsigned ith);
56 static std::string CLIGHTBLUE;
57 static std::string CDARKBLUE;
58 static std::string CYELLOW;
59 static std::string CPINK;
60 static std::string CBLACK;
61 static std::string CLIGHTBROWN;
62 static std::string CDARKBROWN;
63 static std::string CORANGE;
64 static std::string CPURPLE;
65 static std::string CGRAY;
66 static std::string CLIGHTGRAY;
67 static std::string CRED;
68 static std::string CGREEN;
69 static std::string CWHITE;
70 static std::string CRIMSON;
71 static std::string CDARKORANGE;
72 static std::string CGOLDENROD;
73 static std::string COLIVE;
74 static std::string CLAWNGREEN;
75 static std::string CGREENYELLOW;
76 static std::string CPALEGREEN;
77 static std::string CMEDSPRINGGREEN;
78 static std::string CLIGHTSEAGREAN;
79 static std::string CCYAN;
80 static std::string CSTEELBLUE;
81 static std::string MIDNIGHTBLUE;
82 static std::string CWHEAT;
86 std::ofstream outFile;
87 void startList(
const size_t numPoints,
const size_t numTriangles,
bool bWithEdges=
true);
89 static const std::string colorNames[27];
90 static const std::string colorArray[27];
91 static int nextColorIdx;
Vertex.
Definition: Point3.h:32
Tetrahedron.
Definition: Tet3.h:46
Axis-aligned minimal 3D bounding box.
Definition: Bbox3.h:13
Sphere.
Definition: Ball3.h:20
Geomview visualizations.
Definition: Visualizer3.h:29