28 #include <QFileDialog> 41 m_mesh(mesh), m_parent(parent), m_treeWidget(treeWidget), m_renderWindow(window)
45 m_dialog =
new RemoveArtifactsDialog;
52 dialog->activateWindow();
69 QSpinBox* removeDanglingArtifacts_box =
m_dialog->spinBox_rda;
70 int removeDanglingArtifacts = removeDanglingArtifacts_box->value();
80 vtkSmartPointer<vtkRenderer> renderer =
m_renderWindow->GetRenderers()->GetFirstRenderer();
81 bridge->addActors(renderer);
QTreeWidget * m_treeWidget
void removeDanglingCluster(BaseMesh< BaseVecT > &mesh, size_t sizeThreshold)
LVRRemoveArtifactsDialog(LVRMeshItem *mesh, LVRModelItem *parent, QTreeWidget *treeWidget, vtkRenderWindow *renderer)
LVRModelItem * m_optimizedModel
virtual ~LVRRemoveArtifactsDialog()
MeshBufferPtr apply(const BaseMesh< BaseVecT > &mesh)
Main class for conversion of LVR model instances to vtk actors. This class parses the internal model ...
boost::shared_ptr< LVRModelBridge > ModelBridgePtr
void connectSignalsAndSlots()
RemoveArtifactsDialog * m_dialog
Half-edge data structure implementing the BaseMesh interface.
vtkRenderWindow * m_renderWindow
std::shared_ptr< Model > ModelPtr
MeshBufferPtr getMeshBuffer()