31 #if defined(ChordGenericNaivePlaneComputer_RECURSES) 32 #error Recursive header files inclusion detected in ChordGenericNaivePlaneComputer.h 33 #else // defined(ChordGenericNaivePlaneComputer_RECURSES) 35 #define ChordGenericNaivePlaneComputer_RECURSES 37 #if !defined ChordGenericNaivePlaneComputer_h 39 #define ChordGenericNaivePlaneComputer_h 45 #include "DGtal/base/Common.h" 46 #include "DGtal/kernel/CInteger.h" 47 #include "DGtal/kernel/CSpace.h" 48 #include "DGtal/kernel/SpaceND.h" 49 #include "DGtal/kernel/PointVector.h" 50 #include "DGtal/arithmetic/IntegerComputer.h" 51 #include "DGtal/geometry/surfaces/ChordNaivePlaneComputer.h" 115 template <
typename TSpace,
116 typename TInputPoint,
117 typename TInternalScalar >
139 typedef typename InputPointSet::size_type
Size;
227 ConstIterator
begin()
const;
232 ConstIterator
end()
const;
286 bool extend(
const InputPoint & p );
316 template <
typename TInputIterator>
317 bool extend( TInputIterator it, TInputIterator itE );
333 template <
typename TInputIterator>
334 bool isExtendable( TInputIterator it, TInputIterator itE )
const;
360 template <
typename Vector3D>
361 void getNormal( Vector3D & normal )
const;
369 template <
typename Vector3D>
432 template <
typename TSpace,
typename TInputPo
int,
typename TInternalScalar>
442 #include "DGtal/geometry/surfaces/ChordGenericNaivePlaneComputer.ih" 447 #endif // !defined ChordGenericNaivePlaneComputer_h 449 #undef ChordGenericNaivePlaneComputer_RECURSES 450 #endif // else defined(ChordGenericNaivePlaneComputer_RECURSES)
InputPointSet::const_iterator const_iterator
void getNormal(Vector3D &normal) const
std::vector< Dimension > _axesToErase
bool extendAsIs(const InputPoint &p)
void getBounds(double &min, double &max) const
InputPointSet::const_pointer const_pointer
DGtal::uint32_t Dimension
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
InputVector::Component Component
Aim: A parallel strip in the space is the intersection of two parallel half-planes such that each hal...
std::vector< Dimension >::const_iterator AxisConstIterator
InternalScalar InternalVector[3]
const InputPoint & maximalPoint() const
InputPointSet::value_type value_type
InputPointSet::iterator Iterator
InputPointSet::const_reference const_reference
BOOST_STATIC_ASSERT((TSpace::dimension==3))
~ChordGenericNaivePlaneComputer()
InputPointSet::size_type Size
std::set< InputPoint > InputPointSet
ConstIterator begin() const
ChordComputer::Primitive Primitive
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines...
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Aim: The traits class for all models of Cinteger.
ChordComputer myComputers[3]
ChordGenericNaivePlaneComputer()
ChordNaivePlaneComputer< Space, InputPoint, InternalScalar > ChordComputer
void init(InternalScalar widthNumerator=NumberTraits< InternalScalar >::ONE, InternalScalar widthDenominator=NumberTraits< InternalScalar >::ONE)
bool isExtendable(const InputPoint &p) const
Aim: Concept checking for Signed Numbers. Models of this concept should be listed in NumberTraits cla...
DGtal is the top-level namespace which contains all DGtal functions and types.
InputPointSet::const_iterator ConstIterator
ConstIterator end() const
Aim: A class that recognizes pieces of digital planes of given axis width. When the width is 1...
TInternalScalar InternalScalar
InputPointSet::difference_type difference_type
bool extend(const InputPoint &p)
void selfDisplay(std::ostream &out) const
bool operator()(const Point &p) const
std::vector< Dimension > myAxes
ChordGenericNaivePlaneComputer & operator=(const ChordGenericNaivePlaneComputer &other)
InputPointSet::size_type size_type
std::vector< Dimension >::iterator AxisIterator
InputPoint::Coordinate Coordinate
Primitive primitive() const
const InputPoint & minimalPoint() const
void getUnitNormal(Vector3D &normal) const