2 #if defined(Viewer3DImage_RECURSES) 3 #error Recursive header files inclusion detected in Viewer3DImage.h 4 #else // defined(Viewer3DImage_RECURSES) 6 #define Viewer3DImage_RECURSES 9 #if !defined Viewer3DImage_h 10 #define Viewer3DImage_h 15 #include "DGtal/helpers/StdDefs.h" 16 #include "DGtal/io/viewers/Viewer3D.h" 17 #include "DGtal/io/Display3D.h" 18 #include "DGtal/images/ImageSelector.h" 19 #include "DGtal/images/ImageContainerBySTLVector.h" 20 #include "DGtal/images/ConstImageAdapter.h" 22 template <
typename Space = DGtal::Z3i::Space,
typename KSpace = DGtal::Z3i::KSpace>
26 typedef DGtal::ImageContainerBySTLVector<DGtal::Z3i::Domain, unsigned char>
Image3D;
27 typedef DGtal::ImageContainerBySTLVector<DGtal::Z2i::Domain, unsigned char>
Image2D;
29 typedef DGtal::ConstImageAdapter<Image3D, Image2D::Domain, DGtal::functors::Projector< DGtal::Z3i::Space>,
32 typedef DGtal::ConstImageAdapter<Image3D, DGtal::Z2i::Domain, DGtal::functors::SliceRotator2D< DGtal::Z3i::Domain >,
86 #endif // undefined viewer3dimage 88 #undef Viewer3DImage_RECURSES 89 #endif // else defined(Viewer3DImage_RECURSES)
double myTotalAngleRotationY
DGtal::ImageContainerBySTLVector< DGtal::Z2i::Domain, unsigned char > Image2D
virtual void keyPressEvent(QKeyEvent *e)
virtual QString helpString() const
Viewer3DImage(ModeVisu aMode=BoundingBox)
DGtal::ConstImageAdapter< Image3D, Image2D::Domain, DGtal::functors::Projector< DGtal::Z3i::Space >, Image3D::Value, DGtal::functors::Identity > SliceImageAdapter
DGtal::ImageContainerBySTLVector< DGtal::Z3i::Domain, unsigned char > Image3D
double myTotalAngleRotationZ
DGtal::Z3i::Point myImageOrigin
Viewer3DImage(Image3D *an3DImage)
double myTotalAngleRotationX
DGtal::ConstImageAdapter< Image3D, DGtal::Z2i::Domain, DGtal::functors::SliceRotator2D< DGtal::Z3i::Domain >, Image3D::Value, DGtal::functors::Identity > MyRotatorSliceImageAdapter
void setVolImage(Image3D *an3DImage)