pcl::poisson::Vector< T > Class Template Reference

#include <pcl/surface/3rdparty/poisson4/vector.h>

List of all members.

Public Member Functions

 Vector ()
 Vector (const Vector< T > &V)
 Vector (size_t N)
 Vector (size_t N, T *pV)
 ~Vector ()
const T & operator() (size_t i) const
T & operator() (size_t i)
const T & operator[] (size_t i) const
T & operator[] (size_t i)
void SetZero ()
size_t Dimensions () const
void Resize (size_t N)
Vector operator* (const T &A) const
Vector operator/ (const T &A) const
Vector operator- (const Vector &V) const
Vector operator+ (const Vector &V) const
Vectoroperator*= (const T &A)
Vectoroperator/= (const T &A)
Vectoroperator+= (const Vector &V)
Vectoroperator-= (const Vector &V)
VectorAddScaled (const Vector &V, const T &scale)
VectorSubtractScaled (const Vector &V, const T &scale)
Vector operator- () const
Vectoroperator= (const Vector &V)
Dot (const Vector &V) const
Length () const
Norm (size_t Ln) const
void Normalize ()
bool write (FILE *fp) const
bool write (const char *fileName) const
bool read (FILE *fp)
bool read (const char *fileName)

Static Public Member Functions

static void Add (const Vector &V1, const T &scale1, const Vector &V2, const T &scale2, Vector &Out)
static void Add (const Vector &V1, const T &scale1, const Vector &V2, Vector &Out)

Public Attributes

T * m_pV

Protected Attributes

size_t m_N

Detailed Description

template<class T>
class pcl::poisson::Vector< T >

Definition at line 41 of file vector.h.


Constructor & Destructor Documentation

template<class T >
pcl::poisson::Vector< T >::Vector (  )  [inline]

Definition at line 42 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
pcl::poisson::Vector< T >::Vector ( const Vector< T > &  V  )  [inline]
template<class T >
pcl::poisson::Vector< T >::Vector ( size_t  N  )  [inline]
template<class T >
pcl::poisson::Vector< T >::Vector ( size_t  N,
T *  pV 
) [inline]
template<class T >
pcl::poisson::Vector< T >::~Vector (  )  [inline]

Definition at line 80 of file vector.hpp.

References pcl::poisson::Vector< T >::Resize().


Member Function Documentation

template<class T >
void pcl::poisson::Vector< T >::Add ( const Vector< T > &  V1,
const T &  scale1,
const Vector< T > &  V2,
Vector< T > &  Out 
) [inline, static]

Definition at line 174 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
void pcl::poisson::Vector< T >::Add ( const Vector< T > &  V1,
const T &  scale1,
const Vector< T > &  V2,
const T &  scale2,
Vector< T > &  Out 
) [inline, static]

Definition at line 169 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > & pcl::poisson::Vector< T >::AddScaled ( const Vector< T > &  V,
const T &  scale 
) [inline]

Definition at line 153 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
size_t pcl::poisson::Vector< T >::Dimensions (  )  const [inline]
template<class T >
T pcl::poisson::Vector< T >::Dot ( const Vector< T > &  V  )  const [inline]
template<class T >
T pcl::poisson::Vector< T >::Length ( void   )  const [inline]

Definition at line 229 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
T pcl::poisson::Vector< T >::Norm ( size_t  Ln  )  const [inline]
template<class T >
void pcl::poisson::Vector< T >::Normalize (  )  [inline]
template<class T >
T & pcl::poisson::Vector< T >::operator() ( size_t  i  )  [inline]

Definition at line 99 of file vector.hpp.

References pcl::poisson::Vector< T >::m_pV.

template<class T >
const T & pcl::poisson::Vector< T >::operator() ( size_t  i  )  const [inline]

Definition at line 93 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > pcl::poisson::Vector< T >::operator* ( const T &  A  )  const [inline]

Definition at line 114 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > & pcl::poisson::Vector< T >::operator*= ( const T &  A  )  [inline]

Definition at line 122 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > pcl::poisson::Vector< T >::operator+ ( const Vector< T > &  V  )  const [inline]

Definition at line 144 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > & pcl::poisson::Vector< T >::operator+= ( const Vector< T > &  V  )  [inline]

Definition at line 179 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > pcl::poisson::Vector< T >::operator- ( void   )  const [inline]

Definition at line 196 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > pcl::poisson::Vector< T >::operator- ( const Vector< T > &  V  )  const [inline]

Definition at line 187 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > & pcl::poisson::Vector< T >::operator-= ( const Vector< T > &  V  )  [inline]

Definition at line 206 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > pcl::poisson::Vector< T >::operator/ ( const T &  A  )  const [inline]

Definition at line 129 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > & pcl::poisson::Vector< T >::operator/= ( const T &  A  )  [inline]

Definition at line 137 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
Vector< T > & pcl::poisson::Vector< T >::operator= ( const Vector< T > &  V  )  [inline]
template<class T >
T & pcl::poisson::Vector< T >::operator[] ( size_t  i  )  [inline]

Definition at line 109 of file vector.hpp.

References pcl::poisson::Vector< T >::m_pV.

template<class T >
const T & pcl::poisson::Vector< T >::operator[] ( size_t  i  )  const [inline]

Definition at line 104 of file vector.hpp.

References pcl::poisson::Vector< T >::m_pV.

template<class T >
bool pcl::poisson::Vector< T >::read ( const char *  fileName  )  [inline]

Definition at line 247 of file vector.hpp.

References pcl::poisson::Vector< T >::read().

template<class T >
bool pcl::poisson::Vector< T >::read ( FILE *  fp  )  [inline]

Definition at line 265 of file vector.hpp.

References pcl::poisson::Vector< T >::Resize().

Referenced by pcl::poisson::Vector< T >::read().

template<class T >
void pcl::poisson::Vector< T >::Resize ( size_t  N  )  [inline]
template<class T >
void pcl::poisson::Vector< T >::SetZero ( void   )  [inline]
template<class T >
Vector< T > & pcl::poisson::Vector< T >::SubtractScaled ( const Vector< T > &  V,
const T &  scale 
) [inline]

Definition at line 161 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N, and pcl::poisson::Vector< T >::m_pV.

template<class T >
bool pcl::poisson::Vector< T >::write ( const char *  fileName  )  const [inline]

Definition at line 256 of file vector.hpp.

References pcl::poisson::Vector< T >::write().

template<class T >
bool pcl::poisson::Vector< T >::write ( FILE *  fp  )  const [inline]

Definition at line 274 of file vector.hpp.

References pcl::poisson::Vector< T >::m_N.

Referenced by pcl::poisson::Vector< T >::write().


Member Data Documentation

template<class T>
size_t pcl::poisson::Vector< T >::m_N [protected]
template<class T>
T* pcl::poisson::Vector< T >::m_pV

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends