17 #include "itkLightObject.h"
50 "01 Check Existence of Dispatcher.");
53 renderer->SetDataStorage(ds);
56 int num = renderer->GetDispatcher()->GetNumberOfInteractors();
63 num = renderer->GetDispatcher()->GetNumberOfInteractors();
71 num = renderer->GetDispatcher()->GetNumberOfInteractors();
78 num = renderer->GetDispatcher()->GetNumberOfInteractors();
85 num = renderer->GetDispatcher()->GetNumberOfInteractors();
91 ei2->SetDataNode(dn2);
92 num = renderer->GetDispatcher()->GetNumberOfInteractors();
96 ei2->SetDataNode(NULL);
97 num = renderer->GetDispatcher()->GetNumberOfInteractors();
102 ei2->SetDataNode(dn);
104 num = renderer->GetDispatcher()->GetNumberOfInteractors();
109 num = renderer->GetDispatcher()->GetNumberOfInteractors();
115 "10 Number of references of DataNode " << num <<
" , expected 1");
118 "11 Number of references of Interactors " << num <<
" , expected 1");
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
static RenderingManager * GetInstance()
static Pointer New(const char *_arga, vtkRenderWindow *_argb, mitk::RenderingManager *_argc)
int mitkDispatcherTest(int, char *[])
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.