DGtal  1.5.beta
DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State Struct Reference

Data Fields

InternalScalar height
 
InputPoint A
 
InputPoint B
 
InputPoint C
 
InternalVector N
 
InputPoint ptMax
 
InputPoint ptMin
 
InternalScalar max
 
InternalScalar min
 
unsigned int nbValid
 

Detailed Description

template<typename TSpace, typename TInputPoint, typename TInternalScalar>
struct DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State

Defines the state of the algorithm, the part of the data that may change after initialization of the ChordNaivePlaneComputer object. Only the set of points is not stored here.

Definition at line 198 of file ChordNaivePlaneComputer.h.

Field Documentation

◆ A

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InputPoint DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::A

Definition at line 200 of file ChordNaivePlaneComputer.h.

◆ B

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InputPoint DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::B

Definition at line 200 of file ChordNaivePlaneComputer.h.

◆ C

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InputPoint DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::C

current triangle, A topmost.

Definition at line 200 of file ChordNaivePlaneComputer.h.

◆ height

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InternalScalar DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::height

current height of the topmost point.

Definition at line 199 of file ChordNaivePlaneComputer.h.

◆ max

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InternalScalar DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::max

current max dot product value, i.e. <= mu + c.

Definition at line 204 of file ChordNaivePlaneComputer.h.

◆ min

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InternalScalar DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::min

current min dot product value, i.e. mu by convention.

Definition at line 205 of file ChordNaivePlaneComputer.h.

◆ N

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InternalVector DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::N

current normal vector, i.e. (a,b,c).

Definition at line 201 of file ChordNaivePlaneComputer.h.

◆ nbValid

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
unsigned int DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::nbValid

0 when object is initialized, 1 when points are aligned with main axis, 2 when points form a triangle containing the main axis direction, 3 when there are at least 3 points that form a triangle not aligned with the main axis direction.

Definition at line 206 of file ChordNaivePlaneComputer.h.

◆ ptMax

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InputPoint DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::ptMax

3D point giving the max dot product.

Definition at line 202 of file ChordNaivePlaneComputer.h.

◆ ptMin

template<typename TSpace , typename TInputPoint , typename TInternalScalar >
InputPoint DGtal::ChordNaivePlaneComputer< TSpace, TInputPoint, TInternalScalar >::State::ptMin

3D point giving the min dot product.

Definition at line 203 of file ChordNaivePlaneComputer.h.


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