30#include "DGtal/base/Common.h"
31#include "DGtal/io/viewers/PolyscopeViewer.h"
32#include "DGtal/io/Color.h"
33#include "DGtal/helpers/StdDefs.h"
34#include "DGtal/shapes/Shapes.h"
44int main(
int argc,
char** argv )
47 trace.beginBlock (
"Testing Polygon 3D display in PolyscopeViewer" );
48 std::vector<Z3i::RealPoint> polyg1;
56 std::vector<Z3i::RealPoint> polyg2;
64 trace.emphase() <<
"Passed." << endl;
44int main(
int argc,
char** argv ) {
…}
std::string drawPolygon(const std::vector< Vec > &vertices, const std::string &uname="Polygon_{i}")
Draws a polygon.
void show() override
Starts the event loop and display of elements.
Z3i this namespace gathers the standard of types for 3D imagery.
Space::RealPoint RealPoint
DGtal is the top-level namespace which contains all DGtal functions and types.