# Conflicts:
# src/HYDRO_tests/CMakeLists.txt
# src/HYDRO_tests/reference_data/CMakeLists.txt
test_Dependencies.h
test_HYDROData_DTM.h
+ test_GraphicsView.h
+ test_Overview.h
TestShape.h
TestViewer.h
test_HYDROData_Stream.cxx
test_Dependencies.cxx
test_HYDROData_Tool.cxx
+ test_GraphicsView.cxx
+ test_Overview.cxx
+ test_HYDROGUI_BathymetryPrs.cxx
TestShape.cxx
TestViewer.cxx
if( theImage )
anActualImage = *theImage;
else
- anActualImage = viewWindow()->dumpView();
+ anActualImage = viewWindow()->getView(OCCViewer_ViewFrame::MAIN_VIEW)->dumpView();
+ const bool SWAP_RGB_ORDER = true;
+ if( SWAP_RGB_ORDER )
+ {
+ // A temporary patch for bug in SALOME/OCC dump; the result image contains swapped RGB colors
+ anActualImage = anActualImage.rgbSwapped();
+ }
+
+
if( theCase )
myKey = theCase;
int theLinesToOmit,
QString& theMsg );
+ static void setKey( const QString& );
+
private:
static OCCViewer_ViewManager* myViewManager;
- static OCCViewer_ViewWindow* myViewWindow;
+ static OCCViewer_ViewFrame* myViewWindow;
static QString myKey;
};
pb_1066.cbf
f_cmp.brep
rebuild_cmp_out.png
+ garonne.png
+ gv_fitall.png
+ gv_zoomed_1.png
+ gv_zoomed_2.png
+ bathy.xyz
+ bathy_prs.png
+ bathy_selection.png
+ bathy_rescaled_selection.png
+ test_zone.brep
+ overview_empty.png
+ overview_prs.png
+ overview_selection.png
+ overview_zoomed_1.png
+ overview_zoomed_2.png
+ overview_panned_1.png
+ overview_rotated_1.png
+ bathy_rescaled_user.png
+ bathy_rescaled_visible.png
+ bathy_text_labels.png
+ bathy_prs_fit_selected.png
)
# Application tests