ImFusion C++ SDK 4.4.0
ImFusion::Seg::SegmentedStructureWithReference Class Reference
Inheritance diagram for ImFusion::Seg::SegmentedStructureWithReference:

Public Member Functions

std::pair< vec3, vec3 > markers (int id, double position) const override
 Compute a pair of measuring markers at the specified position.
bool isOk () const override
Public Member Functions inherited from ImFusion::Seg::SegmentedStructure
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

Protected Member Functions

 SegmentedStructureWithReference (ReferenceShape *reference)
void computeTopAndBottomPoints (const SharedImage *segmentation, unsigned char label)
void computeTopAndBottomPoints (const std::vector< vec3 > &contour)

Protected Attributes

std::vector< vec3 > m_topPoints
std::vector< vec3 > m_bottomPoints
ReferenceShapem_referenceShape
Protected Attributes inherited from ImFusion::Seg::SegmentedStructure
int m_segmentedStructureNumMarkers = 0
int m_segmentedStructureNumAxes = 0
int m_segmentedStructureNumContours = 0

Member Function Documentation

◆ markers()

std::pair< vec3, vec3 > ImFusion::Seg::SegmentedStructureWithReference::markers ( int id,
double position ) const
overridevirtual

Compute a pair of measuring markers at the specified position.

Parameters
idinteger in [0, numMarkers()) that identifies a marker
positionvalue 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 ImFusion::Seg::SegmentedStructure.

◆ isOk()

bool ImFusion::Seg::SegmentedStructureWithReference::isOk ( ) const
overridevirtual

The documentation for this class was generated from the following file:
  • ImFusion/Seg/SegmentedStructure.h
Search Tab / S to search, Esc to close