DGtal  1.5.beta
DGtal::UpdateImagePosition< Space, KSpace > Struct Template Reference

class to modify the position and orientation of an textured 2D image. More...

#include <DGtal/io/viewers/DrawWithViewer3DModifier.h>

Inheritance diagram for DGtal::UpdateImagePosition< Space, KSpace >:
[legend]

Public Member Functions

 UpdateImagePosition (unsigned int anIndex, typename Viewer3D< Space, KSpace >::ImageDirection newDir, double posXbottomLeft, double posYbottomLeft, double posZbottomLeft)
 
- 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
 
double myPosXBottomLeft
 
double myPosYBottomLeft
 
double myPosZBottomLeft
 
Viewer3D< Space, KSpace >::ImageDirection myNewDirection
 

Detailed Description

template<typename Space, typename KSpace>
struct DGtal::UpdateImagePosition< Space, KSpace >

class to modify the position and orientation of an textured 2D image.

Definition at line 194 of file DrawWithViewer3DModifier.h.

Constructor & Destructor Documentation

◆ UpdateImagePosition()

template<typename Space , typename KSpace >
DGtal::UpdateImagePosition< Space, KSpace >::UpdateImagePosition ( unsigned int  anIndex,
typename Viewer3D< Space, KSpace >::ImageDirection  newDir,
double  posXbottomLeft,
double  posYbottomLeft,
double  posZbottomLeft 
)
inline

Constructor given from an specific image index, a new direction (associated to the normal of the image plane), and and a new position of the bottom-left point.

Parameters
anIndexthe index of the image to be modified (should be less than the number of image added in the current Viewer3D).
newDirgive the new direction of the image normal vector.
posXbottomLeftthe x position of the bottom left point.
posYbottomLeftthe y position of the bottom left point.
posZbottomLeftthe z position of the bottom left point.

Definition at line 208 of file DrawWithViewer3DModifier.h.

209  : myIndex(anIndex),
210  myPosXBottomLeft(posXbottomLeft),
211  myPosYBottomLeft(posYbottomLeft),
212  myPosZBottomLeft(posZbottomLeft),
213  myNewDirection(newDir)
214  {}
Viewer3D< Space, KSpace >::ImageDirection myNewDirection

Field Documentation

◆ myIndex

template<typename Space , typename KSpace >
unsigned int DGtal::UpdateImagePosition< Space, KSpace >::myIndex

Definition at line 216 of file DrawWithViewer3DModifier.h.

◆ myNewDirection

template<typename Space , typename KSpace >
Viewer3D<Space,KSpace>::ImageDirection DGtal::UpdateImagePosition< Space, KSpace >::myNewDirection

Definition at line 220 of file DrawWithViewer3DModifier.h.

◆ myPosXBottomLeft

template<typename Space , typename KSpace >
double DGtal::UpdateImagePosition< Space, KSpace >::myPosXBottomLeft

Definition at line 217 of file DrawWithViewer3DModifier.h.

◆ myPosYBottomLeft

template<typename Space , typename KSpace >
double DGtal::UpdateImagePosition< Space, KSpace >::myPosYBottomLeft

Definition at line 218 of file DrawWithViewer3DModifier.h.

◆ myPosZBottomLeft

template<typename Space , typename KSpace >
double DGtal::UpdateImagePosition< Space, KSpace >::myPosZBottomLeft

Definition at line 219 of file DrawWithViewer3DModifier.h.


The documentation for this struct was generated from the following file: