Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
pcl::poisson::NVector< T, Dim > Class Template Reference

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

Public Member Functions

 NVector ()
 
 NVector (const NVector &V)
 
 NVector (std::size_t N)
 
 NVector (std::size_t N, T *pV)
 
 ~NVector ()
 
const T * operator() (std::size_t i) const
 
T * operator() (std::size_t i)
 
const T * operator[] (std::size_t i) const
 
T * operator[] (std::size_t i)
 
void SetZero ()
 
std::size_t Dimensions () const
 
void Resize (std::size_t N)
 
NVector operator* (const T &A) const
 
NVector operator/ (const T &A) const
 
NVector operator- (const NVector &V) const
 
NVector operator+ (const NVector &V) const
 
NVectoroperator*= (const T &A)
 
NVectoroperator/= (const T &A)
 
NVectoroperator+= (const NVector &V)
 
NVectoroperator-= (const NVector &V)
 
NVectorAddScaled (const NVector &V, const T &scale)
 
NVectorSubtractScaled (const NVector &V, const T &scale)
 
NVector operator- () const
 
NVectoroperator= (const NVector &V)
 
Dot (const NVector &V) const
 
Length () const
 
Norm (std::size_t Ln) const
 
void Normalize ()
 

Static Public Member Functions

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

Public Attributes

T * m_pV
 

Protected Attributes

std::size_t m_N
 

Detailed Description

template<class T, int Dim>
class pcl::poisson::NVector< T, Dim >

Definition at line 98 of file vector.h.

Constructor & Destructor Documentation

◆ NVector() [1/4]

template<class T , int Dim>
pcl::poisson::NVector< T, Dim >::NVector

Definition at line 288 of file vector.hpp.

◆ NVector() [2/4]

template<class T , int Dim>
pcl::poisson::NVector< T, Dim >::NVector ( const NVector< T, Dim > &  V)

◆ NVector() [3/4]

template<class T , int Dim>
pcl::poisson::NVector< T, Dim >::NVector ( std::size_t  N)

Definition at line 302 of file vector.hpp.

◆ NVector() [4/4]

template<class T , int Dim>
pcl::poisson::NVector< T, Dim >::NVector ( std::size_t  N,
T *  pV 
)

Definition at line 320 of file vector.hpp.

◆ ~NVector()

template<class T , int Dim>
pcl::poisson::NVector< T, Dim >::~NVector

Definition at line 326 of file vector.hpp.

Member Function Documentation

◆ Add() [1/2]

template<class T , int Dim>
void pcl::poisson::NVector< T, Dim >::Add ( const NVector< T, Dim > &  V1,
const T &  scale1,
const NVector< T, Dim > &  V2,
const T &  scale2,
NVector< T, Dim > &  Out 
)
static

◆ Add() [2/2]

template<class T , int Dim>
void pcl::poisson::NVector< T, Dim >::Add ( const NVector< T, Dim > &  V1,
const T &  scale1,
const NVector< T, Dim > &  V2,
NVector< T, Dim > &  Out 
)
static

◆ AddScaled()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::AddScaled ( const NVector< T, Dim > &  V,
const T &  scale 
)

Definition at line 399 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ Dimensions()

template<class T , int Dim>
std::size_t pcl::poisson::NVector< T, Dim >::Dimensions

Definition at line 335 of file vector.hpp.

◆ Dot()

template<class T , int Dim>
T pcl::poisson::NVector< T, Dim >::Dot ( const NVector< T, Dim > &  V) const

Definition at line 483 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ Length()

template<class T , int Dim>
T pcl::poisson::NVector< T, Dim >::Length ( void  ) const

Definition at line 475 of file vector.hpp.

◆ Norm()

template<class T , int Dim>
T pcl::poisson::NVector< T, Dim >::Norm ( std::size_t  Ln) const

Definition at line 460 of file vector.hpp.

◆ Normalize()

template<class T , int Dim>
void pcl::poisson::NVector< T, Dim >::Normalize

Definition at line 468 of file vector.hpp.

◆ operator()() [1/2]

template<class T , int Dim>
T * pcl::poisson::NVector< T, Dim >::operator() ( std::size_t  i)

Definition at line 345 of file vector.hpp.

◆ operator()() [2/2]

template<class T , int Dim>
const T * pcl::poisson::NVector< T, Dim >::operator() ( std::size_t  i) const

Definition at line 339 of file vector.hpp.

◆ operator*()

template<class T , int Dim>
NVector< T, Dim > pcl::poisson::NVector< T, Dim >::operator* ( const T &  A) const

Definition at line 360 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator*=()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::operator*= ( const T &  A)

Definition at line 368 of file vector.hpp.

◆ operator+()

template<class T , int Dim>
NVector< T, Dim > pcl::poisson::NVector< T, Dim >::operator+ ( const NVector< T, Dim > &  V) const

Definition at line 390 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator+=()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::operator+= ( const NVector< T, Dim > &  V)

Definition at line 425 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator-() [1/2]

template<class T , int Dim>
NVector< T, Dim > pcl::poisson::NVector< T, Dim >::operator- ( void  ) const

Definition at line 442 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator-() [2/2]

template<class T , int Dim>
NVector< T, Dim > pcl::poisson::NVector< T, Dim >::operator- ( const NVector< T, Dim > &  V) const

Definition at line 433 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator-=()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::operator-= ( const NVector< T, Dim > &  V)

Definition at line 452 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator/()

template<class T , int Dim>
NVector< T, Dim > pcl::poisson::NVector< T, Dim >::operator/ ( const T &  A) const

Definition at line 375 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

◆ operator/=()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::operator/= ( const T &  A)

Definition at line 383 of file vector.hpp.

◆ operator=()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::operator= ( const NVector< T, Dim > &  V)

◆ operator[]() [1/2]

template<class T , int Dim>
T * pcl::poisson::NVector< T, Dim >::operator[] ( std::size_t  i)

Definition at line 355 of file vector.hpp.

◆ operator[]() [2/2]

template<class T , int Dim>
const T * pcl::poisson::NVector< T, Dim >::operator[] ( std::size_t  i) const

Definition at line 350 of file vector.hpp.

◆ Resize()

template<class T , int Dim>
void pcl::poisson::NVector< T, Dim >::Resize ( std::size_t  N)

Definition at line 309 of file vector.hpp.

◆ SetZero()

template<class T , int Dim>
void pcl::poisson::NVector< T, Dim >::SetZero ( void  )

Definition at line 337 of file vector.hpp.

◆ SubtractScaled()

template<class T , int Dim>
NVector< T, Dim > & pcl::poisson::NVector< T, Dim >::SubtractScaled ( const NVector< T, Dim > &  V,
const T &  scale 
)

Definition at line 407 of file vector.hpp.

References pcl::poisson::NVector< T, Dim >::m_pV.

Member Data Documentation

◆ m_N

template<class T , int Dim>
std::size_t pcl::poisson::NVector< T, Dim >::m_N
protected

◆ m_pV

template<class T , int Dim>
T* pcl::poisson::NVector< T, Dim >::m_pV

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