$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scribo::component_info< L > Class Template Reference

#include <scribo/core/component_info.hh>

Public Types

typedef Object< void > category
typedef component_info< L > exact_t

Public Member Functions

 component_info (const component_id_t &id, const mln::box2d &bbox, const mln::point2d &mass_center, unsigned card, component::Type type=component::Undefined)
void accept (const SerializeVisitor< E2 > &visitor) const
const mln::box2dbbox () const
unsigned card () const
const component_features_datafeatures () const
bool has_features () const
component_id_t id () const
bool is_valid () const
const mln::point2dmass_center () const
component::Tag tag () const
component::Type type () const
void update_features (const component_features_data &features)
void update_tag (component::Tag tag)
void update_type (component::Type type)

Protected Attributes

mln::box2d bbox_
unsigned card_
component_features_data features_
component_id_t id_
mln::point2d mass_center_
component::Tag tag_
component::Type type_

Detailed Description

template<typename L>
class scribo::component_info< L >

Component information data structure.

Definition at line 64 of file component_info.hh.

Member Function Documentation

void scribo::Serializable< component_info< L > >::accept ( const SerializeVisitor< E2 > &  visitor) const
inherited

Allow this object to be serialized by visitor.