refactor: rename Vtk classes by removing the vtk prefix to follow project naming conventions

This commit is contained in:
AndreaRigoni
2026-04-08 15:14:55 +00:00
parent 8a01ee7f40
commit 77f00a2b8a
66 changed files with 494 additions and 477 deletions

View File

@@ -41,7 +41,7 @@
#include <vtkSmartPointer.h>
#include <vtkTransform.h>
#include "Math/vtkDense.h"
#include "Vtk/Math/vtkDense.h"
namespace uLib {
@@ -65,23 +65,23 @@ struct ContainerBoxData {
vtkContainerBox::vtkContainerBox(vtkContainerBox::Content *content)
ContainerBox::ContainerBox(ContainerBox::Content *content)
: d(new ContainerBoxData()), m_Content(content) {
this->InstallPipe();
d->m_UpdateSignal = Object::connect(m_Content, &uLib::Object::Updated, this, &vtkContainerBox::Update);
d->m_UpdateSignal = Object::connect(m_Content, &uLib::Object::Updated, this, &ContainerBox::Update);
}
vtkContainerBox::~vtkContainerBox() {
ContainerBox::~ContainerBox() {
delete d;
}
vtkPolyData *vtkContainerBox::GetPolyData() const {
vtkPolyData *ContainerBox::GetPolyData() const {
// TODO
return NULL;
}
void vtkContainerBox::Update() {
void ContainerBox::Update() {
RecursiveMutex::ScopedLock lock(this->m_UpdateMutex);
if (!m_Content) return;
@@ -102,7 +102,7 @@ void vtkContainerBox::Update() {
void vtkContainerBox::SyncFromVtk() {
void ContainerBox::SyncFromVtk() {
RecursiveMutex::ScopedLock lock(this->m_UpdateMutex);
if (!m_Content) return;
@@ -125,7 +125,7 @@ void vtkContainerBox::SyncFromVtk() {
void vtkContainerBox::InstallPipe() {
void ContainerBox::InstallPipe() {
if (!m_Content)
return;
Content *c = m_Content;