DGtal
1.5.beta
|
class to modify the data of an given image and also the possibility to translate it (optional). More...
#include <DGtal/io/viewers/DrawWithViewer3DModifier.h>
Public Member Functions | |
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()) | |
Public Member Functions inherited from DGtal::DrawWithViewer3DModifier | |
std::string | className () const |
Public Member Functions inherited from DGtal::DrawWithDisplay3DModifier | |
std::string | className () const |
Data Fields | |
unsigned int | myIndex |
const TImageType * | myImage |
int | myTranslateX |
int | myTranslateY |
int | myTranslateZ |
const TFunctor | myFunctor |
double | myRotationAngle |
Viewer3D ::ImageDirection | myRotationDir |
class to modify the data of an given image and also the possibility to translate it (optional).
Definition at line 365 of file DrawWithViewer3DModifier.h.
|
inline |
Constructor given from an specific image index, a new image (should be of dimension 2 and with the same size than the orginal), and a possible (optional translation).
anIndex | the index of the image to be modified (should be less than the number of image added in the current Viewer3D). |
anImage | the new image which will be used to update the source image data. |
translateX | the x translation value. |
translateY | the y translation value. |
translateZ | the y translation value. |
rotationAngle | the angle of rotation. |
dirRotation | the rotation is applyed arount the given direction (default zDirection). |
aFunctor | a functor. |
Definition at line 382 of file DrawWithViewer3DModifier.h.
const TFunctor DGtal::UpdateImageData< TImageType, TFunctor >::myFunctor |
Definition at line 400 of file DrawWithViewer3DModifier.h.
const TImageType* DGtal::UpdateImageData< TImageType, TFunctor >::myImage |
Definition at line 396 of file DrawWithViewer3DModifier.h.
unsigned int DGtal::UpdateImageData< TImageType, TFunctor >::myIndex |
Definition at line 395 of file DrawWithViewer3DModifier.h.
double DGtal::UpdateImageData< TImageType, TFunctor >::myRotationAngle |
Definition at line 401 of file DrawWithViewer3DModifier.h.
Viewer3D ::ImageDirection DGtal::UpdateImageData< TImageType, TFunctor >::myRotationDir |
Definition at line 402 of file DrawWithViewer3DModifier.h.
int DGtal::UpdateImageData< TImageType, TFunctor >::myTranslateX |
Definition at line 397 of file DrawWithViewer3DModifier.h.
int DGtal::UpdateImageData< TImageType, TFunctor >::myTranslateY |
Definition at line 398 of file DrawWithViewer3DModifier.h.
int DGtal::UpdateImageData< TImageType, TFunctor >::myTranslateZ |
Definition at line 399 of file DrawWithViewer3DModifier.h.