Volume Cartographer 2.27.0
PointLandmark.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace volcart::landmarks
8{
9
18{
19public:
21 using Pointer = std::shared_ptr<PointLandmark>;
22
24 PointLandmark(const Identifier& uuid, const std::string& name);
25
28 const Identifier& uuid, const std::string& name, const Point& pos);
29
31 static Pointer New(const Identifier& uuid, const std::string& name);
32
35 static Pointer New(
36 const Identifier& uuid, const std::string& name, const Point& position);
37
39 void setPosition(const Point& pos);
40
42 void setPosition(double x, double y, double z);
43
46
47private:
50
53};
54} // namespace volcart::landmarks
3D Point volume landmark
void setPosition(double x, double y, double z)
std::shared_ptr< PointLandmark > Pointer
Pointer type.
static Pointer New(const Identifier &uuid, const std::string &name)
Constructor with uuid and name.
Point getPosition() const
Get landmark position.
void setPosition(const Point &pos)
Set landmark position.
PointLandmark(const Identifier &uuid, const std::string &name)
Constructor with uuid and name.
static Pointer New(const Identifier &uuid, const std::string &name, const Point &position)
PointLandmark(const Identifier &uuid, const std::string &name, const Point &pos)
Constructor with uuid, name, and position.
Base class for Volume Landmark types.
std::string name() const
Get human-readable landmark name.
std::string Identifier
Identifier type.
Volume landmark classes.