30#if defined(DrawWithViewer3DModifier_RECURSES)
31#error Recursive header files inclusion detected in DrawWithViewer3DModifier.h
34#define DrawWithViewer3DModifier_RECURSES
36#if !defined DrawWithViewer3DModifier_h
38#define DrawWithViewer3DModifier_h
43#include "DGtal/base/Common.h"
44#include "DGtal/base/Alias.h"
45#include "DGtal/base/ConstAlias.h"
46#include "DGtal/images/CConstImage.h"
47#include "DGtal/base/CountedPtr.h"
48#include "DGtal/topology/KhalimskySpaceND.h"
49#include "DGtal/io/DrawWithDisplay3DModifier.h"
66#ifndef DrawWithBoard3DTo2DModifier_h
156 template <
typename Space,
typename KSpace>
193 template <
typename Space,
typename KSpace>
209 double posXbottomLeft,
double posYbottomLeft,
double posZbottomLeft ):
myIndex(anIndex),
250 template <
typename TImageType,
typename TFunctor,
typename Space,
typename KSpace>
297 template <
typename TImageType,
typename TFunctor,
typename Space,
typename KSpace>
309 TTextureMode::GrayScaleMode):
my3DImage(&anImage),
327 template <
typename Space,
typename KSpace>
342 double posXbottomLeft,
double posYbottomLeft,
double posZbottomLeft ):
364 template<
typename TImageType,
typename TFunctor= functors::Cast<
unsigned int> >
383 double translateY=0,
double translateZ=0,
428 double translateY=0,
double translateZ=0 ):
myIndex(anIndex),
450 template <
typename Space,
typename KSpace>
466 double posXbottomLeft,
double posYbottomLeft,
double posZbottomLeft ):
myIndex(anIndex),
491#undef DrawWithViewer3DModifier_RECURSES
Aim: This class encapsulates its parameter class to indicate that the given parameter is required to ...
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
TextureMode
the modes of representation of an image
ImageDirection
the 3 possible axes for the image direction
DGtal is the top-level namespace which contains all DGtal functions and types.
class to insert a custom 2D textured image by using a conversion functor and allows to change the def...
const TImageType * my2DImage
AddTextureImage2DWithFunctor(ConstAlias< TImageType > anImage, Clone< TFunctor > aFunctor, TTextureMode aMode=TTextureMode::GrayScaleMode)
Viewer3D< Space, KSpace >::TextureMode TTextureMode
BOOST_CONCEPT_ASSERT((concepts::CConstImage< TImageType >))
class to insert a custom 3D textured image by using a conversion functor and allows to change the def...
BOOST_CONCEPT_ASSERT((concepts::CConstImage< TImageType >))
const TImageType * my3DImage
Viewer3D< Space, KSpace >::TextureMode TTextureMode
AddTextureImage3DWithFunctor(ConstAlias< TImageType > anImage, Clone< TFunctor > aFunctor, TTextureMode aMode=TTextureMode::GrayScaleMode)
CameraDirection class to set camera direction.
CameraDirection(const double x, const double y, const double z)
CameraPosition class to set camera position.
CameraPosition(const double x, const double y, const double z)
CameraUpVector class to set camera up-vector.
CameraUpVector(const double x, const double y, const double z)
CameraZNearFar class to set near and far distance.
CameraZNearFar(const double near, const double far)
Base class specifying the methods for classes which intend to modify a Viewer3D stream.
Base class specifying the methods for classes which intend to modify a Viewer3D stream.
std::string className() const
class to modify the data of an given image and also the possibility to translate it (optional).
Translate2DDomain(unsigned int anIndex, double translateX=0, double translateY=0, double translateZ=0)
class to modify the position and orientation of an 2D domain.
Viewer3D< Space, KSpace >::ImageDirection myNewDirection
Update2DDomainPosition(unsigned int anIndex, typename Viewer3D< Space, KSpace >::ImageDirection newDir, double posXbottomLeft, double posYbottomLeft, double posZbottomLeft)
class to modify the 3d embedding of the image (useful to display not only 2D slice images)....
UpdateImage3DEmbedding(unsigned int anIndex, typename Space::Point aPoint1, typename Space::Point aPoint2, typename Space::Point aPoint3, typename Space::Point aPoint4)
class to modify the data of an given image and also the possibility to translate it (optional).
const TImageType * myImage
Viewer3D ::ImageDirection myRotationDir
UpdateImageData(unsigned int anIndex, ConstAlias< TImageType > anImage, double translateX=0, double translateY=0, double translateZ=0, double rotationAngle=0.0, typename Viewer3D<>::ImageDirection dirRotation=Viewer3D<>::zDirection, Clone< TFunctor > aFunctor=TFunctor())
class to modify the position and orientation of an textured 2D image.
Viewer3D< Space, KSpace >::ImageDirection myNewDirection
UpdateImagePosition(unsigned int anIndex, typename Viewer3D< Space, KSpace >::ImageDirection newDir, double posXbottomLeft, double posYbottomLeft, double posZbottomLeft)
class to modify the position and orientation of an textured 2D image.
UpdateLastImagePosition(typename Viewer3D< Space, KSpace >::ImageDirection newDir, double posXbottomLeft, double posYbottomLeft, double posZbottomLeft)
Viewer3D< Space, KSpace >::ImageDirection myNewDirection
Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor.