Non-modal dialog to mesh a shape. More...
#include <Tessellation.h>
Classes | |
class | Private |
Signals | |
void | processed () |
Public Member Functions | |
Mesh2ShapeGmsh (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
void | process (App::Document *doc, const std::list< App::SubObjectT > &) |
~Mesh2ShapeGmsh () | |
Public Member Functions inherited from MeshGui::GmshWidget | |
void | accept () |
GmshWidget (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
void | reject () |
~GmshWidget () | |
Protected Member Functions | |
virtual bool | loadOutput () |
virtual bool | writeProject (QString &inpFile, QString &outFile) |
Protected Member Functions inherited from MeshGui::GmshWidget | |
void | changeEvent (QEvent *e) |
double | getAngle () const |
double | getMaxSize () const |
double | getMinSize () const |
virtual bool | loadOutput () |
int | meshingAlgorithm () const |
virtual bool | writeProject (QString &inpFile, QString &outFile) |
Non-modal dialog to mesh a shape.
Mesh2ShapeGmsh::Mesh2ShapeGmsh | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
References App::Application::getTempFileName().
Mesh2ShapeGmsh::~Mesh2ShapeGmsh | ( | ) |
|
protectedvirtual |
Reimplemented from MeshGui::GmshWidget.
References MeshGui::GmshWidget::accept(), Base::FileInfo::deleteFile(), Mesh::MeshObject::getKernel(), Mesh::MeshObject::harmonizeNormals(), App::DocumentObject::Label, Mesh::Feature::Mesh, App::PropertyString::setValue(), and Mesh::PropertyMeshKernel::setValue().
void Mesh2ShapeGmsh::process | ( | App::Document * | doc, |
const std::list< App::SubObjectT > & | objs | ||
) |
References MeshGui::GmshWidget::accept().
|
signal |
Referenced by writeProject().
|
protectedvirtual |
Reimplemented from MeshGui::GmshWidget.
References MeshGui::GmshWidget::getMaxSize(), MeshGui::GmshWidget::getMinSize(), App::DocumentObjectT::getObject(), App::PropertyString::getStrValue(), App::SubObjectT::getSubName(), Part::Feature::getTopoShape(), App::DocumentObject::Label, MeshGui::GmshWidget::meshingAlgorithm(), and processed().