add vtk geant solid and scene

This commit is contained in:
AndreaRigoni
2026-03-25 18:47:52 +00:00
parent 7d4acaef6d
commit 6a65fe94c8
15 changed files with 523 additions and 26 deletions

View File

@@ -84,6 +84,13 @@ Viewer::Viewer()
}
Viewer::~Viewer() {
this->DisableHandler();
if (this->GetRenderWindow()) {
this->GetRenderWindow()->RemoveAllObservers();
}
if (this->GetInteractor()) {
this->GetInteractor()->RemoveAllObservers();
}
UninstallPipe();
delete d;
}
@@ -111,9 +118,6 @@ void Viewer::InstallPipe() {
}
void Viewer::UninstallPipe() {
if (GetRenderer()) {
GetRenderer()->RemoveAllViewProps();
}
}
void Viewer::Render() {