46int main(
int argc,
char** argv )
51 QApplication application(argc,argv);
53 viewer.setWindowTitle(
"simpleViewer");
60 Z3i::Point p13D( 0, 0, 0 );
61 Z3i::Point p23D( 10, 15, 0 );
63 Z3i::Point p13Dt( 20, 20, 20 );
64 Z3i::Point p23Dt( 30, 35, 20 );
66 Z3i::Point p13Dtt( 40, 20, 20 );
67 Z3i::Point p23Dtt( 50, 35, 20 );
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;
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
std::string className() const
class to modify the data of an given image and also the possibility to translate it (optional).