32 #include "DGtal/base/Common.h" 36 using namespace DGtal;
42 #include "DGtal/base/Common.h" 43 #include "DGtal/helpers/StdDefs.h" 44 #include "DGtal/shapes/Shapes.h" 45 #include "DGtal/io/viewers/Viewer3D.h" 49 using namespace DGtal;
61 unsigned int nbok = 0;
67 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " 68 <<
"true == true" << std::endl;
77 int main(
int argc,
char** argv )
80 QApplication application(argc,argv);
87 K.
init( plow, pup,
true );
100 viewer << voxelB<< voxelA;
108 viewer << surfelA << surfelB << surfelC << surfelD << surfelE;
113 viewer << linelA << linelB << linelC;
127 viewer << ssurfelXZ << ssurfelXY << ssurfelZY;
128 viewer << ssurfelXZo << ssurfelXYo << ssurfelZYo;
135 viewer << pointelA << pointelB << pointelC << linelAC;
137 viewer << Viewer3D<>::updateDisplay;
139 bool res = application.exec();
140 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
void beginBlock(const std::string &keyword="")
const Domain domain(Point(1, 2), Point(6, 5))
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
int main(int argc, char **argv)
bool init(const Point &lower, const Point &upper, bool isClosed)
Cell uCell(const PreCell &c) const
DGtal is the top-level namespace which contains all DGtal functions and types.
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value...
Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex...
SCell sCell(const SPreCell &c) const