34#if defined(FunctorOnCells_RECURSES)
35#error Recursive header files inclusion detected in FunctorOnCells.h
38#define FunctorOnCells_RECURSES
40#if !defined FunctorOnCells_h
42#define FunctorOnCells_h
47#include "DGtal/base/Common.h"
48#include "DGtal/base/Alias.h"
49#include "DGtal/base/ConstAlias.h"
51#include "DGtal/kernel/CSpace.h"
52#include "DGtal/kernel/CPointFunctor.h"
69 template <
typename TFunctorOnPo
ints,
typename TKSpace>
79 typedef typename FunctorOnPoints::Point
Point;
80 typedef typename FunctorOnPoints::Value
Value;
193 template <
typename TF,
typename TKS>
202#include "DGtal/geometry/surfaces/FunctorOnCells.ih"
209#undef FunctorOnCells_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: Convert a functor on Digital Point to a Functor on Khalimsky Cell.
FunctorOnCells(const FunctorOnCells &other)
BOOST_CONCEPT_ASSERT((concepts::CPointFunctor< FunctorOnPoints >))
FunctorOnCells & operator=(const FunctorOnCells &other)
void selfDisplay(std::ostream &out) const
FunctorOnPoints::Value Value
const KSpace & space() const
FunctorOnPoints::Point Point
FunctorOnCells(Alias< FunctorOnPoints > functor, ConstAlias< KSpace > kspace)
Quantity operator()(const Cell &aCell) const
ShapePointFunctor FunctorOnPoints
FunctorOnCells< ShapePointFunctor, KSpace > Self
SignedKhalimskyCell< dim, Integer > SCell
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Aim: Defines a functor on points.