refactor: improve Object property management with duplicate prevention, memory cleanup, and updated VTK interface tests
This commit is contained in:
@@ -36,11 +36,11 @@ int main() {
|
||||
BEGIN_TESTING(vtk ContainerBox Test);
|
||||
|
||||
{
|
||||
ContainerBox box;
|
||||
box.Scale(Vector3f(1_m, 2_m, 1_m));
|
||||
box.SetPosition(Vector3f(0, 0, 0));
|
||||
ContainerBox* box = new ContainerBox();
|
||||
box->Scale(Vector3f(1_m, 2_m, 1_m));
|
||||
box->SetPosition(Vector3f(0, 0, 0));
|
||||
|
||||
Vtk::ContainerBox v_box(&box);
|
||||
Vtk::ContainerBox v_box(box);
|
||||
v_box.Update();
|
||||
|
||||
v_box.SetRepresentation(Vtk::Prop3D::Surface);
|
||||
|
||||
Reference in New Issue
Block a user