DGtal 2.1.0
Loading...
Searching...
No Matches
TestPlaneProbingParallelepipedEstimator< Integer, mode > Struct Template Reference

Public Types

using Space = SpaceND< 3, Integer >
 
using DigitalPlane = DigitalPlanePredicate< Space >
 
using Point = typename DigitalPlane::Vector
 
using Estimator = PlaneProbingParallelepipedEstimator< DigitalPlane, mode >
 

Static Public Member Functions

template<typename F >
static void compute (Point const &n, int height, F const &f)
 

Detailed Description

template<typename Integer, ProbingMode mode>
struct TestPlaneProbingParallelepipedEstimator< Integer, mode >

Definition at line 67 of file testPlaneProbingParallelepipedEstimator.cpp.

Member Typedef Documentation

◆ DigitalPlane

◆ Estimator

◆ Point

◆ Space

Member Function Documentation

◆ compute()

template<typename Integer , ProbingMode mode>
template<typename F >
static void TestPlaneProbingParallelepipedEstimator< Integer, mode >::compute ( Point const &  n,
int  height,
F const &  f 
)
inlinestatic

Definition at line 75 of file testPlaneProbingParallelepipedEstimator.cpp.

76 {
77 Point o(0, 0, 0);
78 std::array<Point, 3> frame = { Point(1, 0, 0), Point(0, 1, 0), Point(0, 0, 1) };
79
80 DigitalPlane plane(n, -height, n.norm1());
81 Estimator estimator(o, frame, plane, 2 * n.norm1());
82
83 f(estimator);
84 }
Aim: Representing digital planes, which are digitizations of Euclidean planes, as point predicates.
PlaneProbingParallelepipedEstimator< DigitalPlane, ProbingMode::R1 > Estimator

Referenced by TEST_CASE().


The documentation for this struct was generated from the following file: