|
|
| SegmentedBlob (const SharedImage *segmentation, unsigned char label=1) |
| |
|
| SegmentedBlob (const std::vector< vec3 > &contour) |
| |
| std::pair< vec3, vec3 > | markers (int id, double position) const override |
| | Compute a pair of measuring markers at the specified position.
|
| |
| std::vector< vec3 > | contour (int id) const override |
| |
| bool | isOk () const override |
| |
|
virtual std::pair< vec3, vec3 > | axis (int id) const |
| |
|
int | numMarkers () const |
| |
|
int | numAxes () const |
| |
|
int | numContours () const |
| |
|
|
void | constructFromContour (const std::vector< vec3 > &contour) |
| |
|
|
bool | m_isOk = false |
| |
|
std::vector< vec3 > | m_contour |
| |
|
vec3 | m_positionScale |
| |
|
vec3 | m_positionBias |
| |
|
int | m_segmentedStructureNumMarkers = 0 |
| |
|
int | m_segmentedStructureNumAxes = 0 |
| |
|
int | m_segmentedStructureNumContours = 0 |
| |
◆ markers()
| std::pair< vec3, vec3 > markers |
( |
int | id, |
|
|
double | position ) const |
|
overridevirtual |
Compute a pair of measuring markers at the specified position.
- Parameters
-
| 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 |
- Returns
- pair of points that lie on the contour of the segmentation
Reimplemented from SegmentedStructure.
◆ contour()
◆ isOk()
The documentation for this class was generated from the following file:
- ImFusion/Seg/SegmentedStructure.h