Point Cloud Library (PCL) 1.15.0
Loading...
Searching...
No Matches
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 ( )

◆ NVector() [2/4]

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

Definition at line 294 of file vector.hpp.

References m_N, m_pV, NVector(), and Resize().

◆ 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.

References m_N, m_pV, and Resize().

◆ 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.

References m_pV, and Resize().

◆ ~NVector()

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

Definition at line 326 of file vector.hpp.

References Resize().

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

Definition at line 415 of file vector.hpp.

References m_N, m_pV, and NVector().

◆ 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

Definition at line 420 of file vector.hpp.

References m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ Dimensions()

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

Definition at line 335 of file vector.hpp.

References m_N.

◆ 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 m_N, m_pV, and NVector().

◆ Length()

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

Definition at line 475 of file vector.hpp.

References m_N, and m_pV.

◆ 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.

References m_N, and m_pV.

Referenced by Normalize().

◆ Normalize()

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

Definition at line 468 of file vector.hpp.

References m_N, m_pV, and Norm().

◆ 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.

References m_pV.

◆ 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.

References m_N, and m_pV.

◆ 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 m_N, m_pV, and NVector().

◆ 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.

References m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ 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 m_N, m_pV, and NVector().

◆ 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.

References m_N, m_pV, and NVector().

◆ operator=()

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

Definition at line 328 of file vector.hpp.

References m_N, m_pV, NVector(), and Resize().

◆ 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.

References m_pV.

◆ 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.

References m_pV.

◆ 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.

References m_N, and m_pV.

Referenced by NVector(), NVector(), NVector(), operator=(), and ~NVector().

◆ SetZero()

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

Definition at line 337 of file vector.hpp.

References m_N, and m_pV.

◆ 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 m_N, m_pV, and NVector().

Member Data Documentation

◆ m_N

◆ m_pV


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