A list of named landmarks. More...
#include <mia/3d/landmarklist.hh>
Public Types | |
typedef CMap::const_iterator | const_iterator |
read only iterator More... | |
typedef CMap::iterator | iterator |
read-write iterator More... | |
typedef std::shared_ptr < C3DLandmarklist > | Pointer |
typedef CMap::value_type | value_type |
Type of the map values (needed for lambda arguments) More... | |
Public Member Functions | |
void | add (P3DLandmark lm) |
const_iterator | begin () const |
iterator | begin () |
C3DLandmarklist * | clone () const |
const_iterator | end () const |
iterator | end () |
P3DLandmark | get (const std::string &name) const |
const std::string & | get_name () const |
void | set_name (const std::string &name) |
void | set_path (const boost::filesystem::path &path) |
size_t | size () const |
![]() | |
const std::string & | get_source_format () const |
void | set_source_format (const std::string &format) |
A list of named landmarks.
This class implements a list of uniquely named landmarks.
Definition at line 39 of file landmarklist.hh.
typedef CMap::const_iterator C3DLandmarklist::const_iterator |
read only iterator
Definition at line 47 of file landmarklist.hh.
typedef CMap::iterator C3DLandmarklist::iterator |
read-write iterator
Definition at line 50 of file landmarklist.hh.
typedef std::shared_ptr<C3DLandmarklist> C3DLandmarklist::Pointer |
Definition at line 62 of file landmarklist.hh.
typedef CMap::value_type C3DLandmarklist::value_type |
Type of the map values (needed for lambda arguments)
Definition at line 44 of file landmarklist.hh.
void C3DLandmarklist::add | ( | P3DLandmark | lm | ) |
Add a Landmark to the list. If the landmark name already exists it is siletly overwritten.
lm | the landmark to be added |
const_iterator C3DLandmarklist::begin | ( | ) | const |
iterator C3DLandmarklist::begin | ( | ) |
C3DLandmarklist* C3DLandmarklist::clone | ( | ) | const |
const_iterator C3DLandmarklist::end | ( | ) | const |
iterator C3DLandmarklist::end | ( | ) |
P3DLandmark C3DLandmarklist::get | ( | const std::string & | name | ) | const |
const std::string& C3DLandmarklist::get_name | ( | ) | const |
void C3DLandmarklist::set_name | ( | const std::string & | name | ) |
Set the name of the landmark list
name |
void C3DLandmarklist::set_path | ( | const boost::filesystem::path & | path | ) |
Set the root path of the document (used to read the images)
path |
size_t C3DLandmarklist::size | ( | ) | const |