26 std::cout <<
"Create a mesh and try to get the itkMesh";
27 mitk::Mesh::DataType::Pointer itkdata =
nullptr;
28 itkdata = mesh->GetMesh();
31 std::cout <<
"[FAILED]" << std::endl;
36 std::cout <<
"Is the mesh empty?";
37 if (mesh->GetSize() != 0)
39 std::cout <<
"[FAILED]" << std::endl;
48 mesh->ExecuteOperation(doOp);
51 if ((mesh->GetSize() != 1) || (!mesh->IndexExists(position)))
53 std::cout <<
"[FAILED]" << std::endl;
59 std::cout <<
"Create an operation and add a point. Then try to get that point.";
62 tempPoint = mesh->GetPoint(position);
63 if (tempPoint != point)
65 std::cout <<
"[FAILED]" << std::endl;
70 std::cout <<
"[PASSED]" << std::endl;
72 std::cout <<
"[TEST DONE]" << std::endl;
Constants for most interaction classes, due to the generic StateMachines.
Operation that handles all actions on one Point.
int mitkMeshTest(int, char *[])