iRoCS Toolbox  1.1.0
Data Structures | Namespaces | Functions
ATBSpline.hh File Reference
#include <config.hh>
#include <cstdlib>
#include <vector>
#include <map>
#include <omp.h>
#include <blitz/array.h>
#include <libBlitzHdf5/BlitzHdf5Light.hh>
#include "ATBPolynomial.hh"
#include "RuntimeError.hh"
#include "ATBLinAlg.hh"
#include "ATBSpline.icc"
Include dependency graph for ATBSpline.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  atb::BSpline< ControlPointT >::BaseCacheIndex
 The BaseCacheIndex struct provides a sortable quadrupel for uniquely identifying the evaluation of the lth indefinite integral of jth B-spline basis function of degree p at position u. More...
 
struct  atb::BSpline< ControlPointT >::BasePolynomialCacheIndex
 The BasePolynomialCacheIndex struct provides a sortable quadrupel to uniquely identify the polynomial of the lth indefinite integral of the jth B-spline basis function of degree p at segment m. More...
 
class  atb::BSpline< ControlPointT >
 The BSpline class provides functions for fitting B-Splines to point clouds and evaluating them at arbitrary curve position u. More...
 

Namespaces

 atb
 

Functions

double atb::distance (BSpline< double > const &spline, double x, double &u)
 Compute the distance and the corresponding curve position of the given point to the spline. More...
 
template<int Dim>
double atb::distance (BSpline< blitz::TinyVector< double, Dim > > const &spline, blitz::TinyVector< double, Dim > const &x, double &u)
 Compute the distance and the corresponding curve position of the given point to the spline. More...
 
double atb::extendedDistance (BSpline< double > const &spline, double x, double &u, double lBound=0.0, double uBound=1.0)
 Compute the distance and the corresponding curve position of the given point to the spline. More...
 
template<int Dim>
double atb::extendedDistance (BSpline< blitz::TinyVector< double, Dim > > const &spline, blitz::TinyVector< double, Dim > const &x, double &u, double lBound=0.0, double uBound=1.0)
 Compute the distance and the corresponding curve position of the given point to the spline. More...
 
void atb::fitSplineToPointCloud (BSpline< double > &spline, std::vector< double > const &u, std::vector< double > const &points)
 Fitting of a spline curve to scalar data. More...
 
template<int Dim>
void atb::fitSplineToPointCloud (BSpline< blitz::TinyVector< double, Dim > > &spline, std::vector< double > const &u, std::vector< blitz::TinyVector< double, Dim > > const &points)
 Fitting of a spline curve to vectorial data. More...
 
void atb::fitSplineToSpline (BSpline< double > &spline, BSpline< double > const &reference)
 Fitting of a spline curve to another spline curve. More...
 
template<int Dim>
void atb::fitSplineToSpline (BSpline< blitz::TinyVector< double, Dim > > &spline, BSpline< blitz::TinyVector< double, Dim > > const &reference)
 Fitting of a spline curve to another spline curve. More...
 
template<typename ControlPointT >
std::ostream & atb::operator<< (std::ostream &os, BSpline< ControlPointT > const &spline)
 Pretty print operator for stream output of B-Splines. More...