MantisBT - Open CASCADE
View Issue Details
0032389Open CASCADE[OCCT] OCCT:Visualizationpublic2021-05-24 16:412021-07-03 14:45
osa 
bugmaster 
normalintegration request 
verifiedfixed 
 
[OCCT] 7.6.0* 
Not required
0032389: Visualization, AIS_Axis - simple ray creation and displaying
Add possibility to create axis by gp_Ax1 and display it as ray (infinite to only one direction). Also it should be useful to set required visualization parameters to it.
Now it is necessary to create such axis using Geom_Axis2Placement, make it infinite on application site and use workaround to update axis length:

Handle(AIS_Axis) anAISAxis = new AIS_Axis (anAx2Axis, AIS_TOAX_ZAxis);
Standard_Real aLength = UnitsAPI::AnyToLS (250000., "mm");
anAxisDrawer->DatumAspect()->SetAxisLength (aLength, aLength, aLength);
anAISAxis->SetAxis2Placement (anAx2Axis, AIS_TOAX_ZAxis); // This is workaround to update axis length
vselect/axis/A1
No tags attached.
related to 0032338verified bugmaster Visualization - provide straightforward interface for ray-picking 
Issue History
2021-05-24 16:41osaNew Issue
2021-05-24 16:41osaAssigned To => kgv
2021-05-24 16:47osaAssigned Tokgv => mkrylova
2021-05-24 16:47osaStatusnew => assigned
2021-05-24 16:48osaRelationship addedrelated to 0032338
2021-05-25 17:57gitNote Added: 0101358
2021-05-25 17:58gitNote Added: 0101360
2021-06-04 17:22mkrylovaNote Added: 0101614
2021-06-07 17:41mkrylovaNote Added: 0101670
2021-06-16 16:39gitNote Added: 0101871
2021-06-16 18:30mkrylovaNote Added: 0101874
2021-06-17 11:32mkrylovaNote Added: 0101886
2021-06-17 11:32mkrylovaNote Added: 0101887
2021-06-17 12:22gitNote Added: 0101891
2021-06-17 12:23gitNote Added: 0101892
2021-06-17 19:21mkrylovaNote Added: 0101902
2021-06-18 18:21mkrylovaNote Added: 0101920
2021-06-21 13:00gitNote Added: 0101954
2021-06-21 13:02gitNote Added: 0101955
2021-06-21 18:54mkrylovaNote Added: 0101973
2021-06-24 12:27gitNote Added: 0102025
2021-06-24 12:28gitNote Added: 0102026
2021-06-24 16:19mkrylovaNote Added: 0102032
2021-06-24 16:20mkrylovaNote Added: 0102033
2021-06-24 16:21mkrylovaAssigned Tomkrylova => osa
2021-06-24 16:21mkrylovaStatusassigned => resolved
2021-06-24 16:21mkrylovaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25408#r25408
2021-06-24 18:02gitNote Added: 0102037
2021-06-24 18:04gitNote Added: 0102038
2021-06-24 18:08mkrylovaNote Added: 0102040
2021-06-25 10:45mkrylovaNote Added: 0102047
2021-06-25 10:45mkrylovaNote Added: 0102048
2021-06-28 14:38gitNote Added: 0102115
2021-06-28 14:39gitNote Added: 0102116
2021-06-28 18:06mkrylovaNote Added: 0102124
2021-06-28 18:06mkrylovaNote Added: 0102125
2021-06-28 18:32mkrylovaNote Added: 0102130
2021-06-29 11:42osaAssigned Toosa => mkrylova
2021-06-29 11:42osaStatusresolved => assigned
2021-06-29 12:34gitNote Added: 0102148
2021-06-29 12:36gitNote Added: 0102149
2021-06-29 17:58mkrylovaNote Added: 0102167
2021-06-30 12:35mkrylovaNote Added: 0102179
2021-06-30 12:36mkrylovaNote Added: 0102180
2021-06-30 12:36mkrylovaAssigned Tomkrylova => osa
2021-06-30 12:36mkrylovaStatusassigned => resolved
2021-06-30 14:06osaAssigned Toosa => bugmaster
2021-06-30 14:06osaStatusresolved => reviewed
2021-07-03 11:08bugmasterNote Added: 0102243
2021-07-03 11:08bugmasterStatusreviewed => tested
2021-07-03 11:11bugmasterTest case number => Not required
2021-07-03 11:14bugmasterChangeset attached => occt master 1f3c5058
2021-07-03 11:14bugmasterStatustested => verified
2021-07-03 11:14bugmasterResolutionopen => fixed
2021-07-03 14:45gitNote Added: 0102251
2021-07-03 14:45gitNote Added: 0102252
2021-07-03 14:45gitNote Added: 0102253
2021-07-03 14:45gitNote Added: 0102254
2021-07-03 14:45gitNote Added: 0102255
2021-07-03 14:45gitNote Added: 0102256
2021-07-03 14:45gitNote Added: 0102257

Notes
(0101358)
git   
2021-05-25 17:57   
Branch CR32389 has been created by osa.

SHA-1: b616f5097f2bc32e4753dd0885e50b2cebb9f2df


Detailed log of new commits:

Author: osa
Date: Tue May 25 17:57:48 2021 +0300

    0032388: Visualization - provide ray-picking interface with zero tolerance for rectangular frustum
(0101360)
git   
2021-05-25 17:58   
Branch CR32389 has been deleted by osa.

SHA-1: b616f5097f2bc32e4753dd0885e50b2cebb9f2df
(0101614)
mkrylova   
2021-06-04 17:22   
Analysis, Solution evaluation
(0101670)
mkrylova   
2021-06-07 17:41   
Solution evaluation
(0101871)
git   
2021-06-16 16:39   
Branch CR32389 has been created by mkrylova.

SHA-1: d984d517708a6dd6ebc2bb666e841f59deefaba5


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0101874)
mkrylova   
2021-06-16 18:30   
Solution evaluation, Testing
(0101886)
mkrylova   
2021-06-17 11:32   
http://jenkins-test-occt.nnov.opencascade.com/view/CR32389-master-MKRYLOVA/view/ALL/ [^]
(perf fclasses progr_par is unstable)
(0101887)
mkrylova   
2021-06-17 11:32   
Patch is ready to review:
- OCCT: CR32389
(0101891)
git   
2021-06-17 12:22   
Branch CR32389 has been updated by mkrylova.

SHA-1: 2bf96084c1e454e166f68aa68b952eb239a340e3


Detailed log of new commits:

Author: mkrylova
Date: Thu Jun 17 12:22:57 2021 +0300

    #kgv remarks

(0101892)
git   
2021-06-17 12:23   
Branch CR32389_1 has been created by mkrylova.

SHA-1: c3682174b2fe91bcece9f556a7c06ead1c665275


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0101902)
mkrylova   
2021-06-17 19:21   
Testing
(0101920)
mkrylova   
2021-06-18 18:21   
Solution implementation, Testing
(0101954)
git   
2021-06-21 13:00   
Branch CR32389_1 has been updated forcibly by mkrylova.

SHA-1: 9e5bf58bf5f74d7ad79465bf6593e8cd1ce6e8cc
(0101955)
git   
2021-06-21 13:02   
Branch CR32389_2 has been created by mkrylova.

SHA-1: 7947c469da7022f705bda37c16379f2add98ee42


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0101973)
mkrylova   
2021-06-21 18:54   
Testing
(0102025)
git   
2021-06-24 12:27   
Branch CR32389_2 has been updated by mkrylova.

SHA-1: bbce36859051812970fb3b0689c8295d8906dbcd


Detailed log of new commits:

Author: mkrylova
Date: Thu Jun 24 12:27:51 2021 +0300

    # undo changes to test fixes

(0102026)
git   
2021-06-24 12:28   
Branch CR32389_3 has been created by mkrylova.

SHA-1: 7922dd2c4fde0e63e08efb5219945e765a4eb8b0


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0102032)
mkrylova   
2021-06-24 16:19   
http://jenkins-test-occt.nnov.opencascade.com/view/CR32389_3-master-MKRYLOVA/view/ALL/ [^]
(0102033)
mkrylova   
2021-06-24 16:20   
Patch is ready to review:
- OCCT: CR32389_3
(0102037)
git   
2021-06-24 18:02   
Branch CR32389_3 has been updated by mkrylova.

SHA-1: 76001993df789e6ddaf987615692535984dd03b6


Detailed log of new commits:

Author: mkrylova
Date: Thu Jun 24 18:02:56 2021 +0300

    # kgv remarks

(0102038)
git   
2021-06-24 18:04   
Branch CR32389_4 has been created by mkrylova.

SHA-1: 9c0922c8547f817a4b03832cf004de694f729e3b


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0102040)
mkrylova   
2021-06-24 18:08   
Solution Implementation, Testing
(0102047)
mkrylova   
2021-06-25 10:45   
http://jenkins-test-occt.nnov.opencascade.com/view/CR32389_4-master-MKRYLOVA/view/ALL/ [^]
(0102048)
mkrylova   
2021-06-25 10:45   
Patch is ready to review:
- OCCT: CR32389_4
(0102115)
git   
2021-06-28 14:38   
Branch CR32389_4 has been updated forcibly by mkrylova.

SHA-1: 6bcda4c32abce860f51e0f958a2a3d24cee3f610
(0102116)
git   
2021-06-28 14:39   
Branch CR32389_5 has been created by mkrylova.

SHA-1: d7aacfd1291654303dc20526493728a57b148c31


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0102124)
mkrylova   
2021-06-28 18:06   
http://jenkins-test-occt.nnov.opencascade.com/view/CR32389_5-master-MKRYLOVA/view/ALL/ [^]
(0102125)
mkrylova   
2021-06-28 18:06   
Patch is ready to review:
- OCCT: CR32389_5
(0102130)
mkrylova   
2021-06-28 18:32   
Solution Implementation, Testing
(0102148)
git   
2021-06-29 12:34   
Branch CR32389_5 has been updated by mkrylova.

SHA-1: 33bfe7d570cd1fed33b84e0d44187f013cae8d9a


Detailed log of new commits:

Author: mkrylova
Date: Tue Jun 29 12:34:44 2021 +0300

    # osa remarks
    - fixed error message and constructor description

(0102149)
git   
2021-06-29 12:36   
Branch CR32389_6 has been created by mkrylova.

SHA-1: 14b9b2eb4543de902a83931e071db40f69c1704b


Detailed log of new commits:

Author: mkrylova
Date: Wed Jun 16 16:21:17 2021 +0300

    0032389: Visualization, AIS_Axis - simple ray creation and displaying
    
    - Added constructor to create axis by gp_Ax1
    - Added possibility to display axis as ray
    - Added function SetDisplayAspect to set required visualization parameters
(0102167)
mkrylova   
2021-06-29 17:58   
Solution Implementation, Testing
(0102179)
mkrylova   
2021-06-30 12:35   
http://jenkins-test-occt.nnov.opencascade.com/view/CR32389_6-master-MKRYLOVA/view/ALL/ [^]
(0102180)
mkrylova   
2021-06-30 12:36   
Patch is ready to review:
- OCCT: CR32389_6
(0102243)
bugmaster   
2021-07-03 11:08   
Combination -
OCCT branch : IR-2021-07-02
master SHA - 1f3c5058f27ddcbc23af3b05820e4433bb1009db
a87b7ddc8cb44606b91e3f37113847c3f5f50fdc
Products branch : IR-2021-07-02 SHA - a0de44eb21bec792a53984d50cb770f6679dbbd8
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17426.490000000336 / 17457.450000000455 [-0.18%]
Products
Total CPU difference: 11521.170000000124 / 11511.540000000101 [+0.08%]
Windows-64-VC14:
OCCT
Total CPU difference: 19263.921875 / 19236.96875 [+0.14%]
Products
Total CPU difference: 12854.34375 / 12832.328125 [+0.17%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0102251)
git   
2021-07-03 14:45   
Branch CR32389 has been deleted by mnt.

SHA-1: 2bf96084c1e454e166f68aa68b952eb239a340e3
(0102252)
git   
2021-07-03 14:45   
Branch CR32389_1 has been deleted by mnt.

SHA-1: 9e5bf58bf5f74d7ad79465bf6593e8cd1ce6e8cc
(0102253)
git   
2021-07-03 14:45   
Branch CR32389_2 has been deleted by mnt.

SHA-1: bbce36859051812970fb3b0689c8295d8906dbcd
(0102254)
git   
2021-07-03 14:45   
Branch CR32389_3 has been deleted by mnt.

SHA-1: 76001993df789e6ddaf987615692535984dd03b6
(0102255)
git   
2021-07-03 14:45   
Branch CR32389_4 has been deleted by mnt.

SHA-1: 6bcda4c32abce860f51e0f958a2a3d24cee3f610
(0102256)
git   
2021-07-03 14:45   
Branch CR32389_5 has been deleted by mnt.

SHA-1: 33bfe7d570cd1fed33b84e0d44187f013cae8d9a
(0102257)
git   
2021-07-03 14:45   
Branch CR32389_6 has been deleted by mnt.

SHA-1: 14b9b2eb4543de902a83931e071db40f69c1704b