mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-26 02:35:36 +05:00
0023055: EDF 10725 GEOM: In the shape recognition functionality, it is not possible to select an area for the filtering sample
Fix pb that imported image is Y-mirrored in a viewer
This commit is contained in:
parent
bcf1da3d82
commit
38f47f419d
@ -188,9 +188,9 @@ bool EntityGUI_PictureImportDlg::execute( ObjectList& objects )
|
|||||||
delete pixmap;
|
delete pixmap;
|
||||||
|
|
||||||
GEOM::GEOM_Object_var P1 = aBasicOperations->MakePointXYZ( -0.5*width, -0.5*height, 0 );
|
GEOM::GEOM_Object_var P1 = aBasicOperations->MakePointXYZ( -0.5*width, -0.5*height, 0 );
|
||||||
GEOM::GEOM_Object_var P2 = aBasicOperations->MakePointXYZ( -0.5*width, 0.5*height, 0 );
|
GEOM::GEOM_Object_var P2 = aBasicOperations->MakePointXYZ( 0.5*width, -0.5*height, 0 );
|
||||||
GEOM::GEOM_Object_var P3 = aBasicOperations->MakePointXYZ( 0.5*width, 0.5*height, 0 );
|
GEOM::GEOM_Object_var P3 = aBasicOperations->MakePointXYZ( 0.5*width, 0.5*height, 0 );
|
||||||
GEOM::GEOM_Object_var P4 = aBasicOperations->MakePointXYZ( 0.5*width, -0.5*height, 0 );
|
GEOM::GEOM_Object_var P4 = aBasicOperations->MakePointXYZ( -0.5*width, 0.5*height, 0 );
|
||||||
|
|
||||||
GEOM::GEOM_Object_var aFace = aBlocksOperations->MakeQuad4Vertices(P1,P2,P3,P4);
|
GEOM::GEOM_Object_var aFace = aBlocksOperations->MakeQuad4Vertices(P1,P2,P3,P4);
|
||||||
getDisplayer()->SetDisplayMode(3);
|
getDisplayer()->SetDisplayMode(3);
|
||||||
|
Loading…
Reference in New Issue
Block a user