DGtal 1.4.0
|
Aim: This class is used to simplify shape and surface creation. With it, you can create new shapes and surface in a few lines. The drawback is that you use specific types or objects, which could lead to faster code or more compact data structures. More...
#include <DGtal/helpers/ShortcutsGeometry.h>
Public Member Functions | |
Standard services | |
ShortcutsGeometry ()=delete | |
~ShortcutsGeometry ()=delete | |
ShortcutsGeometry (const ShortcutsGeometry &other)=delete | |
ShortcutsGeometry (ShortcutsGeometry &&other)=delete | |
ShortcutsGeometry & | operator= (const ShortcutsGeometry &other)=delete |
ShortcutsGeometry & | operator= (ShortcutsGeometry &&other)=delete |
Public Member Functions inherited from DGtal::Shortcuts< TKSpace > | |
Shortcuts ()=delete | |
~Shortcuts ()=delete | |
Shortcuts (const Shortcuts &other)=delete | |
Shortcuts (Shortcuts &&other)=delete | |
Shortcuts & | operator= (const Shortcuts &other)=delete |
Shortcuts & | operator= (Shortcuts &&other)=delete |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Static Public Member Functions | |
static Parameters | parametersKSpace () |
static KSpace | getKSpace (const Point &low, const Point &up, Parameters params=parametersKSpace()) |
static KSpace | getKSpace (CountedPtr< BinaryImage > bimage, Parameters params=parametersKSpace()) |
static KSpace | getKSpace (CountedPtr< GrayScaleImage > gimage, Parameters params=parametersKSpace()) |
template<typename TDigitalSurfaceContainer > | |
static KSpace | getKSpace (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static KSpace | getKSpace (CountedPtr< ::DGtal::IndexedDigitalSurface< TDigitalSurfaceContainer > > surface) |
static KSpace | getKSpace (Parameters params=parametersKSpace()|parametersDigitizedImplicitShape3D()) |
static Parameters | parametersDigitizedImplicitShape3D () |
Exact geometry services | |
static Parameters | defaultParameters () |
static Parameters | parametersShapeGeometry () |
static RealPoints | getPositions (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static RealPoints | getPositions (CountedPtr< ImplicitShape3D > shape, const RealPoints &points, const Parameters ¶ms=parametersShapeGeometry()) |
static RealVectors | getNormalVectors (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getMeanCurvatures (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getGaussianCurvatures (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getFirstPrincipalCurvatures (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getSecondPrincipalCurvatures (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static RealVectors | getFirstPrincipalDirections (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static RealVectors | getSecondPrincipalDirections (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static CurvatureTensorQuantities | getPrincipalCurvaturesAndDirections (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
Geometry estimation services | |
static Parameters | parametersGeometryEstimation () |
static RealVectors | getTrivialNormalVectors (const KSpace &K, const SurfelRange &surfels) |
template<typename TAnyDigitalSurface > | |
static RealVectors | getCTrivialNormalVectors (CountedPtr< TAnyDigitalSurface > surface, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()) |
template<typename TAnyDigitalSurface > | |
static RealVectors | getVCMNormalVectors (CountedPtr< TAnyDigitalSurface > surface, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()) |
static RealVectors | getIINormalVectors (CountedPtr< BinaryImage > bimage, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static RealVectors | getIINormalVectors (CountedPtr< DigitizedImplicitShape3D > dshape, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()|parametersDigitizedImplicitShape3D()) |
template<typename TPointPredicate > | |
static RealVectors | getIINormalVectors (const TPointPredicate &shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static Scalars | getIIMeanCurvatures (CountedPtr< BinaryImage > bimage, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static Scalars | getIIMeanCurvatures (CountedPtr< DigitizedImplicitShape3D > dshape, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()|parametersDigitizedImplicitShape3D()) |
template<typename TPointPredicate > | |
static Scalars | getIIMeanCurvatures (const TPointPredicate &shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static Scalars | getIIGaussianCurvatures (CountedPtr< BinaryImage > bimage, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static Scalars | getIIGaussianCurvatures (CountedPtr< DigitizedImplicitShape3D > dshape, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()|parametersDigitizedImplicitShape3D()) |
template<typename TPointPredicate > | |
static Scalars | getIIGaussianCurvatures (const TPointPredicate &shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static CurvatureTensorQuantities | getIIPrincipalCurvaturesAndDirections (CountedPtr< BinaryImage > bimage, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
static CurvatureTensorQuantities | getIIPrincipalCurvaturesAndDirections (CountedPtr< DigitizedImplicitShape3D > dshape, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()|parametersDigitizedImplicitShape3D()) |
template<typename TPointPredicate > | |
static CurvatureTensorQuantities | getIIPrincipalCurvaturesAndDirections (const TPointPredicate &shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersGeometryEstimation()|parametersKSpace()) |
AT approximation services | |
static Parameters | parametersATApproximation () |
template<typename TAnyDigitalSurface , typename VectorFieldInput > | |
static VectorFieldInput | getATVectorFieldApproximation (CountedPtr< TAnyDigitalSurface > surface, const SurfelRange &surfels, const VectorFieldInput &input, const Parameters ¶ms=parametersATApproximation()|parametersGeometryEstimation()) |
template<typename TAnyDigitalSurface , typename VectorFieldInput , typename CellRangeConstIterator > | |
static VectorFieldInput | getATVectorFieldApproximation (Scalars &features, CellRangeConstIterator itB, CellRangeConstIterator itE, CountedPtr< TAnyDigitalSurface > surface, const SurfelRange &surfels, const VectorFieldInput &input, const Parameters ¶ms=parametersATApproximation()|parametersGeometryEstimation()) |
template<typename TAnyDigitalSurface > | |
static Scalars | getATScalarFieldApproximation (CountedPtr< TAnyDigitalSurface > surface, const SurfelRange &surfels, const Scalars &input, const Parameters ¶ms=parametersATApproximation()|parametersGeometryEstimation()) |
template<typename TAnyDigitalSurface , typename CellRangeConstIterator > | |
static Scalars | getATScalarFieldApproximation (Scalars &features, CellRangeConstIterator itB, CellRangeConstIterator itE, CountedPtr< TAnyDigitalSurface > surface, const SurfelRange &surfels, const Scalars &input, const Parameters ¶ms=parametersATApproximation()|parametersGeometryEstimation()) |
Error measure services | |
static void | orientVectors (RealVectors &v, const RealVectors &ref_v) |
static ScalarStatistic | getStatistic (const Scalars &v) |
static Scalars | getVectorsAngleDeviation (const RealVectors &v1, const RealVectors &v2) |
static Scalars | getScalarsAbsoluteDifference (const Scalars &v1, const Scalars &v2) |
static Scalar | getScalarsNormL2 (const Scalars &v1, const Scalars &v2) |
static Scalar | getScalarsNormL1 (const Scalars &v1, const Scalars &v2) |
static Scalar | getScalarsNormLoo (const Scalars &v1, const Scalars &v2) |
Static Public Member Functions inherited from DGtal::Shortcuts< TKSpace > | |
static Parameters | defaultParameters () |
static std::map< std::string, std::string > | getPolynomialList () |
static Parameters | parametersImplicitShape3D () |
static CountedPtr< ImplicitShape3D > | makeImplicitShape3D (const Parameters ¶ms=parametersImplicitShape3D()) |
static Parameters | parametersKSpace () |
static KSpace | getKSpace (const Point &low, const Point &up, Parameters params=parametersKSpace()) |
static KSpace | getKSpace (CountedPtr< BinaryImage > bimage, Parameters params=parametersKSpace()) |
static KSpace | getKSpace (CountedPtr< GrayScaleImage > gimage, Parameters params=parametersKSpace()) |
template<typename TDigitalSurfaceContainer > | |
static KSpace | getKSpace (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static KSpace | getKSpace (CountedPtr< ::DGtal::IndexedDigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static const KSpace & | refKSpace (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static const KSpace & | refKSpace (CountedPtr< ::DGtal::IndexedDigitalSurface< TDigitalSurfaceContainer > > surface) |
static CanonicCellEmbedder< KSpace > | getCellEmbedder (const KSpace &K) |
static CanonicSCellEmbedder< KSpace > | getSCellEmbedder (const KSpace &K) |
static Parameters | parametersDigitizedImplicitShape3D () |
static KSpace | getKSpace (Parameters params=parametersKSpace()|parametersDigitizedImplicitShape3D()) |
static CountedPtr< DigitizedImplicitShape3D > | makeDigitizedImplicitShape3D (CountedPtr< ImplicitShape3D > shape, Parameters params=parametersDigitizedImplicitShape3D()) |
static Parameters | parametersBinaryImage () |
static CountedPtr< BinaryImage > | makeBinaryImage (Domain shapeDomain) |
static CountedPtr< BinaryImage > | makeBinaryImage (CountedPtr< DigitizedImplicitShape3D > shape_digitization, Parameters params=parametersBinaryImage()) |
static CountedPtr< BinaryImage > | makeBinaryImage (CountedPtr< DigitizedImplicitShape3D > shape_digitization, Domain shapeDomain, Parameters params=parametersBinaryImage()) |
static CountedPtr< BinaryImage > | makeBinaryImage (CountedPtr< BinaryImage > bimage, Parameters params=parametersBinaryImage()) |
static CountedPtr< BinaryImage > | makeBinaryImage (std::string input, Parameters params=parametersBinaryImage()) |
static CountedPtr< BinaryImage > | makeBinaryImage (CountedPtr< GrayScaleImage > gray_scale_image, Parameters params=parametersBinaryImage()) |
static bool | saveBinaryImage (CountedPtr< BinaryImage > bimage, std::string output) |
static Parameters | parametersGrayScaleImage () |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (Domain aDomain) |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (std::string input) |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (CountedPtr< BinaryImage > binary_image, std::function< GrayScale(bool) > const &bool2grayscale=[](bool v) { return v ?(unsigned char) 255 :(unsigned char) 0;}) |
static bool | saveGrayScaleImage (CountedPtr< GrayScaleImage > gray_scale_image, std::string output) |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (CountedPtr< FloatImage > fimage, Parameters params=parametersGrayScaleImage()) |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (CountedPtr< DoubleImage > fimage, Parameters params=parametersGrayScaleImage()) |
static CountedPtr< FloatImage > | makeFloatImage (Domain aDomain) |
static CountedPtr< FloatImage > | makeFloatImage (std::string input) |
static CountedPtr< FloatImage > | makeFloatImage (CountedPtr< ImplicitShape3D > shape, Parameters params=parametersDigitizedImplicitShape3D()) |
static CountedPtr< DoubleImage > | makeDoubleImage (Domain aDomain) |
static CountedPtr< DoubleImage > | makeDoubleImage (std::string input) |
static CountedPtr< DoubleImage > | makeDoubleImage (CountedPtr< ImplicitShape3D > shape, Parameters params=parametersDigitizedImplicitShape3D()) |
static Parameters | parametersDigitalSurface () |
template<typename TDigitalSurfaceContainer > | |
static CanonicCellEmbedder< KSpace > | getCellEmbedder (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static CanonicSCellEmbedder< KSpace > | getSCellEmbedder (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static CanonicCellEmbedder< KSpace > | getCellEmbedder (CountedPtr< ::DGtal::IndexedDigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static CanonicSCellEmbedder< KSpace > | getSCellEmbedder (CountedPtr< ::DGtal::IndexedDigitalSurface< TDigitalSurfaceContainer > > surface) |
static CountedPtr< LightDigitalSurface > | makeLightDigitalSurface (CountedPtr< BinaryImage > bimage, const KSpace &K, const Parameters ¶ms=parametersDigitalSurface()) |
static std::vector< CountedPtr< LightDigitalSurface > > | makeLightDigitalSurfaces (CountedPtr< BinaryImage > bimage, const KSpace &K, const Parameters ¶ms=parametersDigitalSurface()) |
static std::vector< CountedPtr< LightDigitalSurface > > | makeLightDigitalSurfaces (SurfelRange &surfel_reps, CountedPtr< BinaryImage > bimage, const KSpace &K, const Parameters ¶ms=parametersDigitalSurface()) |
template<typename TPointPredicate > | |
static CountedPtr< DigitalSurface > | makeDigitalSurface (CountedPtr< TPointPredicate > bimage, const KSpace &K, const Parameters ¶ms=parametersDigitalSurface()) |
static CountedPtr< DigitalSurface > | makeDigitalSurface (CountedPtr< IdxDigitalSurface > idx_surface, const Parameters ¶ms=parametersDigitalSurface()) |
static CountedPtr< IdxDigitalSurface > | makeIdxDigitalSurface (CountedPtr< BinaryImage > bimage, const KSpace &K, const Parameters ¶ms=parametersDigitalSurface()) |
template<typename TSurfelRange > | |
static CountedPtr< IdxDigitalSurface > | makeIdxDigitalSurface (const TSurfelRange &surfels, ConstAlias< KSpace > K, const Parameters ¶ms=parametersDigitalSurface()) |
template<typename TDigitalSurfaceContainer > | |
static CountedPtr< IdxDigitalSurface > | makeIdxDigitalSurface (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const Parameters ¶ms=parametersDigitalSurface()) |
static CountedPtr< IdxDigitalSurface > | makeIdxDigitalSurface (const std::vector< CountedPtr< LightDigitalSurface > > &surfaces, const Parameters ¶ms=parametersDigitalSurface()) |
template<typename TDigitalSurfaceContainer > | |
static CellRange | getCellRange (Cell2Index &c2i, CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const Dimension k) |
template<typename TDigitalSurfaceContainer > | |
static PointelRange | getCellRange (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const Dimension k) |
template<typename TDigitalSurfaceContainer > | |
static PointelRange | getPointelRange (Cell2Index &c2i, CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
template<typename TDigitalSurfaceContainer > | |
static PointelRange | getPointelRange (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface) |
static PointelRange | getPointelRange (const KSpace &K, const SCell &surfel) |
template<typename TDigitalSurfaceContainer > | |
static SurfelRange | getSurfelRange (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const Parameters ¶ms=parametersDigitalSurface()) |
template<typename TDigitalSurfaceContainer > | |
static SurfelRange | getSurfelRange (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const Surfel &start_surfel, const Parameters ¶ms=parametersDigitalSurface()) |
static IdxSurfelRange | getIdxSurfelRange (CountedPtr< IdxDigitalSurface > surface, const Parameters ¶ms=parametersDigitalSurface()) |
static IdxSurfelRange | getIdxSurfelRange (CountedPtr< IdxDigitalSurface > surface, const IdxSurfel &start_surfel, const Parameters ¶ms=parametersDigitalSurface()) |
template<typename TDigitalSurfaceContainer , typename TCellEmbedder > | |
static bool | saveOFF (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > digsurf, const TCellEmbedder &embedder, std::string off_file, const Color &face_color=DGtal::Color::None) |
template<typename TDigitalSurfaceContainer , typename TCellEmbedder > | |
static bool | saveOBJ (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > digsurf, const TCellEmbedder &embedder, const RealVectors &normals, const Colors &diffuse_colors, std::string objfile, const Color &ambient_color=Color(32, 32, 32), const Color &diffuse_color=Color(200, 200, 255), const Color &specular_color=Color::White) |
template<typename TDigitalSurfaceContainer > | |
static bool | saveOBJ (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > digsurf, const RealVectors &normals, const Colors &diffuse_colors, std::string objfile, const Color &ambient_color=Color(32, 32, 32), const Color &diffuse_color=Color(200, 200, 255), const Color &specular_color=Color::White) |
template<typename TDigitalSurfaceContainer > | |
static bool | saveOFF (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > digsurf, std::string off_file, const Color &face_color=Color(32, 32, 32)) |
template<typename TDigitalSurfaceContainer > | |
static bool | saveOBJ (CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > digsurf, std::string objfile, const Color &ambient_color=Color(32, 32, 32), const Color &diffuse_color=Color(200, 200, 255), const Color &specular_color=Color::White) |
static bool | saveVectorFieldOBJ (const RealPoints &positions, const RealVectors &vf, double thickness, const Colors &diffuse_colors, std::string objfile, const Color &ambient_color=Color(32, 32, 32), const Color &diffuse_color=Color(200, 200, 255), const Color &specular_color=Color::White) |
static Parameters | parametersMesh () |
static CountedPtr< TriangulatedSurface > | makeTriangulatedSurface (CountedPtr< Mesh > aMesh) |
static CountedPtr< Mesh > | makeMesh (CountedPtr< TriangulatedSurface > triSurf, const Color &aColor=Color::White) |
static CountedPtr< Mesh > | makeMesh (CountedPtr< PolygonalSurface > polySurf, const Color &aColor=Color::White) |
template<typename TContainer > | |
static CountedPtr< TriangulatedSurface > | makeTriangulatedSurface (Surfel2Index &s2i, CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< TriangulatedSurface > | makeTriangulatedSurface (CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
static CountedPtr< TriangulatedSurface > | makeTriangulatedSurface (CountedPtr< PolygonalSurface > polySurf, const Parameters ¶ms=parametersMesh()) |
static CountedPtr< PolygonalSurface > | makePolygonalSurface (CountedPtr< Mesh > aMesh) |
static CountedPtr< PolygonalSurface > | makePolygonalSurface (CountedPtr< GrayScaleImage > gray_scale_image, const Parameters ¶ms=parametersKSpace()|parametersBinaryImage()|parametersDigitalSurface()) |
static CountedPtr< TriangulatedSurface > | makeTriangulatedSurface (CountedPtr< GrayScaleImage > gray_scale_image, const Parameters ¶ms=parametersKSpace()|parametersBinaryImage()|parametersDigitalSurface()) |
template<typename TContainer > | |
static CountedPtr< PolygonalSurface > | makeDualPolygonalSurface (Surfel2Index &s2i, CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< PolygonalSurface > | makeDualPolygonalSurface (CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< PolygonalSurface > | makeDualPolygonalSurface (CountedPtr< ::DGtal::IndexedDigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< PolygonalSurface > | makePrimalPolygonalSurface (Cell2Index &c2i, CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< PolygonalSurface > | makePrimalPolygonalSurface (CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< PolygonalSurface > | makePrimalPolygonalSurface (CountedPtr< ::DGtal::IndexedDigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< SurfaceMesh > | makePrimalSurfaceMesh (Cell2Index &c2i, CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< SurfaceMesh > | makePrimalSurfaceMesh (CountedPtr< ::DGtal::DigitalSurface< TContainer > > aSurface) |
template<typename TContainer > | |
static CountedPtr< SurfaceMesh > | makePrimalSurfaceMesh (CountedPtr< ::DGtal::IndexedDigitalSurface< TContainer > > aSurface) |
template<typename TPoint > | |
static bool | saveOBJ (CountedPtr< ::DGtal::PolygonalSurface< TPoint > > polysurf, const std::string &objfile) |
template<typename TPoint > | |
static bool | saveOFF (CountedPtr< ::DGtal::PolygonalSurface< TPoint > > polysurf, std::string off_file, const Color &face_color=DGtal::Color::None) |
template<typename TPoint > | |
static bool | saveOBJ (CountedPtr< ::DGtal::TriangulatedSurface< TPoint > > trisurf, const std::string &objfile) |
template<typename TPoint > | |
static bool | saveOBJ (CountedPtr< ::DGtal::PolygonalSurface< TPoint > > polysurf, const RealVectors &normals, const Colors &diffuse_colors, std::string objfile, const Color &ambient_color=Color(32, 32, 32), const Color &diffuse_color=Color(200, 200, 255), const Color &specular_color=Color::White) |
template<typename TPoint > | |
static bool | saveOBJ (CountedPtr< ::DGtal::TriangulatedSurface< TPoint > > trisurf, const RealVectors &normals, const Colors &diffuse_colors, std::string objfile, const Color &ambient_color=Color(32, 32, 32), const Color &diffuse_color=Color(200, 200, 255), const Color &specular_color=Color::White) |
template<typename TPoint > | |
static bool | saveOFF (CountedPtr< ::DGtal::TriangulatedSurface< TPoint > > trisurf, std::string off_file, const Color &face_color=DGtal::Color::None) |
static Parameters | parametersUtilities () |
template<typename TValue > | |
static IdxRange | getRangeMatch (const std::vector< TValue > &s1, const std::vector< TValue > &s2, bool perfect=false) |
template<typename TValue > | |
static std::vector< TValue > | getMatchedRange (const std::vector< TValue > &range, const IdxRange &match) |
static ColorMap | getColorMap (Scalar min, Scalar max, const Parameters ¶ms=parametersUtilities()) |
static ZeroTickedColorMap | getZeroTickedColorMap (Scalar min, Scalar max, const Parameters ¶ms=parametersUtilities()) |
template<typename TCellEmbedder = CanonicCellEmbedder< KSpace >> | |
static bool | outputSurfelsAsObj (std::ostream &output, const SurfelRange &surfels, const TCellEmbedder &embedder) |
template<typename TAnyDigitalSurface > | |
static bool | outputPrimalDigitalSurfaceAsObj (std::ostream &output, CountedPtr< TAnyDigitalSurface > surface) |
template<typename TAnyDigitalSurface , typename TCellEmbedder = CanonicCellEmbedder< KSpace >> | |
static bool | outputPrimalDigitalSurfaceAsObj (std::ostream &output, CountedPtr< TAnyDigitalSurface > surface, const TCellEmbedder &embedder) |
static bool | outputPrimalIdxDigitalSurfaceAsObj (std::ostream &output, CountedPtr< IdxDigitalSurface > surface) |
template<typename TCellEmbedder = CanonicCellEmbedder< KSpace >> | |
static bool | outputPrimalIdxDigitalSurfaceAsObj (std::ostream &output, CountedPtr< IdxDigitalSurface > surface, const TCellEmbedder &embedder) |
template<typename TDigitalSurfaceContainer > | |
static bool | outputDualDigitalSurfaceAsObj (std::ostream &output, CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const Parameters ¶ms=parametersMesh()) |
template<typename TDigitalSurfaceContainer , typename TCellEmbedder = CanonicCellEmbedder< KSpace >> | |
static bool | outputDualDigitalSurfaceAsObj (std::ostream &output, CountedPtr< ::DGtal::DigitalSurface< TDigitalSurfaceContainer > > surface, const TCellEmbedder &embedder, const Parameters ¶ms=parametersMesh()) |
template<typename TSCellMap , typename TValueWriter > | |
static bool | outputSCellMapAsCSV (std::ostream &output, const KSpace &K, const TSCellMap &anyMap, const TValueWriter &writer) |
template<typename TCellMap , typename TValueWriter > | |
static bool | outputCellMapAsCSV (std::ostream &output, const KSpace &K, const TCellMap &anyMap, const TValueWriter &writer) |
static CellRange | getPrimalCells (const KSpace &K, const SCell &s, const Dimension k) |
static CellRange | getPrimalVertices (const KSpace &K, const SCell &s) |
static CellRange | getPrimalVertices (const KSpace &K, const Surfel &s, bool ccw) |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CCellularGridSpaceND< TKSpace >)) | |
Aim: This class is used to simplify shape and surface creation. With it, you can create new shapes and surface in a few lines. The drawback is that you use specific types or objects, which could lead to faster code or more compact data structures.
Description of template class 'ShortcutsGeometry'
TKSpace | any cellular grid space, a model of concepts::CCellularGridSpaceND like KhalimskySpaceND. |
Definition at line 74 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::Arc DGtal::ShortcutsGeometry< TKSpace >::Arc |
Definition at line 142 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::ArcRange DGtal::ShortcutsGeometry< TKSpace >::ArcRange |
Definition at line 144 of file ShortcutsGeometry.h.
typedef Shortcuts< TKSpace > DGtal::ShortcutsGeometry< TKSpace >::Base |
Definition at line 78 of file ShortcutsGeometry.h.
typedef ImageContainerBySTLVector<Domain, bool> DGtal::ShortcutsGeometry< TKSpace >::BinaryImage |
defines a black and white image with (hyper-)rectangular domain.
Definition at line 118 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::Cell DGtal::ShortcutsGeometry< TKSpace >::Cell |
Definition at line 139 of file ShortcutsGeometry.h.
typedef std::map<Cell, IdxVertex> DGtal::ShortcutsGeometry< TKSpace >::Cell2Index |
Definition at line 196 of file ShortcutsGeometry.h.
typedef std::vector< Cell > DGtal::ShortcutsGeometry< TKSpace >::CellRange |
Definition at line 151 of file ShortcutsGeometry.h.
typedef std::vector< CurvatureTensorQuantity > DGtal::ShortcutsGeometry< TKSpace >::CurvatureTensorQuantities |
Definition at line 170 of file ShortcutsGeometry.h.
typedef functors::IIPrincipalCurvaturesAndDirectionsFunctor<Space>::Quantity DGtal::ShortcutsGeometry< TKSpace >::CurvatureTensorQuantity |
Definition at line 169 of file ShortcutsGeometry.h.
typedef ::DGtal::DigitalSurface< ExplicitSurfaceContainer > DGtal::ShortcutsGeometry< TKSpace >::DigitalSurface |
defines an arbitrary digital surface over a binary image.
Definition at line 135 of file ShortcutsGeometry.h.
typedef GaussDigitizer< Space, ImplicitShape3D > DGtal::ShortcutsGeometry< TKSpace >::DigitizedImplicitShape3D |
defines the digitization of an implicit shape.
Definition at line 116 of file ShortcutsGeometry.h.
typedef HyperRectDomain<Space> DGtal::ShortcutsGeometry< TKSpace >::Domain |
An (hyper-)rectangular domain.
Definition at line 104 of file ShortcutsGeometry.h.
typedef ImageContainerBySTLVector<Domain, double> DGtal::ShortcutsGeometry< TKSpace >::DoubleImage |
defines a double image with (hyper-)rectangular domain.
Definition at line 124 of file ShortcutsGeometry.h.
typedef SetOfSurfels< KSpace, SurfelSet > DGtal::ShortcutsGeometry< TKSpace >::ExplicitSurfaceContainer |
defines a heavy container that represents any digital surface.
Definition at line 133 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::Face DGtal::ShortcutsGeometry< TKSpace >::Face |
Definition at line 143 of file ShortcutsGeometry.h.
typedef sgf::ShapeFirstPrincipalCurvatureFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::FirstPrincipalCurvatureFunctor |
Definition at line 163 of file ShortcutsGeometry.h.
typedef sgf::ShapeFirstPrincipalDirectionFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::FirstPrincipalDirectionFunctor |
Definition at line 165 of file ShortcutsGeometry.h.
typedef ImageContainerBySTLVector<Domain, float> DGtal::ShortcutsGeometry< TKSpace >::FloatImage |
defines a float image with (hyper-)rectangular domain.
Definition at line 122 of file ShortcutsGeometry.h.
typedef sgf::ShapeGaussianCurvatureFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::GaussianCurvatureFunctor |
Definition at line 162 of file ShortcutsGeometry.h.
typedef unsigned char DGtal::ShortcutsGeometry< TKSpace >::GrayScale |
The type for 8-bits gray-scale elements.
Definition at line 106 of file ShortcutsGeometry.h.
typedef ImageContainerBySTLVector<Domain, GrayScale> DGtal::ShortcutsGeometry< TKSpace >::GrayScaleImage |
defines a grey-level image with (hyper-)rectangular domain.
Definition at line 120 of file ShortcutsGeometry.h.
typedef IdxDigitalSurface::Arc DGtal::ShortcutsGeometry< TKSpace >::IdxArc |
Definition at line 147 of file ShortcutsGeometry.h.
typedef IdxDigitalSurface::ArcRange DGtal::ShortcutsGeometry< TKSpace >::IdxArcRange |
Definition at line 148 of file ShortcutsGeometry.h.
typedef IndexedDigitalSurface< ExplicitSurfaceContainer > DGtal::ShortcutsGeometry< TKSpace >::IdxDigitalSurface |
defines a connected or not indexed digital surface.
Definition at line 137 of file ShortcutsGeometry.h.
typedef IdxDigitalSurface::Vertex DGtal::ShortcutsGeometry< TKSpace >::IdxSurfel |
Definition at line 145 of file ShortcutsGeometry.h.
typedef std::vector< IdxSurfel > DGtal::ShortcutsGeometry< TKSpace >::IdxSurfelRange |
Definition at line 152 of file ShortcutsGeometry.h.
typedef std::set< IdxSurfel > DGtal::ShortcutsGeometry< TKSpace >::IdxSurfelSet |
Definition at line 149 of file ShortcutsGeometry.h.
typedef IdxDigitalSurface::Vertex DGtal::ShortcutsGeometry< TKSpace >::IdxVertex |
Definition at line 146 of file ShortcutsGeometry.h.
typedef ImplicitPolynomial3Shape<Space> DGtal::ShortcutsGeometry< TKSpace >::ImplicitShape3D |
defines an implicit shape of the space, which is the zero-level set of a ScalarPolynomial.
Definition at line 114 of file ShortcutsGeometry.h.
typedef Space::Integer DGtal::ShortcutsGeometry< TKSpace >::Integer |
Integer numbers.
Definition at line 92 of file ShortcutsGeometry.h.
typedef TKSpace DGtal::ShortcutsGeometry< TKSpace >::KSpace |
Digital cellular space.
Definition at line 88 of file ShortcutsGeometry.h.
typedef ::DGtal::DigitalSurface< LightSurfaceContainer > DGtal::ShortcutsGeometry< TKSpace >::LightDigitalSurface |
defines a connected digital surface over a binary image.
Definition at line 131 of file ShortcutsGeometry.h.
typedef LightImplicitDigitalSurface< KSpace, BinaryImage > DGtal::ShortcutsGeometry< TKSpace >::LightSurfaceContainer |
defines a light container that represents a connected digital surface over a binary image.
Definition at line 129 of file ShortcutsGeometry.h.
typedef sgf::ShapeMeanCurvatureFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::MeanCurvatureFunctor |
Definition at line 161 of file ShortcutsGeometry.h.
typedef ::DGtal::Mesh<RealPoint> DGtal::ShortcutsGeometry< TKSpace >::Mesh |
Definition at line 192 of file ShortcutsGeometry.h.
typedef sgf::ShapeNormalVectorFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::NormalFunctor |
Definition at line 160 of file ShortcutsGeometry.h.
typedef Space::Point DGtal::ShortcutsGeometry< TKSpace >::Point |
Point with integer coordinates.
Definition at line 94 of file ShortcutsGeometry.h.
typedef ::DGtal::PolygonalSurface<RealPoint> DGtal::ShortcutsGeometry< TKSpace >::PolygonalSurface |
Definition at line 194 of file ShortcutsGeometry.h.
typedef sgf::ShapePositionFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::PositionFunctor |
Definition at line 159 of file ShortcutsGeometry.h.
typedef sgf::ShapePrincipalCurvaturesAndDirectionsFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::PrincipalCurvaturesAndDirectionsFunctor |
Definition at line 167 of file ShortcutsGeometry.h.
typedef Space::RealPoint DGtal::ShortcutsGeometry< TKSpace >::RealPoint |
Point with floating-point coordinates.
Definition at line 100 of file ShortcutsGeometry.h.
typedef std::vector< RealPoint > DGtal::ShortcutsGeometry< TKSpace >::RealPoints |
Definition at line 155 of file ShortcutsGeometry.h.
typedef Space::RealVector DGtal::ShortcutsGeometry< TKSpace >::RealVector |
Vector with floating-point coordinates.
Definition at line 98 of file ShortcutsGeometry.h.
typedef std::vector< RealVector > DGtal::ShortcutsGeometry< TKSpace >::RealVectors |
Definition at line 154 of file ShortcutsGeometry.h.
typedef RealVector::Component DGtal::ShortcutsGeometry< TKSpace >::Scalar |
Floating-point numbers.
Definition at line 102 of file ShortcutsGeometry.h.
typedef MPolynomial< Space::dimension, Scalar > DGtal::ShortcutsGeometry< TKSpace >::ScalarPolynomial |
defines a multi-variate polynomial : RealPoint -> Scalar
Definition at line 111 of file ShortcutsGeometry.h.
typedef std::vector< Scalar > DGtal::ShortcutsGeometry< TKSpace >::Scalars |
Definition at line 153 of file ShortcutsGeometry.h.
typedef ::DGtal::Statistic<Scalar> DGtal::ShortcutsGeometry< TKSpace >::ScalarStatistic |
Definition at line 157 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::SCell DGtal::ShortcutsGeometry< TKSpace >::SCell |
Definition at line 140 of file ShortcutsGeometry.h.
typedef sgf::ShapeSecondPrincipalCurvatureFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::SecondPrincipalCurvatureFunctor |
Definition at line 164 of file ShortcutsGeometry.h.
typedef sgf::ShapeSecondPrincipalDirectionFunctor<ImplicitShape3D> DGtal::ShortcutsGeometry< TKSpace >::SecondPrincipalDirectionFunctor |
Definition at line 166 of file ShortcutsGeometry.h.
typedef ShortcutsGeometry< TKSpace > DGtal::ShortcutsGeometry< TKSpace >::Self |
Definition at line 79 of file ShortcutsGeometry.h.
typedef KSpace::Space DGtal::ShortcutsGeometry< TKSpace >::Space |
Digital space.
Definition at line 90 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::Surfel DGtal::ShortcutsGeometry< TKSpace >::Surfel |
Definition at line 138 of file ShortcutsGeometry.h.
typedef std::map<Surfel, IdxSurfel> DGtal::ShortcutsGeometry< TKSpace >::Surfel2Index |
Definition at line 195 of file ShortcutsGeometry.h.
typedef std::vector< Surfel > DGtal::ShortcutsGeometry< TKSpace >::SurfelRange |
Definition at line 150 of file ShortcutsGeometry.h.
typedef KSpace::SurfelSet DGtal::ShortcutsGeometry< TKSpace >::SurfelSet |
defines a set of surfels
Definition at line 126 of file ShortcutsGeometry.h.
typedef ::DGtal::TriangulatedSurface<RealPoint> DGtal::ShortcutsGeometry< TKSpace >::TriangulatedSurface |
Definition at line 193 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, FirstPrincipalCurvatureFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueFirstPrincipalCurvatureEstimator |
Definition at line 182 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, FirstPrincipalDirectionFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueFirstPrincipalDirectionEstimator |
Definition at line 186 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, GaussianCurvatureFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueGaussianCurvatureEstimator |
Definition at line 180 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, MeanCurvatureFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueMeanCurvatureEstimator |
Definition at line 178 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, NormalFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueNormalEstimator |
Definition at line 176 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, PositionFunctor > DGtal::ShortcutsGeometry< TKSpace >::TruePositionEstimator |
Definition at line 174 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, PrincipalCurvaturesAndDirectionsFunctor > DGtal::ShortcutsGeometry< TKSpace >::TruePrincipalCurvaturesAndDirectionsEstimator |
Definition at line 190 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, SecondPrincipalCurvatureFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueSecondPrincipalCurvatureEstimator |
Definition at line 184 of file ShortcutsGeometry.h.
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, SecondPrincipalDirectionFunctor > DGtal::ShortcutsGeometry< TKSpace >::TrueSecondPrincipalDirectionEstimator |
Definition at line 188 of file ShortcutsGeometry.h.
typedef Space::Vector DGtal::ShortcutsGeometry< TKSpace >::Vector |
Vector with integer coordinates.
Definition at line 96 of file ShortcutsGeometry.h.
typedef LightDigitalSurface::Vertex DGtal::ShortcutsGeometry< TKSpace >::Vertex |
Definition at line 141 of file ShortcutsGeometry.h.
|
delete |
Default constructor.
|
delete |
Destructor.
|
delete |
Copy constructor.
other | the object to clone. |
|
delete |
Move constructor.
other | the object to move. |
|
private |
|
inlinestatic |
Definition at line 207 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::parametersATApproximation(), DGtal::ShortcutsGeometry< TKSpace >::parametersGeometryEstimation(), and DGtal::ShortcutsGeometry< TKSpace >::parametersShapeGeometry().
Referenced by main(), main(), main(), precompute(), TEST_CASE(), and TEST_CASE().
|
inlinestatic |
Given any digital surface, a surfel range surfels, and an input scalar field input, returns a piece-smooth approximation of input using Ambrosio-Tortorelli functional.
TAnyDigitalSurface | either kind of DigitalSurface, like ShortcutsGeometry::LightDigitalSurface or ShortcutsGeometry::DigitalSurface. |
[in] | surface | the digital surface |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
[in] | input | the input scalar field (a vector of scalar values) |
Use cmake -DWITH_EIGEN=true ..
Definition at line 1525 of file ShortcutsGeometry.h.
References calculus, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::getOutputScalarFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::initInputScalarFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::setUp(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveGammaConvergence(), and surface.
|
inlinestatic |
Given any digital surface, a surfel range surfels, and an input scalar field input, returns a piece-smooth approximation of input using Ambrosio-Tortorelli functional. Given a range of pointels, linels or 2-cells [itB,itE), it also outputs the feature vector features, corresponding to 0-form v in AT (the average of v for linels/surfels).
TAnyDigitalSurface | either kind of DigitalSurface, like ShortcutsGeometry::LightDigitalSurface or ShortcutsGeometry::DigitalSurface. |
CellRangeConstIterator | the type of iterator for traversing a range of cells |
[out] | features | the vector of scalar feature values (a scalar field where 1 means continuity and 0 discontinuity in the reconstruction), evaluated in the range[itB,itE). |
[in] | itB | the start of the range of cells. |
[in] | itE | past the end of the range of cells. |
[in] | surface | the digital surface |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
[in] | input | the input scalar field (a vector of scalar values) |
Use cmake -DWITH_EIGEN=true ..
Definition at line 1591 of file ShortcutsGeometry.h.
References DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::Average, calculus, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::getOutputScalarFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::getOutputScalarFieldV0(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::initInputScalarFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::Maximum, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::Minimum, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::setUp(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveGammaConvergence(), and surface.
|
inlinestatic |
Given any digital surface, a surfel range surfels, and an input vector field input, returns a piece-smooth approximation of input using Ambrosio-Tortorelli functional.
TAnyDigitalSurface | either kind of DigitalSurface, like ShortcutsGeometry::LightDigitalSurface or ShortcutsGeometry::DigitalSurface. |
VectorFieldInput | the type of vector field for input values (RandomAccess container) |
[in] | surface | the digital surface |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
[in] | input | the input vector field (a vector of vector values) |
Use cmake -DWITH_EIGEN=true ..
Definition at line 1400 of file ShortcutsGeometry.h.
References calculus, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::getOutputVectorFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::initInputVectorFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::setUp(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveGammaConvergence(), and surface.
Referenced by main().
|
inlinestatic |
Given any digital surface, a surfel range surfels, and an input vector field input, returns a piece-smooth approximation of input using Ambrosio-Tortorelli functional. Given a range of pointels, linels or 2-cells [itB,itE), it also outputs the feature vector features, corresponding to 0-form v in AT (the average of v for linels/surfels).
TAnyDigitalSurface | either kind of DigitalSurface, like ShortcutsGeometry::LightDigitalSurface or ShortcutsGeometry::DigitalSurface. |
VectorFieldInput | the type of vector field for input values (RandomAccess container) |
CellRangeConstIterator | the type of iterator for traversing a range of cells |
[out] | features | the vector of scalar feature values (a scalar field where 1 means continuity and 0 discontinuity in the reconstruction), evaluated in the range[itB,itE). |
[in] | itB | the start of the range of cells. |
[in] | itE | past the end of the range of cells. |
[in] | surface | the digital surface |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
[in] | input | the input vector field (a vector of vector values) |
Use cmake -DWITH_EIGEN=true ..
Definition at line 1463 of file ShortcutsGeometry.h.
References DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::Average, calculus, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::getOutputScalarFieldV0(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::getOutputVectorFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::initInputVectorFieldU2(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::Maximum, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::Minimum, DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::setUp(), DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveGammaConvergence(), and surface.
|
inlinestatic |
Given a digital surface surface, a sequence of surfels, and some parameters params, returns the convolved trivial normal vector estimations at the specified surfels, in the same order.
TAnyDigitalSurface | either kind of DigitalSurface, like ShortcutsGeometry::LightDigitalSurface or ShortcutsGeometry::DigitalSurface. |
[in] | surface | the digital surface |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 696 of file ShortcutsGeometry.h.
References DGtal::Trace::info(), K, surface, and DGtal::trace.
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the first (smallest) principal curvatures at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 436 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the first principal directions (corresponding to the smallest principal curvature) at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 520 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the gaussian curvatures at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 395 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Given an arbitrary PointPredicate shape: Point -> boolean, a Khalimsky space K, a sequence of surfels, and some parameters params, returns the Gaussian curvature Integral Invariant (II) estimation at the specified surfels, in the same order.
TPointPredicate | any type of map Point -> boolean. |
[in] | shape | a function Point -> boolean telling if you are inside the shape. |
[in] | K | the Khalimsky space where the shape and surfels live. |
[in] | surfels | the sequence of surfels at which we compute the Gaussian curvatures |
[in] | params | the parameters:
|
Definition at line 1174 of file ShortcutsGeometry.h.
References DGtal::Trace::info(), K, and DGtal::trace.
|
inlinestatic |
Given a digital shape bimage, a sequence of surfels, and some parameters vm, returns the Gaussian curvature Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | bimage | the characteristic function of the shape as a binary image (inside is true, outside is false). |
[in] | surfels | the sequence of surfels at which we compute the Gaussian curvatures |
[in] | params | the parameters:
|
Definition at line 1103 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIIGaussianCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIIGaussianCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getIIGaussianCurvatures(), main(), and TEST_CASE().
|
inlinestatic |
Given a digitized implicit shape dshape, a sequence of surfels, and some parameters params, returns the Gaussian curvature Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | dshape | the digitized implicit shape, which is an implicitly defined characteristic function. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 1139 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIIGaussianCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
|
inlinestatic |
Given an arbitrary PointPredicate shape: Point -> boolean, a Khalimsky space K, a sequence of surfels, and some parameters params, returns the mean curvature Integral Invariant (II) estimation at the specified surfels, in the same order.
TPointPredicate | any type of map Point -> boolean. |
[in] | shape | a function Point -> boolean telling if you are inside the shape. |
[in] | K | the Khalimsky space where the shape and surfels live. |
[in] | surfels | the sequence of surfels at which we compute the mean curvatures |
[in] | params | the parameters:
|
Definition at line 1050 of file ShortcutsGeometry.h.
References DGtal::Trace::info(), K, and DGtal::trace.
|
inlinestatic |
Given a digital shape bimage, a sequence of surfels, and some parameters vm, returns the mean curvature Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | bimage | the characteristic function of the shape as a binary image (inside is true, outside is false). |
[in] | surfels | the sequence of surfels at which we compute the mean curvatures |
[in] | params | the parameters:
|
Definition at line 979 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIIMeanCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIIMeanCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getIIMeanCurvatures(), and main().
|
inlinestatic |
Given a digitized implicit shape dshape, a sequence of surfels, and some parameters params, returns the mean curvature Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | dshape | the digitized implicit shape, which is an implicitly defined characteristic function. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 1015 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIIMeanCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
|
inlinestatic |
Given an arbitrary PointPredicate shape: Point -> boolean, a Khalimsky space K, a sequence of surfels, and some parameters params, returns the normal Integral Invariant (II) estimation at the specified surfels, in the same order.
TPointPredicate | any type of map Point -> boolean. |
[in] | shape | a function Point -> boolean telling if you are inside the shape. |
[in] | K | the Khalimsky space where the shape and surfels live. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 923 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getTrivialNormalVectors(), DGtal::Trace::info(), K, DGtal::ShortcutsGeometry< TKSpace >::orientVectors(), and DGtal::trace.
|
inlinestatic |
Given a digital shape bimage, a sequence of surfels, and some parameters params, returns the normal Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | bimage | the characteristic function of the shape as a binary image (inside is true, outside is false). |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 846 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors(), DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors(), main(), main(), precompute(), and TEST_CASE().
|
inlinestatic |
Given a digitized implicit shape dshape, a sequence of surfels, and some parameters params, returns the normal Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | dshape | the digitized implicit shape, which is an implicitly defined characteristic function. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 886 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
|
inlinestatic |
Given an arbitrary PointPredicate shape: Point -> boolean, a Khalimsky space K, a sequence of surfels, and some parameters params, returns the principal curvatures and directions using Integral Invariant (II) estimation at the specified surfels, in the same order.
TPointPredicate | any type of map Point -> boolean. |
[in] | shape | a function Point -> boolean telling if you are inside the shape. |
[in] | K | the Khalimsky space where the shape and surfels live. |
[in] | surfels | the sequence of surfels at which we compute the Gaussian curvatures |
[in] | params | the parameters:
|
Definition at line 1300 of file ShortcutsGeometry.h.
References DGtal::Trace::info(), K, and DGtal::trace.
|
inlinestatic |
Given a digital shape bimage, a sequence of surfels, and some parameters vm, returns the principal curvatures and directions using an Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | bimage | the characteristic function of the shape as a binary image (inside is true, outside is false). |
[in] | surfels | the sequence of surfels at which we compute the Gaussian curvatures |
[in] | params | the parameters:
|
Definition at line 1228 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIIPrincipalCurvaturesAndDirections(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIIPrincipalCurvaturesAndDirections(), DGtal::ShortcutsGeometry< TKSpace >::getIIPrincipalCurvaturesAndDirections(), and TEST_CASE().
|
inlinestatic |
Given a digital shape dshape, a sequence of surfels, and some parameters vm, returns the principal curvatures and directions using an Integral Invariant (II) estimation at the specified surfels, in the same order.
[in] | dshape | the digitized implicit shape, which is an implicitly defined characteristic function. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 1265 of file ShortcutsGeometry.h.
References DGtal::ShortcutsGeometry< TKSpace >::getIIPrincipalCurvaturesAndDirections(), DGtal::ShortcutsGeometry< TKSpace >::getKSpace(), and K.
|
inlinestatic |
Builds a Khalimsky space that encompasses the lower and upper digital points. Note that digital points are cells of the Khalimsky space with maximal dimensions. A closed Khalimsky space adds lower dimensional cells all around its boundary to define a closed complex.
[in] | low | the lowest point in the space |
[in] | up | the highest point in the space |
[in] | params | the parameters:
|
Definition at line 332 of file Shortcuts.h.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIIGaussianCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getIIGaussianCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getIIMeanCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getIIMeanCurvatures(), DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors(), DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors(), DGtal::ShortcutsGeometry< TKSpace >::getIIPrincipalCurvaturesAndDirections(), and DGtal::ShortcutsGeometry< TKSpace >::getIIPrincipalCurvaturesAndDirections().
|
inlinestatic |
TDigitalSurfaceContainer | either kind of DigitalSurfaceContainer |
[in] | surface | a smart pointer on a (light or not) digital surface (e.g. DigitalSurface or LightDigitalSurface). |
Definition at line 396 of file Shortcuts.h.
|
inlinestatic |
TDigitalSurfaceContainer | either kind of DigitalSurfaceContainer |
[in] | surface | a smart pointer on any indexed digital surface. |
Definition at line 407 of file Shortcuts.h.
|
inlinestatic |
Builds a Khalimsky space that encompasses the domain of the given image. Note that digital points are cells of the Khalimsky space with maximal dimensions. A closed Khalimsky space adds lower dimensional cells all around its boundary to define a closed complex.
[in] | bimage | any binary image |
[in] | params | the parameters:
|
Definition at line 354 of file Shortcuts.h.
|
inlinestatic |
Builds a Khalimsky space that encompasses the domain of the given image. Note that digital points are cells of the Khalimsky space with maximal dimensions. A closed Khalimsky space adds lower dimensional cells all around its boundary to define a closed complex.
[in] | gimage | any gray-scale image |
[in] | params | the parameters:
|
Definition at line 378 of file Shortcuts.h.
|
inlinestatic |
Builds a Khalimsky space that encompasses the bounding box specified by a digitization in params. It is useful when digitizing an implicit shape.
[in] | params | the parameters:
|
Definition at line 486 of file Shortcuts.h.
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the mean curvatures at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 355 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the normal vectors at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 316 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the closest positions on the surface at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels that we project onto the shape's surface |
[in] | params | the parameters:
|
Definition at line 248 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Given an implicit shape and a sequence of points, returns the closest positions on the surface at the specified points, in the same order.
[in] | shape | the implicit shape. |
[in] | points | the sequence of points that we project onto the shape's surface. |
[in] | params | the parameters:
|
Definition at line 282 of file ShortcutsGeometry.h.
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the principal curvatures and principal directions as a tuple (k1, k2, d1, d2) at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 605 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
|
inlinestatic |
Computes the absolute difference between each element of the two vectors.
[in] | v1 | any vector of values. |
[in] | v2 | any vector of values. |
Definition at line 1697 of file ShortcutsGeometry.h.
Referenced by main().
|
inlinestatic |
Computes the l1-norm of v1-v2, ie the average of the absolute differences of the two vectors.
[in] | v1 | any vector of values. |
[in] | v2 | any vector of values. |
Definition at line 1730 of file ShortcutsGeometry.h.
Referenced by main().
|
inlinestatic |
Computes the l2-norm of v1-v2, ie the square root of the mean-squared error of the two vectors.
[in] | v1 | any vector of values. |
[in] | v2 | any vector of values. |
Definition at line 1714 of file ShortcutsGeometry.h.
Referenced by main().
|
inlinestatic |
Computes the loo-norm of v1-v2, ie the maximum of the absolute differences of the two vectors.
[in] | v1 | any vector of values. |
[in] | v2 | any vector of values. |
Definition at line 1746 of file ShortcutsGeometry.h.
Referenced by main().
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the second (greatest) principal curvatures at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 478 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Given a space K, an implicit shape, a sequence of surfels, and a gridstep h, returns the second principal directions (corresponding to the greatest principal curvature) at the specified surfels, in the same order.
[in] | shape | the implicit shape. |
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 562 of file ShortcutsGeometry.h.
References DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::attach(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::eval(), DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::init(), K, and DGtal::TrueDigitalSurfaceLocalEstimator< TKSpace, TShape, TGeometricFunctor >::setParams().
Referenced by main().
|
inlinestatic |
Computes the statistic of a vector of scalars
[in] | v | a vector of scalars |
Definition at line 1654 of file ShortcutsGeometry.h.
References DGtal::Statistic< TQuantity >::addValues(), and DGtal::Statistic< TQuantity >::terminate().
Referenced by main().
|
inlinestatic |
Given a digital space K and a vector of surfels, returns the trivial normals at the specified surfels, in the same order.
[in] | K | the Khalimsky space whose domain encompasses the digital shape. |
[in] | surfels | the sequence of surfels at which we compute the normals |
Definition at line 664 of file ShortcutsGeometry.h.
References K, and DGtal::PointVector< dim, TEuclideanRing, TContainer >::zero.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors().
|
inlinestatic |
Given a digital surface surface, a sequence of surfels, and some parameters params, returns the normal Voronoi Covariance Measure (VCM) estimation at the specified surfels, in the same order.
TAnyDigitalSurface | either kind of DigitalSurface, like ShortcutsGeometry::LightDigitalSurface or ShortcutsGeometry::DigitalSurface. |
[in] | surface | the digital surface |
[in] | surfels | the sequence of surfels at which we compute the normals |
[in] | params | the parameters:
|
Definition at line 752 of file ShortcutsGeometry.h.
References DGtal::Trace::info(), DGtal::InnerSpel, DGtal::OuterSpel, DGtal::Pointels, DGtal::R, surface, DGtal::trace, and DGtal::Trace::warning().
Referenced by main().
|
inlinestatic |
Computes the statistic that measures the angle differences between the two arrays of unit vectors.
[in] | v1 | the first array of unit vectors (normals) |
[in] | v2 | the second array of unit vectors (normals) |
Definition at line 1669 of file ShortcutsGeometry.h.
References DGtal::trace, and DGtal::Trace::warning().
|
delete |
Copy assignment operator.
other | the object to copy. |
|
delete |
Move assignment operator.
other | the object to move. |
|
inlinestatic |
Orient v so that it points in the same direction as ref_v (scalar product is then non-negative afterwards).
[in,out] | v | the vectors to reorient. |
[in] | ref_v | the vectors having the reference orientation. |
Definition at line 1641 of file ShortcutsGeometry.h.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::getIINormalVectors().
|
inlinestatic |
Use cmake -DWITH_EIGEN=true ..
Definition at line 1353 of file ShortcutsGeometry.h.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::defaultParameters().
|
inlinestatic |
Definition at line 461 of file Shortcuts.h.
|
inlinestatic |
Definition at line 642 of file ShortcutsGeometry.h.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::defaultParameters(), main(), precompute(), and TEST_CASE().
|
inlinestatic |
Definition at line 311 of file Shortcuts.h.
|
inlinestatic |
Definition at line 220 of file ShortcutsGeometry.h.
Referenced by DGtal::ShortcutsGeometry< TKSpace >::defaultParameters().