![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/Seg/ReferenceShape.h>
Reference with an ellipse section shape. More...
Reference with an ellipse section shape.
First local coordinate moves you around the ellipse, the second perpendicularly to it. Note that the first coordinates is not metric, there is no direct correspondence to millimeters.
Public Member Functions | |
| EllipseReferenceShape (const SharedImage *segmentation, unsigned char label=1) | |
| EllipseReferenceShape (const std::vector< vec2 > &points) | |
| vec3 | worldToLocal (vec3 p) const override |
| vec3 | localToWorld (vec3 p) const override |
| const Geometry::Ellipse2D & | ellipse2D () const |
| Public Member Functions inherited from ImFusion::Seg::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 ImFusion::Seg::ReferenceShape | |
| void | computeBounds (const std::vector< vec2 > &points) |
| Protected Attributes inherited from ImFusion::Seg::ReferenceShape | |
| vec3 | m_lowerBounds = {0, 0, 0} |
| vec3 | m_upperBounds = {0, 0, 0} |
| bool | m_isOk = true |
|
overridevirtual |
Implements ImFusion::Seg::ReferenceShape.
|
overridevirtual |
Implements ImFusion::Seg::ReferenceShape.