View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023495 | Open CASCADE | OCCT:VIS | public | 2012-10-27 16:24 | 2014-11-11 12:58 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 6.8.0 | Fixed in Version | 6.8.0 | ||
Summary | 0023495: Transformation problem: Shape Picker works on initial data set | ||||
Description | As VIS Shape Picker works on initial TopoDS_Shape, taking advantage of OCCT standard selection mechanism, it is not compatible with any VTK filters affecting the location of the working data set. For instance, it is error-prone to use VIS picker with a pipeline comprising vtkTransform filter. As a result user will get highlighting inconsistent with the actual data position in viewer. In order to have possibility to apply different transformations to the initial shape and nevertheless use VIS picker, user should apply the corresponding Location to the initial shape. This, however, leads to re-computation of the entire internal triangulation in VIS Data Source. The following actions are proposed to be covered in scope of this issue: 1. Find a way to optimize VIS Data Source for already triangulated shapes having different Locations. In that case the internal discrete model should not be recalculated, only transformation should be applied to the existing one; 2. Update VIS user's guide to highlight the mentioned peculiarity of VIS picker (draw user's attention to the fact that it works on initial data set unlike standard VTK pickers working on the resulting polygonal data). The attached presentation can be used as a source for user's guide. Without having this issue mentioned in documentation, the behavior of VIS picker looks really weird in some cases. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
2012-10-27 16:24 developer |
VIS_Prs.ppt (764,928 bytes) |
2012-11-02 12:14 developer |
IVtkTools_ShapeDataSource.hxx (3,060 bytes) |
2012-11-02 12:14 developer |
IVtkTools_ShapeDataSource.cxx (6,660 bytes) |
|
Dear Sergey, Could you please take a look on the attached improvement for Shape Data Source? The following approach to optimization has been introduced: 1. In order to enable optimized processing of transformations, user enables Fast Transformation Mode: IVtkTools_ShapeDataSource::FastTransformModeOn; 2. Once user calls SetShape method, Data Source checks, whether the passed shape is a "partner" (in terms of OCCT) of the previously processed one (if any). If so, re-meshing will not happen. vtkTransform will be used instead. I have also adjusted the overall code of IVtkTools_ShapeDataSource in order to fit coding rules. P.S: I did not switch this issue to Resolved status as we still need to adjust User's Guide. |
|
Modified sources committed to GIT branch CR22877_1. User's guide to be updated yet. |
|
Fix was ported to OCCT 6.7.0 for Windows platform (the same branch CR22877_1). It is still necessary to port it to X systems. |
|
Dear Bugmaster, please close the issue. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-27 16:24 |
|
New Issue | |
2012-10-27 16:24 |
|
Assigned To | => szv |
2012-10-27 16:24 |
|
File Added: VIS_Prs.ppt | |
2012-11-02 12:14 |
|
File Added: IVtkTools_ShapeDataSource.hxx | |
2012-11-02 12:14 |
|
File Added: IVtkTools_ShapeDataSource.cxx | |
2012-11-02 12:14 |
|
Assigned To | szv => san |
2012-11-02 12:23 |
|
Note Added: 0022067 | |
2012-11-02 12:23 |
|
Status | new => assigned |
2012-11-06 20:41 |
|
Relationship added | related to 0022877 |
2012-11-06 20:42 |
|
Note Added: 0022114 | |
2013-02-14 13:38 | bugmaster | Project | Open CASCADE => Internal |
2014-01-20 16:28 |
|
Note Added: 0027557 | |
2014-09-18 09:58 |
|
Category | PRODUCTS:VIS => OCCT:VIS |
2014-09-18 10:39 | bugmaster | Project | Internal => Open CASCADE |
2014-09-26 19:29 |
|
Note Added: 0032270 | |
2014-09-26 19:29 |
|
Assigned To | san => bugmaster |
2014-09-26 19:29 |
|
Status | assigned => feedback |
2014-09-26 19:29 |
|
Relationship added | related to 0022859 |
2014-09-29 15:50 | bugmaster | Status | feedback => tested |
2014-09-29 15:50 | bugmaster | Status | tested => verified |
2014-09-29 15:50 | bugmaster | Resolution | open => fixed |
2014-09-29 15:50 | bugmaster | Assigned To | bugmaster => ssv |
2014-09-29 15:50 | bugmaster | Target Version | => 6.8.0 |
2014-11-11 12:45 |
|
Fixed in Version | => 6.8.0 |
2014-11-11 12:58 |
|
Status | verified => closed |