BBVolume Class Reference

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

+ Inheritance diagram for BBVolume:

Public Member Functions

 BBVolume ()
 
 BBVolume (const std::pair< std::string, std::vector< Eigen::Vector3f >> &points)
 
 BBVolume (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 &)
 
virtual std::ostream & output (std::ostream &out) const
 
virtual void serialize (const ObjectSerializerBasePtr &serializer, const Ice::Current &) const
 
double volume () 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 BBVolume.hpp.

Constructor & Destructor Documentation

◆ BBVolume() [1/3]

BBVolume ( )
inline

Definition at line 35 of file BBVolume.hpp.

+ Here is the caller graph for this function:

◆ BBVolume() [2/3]

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

Definition at line 36 of file BBVolume.hpp.

◆ BBVolume() [3/3]

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

Definition at line 42 of file BBVolume.hpp.

Member Function Documentation

◆ calculate() [1/2]

FeaturePtr calculate ( const Points points)
inlinevirtual

Implements Feature.

Definition at line 53 of file BBVolume.hpp.

+ Here is the call graph for this function:

◆ calculate() [2/2]

FeaturePtr calculate ( const TaggedPoints points)
inlinevirtual

Reimplemented from Feature.

Definition at line 57 of file BBVolume.hpp.

+ Here is the call graph for this function:

◆ compare()

double compare ( const Feature other) const
inlinevirtual

Implements BBFeature.

Definition at line 63 of file BBVolume.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 97 of file BBVolume.hpp.

◆ output()

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

Implements Feature.

Definition at line 105 of file BBVolume.hpp.

◆ serialize()

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

Implements Feature.

Definition at line 77 of file BBVolume.hpp.

◆ volume()

double volume ( ) const
inline

Definition at line 48 of file BBVolume.hpp.

+ Here is the caller graph for this function:

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