DGtal  1.4.2
DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame Struct Reference

#include <DGtal/geometry/surfaces/estimation/PlaneProbingDigitalSurfaceLocalEstimator.h>

Public Member Functions

ProbingFrame rotatedCopy () const
 
Point shift () const
 

Data Fields

Point p
 
Point b1
 
Point b2
 
Point normal
 

Detailed Description

template<typename TSurface, typename TInternalProbingAlgorithm>
struct DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame

A probing frame represents a 3D orthogonal frame, that is internally used to define the starting position of a plane-probing algorithm.

Definition at line 85 of file PlaneProbingDigitalSurfaceLocalEstimator.h.

Member Function Documentation

◆ rotatedCopy()

template<typename TSurface , typename TInternalProbingAlgorithm >
ProbingFrame DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame::rotatedCopy ( ) const
inline
Returns
a copy of the current probing frame rotated clockwise.

Definition at line 95 of file PlaneProbingDigitalSurfaceLocalEstimator.h.

96  {
97  Point newP = p + b1,
98  newB1 = b2,
99  newB2 = -b1,
100  newNormal = newB1.crossProduct(newB2);
101 
102  return { newP, newB1, newB2, newNormal };
103  }
MyPointD Point
Definition: testClone2.cpp:383

References DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame::b1, and DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame::b2.

◆ shift()

Field Documentation

◆ b1

◆ b2

◆ normal

template<typename TSurface , typename TInternalProbingAlgorithm >
Point DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame::normal

◆ p

template<typename TSurface , typename TInternalProbingAlgorithm >
Point DGtal::PlaneProbingDigitalSurfaceLocalEstimator< TSurface, TInternalProbingAlgorithm >::ProbingFrame::p

The base point/

Definition at line 87 of file PlaneProbingDigitalSurfaceLocalEstimator.h.


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