static OCCViewer_ViewWindow* viewWindow();
static void show( const Handle_AIS_InteractiveObject& theObject,
- int theMode, int theSelelctionMode, bool isFitAll, const char* theKey );
+ int theMode, int theSelectionMode, bool isFitAll, const char* theKey );
static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const QColor& theColor );
static void show( const TopoDS_Shape& theShape, int theMode, bool isFitAll, const char* theKey );
static bool AssertImages( QString& theMessage );
CPPUNIT_ASSERT_EQUAL( true, LCM->Split( Polyline_9 ) );
- TestViewer::show( LCM->GetShape(), AIS_Shaded, true, "LCM_split_2a" );
+ Handle(HYDROGUI_LandCoverMapPrs) aPrs1 = new HYDROGUI_LandCoverMapPrs( LCM );
+ TestViewer::show( aPrs1, AIS_Shaded, 0, true, "LCM_split_2a" );
CPPUNIT_ASSERT_IMAGES
CPPUNIT_ASSERT_EQUAL( true, LCM->Split( Polyline_8 ) );
- TestViewer::show( LCM->GetShape(), AIS_Shaded, true, "LCM_split_2b" );
+ Handle(HYDROGUI_LandCoverMapPrs) aPrs2 = new HYDROGUI_LandCoverMapPrs( LCM );
+ TestViewer::show( aPrs2, AIS_Shaded, 0, true, "LCM_split_2b" );
CPPUNIT_ASSERT_IMAGES
aDoc->Close();