DGtal 1.4.0
|
#include <DGtal/geometry/surfaces/COBAGenericStandardPlaneComputer.h>
Public Types | |
typedef Point | Value |
typedef Point | value_type |
Public Member Functions | |
Transform () | |
Transform (bool posX, bool posY) | |
Point | operator() (const Point &p) const |
bool | isPlusZOnX () const |
bool | isPlusZOnY () const |
Point | inverse (const Point &p) const |
template<typename Vector3D > | |
void | transformBack (Vector3D &v) |
template<typename Vector3D > | |
void | transform (Vector3D &v) |
Data Fields | |
bool | _posX |
bool | _posY |
This type is used to cast points from \((x,y,z)\) to \((x \pm z,y \pm z,z)\) and inversely. This is used when recognize a standard plane. Indeed, we only know how to recognize naive planes. So we dilate points of standard planes with this transform so that the standard plane becomes naive. Otherwise said, if \(T_{\pm,\pm}: (x,y,z) \mapsto (x \pm z,y \pm z,z)\), then P is a standard plane iff one of \(T_{+,+}(P), T_{+,-}(P), T_{-,+}(P), T_{-,-}(P)\) is a naive plane of main axis z.
Definition at line 167 of file COBAGenericStandardPlaneComputer.h.
typedef Point DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::Value |
Definition at line 168 of file COBAGenericStandardPlaneComputer.h.
typedef Point DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::value_type |
Definition at line 169 of file COBAGenericStandardPlaneComputer.h.
|
inline |
Definition at line 172 of file COBAGenericStandardPlaneComputer.h.
|
inline |
Definition at line 173 of file COBAGenericStandardPlaneComputer.h.
|
inline |
Definition at line 186 of file COBAGenericStandardPlaneComputer.h.
References DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posX, and DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posY.
|
inline |
Definition at line 184 of file COBAGenericStandardPlaneComputer.h.
References DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posX.
|
inline |
Definition at line 185 of file COBAGenericStandardPlaneComputer.h.
References DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posY.
|
inline |
Definition at line 174 of file COBAGenericStandardPlaneComputer.h.
References DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posX, and DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posY.
|
inline |
Definition at line 205 of file COBAGenericStandardPlaneComputer.h.
References DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posX, and DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posY.
|
inline |
Definition at line 197 of file COBAGenericStandardPlaneComputer.h.
References DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posX, and DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posY.
bool DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posX |
true for +z on x, false for -z on x
Definition at line 170 of file COBAGenericStandardPlaneComputer.h.
Referenced by DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::inverse(), DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::isPlusZOnX(), DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::operator()(), DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::transform(), and DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::transformBack().
bool DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::_posY |
true for +z on y, false for -z on y
Definition at line 171 of file COBAGenericStandardPlaneComputer.h.
Referenced by DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::inverse(), DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::isPlusZOnY(), DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::operator()(), DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::transform(), and DGtal::COBAGenericStandardPlaneComputer< TSpace, TInternalInteger >::Transform::transformBack().