![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Writer for *.pvm files. More...
#include <modules/pvm/pvmvolumewriter.h>
Public Member Functions | |
| virtual PVMVolumeWriter * | clone () const override |
| PVMVolumeWriter & | operator= (const PVMVolumeWriter &that) |
| PVMVolumeWriter (const PVMVolumeWriter &rhs) | |
| virtual void | writeData (const Volume *data, const std::filesystem::path &filePath) const override |
Write data to filePath. | |
| Public Member Functions inherited from inviwo::DataWriterType< Volume > | |
| DataWriterType & | operator= (const DataWriterType &that)=default |
| virtual std::unique_ptr< std::vector< unsigned char > > | writeDataToBuffer (const Volume *, std::string_view) const |
| Public Member Functions inherited from inviwo::DataWriter | |
| void | addExtension (FileExtension ext) |
| void | checkOverwrite (const std::filesystem::path &path) const |
| DataWriter (const DataWriter &rhs) | |
| DataWriter (DataWriter &&rhs) noexcept=default | |
| const std::vector< FileExtension > & | getExtensions () const |
| virtual std::any | getOption (std::string_view key) const |
| Query the value of a writer specific option. | |
| Overwrite | getOverwrite () const |
| DataWriter & | operator= (const DataWriter &that) |
| DataWriter & | operator= (DataWriter &&that) noexcept=default |
| virtual bool | setOption (std::string_view key, std::any value) |
| Set writer specific options See the documentation of the specific writer for the available options. | |
| void | setOverwrite (Overwrite val) |
| template<typename T> | |
| bool | writesType () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from inviwo::DataWriter | |
| static void | checkOverwrite (const std::filesystem::path &path, Overwrite overwrite) |
| Protected Member Functions inherited from inviwo::DataWriterType< Volume > | |
| virtual bool | canWrite (const std::type_index &index) const override |
| Protected Member Functions inherited from inviwo::DataWriter | |
| std::ofstream | open (const std::filesystem::path &path, std::ios_base::openmode mode=std::ios_base::out) const |
| Protected Attributes inherited from inviwo::DataWriter | |
| std::vector< FileExtension > | extensions_ |
| Overwrite | overwrite_ |
Writer for *.pvm files.
Format designed by Stefan Roettger
|
overridevirtual |
Implements inviwo::DataWriterType< Volume >.
|
overridevirtual |
Write data to filePath.
| DataWriterException | if anything goes wrong |
Implements inviwo::DataWriterType< Volume >.