Feature Class Referenceabstract

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

+ Inheritance diagram for Feature:

Public Types

using FeaturePtr = std::shared_ptr< Feature >
 
using Points = std::vector< Eigen::Vector3f >
 
using TaggedPoints = std::pair< std::string, Points >
 

Public Member Functions

virtual FeaturePtr calculate (const Points &points)=0
 
virtual FeaturePtr calculate (const TaggedPoints &points)
 
virtual VariantDataClassPtr clone (const Ice::Current &) const
 
virtual double compare (const Feature &) const =0
 
virtual void deserialize (const ObjectSerializerBasePtr &serializer, const Ice::Current &)=0
 
virtual VariantTypeId getType (const Ice::Current &) const
 
virtual std::string name ()
 
virtual std::string output (const Ice::Current &) const
 
virtual std::ostream & output (std::ostream &out) const =0
 
virtual void serialize (const ObjectSerializerBasePtr &serializer, const Ice::Current &) const =0
 
virtual bool validate (const Ice::Current &)
 

Protected Attributes

std::string m_name
 

Friends

std::ostream & operator<< (std::ostream &os, const Feature &f)
 

Detailed Description

Definition at line 44 of file Feature.hpp.

Member Typedef Documentation

◆ FeaturePtr

using FeaturePtr = std::shared_ptr<Feature>

Definition at line 49 of file Feature.hpp.

◆ Points

using Points = std::vector<Eigen::Vector3f>

Definition at line 47 of file Feature.hpp.

◆ TaggedPoints

using TaggedPoints = std::pair<std::string, Points>

Definition at line 48 of file Feature.hpp.

Member Function Documentation

◆ calculate() [1/2]

virtual FeaturePtr calculate ( const Points points)
pure virtual

◆ calculate() [2/2]

virtual FeaturePtr calculate ( const TaggedPoints points)
inlinevirtual

◆ clone()

virtual VariantDataClassPtr clone ( const Ice::Current &  ) const
inlinevirtual

Definition at line 66 of file Feature.hpp.

◆ compare()

virtual double compare ( const Feature ) const
pure virtual

◆ deserialize()

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

◆ getType()

virtual VariantTypeId getType ( const Ice::Current &  ) const
inlinevirtual

Definition at line 74 of file Feature.hpp.

◆ name()

virtual std::string name ( )
inlinevirtual

Definition at line 51 of file Feature.hpp.

◆ output() [1/2]

virtual std::string output ( const Ice::Current &  ) const
inlinevirtual

Definition at line 70 of file Feature.hpp.

+ Here is the caller graph for this function:

◆ output() [2/2]

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

◆ serialize()

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

◆ validate()

virtual bool validate ( const Ice::Current &  )
inlinevirtual

Definition at line 78 of file Feature.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Feature f 
)
friend

Definition at line 92 of file Feature.hpp.

Member Data Documentation

◆ m_name

std::string m_name
protected

Definition at line 87 of file Feature.hpp.


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