a named 3D landmark
More...
#include <mia/3d/landmark.hh>
a named 3D landmark
This class provides the basis for named a 3D landmark
Definition at line 44 of file landmark.hh.
◆ Pointer
Shared pointer type of the landmark.
Definition at line 48 of file landmark.hh.
◆ C3DLandmark() [1/3]
C3DLandmark::C3DLandmark |
( |
const std::string & |
name, |
|
|
const C3DFVector & |
location |
|
) |
| |
constructor to initialize the landmark.
- Parameters
-
name | Landmark identifier |
location | 3D coordinate of the landmark |
◆ C3DLandmark() [2/3]
C3DLandmark::C3DLandmark |
( |
const std::string & |
name | ) |
|
constructor to initialize the landmark.
- Parameters
-
◆ C3DLandmark() [3/3]
Standard copy constructor.
◆ get_isovalue()
float C3DLandmark::get_isovalue |
( |
| ) |
const |
- Returns
- the intensity value expected for this landmark
◆ get_location()
const C3DFVector& C3DLandmark::get_location |
( |
| ) |
const |
- Returns
- the location of the landmark
◆ get_name()
const std::string& C3DLandmark::get_name |
( |
| ) |
const |
- Returns
- the identifier of the landmark
◆ get_picture()
P2DImage C3DLandmark::get_picture |
( |
const boost::filesystem::path & |
root_path | ) |
const |
Get the picture illustrating the landmark. If no file name is given in the landmark, then an empty
- Parameters
-
root_path | root path for the landmark set, the picture is stored relative to this path |
- Returns
- the picture - if available, otherwise returns an empty pointer
◆ get_picture_file()
const std::string& C3DLandmark::get_picture_file |
( |
| ) |
const |
- Returns
- the file name of the picture illustrating the landmark
◆ get_view()
const C3DCamera& C3DLandmark::get_view |
( |
| ) |
const |
◆ has_location()
bool C3DLandmark::has_location |
( |
| ) |
const |
- Returns
- true if the location of the landmark is set
◆ print()
void C3DLandmark::print |
( |
std::ostream & |
os | ) |
const |
◆ set_isovalue()
void C3DLandmark::set_isovalue |
( |
float |
value | ) |
|
set the intensity value that correspondts to this landmark
- Parameters
-
◆ set_location()
void C3DLandmark::set_location |
( |
const C3DFVector & |
pos | ) |
|
(Re-)set the location of the landmark
- Parameters
-
◆ set_picture_file()
void C3DLandmark::set_picture_file |
( |
const std::string & |
picfile | ) |
|
set picture file name
- Parameters
-
◆ set_view()
void C3DLandmark::set_view |
( |
const C3DCamera & |
view | ) |
|
The documentation for this class was generated from the following file: