Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::SimpleSVGMeshExporter Class Reference

Exporting an SVG mesh. More...

#include <arcane/core/SimpleSVGMeshExporter.h>

Collaboration diagram for Arcane::SimpleSVGMeshExporter:

Classes

class  Impl

Public Member Functions

 SimpleSVGMeshExporter (std::ostream &ofile)
 Create an instance associated with the ofile stream.
 SimpleSVGMeshExporter (const SimpleSVGMeshExporter &rhs)=delete
SimpleSVGMeshExporteroperator= (const SimpleSVGMeshExporter &rhs)=delete
void write (const CellGroup &cells)
 Exports the entities of the cells group.

Private Attributes

Implm_p

Detailed Description

Exporting an SVG mesh.

This class only works for 2D meshes. Only the x and y components are considered. After creating an instance, it is possible to call the writeGroup() method to export the entities associated with the cell group (nodes, faces, and cells).

Definition at line 38 of file SimpleSVGMeshExporter.h.

Constructor & Destructor Documentation

◆ SimpleSVGMeshExporter()

Arcane::SimpleSVGMeshExporter::SimpleSVGMeshExporter ( std::ostream & ofile)

Create an instance associated with the ofile stream.

The ofile stream must remain valid throughout the lifetime of the instance.

Definition at line 234 of file SimpleSVGMeshExporter.cc.

◆ ~SimpleSVGMeshExporter()

Arcane::SimpleSVGMeshExporter::~SimpleSVGMeshExporter ( )

Definition at line 243 of file SimpleSVGMeshExporter.cc.

Member Function Documentation

◆ write()

void Arcane::SimpleSVGMeshExporter::write ( const CellGroup & cells)

Exports the entities of the cells group.

Currently, it is not possible to call this method multiple times.

Definition at line 252 of file SimpleSVGMeshExporter.cc.

Referenced by Arcane::CartesianMeshCoarsening::createCoarseCells().

Here is the caller graph for this function:

Member Data Documentation

◆ m_p

Impl* Arcane::SimpleSVGMeshExporter::m_p
private

Definition at line 63 of file SimpleSVGMeshExporter.h.


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