CAD Exchanger SDK
cadex::Mesh_NetgenBaseWriter Class Reference

Base class for Netgen mesh writers. More...

Inheritance diagram for cadex::Mesh_NetgenBaseWriter:
cadex::Mesh_NetgenAbaqusWriter cadex::Mesh_NetgenFluentWriter cadex::Mesh_NetgenNeutralWriter cadex::Mesh_NetgenOpenFOAMWriter

Public Member Functions

bool WriteFile (const Mesh_NetgenMeshDS &theNetgenMeshDS, const Base_String &theFileName) const
 Writes internal Netgen mesh stored in theNetgenMeshDS to a target file.
 

Protected Member Functions

 Mesh_NetgenBaseWriter (const std::shared_ptr< internal::Mesh_NetgenBaseWriterImpl > &theImpl)
 Constructor. More...
 

Protected Attributes

std::shared_ptr< internal::Mesh_NetgenBaseWriterImpl > myImpl
 Implementation object.
 

Detailed Description

Base class for Netgen mesh writers.

Don't use direcly. Use sub-classes instead.

Can be used as polymorphic type for successors, e.g.:

Mesh_NetgenBaseWriter* p = new Mesh_NetgenFluentWriter;
p->WriteFile (aNetgenMeshDS, aFile); // Fluent writer is called

Constructor & Destructor Documentation

◆ Mesh_NetgenBaseWriter()

cadex::Mesh_NetgenBaseWriter::Mesh_NetgenBaseWriter ( const std::shared_ptr< internal::Mesh_NetgenBaseWriterImpl > &  theImpl)
protected

Constructor.

Used only by successors.