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

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

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

Public Member Functions

 Update2DDomainPosition (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::Update2DDomainPosition< Space, KSpace >

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

Definition at line 451 of file DrawWithViewer3DModifier.h.

Constructor & Destructor Documentation

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

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

Parameters
anIndexthe index of the 2D domain to be modified (should be less than the number of domain added in the current Viewer3D).
newDirgive the new direction of the domain 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 465 of file DrawWithViewer3DModifier.h.

466  : myIndex(anIndex),
467  myPosXBottomLeft(posXbottomLeft),
468  myPosYBottomLeft(posYbottomLeft),
469  myPosZBottomLeft(posZbottomLeft),
470  myNewDirection(newDir)
471  { }
Viewer3D< Space, KSpace >::ImageDirection myNewDirection

Field Documentation

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

Definition at line 473 of file DrawWithViewer3DModifier.h.

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

Definition at line 477 of file DrawWithViewer3DModifier.h.

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

Definition at line 474 of file DrawWithViewer3DModifier.h.

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

Definition at line 475 of file DrawWithViewer3DModifier.h.

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

Definition at line 476 of file DrawWithViewer3DModifier.h.


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