DGtal 1.3.0
|
#include <DGtal/geometry/surfaces/ChordGenericStandardPlaneComputer.h>
Public Types | |
typedef InputPoint | Value |
typedef InputPoint | value_type |
Public Member Functions | |
Transform () | |
Transform (bool posX, bool posY) | |
InputPoint | operator() (const InputPoint &p) const |
bool | isPlusZOnX () const |
bool | isPlusZOnY () const |
InputPoint | inverse (const InputPoint &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 166 of file ChordGenericStandardPlaneComputer.h.
typedef InputPoint DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::Value |
Definition at line 167 of file ChordGenericStandardPlaneComputer.h.
typedef InputPoint DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::value_type |
Definition at line 168 of file ChordGenericStandardPlaneComputer.h.
|
inline |
Definition at line 171 of file ChordGenericStandardPlaneComputer.h.
|
inline |
Definition at line 172 of file ChordGenericStandardPlaneComputer.h.
|
inline |
Definition at line 179 of file ChordGenericStandardPlaneComputer.h.
References DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posX, and DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posY.
|
inline |
Definition at line 177 of file ChordGenericStandardPlaneComputer.h.
References DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posX.
|
inline |
Definition at line 178 of file ChordGenericStandardPlaneComputer.h.
References DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posY.
|
inline |
Definition at line 173 of file ChordGenericStandardPlaneComputer.h.
References DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posX, and DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posY.
|
inline |
|
inline |
bool DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posX |
true for +z on x, false for -z on x
Definition at line 169 of file ChordGenericStandardPlaneComputer.h.
Referenced by DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::inverse(), DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::isPlusZOnX(), DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::operator()(), DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::transform(), and DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::transformBack().
bool DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::_posY |
true for +z on y, false for -z on y
Definition at line 170 of file ChordGenericStandardPlaneComputer.h.
Referenced by DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::inverse(), DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::isPlusZOnY(), DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::operator()(), DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::transform(), and DGtal::ChordGenericStandardPlaneComputer< TSpace, TInputPoint, TInternalScalar >::Transform::transformBack().