Code-Eli  0.3.6
eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ > Class Template Reference

#include <fit_container.hpp>

Collaboration diagram for eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >:

Classes

class  constraint_info
 

Public Types

enum  error_code {
  NO_ERRORS =0, INVALID_INDEX =1, INDEX_NOT_FOUND =2, TOO_FEW_POINTS =3,
  UNKNOWN_ERROR =999
}
 
typedef data_type__ data_type
 
typedef index_type__ index_type
 
typedef Eigen::Matrix< data_type, 1, dim__ > point_type
 
typedef constraint_info::point_type constraint_point_type
 

Public Member Functions

 fit_container ()
 
 ~fit_container ()
 
size_t number_points () const
 
size_t number_constraint_points () const
 
size_t number_constraints (bool fit=true) const
 
bool open () const
 
bool closed () const
 
const eli::geom::general::continuityget_end_flag () const
 
void set_end_flag (const eli::geom::general::continuity &op)
 
template<typename it__ >
void set_points (it__ itb, it__ ite)
 
template<typename it__ >
void get_points (it__ itb) const
 
error_code get_start_constraint (constraint_info &ci) const
 
error_code get_start_constraint (constraint_info &ci, point_type &pt) const
 
error_code get_end_constraint (constraint_info &ci) const
 
error_code get_end_constraint (constraint_info &ci, point_type &pt) const
 
error_code get_constraint (const index_type &i, constraint_info &ci) const
 
error_code get_constraint (const index_type &i, constraint_info &ci, point_type &pt) const
 
error_code add_start_C0_constraint ()
 
error_code add_start_C1_constraint ()
 
error_code add_start_C1_constraint (const constraint_point_type &fp)
 
error_code add_start_C2_constraint ()
 
error_code add_start_C2_constraint (const constraint_point_type &fp)
 
error_code add_start_C2_constraint (const constraint_point_type &fp, const constraint_point_type &fpp)
 
error_code add_end_C0_constraint ()
 
error_code add_end_C1_constraint ()
 
error_code add_end_C1_constraint (const constraint_point_type &fp)
 
error_code add_end_C2_constraint ()
 
error_code add_end_C2_constraint (const constraint_point_type &fp)
 
error_code add_end_C2_constraint (const constraint_point_type &fp, const constraint_point_type &fpp)
 
error_code add_C0_constraint (const index_type &i)
 
error_code add_C1_constraint (const index_type &i)
 
error_code add_C1_constraint (const index_type &i, const constraint_point_type &fp)
 
error_code add_C2_constraint (const index_type &i)
 
error_code add_C2_constraint (const index_type &i, const constraint_point_type &fp)
 
error_code add_C2_constraint (const index_type &i, const constraint_point_type &fp, const constraint_point_type &fpp)
 
error_code remove_constraint (const index_type &i)
 
template<typename it__ >
error_code get_constraint_indexes (it__ itout) const
 

Private Types

typedef std::map< index_type, constraint_infoconstraint_collection
 

Private Member Functions

bool valid_index (const index_type &i) const
 
void evaluate_fp (constraint_point_type &fp, const index_type &i) const
 
void evaluate_fpp (constraint_point_type &fpp, const index_type &i) const
 

Private Attributes

eli::geom::general::continuity end_continuity
 
std::vector< point_type, Eigen::aligned_allocator< point_type > > points
 
constraint_collection constraints
 

Member Typedef Documentation

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
typedef std::map<index_type, constraint_info> eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::constraint_collection
private
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
typedef constraint_info::point_type eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::constraint_point_type
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
typedef data_type__ eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::data_type
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
typedef index_type__ eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::index_type
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
typedef Eigen::Matrix<data_type, 1, dim__> eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::point_type

Member Enumeration Documentation

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
enum eli::geom::curve::fit_container::error_code
Enumerator
NO_ERRORS 
INVALID_INDEX 
INDEX_NOT_FOUND 
TOO_FEW_POINTS 
UNKNOWN_ERROR 

Constructor & Destructor Documentation

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::fit_container ( )
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::~fit_container ( )
inline

Member Function Documentation

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_C0_constraint ( const index_type i)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_C1_constraint ( const index_type i)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_C1_constraint ( const index_type i,
const constraint_point_type fp 
)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_C2_constraint ( const index_type i)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_C2_constraint ( const index_type i,
const constraint_point_type fp 
)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_C2_constraint ( const index_type i,
const constraint_point_type fp,
const constraint_point_type fpp 
)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_end_C0_constraint ( )
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_end_C1_constraint ( )
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_end_C1_constraint ( const constraint_point_type fp)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_end_C2_constraint ( )
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_end_C2_constraint ( const constraint_point_type fp)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_end_C2_constraint ( const constraint_point_type fp,
const constraint_point_type fpp 
)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_start_C0_constraint ( )
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_start_C1_constraint ( )
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_start_C1_constraint ( const constraint_point_type fp)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_start_C2_constraint ( )
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_start_C2_constraint ( const constraint_point_type fp)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::add_start_C2_constraint ( const constraint_point_type fp,
const constraint_point_type fpp 
)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
bool eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::closed ( ) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
void eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::evaluate_fp ( constraint_point_type fp,
const index_type i 
) const
inlineprivate

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
void eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::evaluate_fpp ( constraint_point_type fpp,
const index_type i 
) const
inlineprivate

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_constraint ( const index_type i,
constraint_info ci 
) const
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_constraint ( const index_type i,
constraint_info ci,
point_type pt 
) const
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
template<typename it__ >
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_constraint_indexes ( it__  itout) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_end_constraint ( constraint_info ci) const
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_end_constraint ( constraint_info ci,
point_type pt 
) const
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
const eli::geom::general::continuity& eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_end_flag ( ) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
template<typename it__ >
void eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_points ( it__  itb) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_start_constraint ( constraint_info ci) const
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::get_start_constraint ( constraint_info ci,
point_type pt 
) const
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
size_t eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::number_constraint_points ( ) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
size_t eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::number_constraints ( bool  fit = true) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
size_t eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::number_points ( ) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
bool eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::open ( ) const
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
error_code eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::remove_constraint ( const index_type i)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
void eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::set_end_flag ( const eli::geom::general::continuity op)
inline

Here is the call graph for this function:

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
template<typename it__ >
void eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::set_points ( it__  itb,
it__  ite 
)
inline
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
bool eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::valid_index ( const index_type i) const
inlineprivate

Here is the call graph for this function:

Member Data Documentation

template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
constraint_collection eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::constraints
private
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
eli::geom::general::continuity eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::end_continuity
private
template<typename data_type__ , typename index_type__ , size_t dim__, size_t con_dim__>
std::vector<point_type, Eigen::aligned_allocator<point_type> > eli::geom::curve::fit_container< data_type__, index_type__, dim__, con_dim__ >::points
private

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