![]() |
COGS
Computer Graphics Structures library
|
Universal file exporter for COGS structures. More...
Public Member Functions | |
| Exporter (const Exporter &other)=delete | |
| Exporter (const Exporter &&other)=delete | |
| Exporter & | operator= (const Exporter &other)=delete |
| Exporter & | operator= (const Exporter &&other)=delete |
| bool | SaveToFile (const std::string &filename) const |
| Saves all currently added data to a single file. Returns whether everything was saved successfully. | |
| void | Clear () |
| Removes all previously added data from exporter. | |
| void | AddPointCloud (const cogs::PointCloud &pointcloud) |
| Adds an object to the list of exported objects. | |
| void | AddScan (const cogs::Scan &scan) |
| Adds an object to the list of exported objects. | |
| void | AddMesh (const cogs::Mesh &mesh) |
| Adds an object to the list of exported objects. | |
Universal file exporter for COGS structures.
Supports all COGS file extensions which can be found in File Extensions.
Internally uses Assimp library which supports common data formats found in http://assimp.sourceforge.net/main_features_formats.html. However, compatibility is not guaranteed for all file formats.
Assimp export was tested on the following file formats: