DGtal 1.3.0
|
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. More...
#include <DGtal/io/viewers/DrawWithViewer3DModifier.h>
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 |
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.
|
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.
anIndex | the index of the image to be modified (should be less than the number of image added in the current Viewer3D). |
aPoint1 | the new first point position embedded in 3D associated the lower point of the 2D image. |
aPoint2 | the new second point position embedded in 3D (in CCW order). |
aPoint3 | the new third point position embedded in 3D associated the upper point of the 2D image. |
aPoint4 | the new fourth point position embedded in 3D (in CCW order). |
Definition at line 171 of file DrawWithViewer3DModifier.h.
unsigned int DGtal::UpdateImage3DEmbedding< Space, KSpace >::myIndex |
Definition at line 180 of file DrawWithViewer3DModifier.h.
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint1 |
Definition at line 181 of file DrawWithViewer3DModifier.h.
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint2 |
Definition at line 182 of file DrawWithViewer3DModifier.h.
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint3 |
Definition at line 183 of file DrawWithViewer3DModifier.h.
Space::Point DGtal::UpdateImage3DEmbedding< Space, KSpace >::myNewPoint4 |
Definition at line 184 of file DrawWithViewer3DModifier.h.