4 class OCCViewer_ViewManager;
5 class OCCViewer_Viewer;
6 class OCCViewer_ViewWindow;
10 class Handle_AIS_InteractiveObject;
15 static OCCViewer_ViewManager* viewManager();
16 static OCCViewer_Viewer* viewer();
17 static OCCViewer_ViewWindow* viewWindow();
19 static void show( const Handle_AIS_InteractiveObject& theObject,
20 int theMode, int theSelelctionMode, bool isFitAll );
21 static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const QColor& theColor );
22 static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const char* theKey );
23 static bool AssertImages( QString& theMessage );
26 static OCCViewer_ViewManager* myViewManager;
27 static OCCViewer_ViewWindow* myViewWindow;
31 #define CPPUNIT_ASSERT_IMAGES \
34 if( !TestViewer::AssertImages( aMessage ) ) \
36 std::string aMessageStl = aMessage.toStdString(); \
37 CPPUNIT_FAIL( aMessageStl.c_str() ); \