61int main(
int argc,
char** argv )
68 QApplication application(argc,argv);
70 viewer.setWindowTitle(
"simpleViewer");
74 Point pcenter( 10, 20, 20 );
75 Point pcenterImg( 10, 20, 20 );
77 std::string filename = testPath +
"samples/cat10.pgm3d";
99 ImageAdapterExtractor extractedImage(image, domainImage2D, embedder, idV);
100 ImageAdapterExtractor extractedImage2(image, domainImage2D, embedder2, idV);
101 ImageAdapterExtractor extractedImage3(image, domainImage2D, embedder3, idV);
102 ImageAdapterExtractor extractedImage4(image, domainImage2D, embedder4, idV);
104 viewer << extractedImage;
105 viewer << extractedImage2;
106 viewer << extractedImage3;
107 viewer << extractedImage4;
108 viewer << DGtal::UpdateImage3DEmbedding<Z3i::Space, Z3i::KSpace>(0,
113 viewer << DGtal::UpdateImage3DEmbedding<Z3i::Space, Z3i::KSpace>(1,
118 viewer << DGtal::UpdateImage3DEmbedding<Z3i::Space, Z3i::KSpace>(2,
123 viewer << DGtal::UpdateImage3DEmbedding<Z3i::Space, Z3i::KSpace>(3,
133 viewer << Viewer3D<>::updateDisplay;
136 bool res = application.exec();
137 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
const Point & upperBound() const