43 #include "DGtal/base/Common.h"
44 #include "DGtal/helpers/StdDefs.h"
45 #include "DGtal/io/viewers/Viewer3D.h"
47 #include "DGtal/io/DrawWithDisplay3DModifier.h"
51 using namespace DGtal;
56 int main(
int argc,
char** argv )
59 QApplication application(argc,argv);
65 K.
init( plow, pup,
true );
76 viewer << ptlow << ptup1 << ptup2;
87 viewer << p1 << p2 << p3 << p4 << p5 << p6 << p7 << p8;
108 viewer << linel0<< linel1<< linel2 << linel3 ;
109 viewer << linel4<< linel5<< linel6 << linel7 ;
110 viewer << linel8<< linel9<< linel10 << linel11 << linel12;
117 viewer << surfelA << surfelB << surfelC;
122 viewer << vox1 << vox2;
129 viewer<< MyViewer::updateDisplay;
130 return application.exec();
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.
SCell sCell(const SPreCell &c) const
From a signed cell, returns a signed cell lying into this Khalismky space.
SCell sTranslation(const SCell &p, const Vector &vec) const
Add the vector [vec] to [p].
SCell sPointel(Point p, Sign sign=POS) const
From the digital coordinates of a point in Zn, builds the corresponding pointel (cell of dimension 0)...
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.
CameraDirection class to set camera direction.
CameraPosition class to set camera position.
CameraUpVector class to set camera up-vector.
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.