43#include "DGtal/base/Common.h"
44#include "DGtal/helpers/StdDefs.h"
45#include "DGtal/io/viewers/PolyscopeViewer.h"
55int main(
int argc,
char** argv )
62 K.init( plow, pup,
true );
67 SCell ptlow =
K.sPointel( plow );
68 SCell ptup1 =
K.sPointel( pup );
71 viewer << ptlow << ptup1 << ptup2;
82 viewer << p1 << p2 << p3 << p4 << p5 << p6 << p7 << p8;
103 viewer << linel0<< linel1<< linel2 << linel3 ;
104 viewer << linel4<< linel5<< linel6 << linel7 ;
105 viewer << linel8<< linel9<< linel10 << linel11 << linel12;
112 viewer << surfelA << surfelB << surfelC;
117 viewer << vox1 << vox2;
55int main(
int argc,
char** argv ) {
…}
static Self diagonal(Component val=1)
void show() override
Starts the event loop and display of elements.
Z3i this namespace gathers the standard of types for 3D imagery.
KhalimskySpaceND< 3, Integer > KSpace
DGtal is the top-level namespace which contains all DGtal functions and types.
PolyscopeViewer< Space, KSpace > MyViewer