22 #include "vtkUnstructuredGrid.h"
37 "Requested region verification after initialization!");
43 "Requested region verification after initialization of clone!");
47 testObject->SetVtkUnstructuredGrid(grid);
52 mitk::UnstructuredGrid::RegionType::SizeType size;
55 mitk::UnstructuredGrid::RegionType::IndexType index;
58 ugRegion->SetSize(size);
59 ugRegion->SetIndex(index);
60 testObject->SetRequestedRegion(ugRegion);
61 testObject->UpdateOutputInformation();
63 "Testing Set/Get of Requested Region by RegionType1!");
65 "Testing Set/Get of Requested Region by RegionType2!");
70 copyObject->CopyInformation(testObject);
71 copyObject->SetRequestedRegion(testObject);
73 "Testing generation of copy object");
75 "Testing SetRequestedRegion by DataObject1");
77 "Testing SetRequestedRegion by DataObject2");
79 cloneObject = testObject->Clone();
81 "Testing region cloning!");
83 "Testing Get/Set-VtkUnstructuredGrid cloning");
85 "Testing Set/Get of Requested Region by RegionType1 in clone!");
87 "Testing Set/Get of Requested Region by RegionType2 in clone!");
92 testObject->SetRequestedRegionToLargestPossibleRegion();
94 testObject->GetRequestedRegion().GetSize() == testObject->GetLargestPossibleRegion().GetSize(),
95 "Testing Set/Get LargestPossibleRegion!");
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
int mitkUnstructuredGridTest(int, char *[])
itk::ImageRegion< 5 > RegionType
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.