dirac::MotionVector< T > Class Template Reference

Motion vector class - just a pair. More...

#include <motion.h>

List of all members.

Public Member Functions

 MotionVector (T a, T b)
 Constructor.
 MotionVector ()
 Default construct - sets components to 0.
 MotionVector (T a)
 Constructor.
MotionVector< T > operator+ (const MotionVector< T > &argument) const
 Addition.
MotionVector< T > operator- (const MotionVector< T > &argument) const
 Subtraction.
MotionVector< T > operator * (const float argument) const
 Scalar multiplication.
MotionVector< T > operator * (const int argument) const
 Scalar multiplication.
MotionVector< T > operator<< (const int argument) const
 Bitshift of each component.
MotionVector< T > operator>> (const int argument) const
 Bitshift of each component.

Public Attributes

x
 x and y components
y


Detailed Description

template<class T>
class dirac::MotionVector< T >

Motion vector class - just a pair.

Definition at line 53 of file motion.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 13 14:49:21 2005 for guliverkli by  doxygen 1.4.5