Skip to content

Commit 7ed7d3b

Browse files
author
Jose Alonso Solis Lemus
committed
type_selectPoints
1 parent 4282857 commit 7ed7d3b

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

CemrgApp/Plugins/kcl.cemrgapp.fourchamber/src/internal/FourChamberGuidePointsView.cpp

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ bool FourChamberGuidePointsView::CreateVisualisationMesh(QString dir, QString vi
221221
arguments << "-ofmt=vtk_polydata";
222222
QString path = fourch->DockerMeshtoolGeneric(dir, "extract", "surface", arguments, visName);
223223

224-
success = (QFile::exists(path));
224+
success = (QFile::exists(fi.absoluteFilePath()));
225225
} else {
226226
MITK_INFO << "[INFO] Visualisation mesh already exists!";
227227
success = true;
@@ -283,31 +283,6 @@ void FourChamberGuidePointsView::Visualiser(double opacity){
283283
renderer->AddActor(surfActor);
284284
}
285285

286-
// void FourChamberGuidePointsView::LoadMeshes(int stateChange) {
287-
// std::cout << "LoadMeshes: State: " << stateChange << std::endl;
288-
// MITK_INFO << "[INFO] Loading meshes";
289-
// if (!pluginLoaded) return;
290-
291-
// renderer->RemoveAllViewProps();
292-
293-
// if (m_Controls.radio_load_la->isChecked()) {
294-
// MITK_INFO << "[INFO] Loading LA: " << path_to_la.toStdString();
295-
// mitk::Surface::Pointer shell = mitk::IOUtil::Load<mitk::Surface>(path_to_la.toStdString());
296-
// if (shell.IsNotNull()) {
297-
// surface = shell;
298-
// Visualiser(alpha); // Adjust opacity as needed
299-
// }
300-
// }
301-
302-
// if (m_Controls.radio_load_ra->isChecked()) {
303-
// MITK_INFO << "[INFO] Loading RA: " << path_to_ra.toStdString();
304-
// mitk::Surface::Pointer shell = mitk::IOUtil::Load<mitk::Surface>(path_to_ra.toStdString());
305-
// if (shell.IsNotNull()) {
306-
// surface = shell;
307-
// Visualiser(alpha); // Adjust opacity as needed
308-
// }
309-
// }
310-
// }
311286
void FourChamberGuidePointsView::SphereSourceVisualiser(vtkSmartPointer<vtkPolyData> pointSources, QString colour, double scaleFactor){
312287
MITK_INFO << "[INFO] Sphere source visualiser";
313288
// e.g colour = "0.4,0.1,0.0" - values for r,g, and b separated by commas.

0 commit comments

Comments
 (0)