Polyline (multi-segment line) volume landmark.
More...
#include <vc/core/landmarks/PolylineLandmark.hpp>
|
| PolylineLandmark (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 | setPolyline (Polyline p) |
| Set the Polyline.
|
|
Polyline | getPolyline () const |
| Get the Polyline.
|
|
void | addPoint (const Point &pt) |
| Add Point to the end of the Polyline.
|
|
void | addPoint (double x, double y, double z) |
|
Public Member Functions inherited from volcart::landmarks::VolumeLandmark |
| VolumeLandmark ()=delete |
|
Identifier | id () const |
| Get the unique identifier.
|
|
std::string | name () const |
| Get human-readable landmark name.
|
|
Type | type () const |
| Get the landmark type.
|
|
Polyline (multi-segment line) volume landmark.
Useful for specifying center line of irregularly shaped object
Definition at line 16 of file PolylineLandmark.hpp.
◆ Pointer
◆ Polyline
using volcart::landmarks::PolylineLandmark::Polyline = std::vector<Point> |
◆ addPoint()
void volcart::landmarks::PolylineLandmark::addPoint |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ New() [1/2]
static Pointer volcart::landmarks::PolylineLandmark::New |
( |
const Identifier & |
uuid, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
Constructor with uuid and name.
◆ New() [2/2]
static Pointer volcart::landmarks::PolylineLandmark::New |
( |
const Identifier & |
uuid, |
|
|
const std::string & |
name, |
|
|
const Polyline & |
poly |
|
) |
| |
|
static |
Constructor with uuid, name, and Polyline.
◆ update_meta_()
void volcart::landmarks::PolylineLandmark::update_meta_ |
( |
| ) |
|
|
private |
Update the metadata structure
◆ poly_
Polyline volcart::landmarks::PolylineLandmark::poly_ |
|
private |
The documentation for this class was generated from the following file: