Writes models in VTK ASCII or Binary format.
#include <Mesh/FileIO/Writers/plywriter.h>
◆ PlyWriter()
PlyWriter |
( |
const QString & |
fileName, |
|
|
bool |
truncateToFloat, |
|
|
const QString & |
vector3DComponentSuffix |
|
) |
| |
- Parameters
-
fileName | Defines the base file name for the writer. |
truncateToFloat | Set to true to truncate double-precision floating point to single-precision in order to reduce memory footprint. |
vector3DComponentSuffix | Suffix for vector3D type components which will be written to property with name "statename"+"Suffix"+"x/y/z". |
◆ ~PlyWriter()
◆ write() [1/2]
Write model to a Ply ASCII format file, including node state data if present.
◆ write() [2/2]
Write model to a Ply binary format file, including node state data if present.
- Parameters
-
model | The model to export |
byteOrder | The binary byte order to use. Typically set to QSysInfo::ByteOrder |