VTKMeshFileExporter class
Write Mesh to file using the VTK polydata format.
Contents
- Reference
Input ports
- 0: Mesh
Base classes
- class FileExporter
- Abstract class for file exporters.
Public functions
- auto create(std::string filename, bool writeNormals, bool writeColors, bool writeLabels) -> std::shared_ptr<VTKMeshFileExporter>
- Create instance.
- void setWriteColors(bool writeColors)
- void setWriteLabels(bool writeLabels)
Private functions
- void execute() virtual
Function documentation
std::shared_ptr<VTKMeshFileExporter> fast:: VTKMeshFileExporter:: create(std::string filename,
bool writeNormals,
bool writeColors,
bool writeLabels)
Create instance.
| Parameters | |
|---|---|
| filename | File to export mesh data to |
| writeNormals | Write normals if it exists in the input Mesh |
| writeColors | Write colors if it exists in the input Mesh |
| writeLabels | Write labels if it exists in the input Mesh |
| Returns | instance |