VectorXD< D, T > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/MatrixXX.h>

Public Types

enum  { Dim = D }
 
typedef ScalarTypeiterator
 
typedef T ScalarType
 
typedef MatrixXX< 1, D, TSuperType
 
typedef VectorXD< D, TThisType
 
typedef T value_type
 

Public Member Functions

ScalarTypebegin ()
 
const ScalarTypebegin () const
 
ScalarType Distance (const VectorXD< D, T > &v) const
 
ScalarTypeend ()
 
const ScalarTypeend () const
 
VectorXD< Dim+1, THomogene () const
 
ScalarType L1Distance (const VectorXD< D, T > &v) const
 
ScalarType L1Length () const
 
ScalarType Length () const
 
ScalarType MaxDistance (const VectorXD< D, T > &v) const
 
template<class S >
VectorXD< D, T > & operator*= (S s)
 
VectorXD< D, T > & operator+= (const MatrixXX< 1, D, T > &a)
 
VectorXD< D, Toperator- () const
 
VectorXD< D, T > & operator-= (const MatrixXX< 1, D, T > &a)
 
template<class S >
VectorXD< D, T > & operator/= (S s)
 
template<class S >
ThisTypeoperator= (const MatrixXX< 1, D, S > &v)
 
ThisTypeoperator= (const SuperType &s)
 
ThisTypeoperator= (const ThisType &v)
 
bool operator== (const VectorXD< D, T > &a) const
 
ScalarTypeoperator[] (unsigned int i)
 
ScalarType operator[] (unsigned int i) const
 
ScalarType SqrDistance (const VectorXD< D, T > &v) const
 
ScalarType SqrLength () const
 
 VectorXD ()
 
template<class S >
 VectorXD (const S *v)
 
template<class S >
 VectorXD (const S x, typename std::enable_if< std::is_convertible< S, ScalarType >::value, NullClass >::type &dummy= *((NullClass *) 0))
 
 VectorXD (const SuperType &s)
 
 VectorXD (const T *v)
 
 VectorXD (const VectorXD< D - 1, T > &v, T s)
 
 VectorXD (const VectorXD< D - 2, T > &v, T s, T s2)
 
 VectorXD (const VectorXD< D - 3, T > &v, T s, T s2, T s3)
 
template<class S >
 VectorXD (const VectorXD< D, S > &v)
 
 VectorXD (const VectorXD< D, T > &v)
 
template<unsigned int X>
 VectorXD (const VectorXD< X, T > &vec)
 
 VectorXD (T x)
 
 VectorXD (T x, T y)
 
 VectorXD (T x, T y, T z)
 
 VectorXD (T x, T y, T z, T w)
 
void Zero ()
 

Public Attributes

const typedef ScalarTypeconst_iterator
 

Detailed Description

template<unsigned int D, class T>
class GfxTL::VectorXD< D, T >

Definition at line 24 of file MatrixXX.h.

Member Typedef Documentation

◆ iterator

typedef ScalarType* iterator

Definition at line 351 of file VectorXD.h.

◆ ScalarType

typedef T ScalarType

Definition at line 23 of file VectorXD.h.

◆ SuperType

typedef MatrixXX<1, D, T> SuperType

Definition at line 26 of file VectorXD.h.

◆ ThisType

typedef VectorXD<D, T> ThisType

Definition at line 25 of file VectorXD.h.

◆ value_type

typedef T value_type

Definition at line 24 of file VectorXD.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dim 

Definition at line 28 of file VectorXD.h.

Constructor & Destructor Documentation

◆ VectorXD() [1/15]

VectorXD ( )
inline

Definition at line 33 of file VectorXD.h.

◆ VectorXD() [2/15]

VectorXD ( const VectorXD< D, T > &  v)
inline

Definition at line 37 of file VectorXD.h.

◆ VectorXD() [3/15]

VectorXD ( const T v)
inlineexplicit

Definition at line 41 of file VectorXD.h.

◆ VectorXD() [4/15]

VectorXD ( const S *  v)
inlineexplicit

Definition at line 47 of file VectorXD.h.

◆ VectorXD() [5/15]

VectorXD ( const VectorXD< D, S > &  v)
inlineexplicit

Definition at line 56 of file VectorXD.h.

◆ VectorXD() [6/15]

VectorXD ( const SuperType s)
inline

Definition at line 64 of file VectorXD.h.

◆ VectorXD() [7/15]

VectorXD ( T  x)
inlineexplicit

Definition at line 68 of file VectorXD.h.

◆ VectorXD() [8/15]

VectorXD ( const S  x,
typename std::enable_if< std::is_convertible< S, ScalarType >::value, NullClass >::type &  dummy = *((NullClass*)0) 
)
inlineexplicit

Definition at line 77 of file VectorXD.h.

◆ VectorXD() [9/15]

VectorXD ( const VectorXD< X, T > &  vec)
inlineexplicit

Definition at line 88 of file VectorXD.h.

◆ VectorXD() [10/15]

VectorXD ( const VectorXD< D - 1, T > &  v,
T  s 
)
inlineexplicit

Definition at line 100 of file VectorXD.h.

◆ VectorXD() [11/15]

VectorXD ( const VectorXD< D - 2, T > &  v,
T  s,
T  s2 
)
inlineexplicit

Definition at line 109 of file VectorXD.h.

◆ VectorXD() [12/15]

VectorXD ( const VectorXD< D - 3, T > &  v,
T  s,
T  s2,
T  s3 
)
inlineexplicit

Definition at line 119 of file VectorXD.h.

◆ VectorXD() [13/15]

VectorXD ( T  x,
T  y 
)
inline

Definition at line 130 of file VectorXD.h.

◆ VectorXD() [14/15]

VectorXD ( T  x,
T  y,
T  z 
)
inline

Definition at line 139 of file VectorXD.h.

◆ VectorXD() [15/15]

VectorXD ( T  x,
T  y,
T  z,
T  w 
)
inline

Definition at line 149 of file VectorXD.h.

Member Function Documentation

◆ begin() [1/2]

ScalarType* begin ( )
inline

Definition at line 355 of file VectorXD.h.

◆ begin() [2/2]

const ScalarType* begin ( ) const
inline

Definition at line 367 of file VectorXD.h.

◆ Distance()

ScalarType Distance ( const VectorXD< D, T > &  v) const
inline

Definition at line 308 of file VectorXD.h.

◆ end() [1/2]

ScalarType* end ( )
inline

Definition at line 361 of file VectorXD.h.

◆ end() [2/2]

const ScalarType* end ( ) const
inline

Definition at line 373 of file VectorXD.h.

◆ Homogene()

VectorXD<Dim + 1, T> Homogene ( ) const
inline

Definition at line 340 of file VectorXD.h.

◆ L1Distance()

ScalarType L1Distance ( const VectorXD< D, T > &  v) const
inline

Definition at line 314 of file VectorXD.h.

◆ L1Length()

ScalarType L1Length ( ) const
inline

Definition at line 271 of file VectorXD.h.

◆ Length()

ScalarType Length ( ) const
inline

Definition at line 254 of file VectorXD.h.

◆ MaxDistance()

ScalarType MaxDistance ( const VectorXD< D, T > &  v) const
inline

Definition at line 325 of file VectorXD.h.

◆ operator*=()

VectorXD<D, T>& operator*= ( s)
inline

Definition at line 227 of file VectorXD.h.

◆ operator+=()

VectorXD<D, T>& operator+= ( const MatrixXX< 1, D, T > &  a)
inline

Definition at line 206 of file VectorXD.h.

◆ operator-()

VectorXD<D, T> operator- ( ) const
inline

Definition at line 248 of file VectorXD.h.

◆ operator-=()

VectorXD<D, T>& operator-= ( const MatrixXX< 1, D, T > &  a)
inline

Definition at line 216 of file VectorXD.h.

◆ operator/=()

VectorXD<D, T>& operator/= ( s)
inline

Definition at line 238 of file VectorXD.h.

◆ operator=() [1/3]

ThisType& operator= ( const MatrixXX< 1, D, S > &  v)
inline

Definition at line 174 of file VectorXD.h.

◆ operator=() [2/3]

ThisType& operator= ( const SuperType s)
inline

Definition at line 167 of file VectorXD.h.

◆ operator=() [3/3]

ThisType& operator= ( const ThisType v)
inline

Definition at line 161 of file VectorXD.h.

◆ operator==()

bool operator== ( const VectorXD< D, T > &  a) const
inline

Definition at line 288 of file VectorXD.h.

◆ operator[]() [1/2]

ScalarType& operator[] ( unsigned int  i)
inline

Definition at line 184 of file VectorXD.h.

◆ operator[]() [2/2]

ScalarType operator[] ( unsigned int  i) const
inline

Definition at line 190 of file VectorXD.h.

◆ SqrDistance()

ScalarType SqrDistance ( const VectorXD< D, T > &  v) const
inline

Definition at line 294 of file VectorXD.h.

+ Here is the caller graph for this function:

◆ SqrLength()

ScalarType SqrLength ( ) const
inline

Definition at line 260 of file VectorXD.h.

+ Here is the caller graph for this function:

◆ Zero()

void Zero ( )
inline

Definition at line 282 of file VectorXD.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ const_iterator

const typedef ScalarType* const_iterator

Definition at line 352 of file VectorXD.h.


The documentation for this class was generated from the following files: