DGtal  0.9.3beta
Public Member Functions | Data Fields
DGtal::UpdateLastImagePosition< Space, KSpace > Struct Template Reference

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

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

Public Member Functions

 UpdateLastImagePosition (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

double myPosXBottomLeft
 
double myPosYBottomLeft
 
double myPosZBottomLeft
 
Viewer3D< Space, KSpace >::ImageDirection myNewDirection
 

Detailed Description

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

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

Definition at line 328 of file DrawWithViewer3DModifier.h.

Constructor & Destructor Documentation

template<typename Space, typename KSpace>
DGtal::UpdateLastImagePosition< Space, KSpace >::UpdateLastImagePosition ( 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
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 341 of file DrawWithViewer3DModifier.h.

342  :
343  myPosXBottomLeft(posXbottomLeft),
344  myPosYBottomLeft(posYbottomLeft),
345  myPosZBottomLeft(posZbottomLeft),
346  myNewDirection(newDir)
347  {
348 
349  }
Viewer3D< Space, KSpace >::ImageDirection myNewDirection

Field Documentation

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

Definition at line 353 of file DrawWithViewer3DModifier.h.

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

Definition at line 350 of file DrawWithViewer3DModifier.h.

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

Definition at line 351 of file DrawWithViewer3DModifier.h.

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

Definition at line 352 of file DrawWithViewer3DModifier.h.


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