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

typedef PointT PointType

Definition at line 17 of file Plane.h.

◆ ScalarType

typedef PointType::ScalarType ScalarType

Definition at line 18 of file Plane.h.

Constructor & Destructor Documentation

◆ Plane() [1/3]

Definition at line 5 of file Plane.hpp.

◆ Plane() [2/3]

Plane ( const PointType normal,
const PointType origin 
)

Definition at line 9 of file Plane.hpp.

◆ Plane() [3/3]

Plane ( PointType  n,
ScalarType  d 
)
inline

Definition at line 22 of file Plane.h.

Member Function Documentation

◆ Distance()

ScalarType Distance ( const PointType p) const
inline

Definition at line 39 of file Plane.h.

+ Here is the call graph for this function:

◆ Fit() [1/4]

bool Fit ( const PointType origin,
PointsForwardIt  begin,
PointsForwardIt  end 
)

Definition at line 107 of file Plane.h.

◆ Fit() [2/4]

bool Fit ( const PointType origin,
PointsForwardIt  begin,
PointsForwardIt  end,
WeightsForwardIt  weights 
)

Definition at line 64 of file Plane.h.

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

◆ Fit() [3/4]

bool Fit ( PointsForwardIt  begin,
PointsForwardIt  end 
)

Definition at line 148 of file Plane.h.

◆ Fit() [4/4]

bool Fit ( PointsForwardIt  begin,
PointsForwardIt  end,
WeightsForwardIt  weights 
)

Definition at line 115 of file Plane.h.

+ Here is the call graph for this function:

◆ Intersect()

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

Definition at line 74 of file Plane.hpp.

◆ Normal() [1/4]

const Plane< PointT >::PointType & Normal

Definition at line 56 of file Plane.hpp.

◆ Normal() [2/4]

const PointType& Normal ( ) const

◆ Normal() [3/4]

void Normal ( const PointType normal)

Definition at line 50 of file Plane.hpp.

◆ Normal() [4/4]

void Normal ( PointType normal) const

Definition at line 44 of file Plane.hpp.

+ Here is the caller graph for this function:

◆ OffsetInNormalDirection()

void OffsetInNormalDirection ( ScalarType  offset)

Definition at line 154 of file Plane.h.

◆ Orient()

void Orient ( const PointType n)

Definition at line 30 of file Plane.hpp.

+ Here is the call graph for this function:

◆ Origin()

void Origin ( const PointType o)

Definition at line 68 of file Plane.hpp.

◆ Project()

void Project ( const PointType p,
PointType s 
) const

Definition at line 38 of file Plane.hpp.

+ Here is the call graph for this function:

◆ Set()

void Set ( const PointType origin,
const PointType normal 
)

Definition at line 16 of file Plane.hpp.

◆ SignedDistance()

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

Definition at line 23 of file Plane.hpp.

+ Here is the caller graph for this function:

◆ SignedDistanceToOrigin()

ScalarType SignedDistanceToOrigin ( ) const
inline

Definition at line 43 of file Plane.h.


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