ImFusion SDK 4.3
SegmentedLine2DStructure Class Reference
+ Inheritance diagram for SegmentedLine2DStructure:

Public Member Functions

 SegmentedLine2DStructure (const SharedImage *segmentation, unsigned char label=1, double margin=0.0)
 
 SegmentedLine2DStructure (Line2DReferenceShape reference, const std::vector< vec3 > &contour)
 
std::pair< vec3, vec3 > axis (int id) const override
 
std::vector< vec3 > contour (int id) const override
 
const Line2DReferenceShapereference () const
 
- Public Member Functions inherited from SegmentedStructureWithReference
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 SegmentedStructure
int numMarkers () const
 
int numAxes () const
 
int numContours () const
 

Protected Attributes

Line2DReferenceShape m_ref
 
- Protected Attributes inherited from SegmentedStructureWithReference
std::vector< vec3 > m_topPoints
 
std::vector< vec3 > m_bottomPoints
 
ReferenceShapem_referenceShape
 
- Protected Attributes inherited from SegmentedStructure
int m_segmentedStructureNumMarkers = 0
 
int m_segmentedStructureNumAxes = 0
 
int m_segmentedStructureNumContours = 0
 

Additional Inherited Members

- Protected Member Functions inherited from SegmentedStructureWithReference
 SegmentedStructureWithReference (ReferenceShape *reference)
 
void computeTopAndBottomPoints (const SharedImage *segmentation, unsigned char label)
 
void computeTopAndBottomPoints (const std::vector< vec3 > &contour)
 

Member Function Documentation

◆ axis()

std::pair< vec3, vec3 > axis ( int id) const
overridevirtual

Reimplemented from SegmentedStructure.

◆ contour()

std::vector< vec3 > contour ( int id) const
overridevirtual

Reimplemented from SegmentedStructure.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close