![]() |
ImFusion C++ SDK 4.4.0
|
Public Member Functions | |
| PixelwiseData (DataDescriptor *, const Project::PixelwiseData *) | |
| Utils::Expected< std::unique_ptr< SharedImageSet >, std::string > | loadLabelMap (Progress *progress) const |
| Loads the labelmap file from disk or the server. | |
| std::unique_ptr< SharedImageSet > | loadLabelMapVersion (int version, Progress *progress) const |
| Retrieves the given label map version – only for remote projects. | |
| bool | saveLabelMap (const SharedImageSet &labels, bool hasData, const std::string &lockToken, Progress *progress) |
| QString | dataPath () const override |
| QString | projectId () const override |
| Returns the ID of this layer as defined in the project. | |
| QString | thumbnailPath () const |
| Public Member Functions inherited from ImFusion::DataDescriptor::TypeSpecificData | |
| void | setHasData (bool b) |
| bool | hasData () const |
| uint64_t & | fileTimestamp () |
| const uint64_t & | fileTimestamp () const |
Public Attributes | |
| const Project::PixelwiseData *const | m_projectData = nullptr |
Additional Inherited Members | |
| Protected Member Functions inherited from ImFusion::DataDescriptor::TypeSpecificData | |
| TypeSpecificData (DataDescriptor *) | |
| Protected Attributes inherited from ImFusion::DataDescriptor::TypeSpecificData | |
| bool | m_hasData = false |
| uint64_t | m_fileTimestamp = 0 |
| DataDescriptor * | m_dataDescriptor = nullptr |
| Utils::Expected< std::unique_ptr< SharedImageSet >, std::string > ImFusion::DataDescriptor::PixelwiseData::loadLabelMap | ( | Progress * | progress | ) | const |
Loads the labelmap file from disk or the server.
Returns a nullptr if the labelmap is completely empty. Throws an exception if the labelmap cannot be loaded due to an error.
|
overridevirtual |
Implements ImFusion::DataDescriptor::TypeSpecificData.
|
overridevirtual |
Returns the ID of this layer as defined in the project.
Implements ImFusion::DataDescriptor::TypeSpecificData.