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

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

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

Public Member Functions

 UpdateImage3DEmbedding (unsigned int anIndex, typename Space::Point aPoint1, typename Space::Point aPoint2, typename Space::Point aPoint3, typename Space::Point aPoint4)
 
- 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
 
Space::Point myNewPoint1
 
Space::Point myNewPoint2
 
Space::Point myNewPoint3
 
Space::Point myNewPoint4
 

Detailed Description

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

class to modify the 3d embedding of the image (useful to display not only 2D slice images). The embdding can be explicitly given from the 3D position of the four bounding points.

Definition at line 157 of file DrawWithViewer3DModifier.h.

Constructor & Destructor Documentation

template<typename Space, typename KSpace>
DGtal::UpdateImage3DEmbedding< Space, KSpace >::UpdateImage3DEmbedding ( unsigned int  anIndex,
typename Space::Point  aPoint1,
typename Space::Point  aPoint2,
typename Space::Point  aPoint3,
typename Space::Point  aPoint4 
)
inline

Constructor given from the four embedded 3D points. The first (resp. third) point correspondts to the lower (res. upper) point according the 3 directions and the order should be given CCW.

Parameters
anIndexthe index of the image to be modified (should be less than the number of image added in the current Viewer3D).
aPoint1the new first point position embedded in 3D associated the lower point of the 2D image.
aPoint2the new second point position embedded in 3D (in CCW order).
aPoint3the new third point position embedded in 3D associated the upper point of the 2D image.
aPoint4the new fourth point position embedded in 3D (in CCW order).

Definition at line 171 of file DrawWithViewer3DModifier.h.

173  : myIndex(anIndex),
174  myNewPoint1(aPoint1),
175  myNewPoint2(aPoint2),
176  myNewPoint3(aPoint3),
177  myNewPoint4(aPoint4)
178  {
179  }

Field Documentation

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

Definition at line 180 of file DrawWithViewer3DModifier.h.

template<typename Space, typename KSpace>
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint1

Definition at line 181 of file DrawWithViewer3DModifier.h.

template<typename Space, typename KSpace>
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint2

Definition at line 182 of file DrawWithViewer3DModifier.h.

template<typename Space, typename KSpace>
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint3

Definition at line 183 of file DrawWithViewer3DModifier.h.

template<typename Space, typename KSpace>
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint4

Definition at line 184 of file DrawWithViewer3DModifier.h.


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