BBMediumShortRatio Class Reference

#include <VisionX/components/pointcloud_processor/ObjectShapeClassification/Features/BBMediumShort.hpp>

+ Inheritance diagram for BBMediumShortRatio:

Public Member Functions

 BBMediumShortRatio ()
 
 BBMediumShortRatio (const std::pair< std::string, std::vector< Eigen::Vector3f >> &points)
 
 BBMediumShortRatio (const std::vector< Eigen::Vector3f > &points)
 
FeaturePtr calculate (const Points &points)
 
FeaturePtr calculate (const TaggedPoints &points)
 
double compare (const Feature &other) const
 
virtual void deserialize (const ObjectSerializerBasePtr &serializer, const Ice::Current &)
 
double mediumShortRatio () const
 
virtual std::ostream & output (std::ostream &out) const
 
virtual void serialize (const ObjectSerializerBasePtr &serializer, const Ice::Current &) const
 
- Public Member Functions inherited from BBFeature
 BBFeature ()
 
 BBFeature (const std::pair< std::string, std::vector< Eigen::Vector3f >> &points)
 
 BBFeature (const std::vector< Eigen::Vector3f > &points)
 
- Public Member Functions inherited from Feature
virtual VariantDataClassPtr clone (const Ice::Current &) const
 
virtual VariantTypeId getType (const Ice::Current &) const
 
virtual std::string name ()
 
virtual std::string output (const Ice::Current &) const
 
virtual bool validate (const Ice::Current &)
 

Additional Inherited Members

- Public Types inherited from Feature
using FeaturePtr = std::shared_ptr< Feature >
 
using Points = std::vector< Eigen::Vector3f >
 
using TaggedPoints = std::pair< std::string, Points >
 
- Protected Attributes inherited from BBFeature
double m_area
 
gdiam_bbox m_bbox
 
double m_len1
 
double m_len2
 
double m_len3
 
double m_longSide
 
double m_mediumSide
 
double m_shortSide
 
double m_volume
 
- Protected Attributes inherited from Feature
std::string m_name
 

Detailed Description

Definition at line 32 of file BBMediumShort.hpp.

Constructor & Destructor Documentation

◆ BBMediumShortRatio() [1/3]

BBMediumShortRatio ( )
inline

Definition at line 35 of file BBMediumShort.hpp.

+ Here is the caller graph for this function:

◆ BBMediumShortRatio() [2/3]

BBMediumShortRatio ( const std::vector< Eigen::Vector3f > &  points)
inline

Definition at line 36 of file BBMediumShort.hpp.

◆ BBMediumShortRatio() [3/3]

BBMediumShortRatio ( const std::pair< std::string, std::vector< Eigen::Vector3f >> &  points)
inline

Definition at line 44 of file BBMediumShort.hpp.

Member Function Documentation

◆ calculate() [1/2]

FeaturePtr calculate ( const Points points)
inlinevirtual

Implements Feature.

Definition at line 56 of file BBMediumShort.hpp.

+ Here is the call graph for this function:

◆ calculate() [2/2]

FeaturePtr calculate ( const TaggedPoints points)
inlinevirtual

Reimplemented from Feature.

Definition at line 60 of file BBMediumShort.hpp.

+ Here is the call graph for this function:

◆ compare()

double compare ( const Feature other) const
inlinevirtual

Implements BBFeature.

Definition at line 65 of file BBMediumShort.hpp.

+ Here is the call graph for this function:

◆ deserialize()

virtual void deserialize ( const ObjectSerializerBasePtr &  serializer,
const Ice::Current &   
)
inlinevirtual

Implements Feature.

Definition at line 99 of file BBMediumShort.hpp.

◆ mediumShortRatio()

double mediumShortRatio ( ) const
inline

Definition at line 52 of file BBMediumShort.hpp.

+ Here is the caller graph for this function:

◆ output()

virtual std::ostream& output ( std::ostream &  out) const
inlinevirtual

Implements Feature.

Definition at line 107 of file BBMediumShort.hpp.

◆ serialize()

virtual void serialize ( const ObjectSerializerBasePtr &  serializer,
const Ice::Current &   
) const
inlinevirtual

Implements Feature.

Definition at line 79 of file BBMediumShort.hpp.


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