5#include <opencv2/core.hpp>
14enum class Type { Point, Plane, Polyline };
34 using Pointer = std::shared_ptr<VolumeLandmark>;
47 const volcart::filesystem::path& path,
const Pointer& ldm);
Base class for Volume Landmark types.
VolumeLandmark(const Identifier &uuid, const std::string &name, Type type)
std::string name() const
Get human-readable landmark name.
std::string Identifier
Identifier type.
std::shared_ptr< VolumeLandmark > Pointer
Pointer type.
Identifier id() const
Get the unique identifier.
static VolumeLandmark::Pointer Read(const volcart::filesystem::path &path)
Read a landmark metadata file from the path provided.
static void Write(const volcart::filesystem::path &path, const Pointer &ldm)
Write a landmark metadata file to the path provided.
Type type() const
Get the landmark type.
cv::Vec3d Point
3D Point type
Type
Implemented Volume Landmark types.