This is a fairly trivial (i, j, t) set representing a timestamped Point2D<int>. More...
#include <Image/Point2DT.H>
Public Member Functions | |
Point2DT () | |
Default contructor, initializes to zeros. | |
Point2DT (const Point2D< int > &pp, const SimTime &tt) | |
Constructor given a Point2D<int> and time. | |
Point2DT (const int i, const int j, const SimTime &tt) | |
Constructor given (i, j) and time. | |
bool | isValid () const |
returns true if coordinates are not (-1, -1) | |
Public Attributes | |
Point2D< int > | p |
The spatial coordinates. | |
SimTime | t |
The time, in seconds. |
This is a fairly trivial (i, j, t) set representing a timestamped Point2D<int>.
This class is an open (all members public) container for a Point2D<int> and a time stamp. Like Point2D<int>, this class is fully inlined, so there is no Point2DT.C file.
Definition at line 49 of file Point2DT.H.
Point2DT::Point2DT | ( | ) | [inline] |
Default contructor, initializes to zeros.
Definition at line 53 of file Point2DT.H.
Constructor given a Point2D<int> and time.
Definition at line 56 of file Point2DT.H.
Point2DT::Point2DT | ( | const int | i, | |
const int | j, | |||
const SimTime & | tt | |||
) | [inline] |
Constructor given (i, j) and time.
Definition at line 59 of file Point2DT.H.
bool Point2DT::isValid | ( | ) | const [inline] |
returns true if coordinates are not (-1, -1)
Definition at line 73 of file Point2DT.H.
References Point2D< T >::i, and p.
Point2D<int> Point2DT::p |
The spatial coordinates.
Definition at line 66 of file Point2DT.H.
Referenced by MonkeySaccadeController::computeWhenNewDecision(), ThresholdFrictionSaccadeController::computeWhenNewDecision(), ThresholdSaccadeController::computeWhenNewDecision(), TrivialSaccadeController::computeWhenNewDecision(), SaccadeController::dumpQueues(), and isValid().
The time, in seconds.
Definition at line 67 of file Point2DT.H.
Referenced by ThresholdFrictionSaccadeController::computeWhenNewDecision(), and SaccadeController::dumpQueues().