61int main(
int argc,
char** argv )
65 QApplication application(argc,argv);
67 viewer.setWindowTitle(
"simpleViewer");
81 std::string filename = examplesPath +
"samples/lobster.vol";
85 invFunctor(image.domain().upperBound()));
92 for (
unsigned int i=0; i<30; i+=5){
94 SliceImageAdapter sliceImageZ(image,
domain, aSliceFunctor, idV);
95 viewer << sliceImageZ;
96 viewer << DGtal::UpdateImagePosition<Z3i::Space, Z3i::KSpace>(pos,
Viewer3D<>::zDirection, i*20, i*20, i*20 );
113 ImageAdapterExtractor extractedImage(image, domainImage2D, embedder, idV);
114 viewer << extractedImage;
115 viewer << DGtal::UpdateImage3DEmbedding<Z3i::Space, Z3i::KSpace>(pos,
123 viewer << DGtal::Viewer3D<>::updateDisplay;
const Point & upperBound() const