Libs/Mesh/PreviewMeshQC/FEVTKExport.h
Classes
Name | |
---|---|
struct | VTKEXPORT |
class | FEVTKExport |
Source code
#pragma once
#include <string>
#include <ostream>
#include <vtkSmartPointer.h>
#include <vtkPolyData.h>
class FEMesh;
//-----------------------------------------------------------------------------
struct VTKEXPORT
{
bool bshellthick; // shell thickness
bool bscalar_data; // user scalar data
};
class FEVTKExport
{
public:
FEVTKExport();
~FEVTKExport() = default;
bool Export(FEMesh& mesh, const char* szfile);
std::string ExportToString(FEMesh& mesh);
bool ExportToStream(FEMesh& mesh, std::ostream& out);
void SetOptions(VTKEXPORT o) { m_ops = o; }
vtkSmartPointer<vtkPolyData> ExportToVTK(FEMesh &mesh);
private:
VTKEXPORT m_ops;
};
Updated on 2024-03-17 at 12:58:44 -0600