Plane< PointT > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/Plane.h>

Public Types

typedef PointT PointType
 
typedef PointType::ScalarType ScalarType
 

Public Member Functions

ScalarType Distance (const PointType &p) const
 
template<class PointsForwardIt>
bool Fit (const PointType &origin, PointsForwardIt begin, PointsForwardIt end)
 
template<class PointsForwardIt, class WeightsForwardIt>
bool Fit (const PointType &origin, PointsForwardIt begin, PointsForwardIt end, WeightsForwardIt weights)
 
template<class PointsForwardIt>
bool Fit (PointsForwardIt begin, PointsForwardIt end)
 
template<class PointsForwardIt, class WeightsForwardIt>
bool Fit (PointsForwardIt begin, PointsForwardIt end, WeightsForwardIt weights)
 
ScalarType Intersect (const PointType &p, const PointType &r) const
 
PointTypeNormal ()
 
const PointTypeNormal () const
 
void Normal (const PointType &normal)
 
void Normal (PointType *normal) const
 
void OffsetInNormalDirection (ScalarType offset)
 
void Orient (const PointType &n)
 
void Origin (const PointType &o)
 
 Plane ()
 
 Plane (const PointType &normal, const PointType &origin)
 
 Plane (PointType n, ScalarType d)
 
void Project (const PointType &p, PointType *s) const
 
void Set (const PointType &origin, const PointType &normal)
 
ScalarType SignedDistance (const PointType &p) const
 
ScalarType SignedDistanceToOrigin () const
 

Detailed Description

template<class PointT>
class GfxTL::Plane< PointT >

Definition at line 14 of file Plane.h.

Member Typedef Documentation

◆ PointType

template<class PointT>
typedef PointT PointType

Definition at line 17 of file Plane.h.

◆ ScalarType

template<class PointT>
typedef PointType::ScalarType ScalarType

Definition at line 18 of file Plane.h.

Constructor & Destructor Documentation

◆ Plane() [1/3]

template<class PointT>
Plane ( )

Definition at line 5 of file Plane.hpp.

◆ Plane() [2/3]

template<class PointT>
Plane ( const PointType & normal,
const PointType & origin )

Definition at line 10 of file Plane.hpp.

◆ Plane() [3/3]

template<class PointT>
Plane ( PointType n,
ScalarType d )
inline

Definition at line 23 of file Plane.h.

Member Function Documentation

◆ Distance()

template<class PointT>
ScalarType Distance ( const PointType & p) const
inline

Definition at line 42 of file Plane.h.

+ Here is the call graph for this function:

◆ Fit() [1/4]

template<class PointT>
template<class PointsForwardIt>
bool Fit ( const PointType & origin,
PointsForwardIt begin,
PointsForwardIt end )

Definition at line 117 of file Plane.h.

+ Here is the call graph for this function:

◆ Fit() [2/4]

template<class PointT>
template<class PointsForwardIt, class WeightsForwardIt>
bool Fit ( const PointType & origin,
PointsForwardIt begin,
PointsForwardIt end,
WeightsForwardIt weights )

Definition at line 71 of file Plane.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Fit() [3/4]

template<class PointT>
template<class PointsForwardIt>
bool Fit ( PointsForwardIt begin,
PointsForwardIt end )

Definition at line 158 of file Plane.h.

+ Here is the call graph for this function:

◆ Fit() [4/4]

template<class PointT>
template<class PointsForwardIt, class WeightsForwardIt>
bool Fit ( PointsForwardIt begin,
PointsForwardIt end,
WeightsForwardIt weights )

Definition at line 125 of file Plane.h.

+ Here is the call graph for this function:

◆ Intersect()

template<class PointT>
Plane< PointT >::ScalarType Intersect ( const PointType & p,
const PointType & r ) const

Definition at line 83 of file Plane.hpp.

+ Here is the call graph for this function:

◆ Normal() [1/4]

template<class PointT>
Plane< PointT >::PointType & Normal ( )

Definition at line 62 of file Plane.hpp.

◆ Normal() [2/4]

template<class PointT>
const Plane< PointT >::PointType & Normal ( ) const

Definition at line 69 of file Plane.hpp.

◆ Normal() [3/4]

template<class PointT>
void Normal ( const PointType & normal)

Definition at line 55 of file Plane.hpp.

◆ Normal() [4/4]

template<class PointT>
void Normal ( PointType * normal) const

Definition at line 48 of file Plane.hpp.

+ Here is the caller graph for this function:

◆ OffsetInNormalDirection()

template<class PointT>
void OffsetInNormalDirection ( ScalarType offset)

Definition at line 165 of file Plane.h.

◆ Orient()

template<class PointT>
void Orient ( const PointType & n)

Definition at line 32 of file Plane.hpp.

+ Here is the call graph for this function:

◆ Origin()

template<class PointT>
void Origin ( const PointType & o)

Definition at line 76 of file Plane.hpp.

◆ Project()

template<class PointT>
void Project ( const PointType & p,
PointType * s ) const

Definition at line 41 of file Plane.hpp.

+ Here is the call graph for this function:

◆ Set()

template<class PointT>
void Set ( const PointType & origin,
const PointType & normal )

Definition at line 17 of file Plane.hpp.

◆ SignedDistance()

template<class PointT>
Plane< PointT >::ScalarType SignedDistance ( const PointType & p) const

Definition at line 25 of file Plane.hpp.

+ Here is the caller graph for this function:

◆ SignedDistanceToOrigin()

template<class PointT>
ScalarType SignedDistanceToOrigin ( ) const
inline

Definition at line 48 of file Plane.h.


The documentation for this class was generated from the following files: