A list of named landmarks.
More...
#include <mia/3d/landmarklist.hh>
A list of named landmarks.
This class implements a list of uniquely named landmarks.
Definition at line 37 of file landmarklist.hh.
◆ const_iterator
◆ iterator
◆ Pointer
◆ value_type
Type of the map values (needed for lambda arguments)
Definition at line 42 of file landmarklist.hh.
◆ add()
Add a Landmark to the list. If the landmark name already exists it is siletly overwritten.
- Parameters
-
lm | the landmark to be added |
◆ begin() [1/2]
- Returns
- a read-only STL iterator to the landmarks
◆ begin() [2/2]
- Returns
- a read-write STL iterator to the landmarks
◆ clone()
- Returns
- a dynamically created copy of the landmark list
◆ end() [1/2]
- Returns
- a read-only STL iterator to the landmarks
◆ end() [2/2]
- Returns
- a read-write STL iterator to the landmarks
◆ get()
P3DLandmark C3DLandmarklist::get |
( |
const std::string & |
name | ) |
const |
- Returns
- the landmark with the giben name. If this landmark doesn't exist the function returns a (shared) null pointer.
◆ get_name()
const std::string& C3DLandmarklist::get_name |
( |
| ) |
const |
- Returns
- the name of the landmark list
◆ set_name()
void C3DLandmarklist::set_name |
( |
const std::string & |
name | ) |
|
Set the name of the landmark list
- Parameters
-
◆ set_path()
void C3DLandmarklist::set_path |
( |
const std::string & |
path | ) |
|
Set the root path of the document (used to read the images)
- Parameters
-
◆ size()
size_t C3DLandmarklist::size |
( |
| ) |
const |
- Returns
- the number of landmarks stored in the list
The documentation for this class was generated from the following file: