View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025338 | Open CASCADE | OCCT:Samples | public | 2014-10-08 12:10 | 2016-08-02 14:45 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.7.1 | ||||
Target Version | 7.0.0 | Fixed in Version | 7.0.0 | ||
Summary | 0025338: MFC standard samples: 3D selection rectangle blinking. | ||||
Description | Selection rectangle drawn blinks in samples with 3D view. | ||||
Steps To Reproduce | Not required | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
related to | 0025789 | closed | bugmaster | Open CASCADE | Visualization - get rid of obsolete 2d layers implementation |
parent of | 0027039 | closed | bugmaster | Open CASCADE | Draw Harness, ViewerTest - Fix rubber-band blinking |
related to | 0025284 | closed | bugmaster | Open CASCADE | Problems with standard MFC samples |
related to | 0027736 | closed | bugmaster | Open CASCADE | Samples - rectangle selection issues within MFC sample Viewer3d |
child of | 0025508 | closed | bugmaster | Open CASCADE | Visualization - redesign of 2d layers in TKV3d |
|
Branch CR25338 has been created by aba. SHA-1: 97cf3ed58710e121227165a0aa9074d0fe1ed392 Detailed log of new commits: Author: aba Date: Thu Nov 19 18:35:20 2015 +0300 0025338: MFC standard samples: 3D selection rectangle blinking - Added new interactive object OCC_RubberRect to draw selection rectangle |
|
Branch CR25338 has been updated forcibly by aba. SHA-1: b630588d5f201b2ac34853369d2c7964d1d720ec |
|
Just preliminary considerations:+class OCC_RubberRect : public AIS_InteractiveObject this object might be reusable, so it is better to place it in AIS package (e.g. AIS_RubberBand). + Standard_Real myMinX; + Standard_Real myMinY; + Standard_Real myMaxX; + Standard_Real myMaxY; please unify implementation for both use cases - polygonal and rectangular selection using NCollection_Sequence<Graphic3d_Vec2i>. The should be a method defining rectangle and additional methods adding / removing last point and accessing entire array. +Quantity_NameOfColor OCC_RubberRect::Color() const it does not look reasonable defining a method returned color name instead of color itself. + myDrawer->SetLineAspect (new Prs3d_LineAspect (theColor, theType, theWidth)); it is better to declare face aspect as well for filled rubber band. Thus methods should be corrected (LineColor(), FillColor(), LineType(), FillTransparency()). 1.0 transparency would mean no filling. |
|
Branch CR25338 has been updated forcibly by aba. SHA-1: 3bec781f0bd167b25d317420785146e246d0e1b7 |
|
Branch CR25338 has been updated by aba. SHA-1: f4995053c249f35dd3f9d67a4ef02e034b3e62d4 Detailed log of new commits: Author: aba Date: Thu Dec 17 19:35:46 2015 +0300 Remarks |
|
Branch CR25338_2 has been created by aba. SHA-1: fcbdc868c5238a52d3d70db59fb8b2ac40b57074 Detailed log of new commits: Author: aba Date: Fri Dec 18 10:17:18 2015 +0300 0025338: MFC standard samples: 3D selection rectangle blinking - Added new interactive object AIS_RubberBand to draw rubber rectangle or polygon - Added using of AIS_RubberBand in DRAW view for rectangular selection - Added using of AIS_RubberBand in MFC samples for rectangular selection |
|
Branch CR25338 has been updated forcibly by aba. SHA-1: f6192d97b4d6584f76099f937079139308514ceb |
|
Branch CR25338_2 has been updated forcibly by aba. SHA-1: abd748991b7edd3bbeda498ed008c45c5790844a |
|
Branch CR25338_2 has been updated forcibly by aba. SHA-1: ab1a67770611aead32c2c83ba0f16174e1afb347 |
|
Dear kgv, could you please review the branch CR25338_2? |
|
Branch CR25338_2 has been updated forcibly by aba. SHA-1: 0f339268198b7a29c19eda61e7186a082b8e1673 |
|
Branch CR25338_2 has been updated forcibly by aba. SHA-1: 0290af987dc5b60ffda9165140bb08801fc71b10 |
|
Branch CR25338_2 has been updated forcibly by aba. SHA-1: 6e47b2b3020d24a3bf88985326fd1ff5b5ceca09 |
|
Please test the patch, and Draw Harness + modified samples interactively. |
|
Branch CR25338_2 has been updated forcibly by apv. SHA-1: 6a9b343600727565d1e9b50c6dc607baa3771935 |
|
Branch CR25338_2 has been rebased on the current master |
|
Dear BugMaster, Branch CR25338_2 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 6a9b343600727565d1e9b50c6dc607baa3771935 Number of compiler warnings: occt component: Linux: 0 (0 on master) Windows: 0 (0 on master) MacOS: 134 (134 on master) products component: Linux: 37 (37 on master) Windows: 0 (0 on master) Regressions/Differences: http://occt-tests/CR25338-2-master-occt-64/Windows-64-VC10/summary.html bugs modalg_5 bug23952_1, bug23952_2 Testing on Linux: Total MEMORY difference: 89782861 / 89711172 [+0.08%] Total CPU difference: 19317.939999999984 / 19353.450000000063 [-0.18%] Testing on Windows: Total MEMORY difference: 54641052 / 54644507 [-0.01%] Total CPU difference: 17679.172127298945 / 18196.90824609882 [-2.85%] |
|
Dear aba, Branch CR25338_2 has been rejected due to: - regressions/differences/improvements |
|
Dear bugmaster, > Regressions/Differences: > bugs modalg_5 bug23952_1, bug23952_2 it doesn't look like the patch might affect these test cases in anyway. Could you please re-check the problem on current master? |
|
Dear BugMaster, Branch CR25338_2 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 6a9b343600727565d1e9b50c6dc607baa3771935 Number of compiler warnings: occt component: Linux: 0 (0 on master) Windows: 0 (0 on master) MacOS: 134 (134 on master) products component: Linux: 37 (37 on master) Windows: 0 (0 on master) Regressions/Differences: Not detected Testing cases: Not needed Testing on Linux: Total MEMORY difference: 89782861 / 89711172 [+0.08%] Total CPU difference: 19317.939999999984 / 19353.450000000063 [-0.18%] Testing on Windows: Total MEMORY difference: 54641052 / 54644507 [-0.01%] Total CPU difference: 17679.172127298945 / 18196.90824609882 [-2.85%] |
|
Dear aba, Branch CR25338_2 has been rejected due to: - problem with rectangular selection in samples |
|
Dear apv,- problem with rectangular selection in samples if testing has been performed using RDP as discussed with Anastasia - then this is not proper way for testing visualization functionality. Please retest samples locally. |
|
Samples have been tested locally. Problem with rectangular selection has not been detected. Current issue is tested. |
|
Branch CR25338 has been deleted by kgv. SHA-1: f6192d97b4d6584f76099f937079139308514ceb |
|
Branch CR25338_2 has been deleted by kgv. SHA-1: 6a9b343600727565d1e9b50c6dc607baa3771935 |
occt: master b12e1c7b 2015-12-18 07:17:18
Committer: bugmaster Details Diff |
0025338: MFC standard samples: 3D selection rectangle blinking - Added new interactive object AIS_RubberBand to draw rubber rectangle or polygon - Added using of AIS_RubberBand in DRAW view for rectangular selection - Added using of AIS_RubberBand in MFC samples for rectangular selection |
Affected Issues 0025338 |
|
mod - samples/mfc/standard/01_Geometry/src/GeometryView2D.cpp | Diff File | ||
mod - samples/mfc/standard/Common/OCC_2dView.cpp | Diff File | ||
mod - samples/mfc/standard/Common/OCC_2dView.h | Diff File | ||
mod - samples/mfc/standard/Common/OCC_3dView.cpp | Diff File | ||
mod - samples/mfc/standard/Common/OCC_3dView.h | Diff File | ||
mod - samples/mfc/standard/Common/OCC_BaseDoc.h | Diff File | ||
mod - samples/mfc/standard/Common/OCC_BaseView.cpp | Diff File | ||
mod - samples/mfc/standard/Common/OCC_BaseView.h | Diff File | ||
add - src/AIS/AIS_RubberBand.cxx | Diff File | ||
add - src/AIS/AIS_RubberBand.hxx | Diff File | ||
mod - src/AIS/FILES | Diff File | ||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-08 12:10 |
|
New Issue | |
2014-10-08 12:10 |
|
Assigned To | => aba |
2014-10-08 12:11 |
|
Status | new => assigned |
2014-10-08 12:11 |
|
Relationship added | related to 0025284 |
2014-10-09 14:39 | kgv | Target Version | 6.8.0 => 7.1.0 |
2015-11-10 10:32 | kgv | Relationship added | related to 0025789 |
2015-11-10 10:32 | kgv | Relationship added | child of 0025508 |
2015-11-19 18:37 | git | Note Added: 0048389 | |
2015-11-19 18:44 | git | Note Added: 0048390 | |
2015-11-19 21:10 | kgv | Note Added: 0048397 | |
2015-11-19 21:10 | kgv | Note Edited: 0048397 | |
2015-11-24 15:10 | git | Note Added: 0048517 | |
2015-12-17 19:36 | git | Note Added: 0049254 | |
2015-12-18 10:18 | git | Note Added: 0049257 | |
2015-12-18 10:19 | git | Note Added: 0049258 | |
2015-12-18 10:58 | git | Note Added: 0049261 | |
2015-12-18 11:36 | git | Note Added: 0049265 | |
2015-12-18 11:37 |
|
Note Added: 0049266 | |
2015-12-18 11:37 |
|
Assigned To | aba => kgv |
2015-12-18 11:37 |
|
Status | assigned => resolved |
2015-12-18 11:37 |
|
Steps to Reproduce Updated | |
2015-12-18 12:00 | git | Note Added: 0049272 | |
2015-12-18 12:04 | git | Note Added: 0049273 | |
2015-12-18 12:06 | git | Note Added: 0049275 | |
2015-12-18 12:08 | kgv | Note Added: 0049276 | |
2015-12-18 12:08 | kgv | Status | resolved => reviewed |
2015-12-18 12:08 | kgv | Target Version | 7.1.0 => 7.0.0 |
2015-12-18 12:08 | kgv | Assigned To | kgv => bugmaster |
2015-12-18 16:01 |
|
Assigned To | bugmaster => apv |
2015-12-18 16:13 | git | Note Added: 0049308 | |
2015-12-18 16:14 |
|
Note Added: 0049309 | |
2015-12-21 11:54 |
|
Test case number | => Not needed |
2015-12-21 11:56 |
|
Note Added: 0049347 | |
2015-12-21 11:56 |
|
Assigned To | apv => aba |
2015-12-21 11:56 |
|
Status | reviewed => assigned |
2015-12-21 11:57 |
|
Note Added: 0049348 | |
2015-12-21 12:23 | kgv | Note Added: 0049350 | |
2015-12-21 12:23 | kgv | Assigned To | aba => bugmaster |
2015-12-21 12:23 | kgv | Status | assigned => feedback |
2015-12-21 12:33 |
|
Assigned To | bugmaster => apv |
2015-12-21 17:04 |
|
Note Added: 0049382 | |
2015-12-21 17:04 |
|
Assigned To | apv => aba |
2015-12-21 17:04 |
|
Status | feedback => assigned |
2015-12-21 17:04 |
|
Note Edited: 0049382 | |
2015-12-21 17:05 |
|
Note Added: 0049383 | |
2015-12-21 20:16 | kgv | Note Added: 0049407 | |
2015-12-21 20:16 | kgv | Assigned To | aba => apv |
2015-12-21 20:16 | kgv | Status | assigned => feedback |
2015-12-22 12:32 |
|
Note Added: 0049422 | |
2015-12-22 12:32 |
|
Assigned To | apv => bugmaster |
2015-12-22 12:32 |
|
Status | feedback => tested |
2015-12-25 15:54 | kgv | Relationship added | parent of 0027039 |
2015-12-25 19:04 | bugmaster | Changeset attached | => occt master b12e1c7b |
2015-12-25 19:04 | bugmaster | Status | tested => verified |
2015-12-25 19:04 | bugmaster | Resolution | open => fixed |
2016-04-17 13:54 | git | Note Added: 0052979 | |
2016-04-17 13:54 | git | Note Added: 0052980 | |
2016-04-20 15:43 |
|
Fixed in Version | => 7.0.0 |
2016-04-20 15:50 |
|
Status | verified => closed |
2016-08-02 14:45 | kgv | Relationship added | related to 0027736 |