|
| virtual Data * | loadInstance (unsigned int type, unsigned int headerSize) override |
| | Create specialized instance for a given data type or return null if not supported.
|
| virtual unsigned int | saveType (const Data *data) override |
| | Return type for saving a given data instance or null if not supported.
|
| virtual bool | load (unsigned int anatomicalStructure, Data *anatomicalStructureProperties, std::istream &file, Progress *p=0) override |
| | Load data into given class instance, return true if data is complete (otherwise ImFusionImage loader will be run).
|
| virtual bool | save (Data *anatomicalStructure, std::ostream &anatomicalStructureProperties, Progress *p=0) override |
| | Write this plugin's portion of a Data instance to the output stream.
|
| virtual bool | loadCustomProperties (Data *sp, Properties *prop) override |
| | Load custom properties as returned previously by customPropertiesToSave().
|
|
virtual | ~ImFusionFilePlugin ()=default |
| | Destructor.
|
| virtual bool | save (Data *data, std::ostream &file, Progress *progress, const ImFusionFile::CompressionSettings &compression) |
| | Write this plugin's portion of a Data instance to the output stream, with compression settings.
|
| virtual std::unique_ptr< Properties > | customPropertiesToSave (Data *) |
| | Lets plugin save custom properties as part of the global file metadata.
|
| virtual void | applyFlipToEnsureConsistency (Data *) |
| | Is called after the image content had to be flipped to ensure a consistent coordinate system.
|
| virtual bool | beginBlockWrite (std::iostream &) |
| | Initialize plugin with current file pointer.
|
| virtual unsigned long long | endBlockWrite () |
| | Indicate to plugin that the block it is writing needs to be finished.
|
| virtual bool | beginBlockRead (std::iostream &, unsigned long long) |
| | Initialize plugin with current file pointer.
|
| virtual bool | endBlockRead () |
| | Indicate to plugin that it will lose read access to the file pointer after this call.
|
| virtual void | setBlockType (unsigned int type) |
| | Set the type of current data block which is being loaded/saved.
|