![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Seg/SegmentedStructure.h>
Interface class that offers methods to obtain measuring markers on a segmented object. More...
Inheritance diagram for SegmentedStructure:Interface class that offers methods to obtain measuring markers on a segmented object.
Public Member Functions | |
| virtual std::pair< vec3, vec3 > | markers (int id, double position) const |
| Compute a pair of measuring markers at the specified position. | |
| virtual std::pair< vec3, vec3 > | axis (int id) const |
| virtual std::vector< vec3 > | contour (int id) const |
| int | numMarkers () const |
| int | numAxes () const |
| int | numContours () const |
| virtual bool | isOk () const =0 |
Protected Attributes | |
| int | m_segmentedStructureNumMarkers = 0 |
| int | m_segmentedStructureNumAxes = 0 |
| int | m_segmentedStructureNumContours = 0 |
|
virtual |
Compute a pair of measuring markers at the specified position.
| id | integer in [0, numMarkers()) that identifies a marker |
| position | value in [-1, 1] that gives the position of the marker on the axis of the reference shape |
Reimplemented in SegmentedBlob, and SegmentedStructureWithReference.