ImFusion SDK 4.3
Line2DReferenceShape Class Reference

#include <ImFusion/Seg/ReferenceShape.h>

Reference with a line shape. More...

+ Inheritance diagram for Line2DReferenceShape:

Detailed Description

Reference with a line shape.

First local coordinate moves you across the line, the second perpendicularly to it.

Public Member Functions

 Line2DReferenceShape (const SharedImage *segmentation, unsigned char label=1)
 
 Line2DReferenceShape (const std::vector< vec2 > &points)
 
- Public Member Functions inherited from LinearReferenceShape
vec3 worldToLocal (vec3 p) const override
 
vec3 localToWorld (vec3 p) const override
 
- Public Member Functions inherited from ReferenceShape
void addMargin (double margin, int axis=0)
 
double lowerBound (int axis) const
 
double upperBound (int axis) const
 
std::pair< double, double > range (int axis) const
 
bool isOk () const
 
virtual bool is2D () const
 

Additional Inherited Members

- Protected Member Functions inherited from LinearReferenceShape
void setWorldToLocalMatrix (const mat4 &mat)
 
void setLocalToWorldMatrix (const mat4 &mat)
 
- Protected Member Functions inherited from ReferenceShape
void computeBounds (const std::vector< vec2 > &points)
 
- Protected Attributes inherited from LinearReferenceShape
vec3 m_origin = {0, 0, 0}
 
mat4 m_worldToLocalMatrix = mat4::Identity()
 
mat4 m_localToWorldMatrix = mat4::Identity()
 
- Protected Attributes inherited from ReferenceShape
vec3 m_lowerBounds = {0, 0, 0}
 
vec3 m_upperBounds = {0, 0, 0}
 
bool m_isOk = true
 

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