ImFusion C++ SDK 4.4.0
ImFusion::Seg::SegmentedStructure Class Referenceabstract

#include <ImFusion/Seg/SegmentedStructure.h>

Interface class that offers methods to obtain measuring markers on a segmented object. More...

Inheritance diagram for ImFusion::Seg::SegmentedStructure:

Detailed Description

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

Member Function Documentation

◆ markers()

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

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 in ImFusion::Seg::SegmentedBlob, and ImFusion::Seg::SegmentedStructureWithReference.


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