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 40 of file landmark.hh.
Shared pointer type of the landmark.
Definition at line 44 of file landmark.hh.
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::C3DLandmark |
( |
const std::string & |
name) | |
|
constructor to initialize the landmark.
- Parameters
-
Standard copy constructor.
float C3DLandmark::get_isovalue |
( |
) | |
const |
- Returns
- the intensity value expected for this landmark
const C3DFVector& C3DLandmark::get_location |
( |
) | |
const |
- Returns
- the location of the landmark
const std::string& C3DLandmark::get_name |
( |
) | |
const |
- Returns
- the identifier of the landmark
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
const std::string& C3DLandmark::get_picture_file |
( |
) | |
const |
- Returns
- the file name of the picture illustrating the landmark
const C3DCamera& C3DLandmark::get_view |
( |
) | |
const |
bool C3DLandmark::has_location |
( |
) | |
const |
- Returns
- true if the location of the landmark is set
void C3DLandmark::print |
( |
std::ostream & |
os) | |
const |
void C3DLandmark::set_isovalue |
( |
float |
value) | |
|
set the intensity value that correspondts to this landmark
- Parameters
-
void C3DLandmark::set_location |
( |
const C3DFVector & |
pos) | |
|
(Re-)set the location of the landmark
- Parameters
-
void C3DLandmark::set_picture_file |
( |
const std::string & |
picfile) | |
|
set picture file name
- Parameters
-
void C3DLandmark::set_view |
( |
const C3DCamera & |
view) | |
|
The documentation for this class was generated from the following file: