3.3.0
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, the function returns false. More...
 
TIGL_EXPORT void AddFusedConfiguration (CCPACSConfiguration &config, const ShapeExportOptions &options=DefaultShapeExportOptions())
 Adds a whole geometry, boolean fused and meshed. More...
 
TIGL_EXPORT void AddShape (PNamedShape shape, const ShapeExportOptions &options=DefaultShapeExportOptions())
 Adds a shape. More...
 
TIGL_EXPORT void AddShape (PNamedShape shape, const CCPACSConfiguration *config, const ShapeExportOptions &options=DefaultShapeExportOptions())
 
TIGL_EXPORT CTiglCADExporter (const ExporterOptions &options=DefaultExporterOption())
 Constructor. More...
 
TIGL_EXPORT const ShapeExportOptionsGetOptions (size_t iShape) const
 
TIGL_EXPORT PNamedShape GetShape (size_t iShape) const
 Returns all shapes added to the exporter. More...
 
TIGL_EXPORT const ExporterOptionsGlobalExportOptions () const
 
TIGL_EXPORT size_t NShapes () const
 Number of shapes. More...
 
TIGL_EXPORT std::string SupportedFileType () const
 
TIGL_EXPORT bool Write (const std::string &filename) const
 
virtual TIGL_EXPORT ~CTiglCADExporter ()
 

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

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()

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

Exports a polygonal data representation directly.

◆ writeVTKHeader()

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

◆ writeVTKPiece()

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

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