ImagePoint Class Reference
The structure modelling a single point on a 2D image. More...
Public Member Functions | |
| ImagePoint () | |
| Constructor. | |
| ImagePoint (double _x, double _y) | |
| Constructor. | |
| bool | isValid () const |
| Returns true if the point is valid. | |
Public Attributes | |
| bool | valid |
| If true the point is valid. | |
| double | x |
| The x coordinate of the point. | |
| double | y |
| The y coordinate of the point. | |
Detailed Description
The structure modelling a single point on a 2D image.
Definition at line 36 of file projector.h.
Constructor & Destructor Documentation
| ImagePoint | ( | ) | [inline] |
| ImagePoint | ( | double | _x, |
| double | _y | ||
| ) | [inline] |
Constructor.
This builds a valid image point
- Parameters:
-
_x the x coordinate of the point _y the y coordinate of the point
Definition at line 57 of file projector.h.
Member Function Documentation
| bool isValid | ( | ) | const [inline] |
Returns true if the point is valid.
- Returns:
- true if the point is valid
Definition at line 69 of file projector.h.
Referenced by HandObjectVisualOffsetSensor::update().
Member Data Documentation
| bool valid |
If true the point is valid.
Definition at line 87 of file projector.h.
Referenced by Projector::pointInsideImage().
| double x |
The x coordinate of the point.
Definition at line 77 of file projector.h.
Referenced by HandObjectVisualOffsetSensor::update(), and ColorCameraSensor::update().
| double y |
The y coordinate of the point.
Definition at line 82 of file projector.h.
Referenced by HandObjectVisualOffsetSensor::update(), and ColorCameraSensor::update().
The documentation for this class was generated from the following file:
- experiments/include/projector.h