57 #include "DGtal/base/Common.h"
58 #include "DGtal/helpers/StdDefs.h"
60 #include "DGtal/io/DrawWithDisplay3DModifier.h"
61 #include "DGtal/io/viewers/Viewer3D.h"
66 using namespace DGtal;
71 int main(
int argc,
char** argv )
74 QApplication application(argc,argv);
80 K.
init( plow, pup,
true );
91 viewer << ptlow << ptup1 << ptup2;
102 viewer << p1 << p2 << p3 << p4 << p5 << p6 << p7 << p8;
123 viewer << linel0<< linel1<< linel2 << linel3 ;
124 viewer << linel4<< linel5<< linel6 << linel7 ;
125 viewer << linel8<< linel9<< linel10 << linel11 << linel12;
132 viewer << surfelA << surfelB << surfelC;
137 viewer << vox1 << vox2;
139 viewer<< MyViewer::updateDisplay;
140 return application.exec();
std::string className() const
Aim: This class is a model of CCellularGridSpaceND. It represents the cubical grid as a cell complex,...
bool init(const Point &lower, const Point &upper, bool isClosed)
Specifies the upper and lower bounds for the maximal cells in this space.
Cell uTranslation(const Cell &p, const Vector &vec) const
Add the vector [vec] to [p].
Cell uPointel(Point p) const
From the digital coordinates of a point in Zn, builds the corresponding pointel (cell of dimension 0)...
Cell uCell(const PreCell &c) const
From an unsigned cell, returns an unsigned cell lying into this Khalismky space.
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)
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal is the top-level namespace which contains all DGtal functions and types.
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....