VectorXD< D, T > Class Template Reference

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

+ Inheritance diagram for VectorXD< D, T >:

Public Types

enum  { Dim = D }
 
typedef const ScalarTypeconst_iterator
 
typedef ScalarTypeiterator
 
typedef T ScalarType
 
typedef MatrixXX< 1, D, TSuperType
 
typedef VectorXD< D, TThisType
 
typedef T value_type
 
- Public Types inherited from MatrixXX< 1, D, T >
typedef Internal::BaseMatrixXX< C, R, TSuperType
 
typedef MatrixXX< C, R, TThisType
 
typedef MatrixXX< R, C, TTransposedType
 
- Public Types inherited from BaseMatrixXX< C, R, T >
enum  { Rows = R , Cols = C , Entries = C * R }
 
typedef T ScalarType
 
typedef BaseMatrixXX< C, R, 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 Member Functions inherited from MatrixXX< 1, D, T >
MatrixXX< C, R, T > & ComponentMul (const MatrixXX< C, R, T > &a)
 
MatrixXX< C, R, T > & ComponentMul (const MatrixXX< C, R, T > &a)
 
 MatrixXX ()
 
 MatrixXX ()
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c, const MatrixXX< 1, R, T > &d)
 
 MatrixXX (const MatrixXX< 1, R, T > &a, const MatrixXX< 1, R, T > &b, const MatrixXX< 1, R, T > &c, const MatrixXX< 1, R, T > &d)
 
 MatrixXX (const SuperType &mat)
 
 MatrixXX (const SuperType &mat)
 
 MatrixXX (const T *m)
 
 MatrixXX (const T *m)
 
 MatrixXX (const ThisType &mat)
 
 MatrixXX (const ThisType &mat)
 
 MatrixXX (T v)
 
 MatrixXX (T v)
 
ThisTypeoperator= (const ThisType &v)
 
ThisTypeoperator= (const ThisType &v)
 
ThisTypeoperator= (T v)
 
ThisTypeoperator= (T v)
 
TransposedType Transposed ()
 
TransposedType Transposed ()
 
- Public Member Functions inherited from BaseMatrixXX< C, R, T >
TData ()
 
const TData () const
 
T Normalize ()
 
VectorXD< R, T > & operator[] (unsigned int col)
 
const VectorXD< R, T > & operator[] (unsigned int col) const
 
void Transpose (BaseMatrixXX< R, C, T > *t) const
 
void Zero ()
 

Additional Inherited Members

- Protected Attributes inherited from BaseMatrixXX< C, R, T >
T _m [Entries]
 

Detailed Description

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

Definition at line 20 of file VectorXD.h.

Member Typedef Documentation

◆ const_iterator

template<unsigned int D, class T>
typedef const ScalarType* const_iterator

Definition at line 352 of file VectorXD.h.

◆ iterator

template<unsigned int D, class T>
typedef ScalarType* iterator

Definition at line 351 of file VectorXD.h.

◆ ScalarType

template<unsigned int D, class T>
typedef T ScalarType

Definition at line 23 of file VectorXD.h.

◆ SuperType

template<unsigned int D, class T>
typedef MatrixXX<1, D, T> SuperType

Definition at line 26 of file VectorXD.h.

◆ ThisType

template<unsigned int D, class T>
typedef VectorXD<D, T> ThisType

Definition at line 25 of file VectorXD.h.

◆ value_type

template<unsigned int D, class T>
typedef T value_type

Definition at line 24 of file VectorXD.h.

Member Enumeration Documentation

◆ anonymous enum

template<unsigned int D, class T>
anonymous enum
Enumerator
Dim 

Definition at line 28 of file VectorXD.h.

Constructor & Destructor Documentation

◆ VectorXD() [1/15]

template<unsigned int D, class T>
VectorXD ( )
inline

Definition at line 33 of file VectorXD.h.

◆ VectorXD() [2/15]

template<unsigned int D, class T>
VectorXD ( const VectorXD< D, T > & v)
inline

Definition at line 37 of file VectorXD.h.

◆ VectorXD() [3/15]

template<unsigned int D, class T>
VectorXD ( const T * v)
inlineexplicit

Definition at line 41 of file VectorXD.h.

◆ VectorXD() [4/15]

template<unsigned int D, class T>
template<class S>
VectorXD ( const S * v)
inlineexplicit

Definition at line 47 of file VectorXD.h.

◆ VectorXD() [5/15]

template<unsigned int D, class T>
template<class S>
VectorXD ( const VectorXD< D, S > & v)
inlineexplicit

Definition at line 56 of file VectorXD.h.

◆ VectorXD() [6/15]

template<unsigned int D, class T>
VectorXD ( const SuperType & s)
inline

Definition at line 64 of file VectorXD.h.

◆ VectorXD() [7/15]

template<unsigned int D, class T>
VectorXD ( T x)
inlineexplicit

Definition at line 68 of file VectorXD.h.

◆ VectorXD() [8/15]

template<unsigned int D, class T>
template<class S>
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]

template<unsigned int D, class T>
template<unsigned int X>
VectorXD ( const VectorXD< X, T > & vec)
inlineexplicit

Definition at line 88 of file VectorXD.h.

◆ VectorXD() [10/15]

template<unsigned int D, class T>
VectorXD ( const VectorXD< D - 1, T > & v,
T s )
inlineexplicit

Definition at line 100 of file VectorXD.h.

◆ VectorXD() [11/15]

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

Definition at line 109 of file VectorXD.h.

◆ VectorXD() [12/15]

template<unsigned int D, class T>
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]

template<unsigned int D, class T>
VectorXD ( T x,
T y )
inline

Definition at line 130 of file VectorXD.h.

◆ VectorXD() [14/15]

template<unsigned int D, class T>
VectorXD ( T x,
T y,
T z )
inline

Definition at line 139 of file VectorXD.h.

◆ VectorXD() [15/15]

template<unsigned int D, class T>
VectorXD ( T x,
T y,
T z,
T w )
inline

Definition at line 149 of file VectorXD.h.

Member Function Documentation

◆ begin() [1/2]

template<unsigned int D, class T>
ScalarType * begin ( )
inline

Definition at line 355 of file VectorXD.h.

◆ begin() [2/2]

template<unsigned int D, class T>
const ScalarType * begin ( ) const
inline

Definition at line 367 of file VectorXD.h.

◆ Distance()

template<unsigned int D, class T>
ScalarType Distance ( const VectorXD< D, T > & v) const
inline

Definition at line 308 of file VectorXD.h.

◆ end() [1/2]

template<unsigned int D, class T>
ScalarType * end ( )
inline

Definition at line 361 of file VectorXD.h.

◆ end() [2/2]

template<unsigned int D, class T>
const ScalarType * end ( ) const
inline

Definition at line 373 of file VectorXD.h.

◆ Homogene()

template<unsigned int D, class T>
VectorXD< Dim+1, T > Homogene ( ) const
inline

Definition at line 340 of file VectorXD.h.

◆ L1Distance()

template<unsigned int D, class T>
ScalarType L1Distance ( const VectorXD< D, T > & v) const
inline

Definition at line 314 of file VectorXD.h.

◆ L1Length()

template<unsigned int D, class T>
ScalarType L1Length ( ) const
inline

Definition at line 271 of file VectorXD.h.

◆ Length()

template<unsigned int D, class T>
ScalarType Length ( ) const
inline

Definition at line 254 of file VectorXD.h.

◆ MaxDistance()

template<unsigned int D, class T>
ScalarType MaxDistance ( const VectorXD< D, T > & v) const
inline

Definition at line 325 of file VectorXD.h.

◆ operator*=()

template<unsigned int D, class T>
template<class S>
VectorXD< D, T > & operator*= ( S s)
inline

Definition at line 227 of file VectorXD.h.

◆ operator+=()

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

Definition at line 206 of file VectorXD.h.

◆ operator-()

template<unsigned int D, class T>
VectorXD< D, T > operator- ( ) const
inline

Definition at line 248 of file VectorXD.h.

◆ operator-=()

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

Definition at line 216 of file VectorXD.h.

◆ operator/=()

template<unsigned int D, class T>
template<class S>
VectorXD< D, T > & operator/= ( S s)
inline

Definition at line 238 of file VectorXD.h.

◆ operator=() [1/3]

template<unsigned int D, class T>
template<class S>
ThisType & operator= ( const MatrixXX< 1, D, S > & v)
inline

Definition at line 174 of file VectorXD.h.

◆ operator=() [2/3]

template<unsigned int D, class T>
ThisType & operator= ( const SuperType & s)
inline

Definition at line 167 of file VectorXD.h.

◆ operator=() [3/3]

template<unsigned int D, class T>
ThisType & operator= ( const ThisType & v)
inline

Definition at line 161 of file VectorXD.h.

◆ operator==()

template<unsigned int D, class T>
bool operator== ( const VectorXD< D, T > & a) const
inline

Definition at line 288 of file VectorXD.h.

◆ operator[]() [1/2]

template<unsigned int D, class T>
ScalarType & operator[] ( unsigned int i)
inline

Definition at line 184 of file VectorXD.h.

◆ operator[]() [2/2]

template<unsigned int D, class T>
ScalarType operator[] ( unsigned int i) const
inline

Definition at line 190 of file VectorXD.h.

◆ SqrDistance()

template<unsigned int D, class T>
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()

template<unsigned int D, class T>
ScalarType SqrLength ( ) const
inline

Definition at line 260 of file VectorXD.h.

+ Here is the caller graph for this function:

◆ Zero()

template<unsigned int D, class T>
void Zero ( )
inline

Definition at line 282 of file VectorXD.h.


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