D2Histogram Class Reference

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

+ Inheritance diagram for D2Histogram:

Public Member Functions

FeaturePtr calculate (const Points &points)
 
FeaturePtr calculate (const TaggedPoints &points)
 
double compare (const Feature &other) const
 
 D2Histogram ()
 
std::vector< double > d2Histogram () const
 
 D2Histogram (const std::pair< std::string, std::vector< Eigen::Vector3f >> &points, int bins=10)
 
 D2Histogram (const std::vector< Eigen::Vector3f > &points, int bins=10)
 
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
 
- 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 Feature
std::string m_name
 

Detailed Description

Definition at line 34 of file D2Histogram.hpp.

Constructor & Destructor Documentation

◆ D2Histogram() [1/3]

D2Histogram ( )
inline

Definition at line 37 of file D2Histogram.hpp.

+ Here is the caller graph for this function:

◆ D2Histogram() [2/3]

D2Histogram ( const std::vector< Eigen::Vector3f > &  points,
int  bins = 10 
)
inline

Definition at line 38 of file D2Histogram.hpp.

◆ D2Histogram() [3/3]

D2Histogram ( const std::pair< std::string, std::vector< Eigen::Vector3f >> &  points,
int  bins = 10 
)
inline

Definition at line 45 of file D2Histogram.hpp.

Member Function Documentation

◆ calculate() [1/2]

FeaturePtr calculate ( const Points points)
inlinevirtual

Implements Feature.

Definition at line 57 of file D2Histogram.hpp.

+ Here is the call graph for this function:

◆ calculate() [2/2]

FeaturePtr calculate ( const TaggedPoints points)
inlinevirtual

Reimplemented from Feature.

Definition at line 61 of file D2Histogram.hpp.

+ Here is the call graph for this function:

◆ compare()

double compare ( const Feature other) const
inlinevirtual

Implements Feature.

Definition at line 66 of file D2Histogram.hpp.

+ Here is the call graph for this function:

◆ d2Histogram()

std::vector<double> d2Histogram ( ) const
inline

Definition at line 52 of file D2Histogram.hpp.

+ Here is the caller graph for this function:

◆ deserialize()

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

Implements Feature.

Definition at line 100 of file D2Histogram.hpp.

◆ output()

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

Implements Feature.

Definition at line 108 of file D2Histogram.hpp.

◆ serialize()

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

Implements Feature.

Definition at line 80 of file D2Histogram.hpp.


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