19 using Polyline = std::vector<Point>;
21 using Pointer = std::shared_ptr<PolylineLandmark>;
36 const Identifier& uuid,
const std::string&
name,
const Polyline& poly);
Polyline (multi-segment line) volume landmark.
static Pointer New(const Identifier &uuid, const std::string &name)
Constructor with uuid and name.
PolylineLandmark(const Identifier &uuid, const std::string &name, Polyline poly)
Constructor with uuid, name, and Polyline.
void addPoint(const Point &pt)
Add Point to the end of the Polyline.
static Pointer New(const Identifier &uuid, const std::string &name, const Polyline &poly)
Constructor with uuid, name, and Polyline.
void addPoint(double x, double y, double z)
std::shared_ptr< PolylineLandmark > Pointer
Pointer type.
void setPolyline(Polyline p)
Set the Polyline.
PolylineLandmark(const Identifier &uuid, const std::string &name)
Constructor with uuid and name.
Polyline getPolyline() const
Get the Polyline.
Base class for Volume Landmark types.
std::string name() const
Get human-readable landmark name.
std::string Identifier
Identifier type.
cv::Vec3d Point
3D Point type