2.3.1. sw2DMConverter

Defined in swCore/swCore.h

Doxygen documentation: sw2DMConverter

class sw2DMConverter

The sw2DMConverter class convert the vtk grid to 2 dimensions (dm) grid.

Public Functions


Construct an empty grip and mesh.



void setFilename(const QString &file_name)

set the 2dm file name

void setPolyData(vtkPolyData *mesh)

set the gird

void setMesh(swMesh *mesh)

set the mesh

void setOutputFilename(const QString &file_name)

set output file nale

bool run(void)

Convert the vtk grid to the 2dm grid.

Private Members

class sw2DMConverterPrivate *d