Structural deformable models
|
#include <VVector.h>
Public Types | |
typedef VVector< T, D > | VT |
typedef T * | TPtr |
typedef const T * | CTPtr |
typedef Traits< T > | TTrait |
Public Member Functions | |
VVector () | |
VVector (const T &sval) | |
VVector (CTPtr pval) | |
VVector (const VT &rhs) | |
~VVector () | |
TPtr | begin () |
CTPtr | begin () const |
TPtr | end () |
CTPtr | end () const |
const T & | operator[] (unsigned int i) const |
T & | operator[] (unsigned int i) |
bool | operator== (const VT &rhs) const |
bool | operator< (const VT &rhs) const |
bool | operator> (const VT &rhs) const |
bool | operator<= (const VT &rhs) const |
bool | operator>= (const VT &rhs) const |
VT & | operator= (const T &rhs) |
VT & | operator= (CTPtr rhs) |
VT & | operator= (const VT &rhs) |
VT & | operator+= (const VT &rhs) |
VT & | operator-= (const VT &rhs) |
VT & | operator*= (const VT &rhs) |
VT & | operator/= (const VT &rhs) |
VT & | operator+= (const T &rhs) |
VT & | operator-= (const T &rhs) |
VT & | operator*= (const T &rhs) |
VT & | operator/= (const T &rhs) |
VT | operator+ (const VT &rhs) const |
VT | operator- (const VT &rhs) const |
VT | operator* (const VT &rhs) const |
VT | operator/ (const VT &rhs) const |
VT | operator+ (const T &rhs) const |
VT | operator- (const T &rhs) const |
VT | operator* (const T &rhs) const |
VT | operator/ (const T &rhs) const |
VT & | times (const VT &rhs) |
T | dot (const VT &rhs) const |
VVector< T, 3 > | cross (const VVector< T, 3 > &rhs) const |
T | sum () const |
T | prod () const |
T | norm2 () const |
T | norm () const |
T | normalize () |
T | avg () const |
T | var () const |
T | stdev () const |
VT & | sqrtEach () |
T | maxVal () const |
T | minVal () const |
unsigned int | majorComponent () const |
VT & | clampLB (const VT &lb) |
VT & | clampUB (const VT &ub) |
VT & | clamp (const VT &lb, const VT &ub) |
float | angle (const VT &rhs) const |
Static Public Member Functions | |
static VT | zero () |
static VT | one () |
static unsigned int | size () |
Public Attributes | |
T | val [D] |
Friends | |
std::ostream & | operator<< (std::ostream &os, const VT &rhs) |
std::istream & | operator>> (std::istream &is, VT &rhs) |
a small numerical vector class
|
inline |
Definition at line 37 of file VVector.h.
Referenced by MStructure::buildAllStats(), VVector< float, 4 >::clamp(), VVector< float, 4 >::clampLB(), VVector< float, 4 >::clampUB(), VVector< float, 4 >::dot(), hgPropTF(), VVector< float, 4 >::operator*=(), VVector< float, 4 >::operator+=(), VVector< float, 4 >::operator-=(), VVector< float, 4 >::operator/=(), VVector< float, 4 >::operator<(), VVector< float, 4 >::operator<=(), VVector< float, 4 >::operator=(), VVector< float, 4 >::operator==(), VVector< float, 4 >::operator>(), VVector< float, 4 >::operator>=(), MStructure::showStats(), and VVector< float, 4 >::times().
|
inline |
Definition at line 253 of file VVector.h.
Referenced by EMDRect::clamp(), ExpectationMap::getPropVec(), and EMDRect::ratePropVec().
Definition at line 241 of file VVector.h.
Referenced by Searcher::cleanFlags(), and ExpectationMap::correctLBUB().
Definition at line 247 of file VVector.h.
Referenced by Searcher::cleanFlags(), and ExpectationMap::correctLBUB().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 41 of file VVector.h.
Referenced by SubStructure::analyseTF(), MStructure::buildAllStats(), EMDRect::getPropVec(), EMDGauss::getPropVec(), hgPropTF(), EMDGauss::setStdev(), EMDXformer::setTFMat(), and MStructure::showStats().
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
T VVector< T, D >::val[D] |
Definition at line 304 of file VVector.h.
Referenced by VVector< float, 4 >::cross().