4 class OCCViewer_ViewManager;
5 class OCCViewer_Viewer;
6 class OCCViewer_ViewWindow;
14 static OCCViewer_ViewManager* viewManager();
15 static OCCViewer_Viewer* viewer();
16 static OCCViewer_ViewWindow* viewWindow();
18 static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const QColor& theColor );
19 static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, char* theKey );
20 static bool AssertImages( QString& theMessage );
23 static OCCViewer_ViewManager* myViewManager;
24 static OCCViewer_ViewWindow* myViewWindow;
28 #define CPPUNIT_ASSERT_IMAGES \
31 if( !TestViewer::AssertImages( aMessage ) ) \
33 std::string aMessageStl = aMessage.toStdString(); \
34 CPPUNIT_FAIL( aMessageStl.c_str() ); \