refactor: update vtkContainerBox test to use GetWrapped instead of get method
This commit is contained in:
@@ -51,7 +51,7 @@ int main() {
|
|||||||
Vtk::ContainerBox v_box;
|
Vtk::ContainerBox v_box;
|
||||||
v_box.findOrAddSignal(&Object::Updated)->connect([&v_box]() {
|
v_box.findOrAddSignal(&Object::Updated)->connect([&v_box]() {
|
||||||
std::cout << "box updated: "
|
std::cout << "box updated: "
|
||||||
<< v_box.get()->GetWorldPoint(HPoint3f(1, 1, 1)) << std::endl;
|
<< v_box.GetWrapped()->GetWorldPoint(HPoint3f(1, 1, 1)) << std::endl;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (std::getenv("CTEST_PROJECT_NAME") == nullptr) {
|
if (std::getenv("CTEST_PROJECT_NAME") == nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user