![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Seg/ContoursStorageComponent.h>
Data Structure containing a vector of 3D points as well as metadata such as: More...
Inheritance diagram for Contour:Data Structure containing a vector of 3D points as well as metadata such as:
Public Member Functions | |
| void | configure (const ImFusion::Properties *p) override |
| Configure this object instance by de-serializing the given Properties. | |
| void | configuration (ImFusion::Properties *p) const override |
| Serialize the current object configuration into the given Properties object. | |
| std::unique_ptr< TypedImage< unsigned char > > | labelMapFromContour (SharedImageSet &curData) const |
Public Member Functions inherited from Configurable | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Static Public Member Functions | |
| static std::string | typeToString (const Seg::Contour::Type &type) |
| static Seg::Contour::Type | stringToType (const std::string &type) |
Public Attributes | |
| CreationMode | creationMode = CreationMode::Unknown |
| Type | type |
| std::vector< vec3 > | points |
| int | labelValue = 1 |
| int | frame = 0 |
| std::string | name = "" |
| std::optional< int > | marginOrRadius |
| std::optional< int > | adaptiveness |
| Properties | displayProperties |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Configure this object instance by de-serializing the given Properties.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from Configurable.
|
overridevirtual |
Serialize the current object configuration into the given Properties object.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from Configurable.