MantisBT - Open CASCADE
View Issue Details
0028181Open CASCADE[OCCT] OCCT:Documentationpublic2016-12-01 11:212017-09-29 16:25
mzn 
apn 
normaltrivial 
closedfixed 
[OCCT] 7.0.0 
[OCCT] 7.2.0[OCCT] 7.2.0 
Not needed
0028181: Documentation - update porting note with missing information
1. StdPrs_WFDeflectionShape class.

StdPrs_WFDeflectionShape class used by the application has been removed in OCCT-7.0.0.

There is no any recommendations about replacement for the removed class in the porting guide.
It would be perfect to have instructions for porting of the code which uses this class.

Used method:
void Add (const Handle (Prs3d_Presentation)& thePrs,
                        const TopoDS_Shape& theShape,
                        const Handle (Prs3d_Drawer)& theDrawer)

2. AIS_InteractiveObject::SetSelectionMode (const Standard_Integer aMode) method.

This method has been removed in OCCT-7.0.0. What changes to be applied to the code which used this method?
No tags attached.
related to 0025300closed ski Open CASCADE Visualization - Build wireframe representation consistent with the shape's triangulation 
Issue History
2016-12-01 11:21mznNew Issue
2016-12-01 11:21mznAssigned To => kgv
2016-12-01 12:09kgvRelationship addedrelated to 0025300
2016-12-01 12:15kgvNote Added: 0060965
2016-12-01 12:15kgvAssigned Tokgv => apl
2016-12-01 12:15kgvSeverityminor => trivial
2016-12-01 12:15kgvStatusnew => assigned
2016-12-01 12:15kgvTarget Version => 7.2.0
2016-12-01 12:15kgvNote Edited: 0060965bug_revision_view_page.php?bugnote_id=60965#r15498
2016-12-01 15:17mznSummaryPorting problem: it's not clear what class should be used instead of removed StdPrs_WFDeflectionShape class. => Porting problem: it's not clear what classes and methods should be used instead of removed ones.
2016-12-01 15:17mznDescription Updatedbug_revision_view_page.php?rev_id=15505#r15505
2016-12-01 15:47kgvCategoryOCCT:Visualization => OCCT:Documentation
2016-12-01 15:47kgvSummaryPorting problem: it's not clear what classes and methods should be used instead of removed ones. => Documentation - update porting note with missing information
2016-12-01 15:48kgvRelationship addedrelated to 0026272
2016-12-01 16:14sanNote Added: 0060979
2016-12-05 13:53gitNote Added: 0061080
2016-12-05 13:54kgvNote Added: 0061081
2016-12-05 13:54kgvAssigned Toapl => abv
2016-12-05 13:54kgvStatusassigned => resolved
2016-12-05 13:54kgvTarget Version7.2.0 => 7.3.0
2016-12-05 13:54kgvOSDebian 6.0 =>
2016-12-05 13:54kgvOS Version64 bit =>
2016-12-05 13:54kgvPlatformLinux =>
2016-12-06 08:41gitNote Added: 0061114
2016-12-06 10:34abvNote Added: 0061124
2016-12-06 10:34abvAssigned Toabv => bugmaster
2016-12-06 10:34abvStatusresolved => reviewed
2016-12-06 16:23mkvAssigned Tobugmaster => mkv
2016-12-06 17:02mkvAssigned Tomkv => bugmaster
2016-12-06 17:02mkvStatusreviewed => tested
2016-12-06 17:02mkvTest case number => Not needed
2016-12-06 17:02mkvTarget Version7.3.0 => 7.2.0
2016-12-06 17:05kgvTarget Version7.2.0 => 7.3.0
2016-12-09 16:46apnChangeset attached => occt master a6994681
2016-12-09 16:46apnAssigned Tobugmaster => apn
2016-12-09 16:46apnStatustested => verified
2016-12-09 16:46apnResolutionopen => fixed
2016-12-18 10:53gitNote Added: 0061806
2017-03-03 17:41bugmasterTarget Version7.3.0 => 7.2.0
2017-03-06 11:56bugmasterTarget Version7.2.0 => 7.3.0
2017-05-19 15:36abvTarget Version7.3.0 => 7.2.0
2017-09-29 16:18aivFixed in Version => 7.2.0
2017-09-29 16:25aivStatusverified => closed

Notes
(0060965)
kgv   
2016-12-01 12:15   
Dear Anton,

please add a short note in porting guide that StdPrs_WFShape should be used
instead of removed tool StdPrs_WFDeflectionShape (which has been removed since it implemented duplicated functionality).

(0060979)
san   
2016-12-01 16:14   
Removed AIS_InteractiveObject::SetSelectionMode (const Standard_Integer aMode) method simply stored the passed integer value in the class field:

void AIS_InteractiveObject::SetSelectionMode(const Standard_Integer aMode)
{
  mySelectionMode = aMode;
}


Since it is possible to activate several selection modes for a given interactive object instance at the same time, this method contradicted with other AIS package API.
Applications that used this method should implement selection mode caching in the application code if it is necessary for normal operation.
(0061080)
git   
2016-12-05 13:53   
Branch CR28181 has been created by kgv.

SHA-1: 5d8b721fd0cdfc557b1d4037291eef339790e909


Detailed log of new commits:

Author: kgv
Date: Mon Dec 5 13:53:37 2016 +0300

    0028181: Documentation - update porting note with missing information
    
    Added information about removed classes StdPrs_WFDeflectionShape,
    Prs3d_WFShape, StdPrs_ToolShadedShape and removed property
    AIS_InteractiveObject::SelectionMode().
(0061081)
kgv   
2016-12-05 13:54   
Patch is ready for review.
(0061114)
git   
2016-12-06 08:41   
Branch CR28181 has been updated forcibly by kgv.

SHA-1: a889af2b925b8cb62b62e73d1b5f8393f9396e50
(0061124)
abv   
2016-12-06 10:34   
No remarks, please integrate (no testing is needed).

Mikhail, please check if the text is OK for your needs (see branch CR28181).
(0061806)
git   
2016-12-18 10:53   
Branch CR28181 has been deleted by kgv.

SHA-1: a889af2b925b8cb62b62e73d1b5f8393f9396e50