ACT-CV - Machine Vision for Cognitive Modeling
Classes | Macros | Functions
Pos.h File Reference

positions in n-dimensional space More...

#include <iostream>
#include <cmath>
#include "DMatrix.h"
Include dependency graph for Pos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Pos< dims, _t >
 fixed length vector that is interpreted as position More...
 

Macros

#define _USE_MATH_DEFINES
 

Functions

template<unsigned int dims, class _t >
bool operator== (const Pos< dims, _t > &a, const Pos< dims, _t > &b)
 
template<unsigned int dims>
DMatrix< dims, 1 > operator* (const DMatrix< dims, dims > &a, const Pos< dims > &b)
 
template<unsigned int dims, class _t >
std::ostream & operator<< (std::ostream &o, const Pos< dims, _t > &p)
 
template<unsigned int dims, class _t >
std::istream & operator>> (std::istream &in, Pos< dims, _t > &p)
 
template<unsigned int dims>
double Len (const Pos< dims, double > &p)
 
template<unsigned int dims>
float Len (const Pos< dims, float > &p)
 
template<unsigned int dims>
double Len (const Pos< dims, int > &p)
 
template<unsigned int dims, typename _t >
_t ScalProd (const Pos< dims, _t > &p1, const Pos< dims, _t > &p2)
 
template<class _t >
bool Innerhalb (const Pos< 4, _t > &rgn, const Pos< 2, _t > &pos)
 is pos inside the rectangle rgn? More...
 
template<unsigned int dims, class _t >
void InitZero (Pos< dims, _t > &x)
 for statistiken.h More...
 

Detailed Description

positions in n-dimensional space

created for the 2006 Fitts' law experiment

Definition in file Pos.h.

Macro Definition Documentation

#define _USE_MATH_DEFINES

Definition at line 33 of file Pos.h.

Function Documentation

template<unsigned int dims, class _t >
void InitZero ( Pos< dims, _t > &  x)

for statistiken.h

Definition at line 246 of file Pos.h.

References Pos< dims, _t >::Zero().

template<class _t >
bool Innerhalb ( const Pos< 4, _t > &  rgn,
const Pos< 2, _t > &  pos 
)

is pos inside the rectangle rgn?

Definition at line 239 of file Pos.h.

template<unsigned int dims>
double Len ( const Pos< dims, double > &  p)

Definition at line 193 of file Pos.h.

template<unsigned int dims>
float Len ( const Pos< dims, float > &  p)

Definition at line 206 of file Pos.h.

template<unsigned int dims>
double Len ( const Pos< dims, int > &  p)

Definition at line 219 of file Pos.h.

template<unsigned int dims>
DMatrix<dims,1> operator* ( const DMatrix< dims, dims > &  a,
const Pos< dims > &  b 
)

Definition at line 169 of file Pos.h.

template<unsigned int dims, class _t >
std::ostream& operator<< ( std::ostream &  o,
const Pos< dims, _t > &  p 
)

Definition at line 176 of file Pos.h.

template<unsigned int dims, class _t >
bool operator== ( const Pos< dims, _t > &  a,
const Pos< dims, _t > &  b 
)

Definition at line 163 of file Pos.h.

template<unsigned int dims, class _t >
std::istream& operator>> ( std::istream &  in,
Pos< dims, _t > &  p 
)

Definition at line 185 of file Pos.h.

template<unsigned int dims, typename _t >
_t ScalProd ( const Pos< dims, _t > &  p1,
const Pos< dims, _t > &  p2 
)

Definition at line 228 of file Pos.h.



ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)