26 #if GEOM_PSEUDO3D == GEOM_TRUE
27 namespace GEOM_FADE25D {
28 #elif GEOM_PSEUDO3D == GEOM_FALSE
29 namespace GEOM_FADE2D {
31 #error GEOM_PSEUDO3D is not defined
179 void addSegments(
const std::vector<Point2>& vSegmentEndPoints,
VtkColor color,
bool bWithEndPoints =
false);
VtkColor
Enumeration of colors used by the VTKWriter class to represent various colors in the VTK file format.
Definition: VtkWriter.h:39
@ VTK_GRAY
Gray color.
Definition: VtkWriter.h:48
@ VTK_WHITE
White color.
Definition: VtkWriter.h:47
@ VTK_GREEN
Green color.
Definition: VtkWriter.h:41
@ VTK_BLUE
Blue color.
Definition: VtkWriter.h:42
@ VTK_BROWN
Brown color.
Definition: VtkWriter.h:54
@ VTK_YELLOW
Yellow color.
Definition: VtkWriter.h:43
@ VTK_ORANGE
Orange color.
Definition: VtkWriter.h:49
@ VTK_BLACK
Black color.
Definition: VtkWriter.h:46
@ VTK_RED
Red color.
Definition: VtkWriter.h:40
@ VTK_PURPLE
Purple color.
Definition: VtkWriter.h:55
@ VTK_DARKBLUE
Dark blue color.
Definition: VtkWriter.h:52
@ VTK_PINK
Pink color.
Definition: VtkWriter.h:50
@ VTK_LIGHTBLUE
Light blue color.
Definition: VtkWriter.h:51
@ VTK_MAGENTA
Magenta color.
Definition: VtkWriter.h:45
@ VTK_CYAN
Cyan color.
Definition: VtkWriter.h:44
@ VTK_TRANSPARENT
Transparent color, meaning: Don't draw.
Definition: VtkWriter.h:56
@ VTK_LIGHTGREEN
Light green color.
Definition: VtkWriter.h:53
Represents a 2.5D point.
Definition: Point2.h:76
Represents a line segment between two points.
Definition: Segment2.h:41
Represents a triangle in a triangulation.
Definition: Triangle2.h:59
A class for writing data to the VTK file format for visualization purposes.
Definition: VtkWriter.h:76
void addSegments(const std::vector< Point2 > &vSegmentEndPoints, VtkColor color, bool bWithEndPoints=false)
Add multiple segments.
void addTriangles(const std::vector< Triangle2 * > &vT, VtkColor color)
Add multiple triangles.
void addTriangle(const Point2 &p0, const Point2 &p1, const Point2 &p2, VtkColor color)
Add a triangle defined by three points.
void addPoint(const Point2 &p, VtkColor color)
Add a single point.
void addSegments(const std::vector< Edge2 > &vEdges, VtkColor color, bool bWithEndPoints=false)
Add multiple Edge2 objects.
void writeFile()
Finalize the visualization.
VtkColor getNextColor()
Get the next color in the predefined sequence of colors.
void addSegment(const Point2 &source, const Point2 &target, VtkColor color, bool bWithEndPoints=false)
Add a segment.
void addPoints(const std::vector< Point2 * > &vPoints, VtkColor color)
Add multiple points.
void addTriangles(const std::vector< Point2 > &vTriangleCorners, VtkColor color)
Add multiple triangles.
void addPoints(const std::vector< Point2 > &vPoints, VtkColor color)
Add multiple points.
void addTriangle(const Triangle2 &t, VtkColor color)
Add a single triangle.
~VtkWriter()
Destructor for the VtkWriter class.
VtkWriter(const char *name)
Constructor for the VtkWriter class.
void addSegment(const Segment2 &segment, VtkColor color, bool bWithEndPoints=false)
Add a segment.
void addSegments(const std::vector< Segment2 > &vSegments, VtkColor color, bool bWithEndPoints=false)
Add multiple segments.