#include <CTiglExportVtk.h>
Public Member Functions | |
TIGL_EXPORT | CTiglExportVtk (const ExporterOptions &opt=DefaultExporterOption()) |
TIGL_EXPORT ExporterOptions | GetDefaultOptions () const override |
TIGL_EXPORT ShapeExportOptions | GetDefaultShapeOptions () const override |
virtual TIGL_EXPORT | ~CTiglExportVtk () |
Public Member Functions inherited from tigl::CTiglCADExporter | |
TIGL_EXPORT bool | AddConfiguration (CCPACSConfiguration &config, const ShapeExportOptions &options=DefaultShapeExportOptions()) |
Adds the whole non-fused configuration to the exporter. If one of the components fail to export, funtion returns fals. More... | |
TIGL_EXPORT void | AddFusedConfiguration (CCPACSConfiguration &config, const ShapeExportOptions &options=DefaultShapeExportOptions()) |
Adds the geometry (as described in loaded file) to exporter as one fused shape. More... | |
TIGL_EXPORT void | AddShape (PNamedShape shape, const ShapeExportOptions &options=DefaultShapeExportOptions()) |
Adds a shape to the exporter. More... | |
TIGL_EXPORT void | AddShape (PNamedShape shape, const CCPACSConfiguration *config, const ShapeExportOptions &options=DefaultShapeExportOptions()) |
Adds a shape and configuration to exporter. More... | |
TIGL_EXPORT | CTiglCADExporter (const ExporterOptions &options=DefaultExporterOption()) |
Constructor. More... | |
TIGL_EXPORT const ShapeExportOptions & | GetOptions (size_t iShape) const |
TIGL_EXPORT PNamedShape | GetShape (size_t iShape) const |
Returns shape added to the exporter by position in list, in order it was added to exporter, note that adding the whole configuration adds shapes seperatly if not fused. More... | |
TIGL_EXPORT const ExporterOptions & | GlobalExportOptions () const |
TIGL_EXPORT size_t | NShapes () const |
Returns the number of shapes added to exporter. More... | |
TIGL_EXPORT std::string | SupportedFileType () const |
TIGL_EXPORT bool | Write (const std::string &filename) const |
Writes the export file to working directory. More... | |
virtual TIGL_EXPORT | ~CTiglCADExporter () |
Destructor. More... | |
Static Public Member Functions | |
static TIGL_EXPORT void | WritePolys (const CTiglPolyData &polys, const char *filename) |
Exports a polygonal data representation directly. More... | |
Private Member Functions | |
std::string | SupportedFileTypeImpl () const override |
must be overridden. If multiple types supported, separate with a ";" More... | |
bool | WriteImpl (const std::string &filename) const override |
must be overridden by the concrete implementation More... | |
Static Private Member Functions | |
static void | writeVTKHeader (TixiDocumentHandle &handle) |
static void | writeVTKPiece (const CTiglPolyObject &co, TixiDocumentHandle &handle, unsigned int iObject) |
Additional Inherited Members | |
Protected Member Functions inherited from tigl::CTiglCADExporter | |
const CCPACSConfiguration * | GetConfiguration (size_t iShape) const |
Can also be NULL! More... | |
TIGL_EXPORT tigl::CTiglExportVtk::CTiglExportVtk | ( | const ExporterOptions & | opt = DefaultExporterOption() | ) |
|
virtual |
|
overridevirtual |
Implements tigl::CTiglCADExporter.
|
overridevirtual |
Implements tigl::CTiglCADExporter.
|
inlineoverrideprivatevirtual |
must be overridden. If multiple types supported, separate with a ";"
Implements tigl::CTiglCADExporter.
|
overrideprivatevirtual |
must be overridden by the concrete implementation
Implements tigl::CTiglCADExporter.
|
static |
Exports a polygonal data representation directly.
|
staticprivate |
|
staticprivate |