Falaise
4.0.1
SuperNEMO Software Toolkit
|
The base class of fitted trajectory pattern. More...
#include <falaise/snemo/datamodels/base_trajectory_pattern.h>
Public Member Functions | |
bool | has_pattern_id () const |
Check if a valid pattern ID exists. More... | |
const std::string & | get_pattern_id () const |
Return the pattern ID. More... | |
virtual const geomtools::i_shape_1d & | get_shape () const =0 |
Return the reference to the 1D shape associated to the trajectory. More... | |
base_trajectory_pattern (const std::string &pattern_id_="") | |
Constructor. More... | |
virtual | ~base_trajectory_pattern () |
Destructor. More... | |
Public Member Functions inherited from datatools::i_serializable | |
i_serializable () | |
virtual | ~i_serializable () |
virtual const std::string & | get_serial_tag () const=0 |
Protected Member Functions | |
void | _set_pattern_id (const std::string &pattern_id_) |
Set the pattern ID. More... | |
The base class of fitted trajectory pattern.
snemo::datamodel::base_trajectory_pattern::base_trajectory_pattern | ( | const std::string & | pattern_id_ = "" | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Set the pattern ID.
const std::string& snemo::datamodel::base_trajectory_pattern::get_pattern_id | ( | ) | const |
Return the pattern ID.
|
pure virtual |
Return the reference to the 1D shape associated to the trajectory.
Implemented in snemo::datamodel::helix_trajectory_pattern, snemo::datamodel::line_trajectory_pattern, and snemo::datamodel::polyline_trajectory_pattern.
bool snemo::datamodel::base_trajectory_pattern::has_pattern_id | ( | ) | const |
Check if a valid pattern ID exists.