![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Reg/RegistrationResults.h>
Represents the registration result for a single data object. More...
Represents the registration result for a single data object.
Public Member Functions | |
| bool | apply () const |
| Applies the registration result to its associated data. | |
| void | applyOnData (Data &pDdata) const |
| Applies the registration result to another data object. | |
| bool | operator== (const DataResult &other) const |
Compares two DataResult objects for equality. | |
| bool | operator!= (const DataResult &other) const |
Compares two DataResult objects for inequality. | |
| std::shared_ptr< PointsOnImage > | points (std::string name="") const |
| Retrieves a point set associated with the data. | |
Public Attributes | |
| Data * | data = nullptr |
| Pointer to the data. Set to nullptr if the data is not available or gets deleted. | |
| uint64_t | hash = 0 |
| Hash value of data. Used to identify data. | |
| mat4 | matrix = mat4::Identity() |
| Registration matrix. | |
| std::string | name |
| Name of data. Used to identify data, when hash is not there. | |
| Data::Modality | modality = Data::Modality::NA |
| Modality of the data. | |
| std::string | defID |
Deformation ID, used to restore the deformation from DeformationFactory | |
| Properties | defProps |
| Deformation properties. | |
| std::shared_ptr< SharedImageSet > | defSuppImgs |
| Supporting images for the deformation. | |
| Properties | pointProps |
Configuration of PointsStorageComponent. Used to persist point annotations. | |
| bool apply | ( | ) | const |
Applies the registration result to its associated data.
| void applyOnData | ( | Data & | pDdata | ) | const |
Applies the registration result to another data object.
| pData | Reference to the target data. |
| bool operator== | ( | const DataResult & | other | ) | const |
Compares two DataResult objects for equality.
Data is compared by hash. Meaning that {hash=42, data=0x1234} is equal to {hash=42, data=nullptr}.
| std::shared_ptr< PointsOnImage > points | ( | std::string | name = "" | ) | const |
Retrieves a point set associated with the data.
| pointsName | Name of the points to be restored. If empty, the first available will be used |