Point Cloud Library (PCL)  1.11.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
pcl::poisson::Polynomial< Degree > Class Template Reference

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

Public Member Functions

 Polynomial (void)
 
template<int Degree2>
 Polynomial (const Polynomial< Degree2 > &P)
 
double operator() (double t) const
 
double integral (double tMin, double tMax) const
 
int operator== (const Polynomial &p) const
 
int operator!= (const Polynomial &p) const
 
int isZero (void) const
 
void setZero (void)
 
template<int Degree2>
Polynomialoperator= (const Polynomial< Degree2 > &p)
 
Polynomialoperator+= (const Polynomial &p)
 
Polynomialoperator-= (const Polynomial &p)
 
Polynomial operator- (void) const
 
Polynomial operator+ (const Polynomial &p) const
 
Polynomial operator- (const Polynomial &p) const
 
template<int Degree2>
Polynomial< Degree+Degree2 > operator* (const Polynomial< Degree2 > &p) const
 
Polynomialoperator+= (double s)
 
Polynomialoperator-= (double s)
 
Polynomialoperator*= (double s)
 
Polynomialoperator/= (double s)
 
Polynomial operator+ (double s) const
 
Polynomial operator- (double s) const
 
Polynomial operator* (double s) const
 
Polynomial operator/ (double s) const
 
Polynomial scale (double s) const
 
Polynomial shift (double t) const
 
Polynomial< Degree-1 > derivative (void) const
 
Polynomial< Degree+1 > integral (void) const
 
void printnl (void) const
 
PolynomialaddScaled (const Polynomial &p, double scale)
 
void getSolutions (double c, std::vector< double > &roots, double EPS) const
 
template<int Degree2>
Polynomial< Degree > & operator= (const Polynomial< Degree2 > &p)
 
template<>
double operator() (double t) const
 
template<>
double operator() (double t) const
 
template<>
double operator() (double t) const
 
template<>
Polynomial< 0 > BSplineComponent (int i)
 

Static Public Member Functions

static void Negate (const Polynomial &in, Polynomial &out)
 
static void Subtract (const Polynomial &p1, const Polynomial &p2, Polynomial &q)
 
static void Scale (const Polynomial &p, double w, Polynomial &q)
 
static void AddScaled (const Polynomial &p1, double w1, const Polynomial &p2, double w2, Polynomial &q)
 
static void AddScaled (const Polynomial &p1, const Polynomial &p2, double w2, Polynomial &q)
 
static void AddScaled (const Polynomial &p1, double w1, const Polynomial &p2, Polynomial &q)
 
static Polynomial BSplineComponent (int i)
 

Public Attributes

double coefficients [Degree+1]
 

Detailed Description

template<int Degree>
class pcl::poisson::Polynomial< Degree >

Definition at line 40 of file polynomial.h.

Constructor & Destructor Documentation

template<int Degree>
pcl::poisson::Polynomial< Degree >::Polynomial ( void  )

Definition at line 50 of file polynomial.hpp.

template<int Degree>
template<int Degree2>
pcl::poisson::Polynomial< Degree >::Polynomial ( const Polynomial< Degree2 > &  P)

Definition at line 53 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

Member Function Documentation

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::addScaled ( const Polynomial< Degree > &  p,
double  scale 
)

Definition at line 124 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::AddScaled ( const Polynomial< Degree > &  p1,
double  w1,
const Polynomial< Degree > &  p2,
double  w2,
Polynomial< Degree > &  q 
)
static

Definition at line 155 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::AddScaled ( const Polynomial< Degree > &  p1,
const Polynomial< Degree > &  p2,
double  w2,
Polynomial< Degree > &  q 
)
static

Definition at line 163 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::AddScaled ( const Polynomial< Degree > &  p1,
double  w1,
const Polynomial< Degree > &  p2,
Polynomial< Degree > &  q 
)
static

Definition at line 159 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::BSplineComponent ( int  i)
inlinestatic
template<>
Polynomial< 0 > pcl::poisson::Polynomial< 0 >::BSplineComponent ( int  i)
inline

Definition at line 305 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree-1 > pcl::poisson::Polynomial< Degree >::derivative ( void  ) const

Definition at line 69 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::getSolutions ( double  c,
std::vector< double > &  roots,
double  EPS 
) const

Definition at line 277 of file polynomial.hpp.

References pcl::poisson::Factor().

Referenced by pcl::poisson::PPolynomial< Degree >::getSolutions().

template<int Degree>
double pcl::poisson::Polynomial< Degree >::integral ( double  tMin,
double  tMax 
) const
template<int Degree>
Polynomial< Degree+1 > pcl::poisson::Polynomial< Degree >::integral ( void  ) const

Definition at line 76 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
int pcl::poisson::Polynomial< Degree >::isZero ( void  ) const

Definition at line 116 of file polynomial.hpp.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::Negate ( const Polynomial< Degree > &  in,
Polynomial< Degree > &  out 
)
static

Definition at line 172 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
int pcl::poisson::Polynomial< Degree >::operator!= ( const Polynomial< Degree > &  p) const

Definition at line 111 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
double pcl::poisson::Polynomial< Degree >::operator() ( double  t) const

Definition at line 86 of file polynomial.hpp.

template<>
double pcl::poisson::Polynomial< 0 >::operator() ( double  t) const
inline

Definition at line 82 of file polynomial.hpp.

template<>
double pcl::poisson::Polynomial< 1 >::operator() ( double  t) const
inline

Definition at line 83 of file polynomial.hpp.

template<>
double pcl::poisson::Polynomial< 2 >::operator() ( double  t) const
inline

Definition at line 84 of file polynomial.hpp.

template<int Degree>
template<int Degree2>
Polynomial< Degree+Degree2 > pcl::poisson::Polynomial< Degree >::operator* ( const Polynomial< Degree2 > &  p) const

Definition at line 185 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator* ( double  s) const

Definition at line 230 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator*= ( double  s)

Definition at line 204 of file polynomial.hpp.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator+ ( const Polynomial< Degree > &  p) const

Definition at line 139 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator+ ( double  s) const

Definition at line 216 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator+= ( const Polynomial< Degree > &  p)

Definition at line 129 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator+= ( double  s)

Definition at line 192 of file polynomial.hpp.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- ( void  ) const

Definition at line 178 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- ( const Polynomial< Degree > &  p) const

Definition at line 145 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator- ( double  s) const

Definition at line 223 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator-= ( const Polynomial< Degree > &  p)

Definition at line 134 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator-= ( double  s)

Definition at line 198 of file polynomial.hpp.

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::operator/ ( double  s) const

Definition at line 237 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
Polynomial< Degree > & pcl::poisson::Polynomial< Degree >::operator/= ( double  s)

Definition at line 210 of file polynomial.hpp.

template<int Degree>
template<int Degree2>
Polynomial& pcl::poisson::Polynomial< Degree >::operator= ( const Polynomial< Degree2 > &  p)
template<int Degree>
template<int Degree2>
Polynomial<Degree>& pcl::poisson::Polynomial< Degree >::operator= ( const Polynomial< Degree2 > &  p)

Definition at line 61 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
int pcl::poisson::Polynomial< Degree >::operator== ( const Polynomial< Degree > &  p) const

Definition at line 106 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::printnl ( void  ) const

Definition at line 269 of file polynomial.hpp.

Referenced by pcl::poisson::PPolynomial< Degree >::printnl().

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::scale ( double  s) const

Definition at line 244 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::Scale ( const Polynomial< Degree > &  p,
double  w,
Polynomial< Degree > &  q 
)
static

Definition at line 151 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

template<int Degree>
void pcl::poisson::Polynomial< Degree >::setZero ( void  )

Definition at line 121 of file polynomial.hpp.

Referenced by pcl::poisson::PPolynomial< Degree >::getSolutions().

template<int Degree>
Polynomial< Degree > pcl::poisson::Polynomial< Degree >::shift ( double  t) const
template<int Degree>
void pcl::poisson::Polynomial< Degree >::Subtract ( const Polynomial< Degree > &  p1,
const Polynomial< Degree > &  p2,
Polynomial< Degree > &  q 
)
static

Definition at line 168 of file polynomial.hpp.

References pcl::poisson::Polynomial< Degree >::coefficients.

Member Data Documentation

template<int Degree>
double pcl::poisson::Polynomial< Degree >::coefficients[Degree+1]

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