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

Constructor.

This builds an invalid image point

Definition at line 43 of file projector.h.

ImagePoint ( double  _x,
double  _y 
)
inline

Constructor.

This builds a valid image point

Parameters
_xthe x coordinate of the point
_ythe 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 ColorCameraSensor::update(), LinearCameraSensor::update(), and HandObjectVisualOffsetSensor::update().

double y

The y coordinate of the point.

Definition at line 82 of file projector.h.

Referenced by ColorCameraSensor::update(), and HandObjectVisualOffsetSensor::update().


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