3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CTiglExportVtk Class Reference

#include <CTiglExportVtk.h>

Inheritance diagram for tigl::CTiglExportVtk:

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.
TIGL_EXPORT void AddFusedConfiguration (CCPACSConfiguration &config, const ShapeExportOptions &options=DefaultShapeExportOptions())
 Adds the geometry (as described in loaded file) to exporter as one fused shape.
TIGL_EXPORT void AddShape (PNamedShape shape, const CCPACSConfiguration *config, const ShapeExportOptions &options=DefaultShapeExportOptions())
 Adds a shape and configuration to exporter.
TIGL_EXPORT void AddShape (PNamedShape shape, const ShapeExportOptions &options=DefaultShapeExportOptions())
 Adds a shape to the exporter.
TIGL_EXPORT CTiglCADExporter (const ExporterOptions &options=DefaultExporterOption())
 Constructor.
TIGL_EXPORT const ShapeExportOptionsGetOptions (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.
TIGL_EXPORT const ExporterOptionsGlobalExportOptions () const
TIGL_EXPORT size_t NShapes () const
 Returns the number of shapes added to exporter.
TIGL_EXPORT std::string SupportedFileType () const
TIGL_EXPORT bool Write (const std::string &filename) const
 Writes the export file to working directory.
virtual TIGL_EXPORT ~CTiglCADExporter ()
 Destructor.

Static Public Member Functions

static TIGL_EXPORT void WritePolys (const CTiglPolyData &polys, const char *filename)
 Exports a polygonal data representation directly.

Private Member Functions

std::string SupportedFileTypeImpl () const override
 must be overridden. If multiple types supported, separate with a ";"
bool WriteImpl (const std::string &filename) const override
 must be overridden by the concrete implementation

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 CCPACSConfigurationGetConfiguration (size_t iShape) const
 Can also be NULL!

Constructor & Destructor Documentation

◆ CTiglExportVtk()

TIGL_EXPORT tigl::CTiglExportVtk::CTiglExportVtk ( const ExporterOptions & opt = DefaultExporterOption())

◆ ~CTiglExportVtk()

virtual TIGL_EXPORT tigl::CTiglExportVtk::~CTiglExportVtk ( )
virtual

Member Function Documentation

◆ GetDefaultOptions()

TIGL_EXPORT ExporterOptions tigl::CTiglExportVtk::GetDefaultOptions ( ) const
overridevirtual

◆ GetDefaultShapeOptions()

TIGL_EXPORT ShapeExportOptions tigl::CTiglExportVtk::GetDefaultShapeOptions ( ) const
overridevirtual

◆ SupportedFileTypeImpl()

std::string tigl::CTiglExportVtk::SupportedFileTypeImpl ( ) const
inlineoverrideprivatevirtual

must be overridden. If multiple types supported, separate with a ";"

Implements tigl::CTiglCADExporter.

◆ WriteImpl()

bool tigl::CTiglExportVtk::WriteImpl ( const std::string & filename) const
overrideprivatevirtual

must be overridden by the concrete implementation

Implements tigl::CTiglCADExporter.

◆ WritePolys()

TIGL_EXPORT void tigl::CTiglExportVtk::WritePolys ( const CTiglPolyData & polys,
const char * filename )
static

Exports a polygonal data representation directly.

◆ writeVTKHeader()

void tigl::CTiglExportVtk::writeVTKHeader ( TixiDocumentHandle & handle)
staticprivate

◆ writeVTKPiece()

void tigl::CTiglExportVtk::writeVTKPiece ( const CTiglPolyObject & co,
TixiDocumentHandle & handle,
unsigned int iObject )
staticprivate

The documentation for this class was generated from the following file: