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 21 of file MatrixXX.h.

Member Typedef Documentation

◆ iterator

typedef ScalarType* iterator

Definition at line 332 of file VectorXD.h.

◆ ScalarType

typedef T ScalarType

Definition at line 24 of file VectorXD.h.

◆ SuperType

typedef MatrixXX< 1, D, T > SuperType

Definition at line 27 of file VectorXD.h.

◆ ThisType

typedef VectorXD< D, T > ThisType

Definition at line 26 of file VectorXD.h.

◆ value_type

typedef T value_type

Definition at line 25 of file VectorXD.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dim 

Definition at line 29 of file VectorXD.h.

Constructor & Destructor Documentation

◆ VectorXD() [1/15]

VectorXD ( )
inline

Definition at line 34 of file VectorXD.h.

◆ VectorXD() [2/15]

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

Definition at line 36 of file VectorXD.h.

◆ VectorXD() [3/15]

VectorXD ( const T v)
inlineexplicit

Definition at line 40 of file VectorXD.h.

◆ VectorXD() [4/15]

VectorXD ( const S *  v)
inlineexplicit

Definition at line 46 of file VectorXD.h.

◆ VectorXD() [5/15]

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

Definition at line 55 of file VectorXD.h.

◆ VectorXD() [6/15]

VectorXD ( const SuperType s)
inline

Definition at line 63 of file VectorXD.h.

◆ VectorXD() [7/15]

VectorXD ( T  x)
inlineexplicit

Definition at line 67 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 76 of file VectorXD.h.

◆ VectorXD() [9/15]

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

Definition at line 86 of file VectorXD.h.

◆ VectorXD() [10/15]

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

Definition at line 98 of file VectorXD.h.

◆ VectorXD() [11/15]

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

Definition at line 107 of file VectorXD.h.

◆ VectorXD() [12/15]

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

Definition at line 117 of file VectorXD.h.

◆ VectorXD() [13/15]

VectorXD ( T  x,
T  y 
)
inline

Definition at line 128 of file VectorXD.h.

◆ VectorXD() [14/15]

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

Definition at line 137 of file VectorXD.h.

◆ VectorXD() [15/15]

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

Definition at line 147 of file VectorXD.h.

Member Function Documentation

◆ begin() [1/2]

ScalarType* begin ( )
inline

Definition at line 335 of file VectorXD.h.

◆ begin() [2/2]

const ScalarType* begin ( ) const
inline

Definition at line 343 of file VectorXD.h.

◆ Distance()

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

Definition at line 291 of file VectorXD.h.

◆ end() [1/2]

ScalarType* end ( )
inline

Definition at line 339 of file VectorXD.h.

◆ end() [2/2]

const ScalarType* end ( ) const
inline

Definition at line 347 of file VectorXD.h.

◆ Homogene()

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

Definition at line 321 of file VectorXD.h.

◆ L1Distance()

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

Definition at line 296 of file VectorXD.h.

◆ L1Length()

ScalarType L1Length ( ) const
inline

Definition at line 258 of file VectorXD.h.

◆ Length()

ScalarType Length ( ) const
inline

Definition at line 243 of file VectorXD.h.

◆ MaxDistance()

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

Definition at line 306 of file VectorXD.h.

◆ operator*=()

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

Definition at line 219 of file VectorXD.h.

◆ operator+=()

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

Definition at line 200 of file VectorXD.h.

◆ operator-()

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

Definition at line 238 of file VectorXD.h.

◆ operator-=()

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

Definition at line 209 of file VectorXD.h.

◆ operator/=()

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

Definition at line 229 of file VectorXD.h.

◆ operator=() [1/3]

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

Definition at line 171 of file VectorXD.h.

◆ operator=() [2/3]

ThisType& operator= ( const SuperType s)
inline

Definition at line 164 of file VectorXD.h.

◆ operator=() [3/3]

ThisType& operator= ( const ThisType v)
inline

Definition at line 158 of file VectorXD.h.

◆ operator==()

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

Definition at line 273 of file VectorXD.h.

◆ operator[]() [1/2]

ScalarType& operator[] ( unsigned int  i)
inline

Definition at line 180 of file VectorXD.h.

◆ operator[]() [2/2]

ScalarType operator[] ( unsigned int  i) const
inline

Definition at line 185 of file VectorXD.h.

◆ SqrDistance()

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

Definition at line 278 of file VectorXD.h.

+ Here is the caller graph for this function:

◆ SqrLength()

ScalarType SqrLength ( ) const
inline

Definition at line 248 of file VectorXD.h.

+ Here is the caller graph for this function:

◆ Zero()

void Zero ( )
inline

Definition at line 268 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 333 of file VectorXD.h.


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