Visualizer3 is a 3D scene writer for the Geomview viewer. More...
#include <Visualizer3.h>
Public Member Functions | |
Visualizer3 (const char *name) | |
void | closeFile () |
void | setBackfaces (bool bWithBackfaces_) |
void | writeBall (const Point2 &p, double radius) |
void | writeCubes (const std::vector< Point2 > &vPoints, const char *color) |
void | writeNormals (const std::vector< Triangle2 * > &vT, double scale) |
void | writePoint (const Point2 &p, unsigned linewidth, const char *color) |
void | writePoints (const std::vector< Point2 * > &vPoints, unsigned linewidth, const char *color) |
void | writePoints (const std::vector< Point2 > &vPoints, unsigned linewidth, const char *color) |
void | writeSegment (const Point2 &src, const Point2 &trg, const char *color, bool bWithEndPoints=false) |
void | writeSegments (const std::vector< Edge2 > &vSegments, const char *color, bool bWithEndPoints=false) |
void | writeSegments (const std::vector< Segment2 > &vSegments, const char *color, bool bWithEndPoints=false) |
void | writeTriangle (const Point2 &p0, const Point2 &p1, const Point2 &p2, const char *color) |
void | writeTriangle (const Triangle2 &t, const char *color) |
void | writeTriangles (const std::vector< Point2 > &vTriangleCorners, const char *color, bool bWithNNV) |
void | writeTriangles (const std::vector< Triangle2 * > &vT, const char *color, bool bWithNormals=false) |
void | writeVertexPairs (const std::vector< VertexPair2 > &vVertexPairs, const char *color) |
Static Public Member Functions | |
static const char * | getColor (int i) |
static const char * | getNextColor () |
static const char * | getNextColorAndName (const char *&) |
static int | getNextColorNum () |
Visualizer3 is a 3D scene writer for the Geomview viewer.