DGtal
1.5.beta
|
Aim: Class for the computation of the a speed value at some point p, from the available distance values and speed values of some points lying in the 1-neighborhood of p (ie. points at a L1-distance to p equal to 1) in order to extrapolate a speed field in the normal direction to the interface. More...
#include <DGtal/geometry/volumes/distance/FMMPointFunctors.h>
Public Types | |
typedef TDistanceImage | DistanceImage |
typedef DistanceImage::Point | Point |
typedef DistanceImage::Value | DistanceValue |
typedef TSpeedFunctor | SpeedFunctor |
typedef SpeedFunctor::Value | Value |
typedef TSet | Set |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CImage< TDistanceImage >)) | |
image More... | |
BOOST_CONCEPT_ASSERT ((concepts::CPointFunctor< TSpeedFunctor >)) | |
BOOST_STATIC_ASSERT ((boost::is_same< Point, typename SpeedFunctor::Point >::value)) | |
BOOST_CONCEPT_ASSERT ((concepts::CDigitalSet< TSet >)) | |
set More... | |
BOOST_STATIC_ASSERT ((boost::is_same< Point, typename TSet::Point >::value)) | |
SpeedExtrapolator (const DistanceImage &aDistImg, const TSet &aSet, SpeedFunctor &aSpeedFunc) | |
SpeedExtrapolator (const SpeedExtrapolator &other) | |
SpeedExtrapolator & | operator= (const SpeedExtrapolator &other) |
~SpeedExtrapolator () | |
Value | operator() (const Point &aPoint) |
Data Fields | |
const DistanceImage * | myDistImgPtr |
Aliasing pointer on the underlying image of distance values. More... | |
const Set * | mySetPtr |
SpeedFunctor * | mySpeedFuncPtr |
Aliasing pointer on the underlying image of speed values. More... | |
Aim: Class for the computation of the a speed value at some point p, from the available distance values and speed values of some points lying in the 1-neighborhood of p (ie. points at a L1-distance to p equal to 1) in order to extrapolate a speed field in the normal direction to the interface.
Description of template class 'SpeedExtrapolator'
The computed value is such that the dot product of the gradients of the speed function and of the distance function is zero, ie. \( \nabla S . \nabla \Phi = 0 \).
It is a model of CPointFunctor.
TDistanceImage | model of CImage used for the mapping point-distance value |
TSet | model of CDigitalSet for storing points whose distance value is known |
TSpeedFunctor | model of CImage used for the mapping point-speed value |
Definition at line 704 of file FMMPointFunctors.h.
typedef TDistanceImage DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::DistanceImage |
Definition at line 713 of file FMMPointFunctors.h.
typedef DistanceImage::Value DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::DistanceValue |
Definition at line 715 of file FMMPointFunctors.h.
typedef DistanceImage::Point DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::Point |
Definition at line 714 of file FMMPointFunctors.h.
typedef TSet DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::Set |
Definition at line 723 of file FMMPointFunctors.h.
typedef TSpeedFunctor DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::SpeedFunctor |
Definition at line 717 of file FMMPointFunctors.h.
typedef SpeedFunctor::Value DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::Value |
Definition at line 719 of file FMMPointFunctors.h.
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::SpeedExtrapolator | ( | const DistanceImage & | aDistImg, |
const TSet & | aSet, | ||
SpeedFunctor & | aSpeedFunc | ||
) |
Constructor from images and set. NB: only pointers are stored
aDistImg | any distance map |
aSet | any digital set |
aSpeedFunc | any speed map |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::SpeedExtrapolator | ( | const SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor > & | other | ) |
Copy constructor.
other | the object to clone. |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::~SpeedExtrapolator | ( | ) |
Destructor. Does nothing.
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalSet< TSet >) | ) |
set
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CImage< TDistanceImage >) | ) |
image
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_CONCEPT_ASSERT | ( | (concepts::CPointFunctor< TSpeedFunctor >) | ) |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_STATIC_ASSERT | ( | (boost::is_same< Point, typename SpeedFunctor::Point >::value) | ) |
DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::BOOST_STATIC_ASSERT | ( | (boost::is_same< Point, typename TSet::Point >::value) | ) |
Value DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::operator() | ( | const Point & | aPoint | ) |
Speed value computation at aPoint , from the available distance/speed values of the 1-neighbors of aPoint .
aPoint | the point for which the speed is computed |
SpeedExtrapolator& DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::operator= | ( | const SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor > & | other | ) |
Assignment.
other | the object to copy. |
const DistanceImage* DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::myDistImgPtr |
Aliasing pointer on the underlying image of distance values.
Definition at line 729 of file FMMPointFunctors.h.
const Set* DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::mySetPtr |
Aliasing pointer on the underlying set of points whose distance value is known
Definition at line 732 of file FMMPointFunctors.h.
SpeedFunctor* DGtal::SpeedExtrapolator< TDistanceImage, TSet, TSpeedFunctor >::mySpeedFuncPtr |
Aliasing pointer on the underlying image of speed values.
Definition at line 734 of file FMMPointFunctors.h.