DGtal  1.1.0
ShapeGeometricFunctors.h
1
17 #pragma once
18
31 #if defined(ShapeGeometricFunctors_RECURSES)
32 #error Recursive header files inclusion detected in ShapeGeometricFunctors.h
33 #else // defined(ShapeGeometricFunctors_RECURSES)
34
35 #define ShapeGeometricFunctors_RECURSES
36
37 #if !defined ShapeGeometricFunctors_h
38
39 #define ShapeGeometricFunctors_h
40
42 // Inclusions
43 #include <iostream>
44 #include "DGtal/base/Common.h"
46
47 namespace DGtal
48 {
49  namespace functors
50  {
51
52  namespace ShapeGeometricFunctors
53  {
54
63  template <typename TShape>
65  typedef TShape Shape;
66  typedef typename Shape::RealPoint RealPoint;
69  typedef Quantity Value;
70
77  ShapePositionFunctor( ConstAlias<Shape> aShape = 0 ) : myShape( aShape ) {}
78
85  void attach( ConstAlias<Shape> aShape )
86  {
87  myShape = aShape;
88  }
89
95  Quantity operator()( const RealPoint & p ) const
96  {
97  return p;
98  }
99
100  private:
103  };
104
113  template <typename TShape>
115  typedef TShape Shape;
116  typedef typename Shape::RealPoint RealPoint;
117  typedef typename Shape::RealVector RealVector;
119  typedef typename RealVector::Component Scalar;
121  typedef Quantity Value;
122
130
137  void attach( ConstAlias<Shape> aShape )
138  {
139  myShape = aShape;
140  }
141
147  Quantity operator()( const RealPoint & p ) const
148  {
149  RealVector v = myShape->gradient( p );
150  Scalar norm = v.norm();
151  return ( norm != 0 ) ? v / norm : v;
152  }
153
154  private:
157  };
158
159
168  template <typename TShape>
170  typedef TShape Shape;
171  typedef typename Shape::RealPoint RealPoint;
172  typedef typename Shape::RealVector RealVector;
173  typedef typename RealVector::Component Scalar;
175  typedef Scalar Quantity;
176  typedef Quantity Value;
177
185
192  void attach( ConstAlias<Shape> aShape )
193  {
194  myShape = aShape;
195  }
196
202  Quantity operator()( const RealPoint & p ) const
203  {
204  return myShape->meanCurvature( p );
205  }
206
207  private:
210  };
211
220  template <typename TShape>
222  typedef TShape Shape;
223  typedef typename Shape::RealPoint RealPoint;
224  typedef typename Shape::RealVector RealVector;
225  typedef typename RealVector::Component Scalar;
227  typedef Scalar Quantity;
228  typedef Quantity Value;
229
237
244  void attach( ConstAlias<Shape> aShape )
245  {
246  myShape = aShape;
247  }
248
254  Quantity operator()( const RealPoint & p ) const
255  {
256  return myShape->gaussianCurvature( p );
257  }
258
259  private:
262  };
263
272  template <typename TShape>
274  typedef TShape Shape;
275  typedef typename Shape::RealPoint RealPoint;
276  typedef typename Shape::RealVector RealVector;
277  typedef typename RealVector::Component Scalar;
279  typedef Scalar Quantity;
280  typedef Quantity Value;
281
289  : myShape( aShape ) {}
290
297  void attach( ConstAlias<Shape> aShape )
298  {
299  myShape = aShape;
300  }
301
307  Quantity operator()( const RealPoint & p ) const
308  {
309  Quantity k1, k2;
310  myShape->principalCurvatures( p, k1, k2 );
311  return k1;
312  }
313
314  private:
317  }; // struct ShapeFirstPrincipalCurvatureFunctor
318
327  template <typename TShape>
329  typedef TShape Shape;
330  typedef typename Shape::RealPoint RealPoint;
331  typedef typename Shape::RealVector RealVector;
332  typedef typename RealVector::Component Scalar;
334  typedef Scalar Quantity;
335  typedef Quantity Value;
336
344  : myShape( aShape ) {}
345
352  void attach( ConstAlias<Shape> aShape )
353  {
354  myShape = aShape;
355  }
356
362  Quantity operator()( const RealPoint & p ) const
363  {
364  Quantity k1, k2;
365  myShape->principalCurvatures( p, k1, k2 );
366  return k2;
367  }
368
369  private:
372  }; // struct ShapeSecondPrincipalCurvatureFunctor
373
384  template <typename TShape>
386  typedef TShape Shape;
387  typedef typename Shape::RealPoint RealPoint;
388  typedef typename Shape::RealVector RealVector;
389  typedef typename RealVector::Component Scalar;
392  typedef Quantity Value;
393
401  : myShape( aShape ) {}
402
409  void attach( ConstAlias<Shape> aShape )
410  {
411  myShape = aShape;
412  }
413
419  Quantity operator()( const RealPoint & p ) const
420  {
421  Quantity d1, d2;
422  myShape->principalDirections( p, d1, d2 );
423  return d1;
424  }
425
426  private:
429  }; // struct ShapeFirstPrincipalDirectionFunctor
430
441  template <typename TShape>
443  typedef TShape Shape;
444  typedef typename Shape::RealPoint RealPoint;
445  typedef typename Shape::RealVector RealVector;
446  typedef typename RealVector::Component Scalar;
449  typedef Quantity Value;
450
458  : myShape( aShape ) {}
459
466  void attach( ConstAlias<Shape> aShape )
467  {
468  myShape = aShape;
469  }
470
476  Quantity operator()( const RealPoint & p ) const
477  {
478  Quantity d1, d2;
479  myShape->principalDirections( p, d1, d2 );
480  return d2;
481  }
482
483  private:
486  }; // struct ShapeSecondPrincipalDirectionFunctor
487
498  template <typename TShape>
500  typedef TShape Shape;
501  typedef typename Shape::RealPoint RealPoint;
502  typedef typename Shape::RealVector RealVector;
503  typedef typename RealVector::Component Scalar;
505  typedef std::tuple<Scalar,Scalar,RealVector,RealVector> Quantity;
506  typedef Quantity Value;
507
515  : myShape( aShape ) {}
516
523  void attach( ConstAlias<Shape> aShape )
524  {
525  myShape = aShape;
526  }
527
536  Quantity operator()( const RealPoint & p ) const
537  {
538  Scalar k1, k2;
539  RealVector d1, d2;
540  myShape->principalCurvatures( p, k1, k2 );
541  myShape->principalDirections( p, d1, d2 );
542  return std::make_tuple( k1, k2, d1, d2 );
543  }
544
545  private:
548  }; // struct ShapePrincipalCurvaturesAndDirectionsFunctor
549
550
551  } // namespace ShapeGeometricFunctors
552  } // namespace functors
553 } // namespace DGtal
554
555
557 // Includes inline functions.
558 #include "DGtal/shapes/ShapeGeometricFunctors.ih"
559
560 // //
562
563 #endif // !defined ShapeGeometricFunctors_h
564
565 #undef ShapeGeometricFunctors_RECURSES
566 #endif // else defined(ShapeGeometricFunctors_RECURSES)
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:95
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:118
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::ShapePositionFunctor
ShapePositionFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:77
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:445
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:66
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:276
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:485
DGtal::ConstAlias
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Definition: ConstAlias.h:187
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:171
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:173
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor
Aim: A functor RealPoint -> Quantity that returns the mean curvature at given point.
Definition: ShapeGeometricFunctors.h:169
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:137
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor
Aim: A functor RealPoint -> RealVector that returns the first principal direction at given point (i....
Definition: ShapeGeometricFunctors.h:385
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:261
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:501
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:275
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:371
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:225
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:446
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:202
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:67
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:444
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:419
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor
Aim: A functor RealPoint -> (Scalar,Scalar,RealVector,RealVector that returns the principal curvature...
Definition: ShapeGeometricFunctors.h:499
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:390
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::Value
Quantity Value
Definition: ShapeGeometricFunctors.h:121
DGtal::PointVector::Component
TEuclideanRing Component
Type for Vector elements.
Definition: PointVector.h:614
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:502
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:523
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:226
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor
Aim: A functor RealPoint -> Quantity that returns the first principal curvature at given point (i....
Definition: ShapeGeometricFunctors.h:273
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:362
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:547
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::Shape
TShape Shape
Definition: ShapeGeometricFunctors.h:65
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:331
DGtal::CountedConstPtrOrConstPtr< Shape >
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:466
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:117
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor
Aim: A functor RealPoint -> RealVector that returns the second principal direction at given point (i....
Definition: ShapeGeometricFunctors.h:442
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:209
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:278
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition: ClosedIntegerHalfPlane.h:49
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:147
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:174
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:102
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:172
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:316
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::Quantity
Scalar Quantity
Definition: ShapeGeometricFunctors.h:175
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::Quantity
RealVector Quantity
Definition: ShapeGeometricFunctors.h:120
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::ShapeGaussianCurvatureFunctor
ShapeGaussianCurvatureFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:236
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:536
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:476
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:156
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:297
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:223
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor
Aim: A functor RealPoint -> Quantity that returns the normal vector at given point.
Definition: ShapeGeometricFunctors.h:114
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:116
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:333
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::Value
Quantity Value
Definition: ShapeGeometricFunctors.h:69
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::Quantity
RealVector Quantity
Definition: ShapeGeometricFunctors.h:448
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::Quantity
RealPoint Quantity
Definition: ShapeGeometricFunctors.h:68
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:389
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::ShapeMeanCurvatureFunctor
ShapeMeanCurvatureFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:184
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:254
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:224
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:119
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::Quantity
std::tuple< Scalar, Scalar, RealVector, RealVector > Quantity
Definition: ShapeGeometricFunctors.h:505
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:192
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor
Aim: A functor RealPoint -> Quantity that returns the second principal curvature at given point (i....
Definition: ShapeGeometricFunctors.h:328
DGtal::PointVector
Aim: Implements basic operations that will be used in Point and Vector classes.
Definition: PointVector.h:593
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:352
DGtal::functors::ShapeGeometricFunctors::ShapeNormalVectorFunctor::ShapeNormalVectorFunctor
ShapeNormalVectorFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:129
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:85
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:277
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::ShapePrincipalCurvaturesAndDirectionsFunctor
ShapePrincipalCurvaturesAndDirectionsFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:514
DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor::Value
Quantity Value
Definition: ShapeGeometricFunctors.h:176
DGtal::functors::ShapeGeometricFunctors::ShapePrincipalCurvaturesAndDirectionsFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:503
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::myShape
CountedConstPtrOrConstPtr< Shape > myShape
The shape of interest.
Definition: ShapeGeometricFunctors.h:428
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:409
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::Quantity
Scalar Quantity
Definition: ShapeGeometricFunctors.h:227
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::ShapeSecondPrincipalCurvatureFunctor
ShapeSecondPrincipalCurvatureFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:343
DGtal::functors::ShapeGeometricFunctors::ShapePositionFunctor
Aim: A functor RealPoint -> Quantity that returns the position of the point itself.
Definition: ShapeGeometricFunctors.h:64
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:330
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::RealPoint
Shape::RealPoint RealPoint
Definition: ShapeGeometricFunctors.h:387
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::ShapeFirstPrincipalDirectionFunctor
ShapeFirstPrincipalDirectionFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:400
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor
Aim: A functor RealPoint -> Quantity that returns the gaussian curvature at given point.
Definition: ShapeGeometricFunctors.h:221
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor::Scalar
RealVector::Component Scalar
Definition: ShapeGeometricFunctors.h:332
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::ShapeSecondPrincipalDirectionFunctor
ShapeSecondPrincipalDirectionFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:457
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::RealVector
Shape::RealVector RealVector
Definition: ShapeGeometricFunctors.h:388
DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor::attach
void attach(ConstAlias< Shape > aShape)
Definition: ShapeGeometricFunctors.h:244
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::operator()
Quantity operator()(const RealPoint &p) const
Definition: ShapeGeometricFunctors.h:307
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor::ShapeFirstPrincipalCurvatureFunctor
ShapeFirstPrincipalCurvatureFunctor(ConstAlias< Shape > aShape=0)
Definition: ShapeGeometricFunctors.h:288
DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor::Quantity
RealVector Quantity
Definition: ShapeGeometricFunctors.h:391
DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor::Argument
RealPoint Argument
Definition: ShapeGeometricFunctors.h:447