MantisBT - Community
View Issue Details
0027473Community[OCCT] OCCT:Visualizationpublic2016-05-06 08:372016-12-09 16:38
Vico Liang 
bugmaster 
normalfeature 
closedfixed 
 
[OCCT] 7.1.0[OCCT] 7.1.0 
Not needed
0027473: Expose Detected Point information in class SelectMgr_ViewerSelector
SelectMgr_ViewerSelector has function DetectedEntity() to access Detected Entity. In practice, the detected point which can be calculated from the Depth is also useful. The detected point might be available in point selection mode.
No tags attached.
Issue History
2016-05-06 08:37Vico LiangNew Issue
2016-05-06 08:37Vico LiangAssigned To => kgv
2016-05-06 08:45Vico LiangNote Added: 0053875
2016-05-06 08:53Vico LiangNote Added: 0053876
2016-05-06 15:07kgvNote Added: 0053892
2016-05-06 15:07kgvNote Edited: 0053892bug_revision_view_page.php?bugnote_id=53892#r13663
2016-05-08 13:11Vico LiangNote Added: 0053911
2016-09-02 15:18kgvRelationship addedrelated to 0027834
2016-09-23 15:52kgvNote Added: 0058084
2016-09-23 15:52kgvAssigned Tokgv => bugmaster
2016-09-23 15:52kgvStatusnew => feedback
2016-09-23 15:52kgvResolutionopen => fixed
2016-09-23 15:52kgvProduct Version6.9.1 =>
2016-09-27 14:27bugmasterStatusfeedback => tested
2016-09-27 14:27bugmasterStatustested => assigned
2016-10-13 16:34kgvStatusassigned => feedback
2016-10-25 20:11apnTest case number => Not needed
2016-10-25 20:11apnStatusfeedback => tested
2016-10-25 20:11apnStatustested => verified
2016-12-09 16:30aivStatusverified => closed
2016-12-09 16:38aivFixed in Version => 7.1.0

Notes
(0053875)
Vico Liang   
2016-05-06 08:45   
Dear kgv,

Do you think it's reasonable to expose SelectMgr_SortCriterion which is associated with detected entity SelectBasics_SensitiveEntity and then add detected point value to SelectMgr_SortCriterion?
(0053876)
Vico Liang   
2016-05-06 08:53   
I see there is a function VState in TKViewerTest project to get the detected point. But it is too complex to understand and also it's not an efficient way to get the detected point.
(0053892)
kgv   
2016-05-06 15:07   
Dear Vico,

I agree that method returning the coordinates of detected point would be useful for many applications - to avoid going deeper in details as done in vstate command.

> Do you think it's reasonable to expose SelectMgr_SortCriterion which is associated with detected entity SelectBasics_SensitiveEntity and then add detected point value to SelectMgr_SortCriterion?
SelectMgr_SortCriterion might be a reasonable place for holding coordinates as well, but in most cases depth value should sufficient for computing point.
So it is more about how to provide result at high-level API.

(0053911)
Vico Liang   
2016-05-08 13:11   
Dear kgv,

Calculating the coordinates of detected point needs SelectMgr_SelectingVolumeManager and depth value. For different SensitiveEntity, the SelectMgr_SelectingVolumeManager might be transformed or scaled, so Depth value might be not sufficient.
(0058084)
kgv   
2016-09-23 15:52   
Dear bugmaster,

please switch this bug to VERIFIED - the feature has been integrated in scope of patch for #0027834.