Point Cloud Library (PCL) 1.15.0
Loading...
Searching...
No Matches
pcl::poisson::Vector< T > Class Template Reference

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

Public Member Functions

 Vector ()
 Vector (const Vector< T > &V)
 Vector (std::size_t N)
 Vector (std::size_t N, T *pV)
 ~Vector ()
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)
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 (std::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

std::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

◆ Vector() [1/4]

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

◆ Vector() [2/4]

template<class T>
pcl::poisson::Vector< T >::Vector ( const Vector< T > & V)

Definition at line 48 of file vector.hpp.

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

◆ Vector() [3/4]

template<class T>
pcl::poisson::Vector< T >::Vector ( std::size_t N)

Definition at line 56 of file vector.hpp.

References m_N, m_pV, and Resize().

◆ Vector() [4/4]

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

Definition at line 76 of file vector.hpp.

References m_pV, and Resize().

◆ ~Vector()

template<class T>
pcl::poisson::Vector< T >::~Vector ( )

Definition at line 82 of file vector.hpp.

References Resize().

Member Function Documentation

◆ Add() [1/2]

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 )
static

Definition at line 171 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ Add() [2/2]

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

Definition at line 176 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ AddScaled()

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

Definition at line 155 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ Dimensions()

◆ Dot()

template<class T>
T pcl::poisson::Vector< T >::Dot ( const Vector< T > & V) const

Definition at line 239 of file vector.hpp.

References m_N, m_pV, and Vector().

Referenced by pcl::poisson::SparseMatrix< T >::Solve().

◆ Length()

template<class T>
T pcl::poisson::Vector< T >::Length ( ) const

Definition at line 231 of file vector.hpp.

References m_N, and m_pV.

◆ Norm()

template<class T>
T pcl::poisson::Vector< T >::Norm ( std::size_t Ln) const

Definition at line 216 of file vector.hpp.

References m_N, and m_pV.

Referenced by Normalize().

◆ Normalize()

template<class T>
void pcl::poisson::Vector< T >::Normalize ( )

Definition at line 224 of file vector.hpp.

References m_N, m_pV, and Norm().

◆ operator()() [1/2]

template<class T>
T & pcl::poisson::Vector< T >::operator() ( std::size_t i)

Definition at line 101 of file vector.hpp.

References m_pV.

◆ operator()() [2/2]

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

Definition at line 95 of file vector.hpp.

References m_N, and m_pV.

◆ operator*()

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

Definition at line 116 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator*=()

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

Definition at line 124 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator+()

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

Definition at line 146 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator+=()

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

Definition at line 181 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator-() [1/2]

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

Definition at line 198 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator-() [2/2]

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

Definition at line 189 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator-=()

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

Definition at line 208 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator/()

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

Definition at line 131 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator/=()

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

Definition at line 139 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ operator=()

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

Definition at line 84 of file vector.hpp.

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

◆ operator[]() [1/2]

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

Definition at line 111 of file vector.hpp.

References m_pV.

◆ operator[]() [2/2]

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

Definition at line 106 of file vector.hpp.

References m_pV.

◆ read() [1/2]

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

Definition at line 249 of file vector.hpp.

References pcl::read().

◆ read() [2/2]

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

Definition at line 267 of file vector.hpp.

References Resize().

◆ Resize()

◆ SetZero()

◆ SubtractScaled()

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

Definition at line 163 of file vector.hpp.

References m_N, m_pV, and Vector().

◆ write() [1/2]

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

Definition at line 258 of file vector.hpp.

References pcl::write().

◆ write() [2/2]

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

Definition at line 276 of file vector.hpp.

References m_N.

Member Data Documentation

◆ m_N

◆ m_pV


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