Example of Domain and Point display in PolyscopeViewer.
- See also
- Display3D: a stream mechanism for displaying 3D DGtal objects
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/io/viewers/PolyscopeViewer.h"
int main(
int argc,
char** argv )
{
PolyscopeViewer<> viewer;
viewer << p1 << p2 << p3;
return 0;
}
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
void show() override
Starts the event loop and display of elements.
DGtal is the top-level namespace which contains all DGtal functions and types.