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...
|
typedef Shortcuts< TKSpace > | Base |
typedef ShortcutsGeometry< TKSpace > | Self |
typedef TKSpace | KSpace |
| Digital cellular space.
|
typedef KSpace::Space | Space |
| Digital space.
|
typedef Space::Integer | Integer |
| Integer numbers.
|
typedef Space::Point | Point |
| Point with integer coordinates.
|
typedef Space::Vector | Vector |
| Vector with integer coordinates.
|
typedef Space::RealVector | RealVector |
| Vector with floating-point coordinates.
|
typedef Space::RealPoint | RealPoint |
| Point with floating-point coordinates.
|
typedef RealVector::Component | Scalar |
| Floating-point numbers.
|
typedef HyperRectDomain< Space > | Domain |
| An (hyper-)rectangular domain.
|
typedef unsigned char | GrayScale |
| The type for 8-bits gray-scale elements.
|
typedef MPolynomial< Space::dimension, Scalar > | ScalarPolynomial |
| defines a multi-variate polynomial : RealPoint -> Scalar
|
typedef ImplicitPolynomial3Shape< Space > | ImplicitShape3D |
typedef GaussDigitizer< Space, ImplicitShape3D > | DigitizedImplicitShape3D |
| defines the digitization of an implicit shape.
|
typedef ImageContainerBySTLVector< Domain, bool > | BinaryImage |
| defines a black and white image with (hyper-)rectangular domain.
|
typedef ImageContainerBySTLVector< Domain, GrayScale > | GrayScaleImage |
| defines a grey-level image with (hyper-)rectangular domain.
|
typedef ImageContainerBySTLVector< Domain, float > | FloatImage |
| defines a float image with (hyper-)rectangular domain.
|
typedef ImageContainerBySTLVector< Domain, double > | DoubleImage |
| defines a double image with (hyper-)rectangular domain.
|
typedef KSpace::SurfelSet | SurfelSet |
| defines a set of surfels
|
typedef LightImplicitDigitalSurface< KSpace, BinaryImage > | LightSurfaceContainer |
typedef ::DGtal::DigitalSurface< LightSurfaceContainer > | LightDigitalSurface |
| defines a connected digital surface over a binary image.
|
typedef SetOfSurfels< KSpace, SurfelSet > | ExplicitSurfaceContainer |
| defines a heavy container that represents any digital surface.
|
typedef ::DGtal::DigitalSurface< ExplicitSurfaceContainer > | DigitalSurface |
| defines an arbitrary digital surface over a binary image.
|
typedef IndexedDigitalSurface< ExplicitSurfaceContainer > | IdxDigitalSurface |
| defines a connected or not indexed digital surface.
|
typedef LightDigitalSurface::Surfel | Surfel |
typedef LightDigitalSurface::Cell | Cell |
typedef LightDigitalSurface::SCell | SCell |
typedef LightDigitalSurface::Vertex | Vertex |
typedef LightDigitalSurface::Arc | Arc |
typedef LightDigitalSurface::Face | Face |
typedef LightDigitalSurface::ArcRange | ArcRange |
typedef IdxDigitalSurface::Vertex | IdxSurfel |
typedef IdxDigitalSurface::Vertex | IdxVertex |
typedef IdxDigitalSurface::Arc | IdxArc |
typedef IdxDigitalSurface::ArcRange | IdxArcRange |
typedef std::set< IdxSurfel > | IdxSurfelSet |
typedef std::vector< Surfel > | SurfelRange |
typedef std::vector< Cell > | CellRange |
typedef std::vector< IdxSurfel > | IdxSurfelRange |
typedef std::vector< Scalar > | Scalars |
typedef std::vector< RealVector > | RealVectors |
typedef std::vector< RealPoint > | RealPoints |
typedef ::DGtal::Statistic< Scalar > | ScalarStatistic |
typedef sgf::ShapePositionFunctor< ImplicitShape3D > | PositionFunctor |
typedef sgf::ShapeNormalVectorFunctor< ImplicitShape3D > | NormalFunctor |
typedef sgf::ShapeMeanCurvatureFunctor< ImplicitShape3D > | MeanCurvatureFunctor |
typedef sgf::ShapeGaussianCurvatureFunctor< ImplicitShape3D > | GaussianCurvatureFunctor |
typedef sgf::ShapeFirstPrincipalCurvatureFunctor< ImplicitShape3D > | FirstPrincipalCurvatureFunctor |
typedef sgf::ShapeSecondPrincipalCurvatureFunctor< ImplicitShape3D > | SecondPrincipalCurvatureFunctor |
typedef sgf::ShapeFirstPrincipalDirectionFunctor< ImplicitShape3D > | FirstPrincipalDirectionFunctor |
typedef sgf::ShapeSecondPrincipalDirectionFunctor< ImplicitShape3D > | SecondPrincipalDirectionFunctor |
typedef sgf::ShapePrincipalCurvaturesAndDirectionsFunctor< ImplicitShape3D > | PrincipalCurvaturesAndDirectionsFunctor |
typedef functors::IIPrincipalCurvaturesAndDirectionsFunctor< Space >::Quantity | CurvatureTensorQuantity |
typedef std::vector< CurvatureTensorQuantity > | CurvatureTensorQuantities |
typedef CorrectedNormalCurrentComputer< RealPoint, RealVector > | CNCComputer |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, PositionFunctor > | TruePositionEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, NormalFunctor > | TrueNormalEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, MeanCurvatureFunctor > | TrueMeanCurvatureEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, GaussianCurvatureFunctor > | TrueGaussianCurvatureEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, FirstPrincipalCurvatureFunctor > | TrueFirstPrincipalCurvatureEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, SecondPrincipalCurvatureFunctor > | TrueSecondPrincipalCurvatureEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, FirstPrincipalDirectionFunctor > | TrueFirstPrincipalDirectionEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, SecondPrincipalDirectionFunctor > | TrueSecondPrincipalDirectionEstimator |
typedef TrueDigitalSurfaceLocalEstimator< KSpace, ImplicitShape3D, PrincipalCurvaturesAndDirectionsFunctor > | TruePrincipalCurvaturesAndDirectionsEstimator |
typedef ::DGtal::Mesh< RealPoint > | Mesh |
typedef ::DGtal::TriangulatedSurface< RealPoint > | TriangulatedSurface |
typedef ::DGtal::PolygonalSurface< RealPoint > | PolygonalSurface |
typedef std::map< Surfel, IdxSurfel > | Surfel2Index |
typedef std::map< Cell, IdxVertex > | Cell2Index |
typedef DigitalSetByAssociativeContainer< Domain, std::unordered_set< typename Domain::Point > > | DigitalSet |
typedef functors::NotPointPredicate< DigitalSet > | VoronoiPointPredicate |
typedef TKSpace | KSpace |
| Digital cellular space.
|
typedef KSpace::Space | Space |
| Digital space.
|
typedef Space::Integer | Integer |
| Integer numbers.
|
typedef Space::Point | Point |
| Point with integer coordinates.
|
typedef Space::Vector | Vector |
| Vector with integer coordinates.
|
typedef Space::RealVector | RealVector |
| Vector with floating-point coordinates.
|
typedef Space::RealPoint | RealPoint |
| Point with floating-point coordinates.
|
typedef RealVector::Component | Scalar |
| Floating-point numbers.
|
typedef HyperRectDomain< Space > | Domain |
| An (hyper-)rectangular domain.
|
typedef unsigned char | GrayScale |
| The type for 8-bits gray-scale elements.
|
typedef MPolynomial< Space::dimension, Scalar > | ScalarPolynomial |
| defines a multi-variate polynomial : RealPoint -> Scalar
|
typedef ImplicitPolynomial3Shape< Space > | ImplicitShape3D |
typedef GaussDigitizer< Space, ImplicitShape3D > | DigitizedImplicitShape3D |
| defines the digitization of an implicit shape.
|
typedef ImageContainerBySTLVector< Domain, bool > | BinaryImage |
| defines a black and white image with (hyper-)rectangular domain.
|
typedef ImageContainerBySTLVector< Domain, GrayScale > | GrayScaleImage |
| defines a grey-level image with (hyper-)rectangular domain.
|
typedef ImageContainerBySTLVector< Domain, float > | FloatImage |
| defines a float image with (hyper-)rectangular domain.
|
typedef ImageContainerBySTLVector< Domain, double > | DoubleImage |
| defines a double image with (hyper-)rectangular domain.
|
typedef KSpace::SurfelSet | SurfelSet |
| defines a set of surfels
|
typedef LightImplicitDigitalSurface< KSpace, BinaryImage > | LightSurfaceContainer |
typedef ::DGtal::DigitalSurface< LightSurfaceContainer > | LightDigitalSurface |
| defines a connected digital surface over a binary image.
|
typedef SetOfSurfels< KSpace, SurfelSet > | ExplicitSurfaceContainer |
| defines a heavy container that represents any digital surface.
|
typedef ::DGtal::DigitalSurface< ExplicitSurfaceContainer > | DigitalSurface |
| defines an arbitrary digital surface over a binary image.
|
typedef IndexedDigitalSurface< ExplicitSurfaceContainer > | IdxDigitalSurface |
| defines a connected or not indexed digital surface.
|
typedef LightDigitalSurface::Surfel | Surfel |
typedef LightDigitalSurface::Cell | Cell |
typedef LightDigitalSurface::SCell | SCell |
typedef LightDigitalSurface::Vertex | Vertex |
typedef LightDigitalSurface::Arc | Arc |
typedef LightDigitalSurface::Face | Face |
typedef LightDigitalSurface::ArcRange | ArcRange |
typedef IdxDigitalSurface::Vertex | IdxSurfel |
typedef IdxDigitalSurface::Vertex | IdxVertex |
typedef IdxDigitalSurface::Arc | IdxArc |
typedef IdxDigitalSurface::ArcRange | IdxArcRange |
typedef std::set< IdxSurfel > | IdxSurfelSet |
typedef std::vector< SCell > | SCellRange |
typedef std::vector< Cell > | CellRange |
typedef CellRange | PointelRange |
typedef SCellRange | SurfelRange |
typedef std::vector< IdxSurfel > | IdxSurfelRange |
typedef std::vector< Scalar > | Scalars |
typedef std::vector< RealVector > | RealVectors |
typedef std::vector< RealPoint > | RealPoints |
typedef IdxVertex | Idx |
typedef std::vector< IdxVertex > | IdxRange |
typedef ::DGtal::Mesh< RealPoint > | Mesh |
typedef ::DGtal::TriangulatedSurface< RealPoint > | TriangulatedSurface |
typedef ::DGtal::PolygonalSurface< RealPoint > | PolygonalSurface |
typedef ::DGtal::SurfaceMesh< RealPoint, RealPoint > | SurfaceMesh |
typedef std::map< Surfel, IdxSurfel > | Surfel2Index |
typedef std::map< Cell, IdxVertex > | Cell2Index |
typedef ::DGtal::Color | Color |
typedef std::vector< Color > | Colors |
typedef GradientColorMap< Scalar > | ColorMap |
typedef TickedColorMap< Scalar, ColorMap > | ZeroTickedColorMap |
|
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 () |
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 | getCNCMeanCurvatures (CountedPtr< typename Base::SurfaceMesh > mesh, const typename Base::SurfaceMesh::Faces faces, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getCNCMeanCurvatures (CountedPtr< typename Base::SurfaceMesh > mesh, const Parameters ¶ms=parametersShapeGeometry()) |
template<typename T> |
static Scalars | getCNCMeanCurvatures (T &digitalObject, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getGaussianCurvatures (CountedPtr< ImplicitShape3D > shape, const KSpace &K, const SurfelRange &surfels, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getCNCGaussianCurvatures (CountedPtr< typename Base::SurfaceMesh > mesh, const typename Base::SurfaceMesh::Faces &faces, const Parameters ¶ms=parametersShapeGeometry()) |
static Scalars | getCNCGaussianCurvatures (CountedPtr< typename Base::SurfaceMesh > mesh, const Parameters ¶ms=parametersShapeGeometry()) |
template<typename T> |
static Scalars | getCNCGaussianCurvatures (T &digitalObject, 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()) |
static std::tuple< Scalars, Scalars, RealVectors, RealVectors > | getCNCPrincipalCurvaturesAndDirections (CountedPtr< typename Base::SurfaceMesh > mesh, const typename Base::SurfaceMesh::Faces &faces, const Parameters ¶ms=parametersShapeGeometry()) |
static std::tuple< Scalars, Scalars, RealVectors, RealVectors > | getCNCPrincipalCurvaturesAndDirections (CountedPtr< typename Base::SurfaceMesh > mesh, const Parameters ¶ms=parametersShapeGeometry()) |
template<typename T> |
static std::tuple< Scalars, Scalars, RealVectors, RealVectors > | getCNCPrincipalCurvaturesAndDirections (T &digitalObject, const Parameters ¶ms=parametersShapeGeometry()) |
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()) |
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()) |
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 Parameters | parametersVoronoiMap () |
template<uint32_t p, typename PointRange> |
static VoronoiMap< Space, VoronoiPointPredicate, ExactPredicateLpSeparableMetric< Space, p > > | getVoronoiMap (Domain domain, const PointRange &sites, const Parameters ¶ms=parametersVoronoiMap()) |
| Computes the VoronoiMap of a domain, where sites are given through a range.
|
template<uint32_t p, typename PointRange> |
static VoronoiMap< Space, VoronoiPointPredicate, ExactPredicateLpSeparableMetric< Space, p > > | getVoronoiMap (CountedPtr< Domain > domain, const PointRange &sites, const Parameters ¶ms=parametersVoronoiMap()) |
| Computes the VoronoiMap of a domain, where sites are given through a range.
|
template<uint32_t p, typename PointRange> |
static DistanceTransformation< Space, VoronoiPointPredicate, ExactPredicateLpSeparableMetric< Space, p > > | getDistanceTransformation (Domain domain, const PointRange &sites, const Parameters ¶ms=parametersVoronoiMap()) |
| Computes the VoronoiMap of a domain, where sites are given through a range.
|
template<uint32_t p, typename PointRange> |
static DistanceTransformation< Space, VoronoiPointPredicate, ExactPredicateLpSeparableMetric< Space, p > > | getDistanceTransformation (CountedPtr< Domain > domain, const PointRange &sites, const Parameters ¶ms=parametersVoronoiMap()) |
| Computes the VoronoiMap of a domain, where sites are given through a range.
|
template<uint32_t p, typename PointRangeSites, typename PointRange> |
static std::vector< Vector > | getDirectionToClosestSite (const PointRange &points, const PointRangeSites &sites, const Parameters ¶ms=parametersVoronoiMap()) |
| Computes the direction of the closest site of a range of points.
|
template<uint32_t p, typename PointRangeSites, typename PointRange> |
static std::vector< typename ExactPredicateLpSeparableMetric< Space, p >::Value > | getDistanceToClosestSite (const PointRange &points, const PointRangeSites &sites, const Parameters ¶ms=parametersVoronoiMap()) |
| Computes the distance of the closest site of a range of points.
|
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()) |
template<typename T, typename __U = std::enable_if_t<std::is_arithmetic_v<T>>> |
static CountedPtr< BinaryImage > | makeBinaryImage (const std::vector< T > &values, const Domain &d) |
template<typename T, template< class... > class C1, template< class... > class C2, template< class... > class C3> |
static CountedPtr< BinaryImage > | makeBinaryImage (const C1< C2< C3< T > > > &values, std::optional< Domain > override_domain=std::nullopt) |
template<typename T, std::enable_if_t<!is_double_nested_container< T >::value, int > = 0> |
static CountedPtr< BinaryImage > | makeBinaryImage (const std::vector< T > &positions, std::optional< Domain > override_domain=std::nullopt) |
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()) |
template<typename T, typename __U = std::enable_if_t<std::is_arithmetic_v<T>>> |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (const std::vector< T > &values, const Domain &d) |
template<typename T, template< class... > class C1, template< class... > class C2, template< class... > class C3> |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (const C1< C2< C3< T > > > &values, std::optional< Domain > override_domain=std::nullopt) |
template<typename T, typename U, std::enable_if_t<!is_double_nested_container< T >::value, int > = 0> |
static CountedPtr< GrayScaleImage > | makeGrayScaleImage (const std::vector< T > &positions, const std::vector< U > &values, std::optional< Domain > override_domain=std::nullopt) |
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) |
static CountedPtr< SurfaceMesh > | makeSurfaceMesh (const std::string &path) |
template<typename TPoint, typename TVector> |
static bool | saveOBJ (CountedPtr< ::DGtal::SurfaceMesh< TPoint, TVector > > surf, const std::string &objfile) |
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, typename TVector> |
static bool | saveOBJ (CountedPtr< ::DGtal::SurfaceMesh< TPoint, TVector > > surf, 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) |