- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# 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
T | x
| x and y components
T | 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:

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/motion.h