32 #include "DGtal/base/Common.h" 33 #include "ConfigTest.h" 34 #include "DGtal/helpers/StdDefs.h" 35 #include "DGtal/io/viewers/Viewer3D.h" 40 using namespace DGtal;
46 int main(
int argc,
char** argv )
51 QApplication application(argc,argv);
53 viewer.setWindowTitle(
"simpleViewer");
81 viewer << p13D << p23D << p13Dt << p23Dt << p13Dtt << p23Dtt;
82 viewer << dom << dom2 << dom3;
84 viewer << dom4 << dom5 << dom6;
86 viewer << dom7 << dom8 << dom9;
108 viewer << Viewer3D<>::updateDisplay;
110 bool res = application.exec();
111 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
void beginBlock(const std::string &keyword="")
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
std::string className() const
DGtal is the top-level namespace which contains all DGtal functions and types.
int main(int argc, char **argv)
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
class to modify the data of an given image and also the possibility to translate it (optional).
Modifier class in a Display3D stream. Useful to choose your own mode for a given class....