A.I.M.S


aims::ScalarSetFeatures Class Reference

#include <aims/features/scalar_set_features.h>

Inheritance diagram for aims::ScalarSetFeatures:
Collaboration diagram for aims::ScalarSetFeatures:

Public Types

typedef
ScalarFeaturesProvider::Scalar_t 
Scalar_t
 
- Public Types inherited from aims::ScalarFeaturesProvider
typedef double Scalar_t
 

Public Member Functions

 ScalarSetFeatures ()
 
 ScalarSetFeatures (const std::vector< Scalar_t > &)
 
void setValues (const std::vector< Scalar_t > &)
 
virtual ~ScalarSetFeatures ()
 
const std::vector< Scalar_t > & values () const
 
std::vector< Scalar_t > & values ()
 
virtual void scalarFeatureValues (std::vector< Scalar_t > &) const
 Clear an fill its parameter with the values of the scalar features. More...
 
- Public Member Functions inherited from aims::ScalarFeaturesProvider
virtual ~ScalarFeaturesProvider ()
 
const std::vector< std::string > & scalarFeatureNames () const
 Return the name of all scalar features provided by this object. More...
 

Additional Inherited Members

- Protected Attributes inherited from aims::ScalarFeaturesProvider
std::vector< std::string > _scalarFeatureNames
 Constructors of derived classes must fill this vector with scalar feature names. More...
 

Detailed Description

Definition at line 47 of file scalar_set_features.h.

Member Typedef Documentation

Constructor & Destructor Documentation

aims::ScalarSetFeatures::ScalarSetFeatures ( )
aims::ScalarSetFeatures::ScalarSetFeatures ( const std::vector< Scalar_t > &  )
aims::ScalarSetFeatures::~ScalarSetFeatures ( )
inlinevirtual

Definition at line 78 of file scalar_set_features.h.

Member Function Documentation

virtual void aims::ScalarSetFeatures::scalarFeatureValues ( std::vector< Scalar_t > &  ) const
virtual

Clear an fill its parameter with the values of the scalar features.

The returned vector has the same size as the one returned by scalarFeatureNames().

Implements aims::ScalarFeaturesProvider.

void aims::ScalarSetFeatures::setValues ( const std::vector< Scalar_t > &  )
const std::vector< ScalarSetFeatures::Scalar_t > & aims::ScalarSetFeatures::values ( ) const
inline

Definition at line 83 of file scalar_set_features.h.

std::vector< ScalarSetFeatures::Scalar_t > & aims::ScalarSetFeatures::values ( )
inline

Definition at line 91 of file scalar_set_features.h.


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