30 std::cout <<
"Create a mesh and try to get the itkMesh";
32 itkdata = mesh->GetMesh();
35 std::cout <<
"[FAILED]" << std::endl;
40 std::cout <<
"Is the mesh empty?";
41 if (mesh->GetSize() != 0)
43 std::cout <<
"[FAILED]" << std::endl;
52 mesh->ExecuteOperation(doOp);
55 if ((mesh->GetSize() != 1) || (!mesh->IndexExists(position)))
57 std::cout <<
"[FAILED]" << std::endl;
63 std::cout <<
"Create an operation and add a point. Then try to get that point.";
66 tempPoint = mesh->GetPoint(position);
67 if (tempPoint != point)
69 std::cout <<
"[FAILED]" << std::endl;
74 std::cout <<
"[PASSED]" << std::endl;
76 std::cout <<
"[TEST DONE]" << std::endl;
itk::SmartPointer< Self > Pointer
Constants for most interaction classes, due to the generic StateMachines.
Operation that handles all actions on one Point.
int mitkMeshTest(int, char *[])