vtk camera position widget on viewer
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////*/
|
||||
|
||||
|
||||
|
||||
#include "Vtk/uLibVtkViewer.h"
|
||||
|
||||
#include "Math/ContainerBox.h"
|
||||
@@ -35,19 +33,18 @@
|
||||
using namespace uLib;
|
||||
|
||||
int main() {
|
||||
BEGIN_TESTING(vtk ContainerBox Test);
|
||||
BEGIN_TESTING(vtk ContainerBox Test);
|
||||
|
||||
ContainerBox box;
|
||||
box.SetSize(Vector3f(2, 3, 4));
|
||||
box.SetPosition(Vector3f(1, 2, 3));
|
||||
Vtk::vtkContainerBox v_box(&box);
|
||||
|
||||
if (std::getenv("CTEST_PROJECT_NAME") == nullptr) {
|
||||
Vtk::Viewer v_viewer;
|
||||
|
||||
ContainerBox box;
|
||||
box.SetSize(Vector3f(2,3,4));
|
||||
box.SetPosition(Vector3f(1,2,3));
|
||||
|
||||
Vtk::vtkContainerBox v_box(box);
|
||||
|
||||
v_viewer.AddPuppet(v_box);
|
||||
v_viewer.Start();
|
||||
}
|
||||
|
||||
|
||||
END_TESTING;
|
||||
END_TESTING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user