1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Adding new testing cases for chl grid

Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
This commit is contained in:
apn
2012-12-14 16:56:11 +04:00
parent fa350ff051
commit f1aa2b6272
162 changed files with 3538 additions and 770 deletions

View File

@@ -851,7 +851,7 @@ static int V2dSetHighlightMode (Draw_Interpretor& di, Standard_Integer argc, con
return 0;
}
#ifndef WNT
//#ifndef WNT
//==============================================================================
//function : QAAISGetPixelColor2d
//purpose : QAAISGetPixelColor2d coord_X coord_Y Red Green Blue
@@ -935,7 +935,7 @@ static int QAAISGetPixelColor2d (Draw_Interpretor& di, Standard_Integer argc, co
}
return 0;
}
#endif // !WNT
//#endif // !WNT
//==============================================================================
//function : QAMoveTo2d
@@ -2240,11 +2240,11 @@ void QADraw::CommonCommands(Draw_Interpretor& theCommands)
theCommands.Add("QAGetViewCharac", "QAGetViewCharac", __FILE__,QAAISGetViewCharac, group);
theCommands.Add("QASetViewCharac", "QASetViewCharac scale center_X center_Y proj_X proj_Y proj_Z up_X up_Y up_Z at_X at_Y at_Z", __FILE__,QAAISSetViewCharac, group);
theCommands.Add("QAGetColorCoord", "QAGetColorCoord [3d|2d]", __FILE__,QAAISGetColorCoord, group);
#ifndef WNT
//#ifndef WNT
theCommands.Add("QAAISGetPixelColor2d",
"QAAISGetPixelColor2d coord_X coord_Y [Red Green Blue] : Check a color of pixel",
__FILE__, QAAISGetPixelColor2d, group);
#endif
//#endif
theCommands.Add("v2dgetgrid",
"v2dgetgrid coord_X coord_Y [grid_X grid_Y] : Get/print coordinates of a grid point near to (coord_X, coord_Y)",