Point Cloud Library (PCL)
1.11.0
|
#include <pcl/surface/3rdparty/poisson4/ppolynomial.h>
Public Member Functions | |
PPolynomial (void) | |
PPolynomial (const PPolynomial< Degree > &p) | |
~PPolynomial (void) | |
PPolynomial & | operator= (const PPolynomial &p) |
int | size (void) const |
void | set (std::size_t size) |
void | set (StartingPolynomial< Degree > *sps, int count) |
void | reset (std::size_t newSize) |
double | operator() (double t) const |
double | integral (double tMin, double tMax) const |
double | Integral (void) const |
template<int Degree2> | |
PPolynomial< Degree > & | operator= (const PPolynomial< Degree2 > &p) |
PPolynomial | operator+ (const PPolynomial &p) const |
PPolynomial | operator- (const PPolynomial &p) const |
template<int Degree2> | |
PPolynomial< Degree+Degree2 > | operator* (const Polynomial< Degree2 > &p) const |
template<int Degree2> | |
PPolynomial< Degree+Degree2 > | operator* (const PPolynomial< Degree2 > &p) const |
PPolynomial & | operator+= (double s) |
PPolynomial & | operator-= (double s) |
PPolynomial & | operator*= (double s) |
PPolynomial & | operator/= (double s) |
PPolynomial | operator+ (double s) const |
PPolynomial | operator- (double s) const |
PPolynomial | operator* (double s) const |
PPolynomial | operator/ (double s) const |
PPolynomial & | addScaled (const PPolynomial &poly, double scale) |
PPolynomial | scale (double s) const |
PPolynomial | shift (double t) const |
PPolynomial< Degree-1 > | derivative (void) const |
PPolynomial< Degree+1 > | integral (void) const |
void | getSolutions (double c, std::vector< double > &roots, double EPS, double min=-DBL_MAX, double max=DBL_MAX) const |
void | printnl (void) const |
PPolynomial< Degree+1 > | MovingAverage (double radius) |
void | write (FILE *fp, int samples, double min, double max) const |
template<> | |
PPolynomial< 0 > | BSpline (double radius) |
Static Public Member Functions | |
static PPolynomial | BSpline (double radius=0.5) |
Public Attributes | |
std::size_t | polyCount |
StartingPolynomial< Degree > * | polys |
Definition at line 58 of file ppolynomial.h.
pcl::poisson::PPolynomial< Degree >::PPolynomial | ( | void | ) |
Definition at line 86 of file ppolynomial.hpp.
pcl::poisson::PPolynomial< Degree >::PPolynomial | ( | const PPolynomial< Degree > & | p | ) |
Definition at line 91 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, and pcl::poisson::PPolynomial< Degree >::polys.
pcl::poisson::PPolynomial< Degree >::~PPolynomial | ( | void | ) |
Definition at line 99 of file ppolynomial.hpp.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::addScaled | ( | const PPolynomial< Degree > & | poly, |
double | scale | ||
) |
Definition at line 220 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::StartingPolynomial< Degree >::start.
|
static |
Definition at line 390 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::MovingAverage().
Referenced by pcl::poisson::BSplineData< Degree, Real >::set().
|
inline |
Definition at line 377 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
PPolynomial< Degree-1 > pcl::poisson::PPolynomial< Degree >::derivative | ( | void | ) | const |
Definition at line 286 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::set().
Referenced by pcl::poisson::FunctionData< Degree, Real >::setValueTables(), and pcl::poisson::BSplineData< Degree, Real >::setValueTables().
void pcl::poisson::PPolynomial< Degree >::getSolutions | ( | double | c, |
std::vector< double > & | roots, | ||
double | EPS, | ||
double | min = -DBL_MAX , |
||
double | max = DBL_MAX |
||
) | const |
Definition at line 415 of file ppolynomial.hpp.
References pcl::poisson::Polynomial< Degree >::getSolutions(), and pcl::poisson::Polynomial< Degree >::setZero().
double pcl::poisson::PPolynomial< Degree >::integral | ( | double | tMin, |
double | tMax | ||
) | const |
Definition at line 165 of file ppolynomial.hpp.
double pcl::poisson::PPolynomial< Degree >::Integral | ( | void | ) | const |
Definition at line 184 of file ppolynomial.hpp.
PPolynomial< Degree+1 > pcl::poisson::PPolynomial< Degree >::integral | ( | void | ) | const |
Definition at line 296 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
PPolynomial< Degree+1 > pcl::poisson::PPolynomial< Degree >::MovingAverage | ( | double | radius | ) |
Definition at line 395 of file ppolynomial.hpp.
References pcl::poisson::Polynomial< Degree >::integral(), pcl::poisson::StartingPolynomial< Degree >::p, pcl::poisson::PPolynomial< Degree >::set(), pcl::poisson::Polynomial< Degree >::shift(), and pcl::poisson::StartingPolynomial< Degree >::start.
Referenced by pcl::poisson::PPolynomial< Degree >::BSpline(), pcl::poisson::FunctionData< Degree, Real >::setValueTables(), and pcl::poisson::BSplineData< Degree, Real >::setValueTables().
double pcl::poisson::PPolynomial< Degree >::operator() | ( | double | t | ) | const |
Definition at line 157 of file ppolynomial.hpp.
PPolynomial< Degree+Degree2 > pcl::poisson::PPolynomial< Degree >::operator* | ( | const Polynomial< Degree2 > & | p | ) | const |
Definition at line 260 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
PPolynomial< Degree+Degree2 > pcl::poisson::PPolynomial< Degree >::operator* | ( | const PPolynomial< Degree2 > & | p | ) | const |
Definition at line 243 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::operator* | ( | double | s | ) | const |
Definition at line 338 of file ppolynomial.hpp.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::operator*= | ( | double | s | ) |
Definition at line 312 of file ppolynomial.hpp.
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::operator+ | ( | const PPolynomial< Degree > & | p | ) | const |
Definition at line 186 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::operator+ | ( | double | s | ) | const |
Definition at line 324 of file ppolynomial.hpp.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::operator+= | ( | double | s | ) |
Definition at line 308 of file ppolynomial.hpp.
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::operator- | ( | const PPolynomial< Degree > & | p | ) | const |
Definition at line 203 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::operator- | ( | double | s | ) | const |
Definition at line 331 of file ppolynomial.hpp.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::operator-= | ( | double | s | ) |
Definition at line 310 of file ppolynomial.hpp.
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::operator/ | ( | double | s | ) | const |
Definition at line 345 of file ppolynomial.hpp.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::operator/= | ( | double | s | ) |
Definition at line 318 of file ppolynomial.hpp.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::operator= | ( | const PPolynomial< Degree > & | p | ) |
Definition at line 139 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, and pcl::poisson::PPolynomial< Degree >::polys.
PPolynomial< Degree > & pcl::poisson::PPolynomial< Degree >::operator= | ( | const PPolynomial< Degree2 > & | p | ) |
Definition at line 147 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polyCount, and pcl::poisson::PPolynomial< Degree >::polys.
void pcl::poisson::PPolynomial< Degree >::printnl | ( | void | ) | const |
Definition at line 353 of file ppolynomial.hpp.
References pcl::poisson::Polynomial< Degree >::printnl().
void pcl::poisson::PPolynomial< Degree >::reset | ( | std::size_t | newSize | ) |
Definition at line 132 of file ppolynomial.hpp.
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::scale | ( | double | s | ) | const |
Definition at line 270 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
void pcl::poisson::PPolynomial< Degree >::set | ( | std::size_t | size | ) |
Definition at line 120 of file ppolynomial.hpp.
Referenced by pcl::poisson::PPolynomial< Degree >::BSpline(), pcl::poisson::PPolynomial< Degree >::derivative(), pcl::poisson::PPolynomial< Degree >::integral(), pcl::poisson::PPolynomial< Degree >::MovingAverage(), pcl::poisson::PPolynomial< Degree >::operator*(), pcl::poisson::PPolynomial< Degree >::operator+(), pcl::poisson::PPolynomial< Degree >::operator-(), pcl::poisson::PPolynomial< Degree >::scale(), and pcl::poisson::PPolynomial< Degree >::shift().
void pcl::poisson::PPolynomial< Degree >::set | ( | StartingPolynomial< Degree > * | sps, |
int | count | ||
) |
Definition at line 105 of file ppolynomial.hpp.
References pcl::poisson::StartingPolynomial< Degree >::p.
PPolynomial< Degree > pcl::poisson::PPolynomial< Degree >::shift | ( | double | t | ) | const |
Definition at line 278 of file ppolynomial.hpp.
References pcl::poisson::PPolynomial< Degree >::polys, and pcl::poisson::PPolynomial< Degree >::set().
int pcl::poisson::PPolynomial< Degree >::size | ( | void | ) | const |
Definition at line 117 of file ppolynomial.hpp.
void pcl::poisson::PPolynomial< Degree >::write | ( | FILE * | fp, |
int | samples, | ||
double | min, | ||
double | max | ||
) | const |
Definition at line 434 of file ppolynomial.hpp.
std::size_t pcl::poisson::PPolynomial< Degree >::polyCount |
Definition at line 61 of file ppolynomial.h.
Referenced by pcl::poisson::PPolynomial< Degree >::addScaled(), pcl::poisson::PPolynomial< Degree >::operator*(), pcl::poisson::PPolynomial< Degree >::operator+(), pcl::poisson::PPolynomial< Degree >::operator-(), pcl::poisson::PPolynomial< Degree >::operator=(), and pcl::poisson::PPolynomial< Degree >::PPolynomial().
StartingPolynomial<Degree>* pcl::poisson::PPolynomial< Degree >::polys |
Definition at line 62 of file ppolynomial.h.
Referenced by pcl::poisson::PPolynomial< Degree >::addScaled(), pcl::poisson::PPolynomial< Degree >::BSpline(), pcl::poisson::PPolynomial< Degree >::integral(), pcl::poisson::PPolynomial< Degree >::operator*(), pcl::poisson::PPolynomial< Degree >::operator+(), pcl::poisson::PPolynomial< Degree >::operator-(), pcl::poisson::PPolynomial< Degree >::operator=(), pcl::poisson::PPolynomial< Degree >::PPolynomial(), pcl::poisson::PPolynomial< Degree >::scale(), and pcl::poisson::PPolynomial< Degree >::shift().