- TestViewer::show( aNewPolylinePrs, AIS_PointCloud::DM_Points, 0, true, "" );
+ //TestViewer::show( aNewPolylinePrs, AIS_PointCloud::DM_Points, 0, true, "" );
+ aNewPolylinePrs->setBorderColor( Qt::blue );
+ aNewPolylinePrs->display();
+ TestViewer::fitAll();
+ CPPUNIT_ASSERT_IMAGES
+
+
+ // Check polyline presentation with triangle arrow
+ arr->SetType( HYDROGUI_Arrow::Triangle );
+ TestViewer::eraseAll(true);
+ TestViewer::show( aPointsPrs, AIS_PointCloud::DM_Points, 0, true, "Polyline_Presentation_triangle" );
+ TestViewer::show( aPolyline2d->GetShape(), 0, true, Qt::red );
+ //TestViewer::show( aNewPolylinePrs, AIS_PointCloud::DM_Points, 0, true, "" );
+ TestViewer::context()->RecomputePrsOnly( arr );
+ aNewPolylinePrs->display();
+ TestViewer::fitAll();