View Issue Details

IDProjectCategoryView StatusLast Update
0032247Open CASCADEOCCT:VISpublic2021-09-05 23:24
Reporterkgv Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.9.0 
Target Version7.6.0Fixed in Version7.6.0 
Summary0032247: VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior
DescriptionCurrently IVtkOCC_ShapeMesher unconditionally clears and regenerates triangulation of displayed TopoDS_Shape.
This implies various side-effects (inability to perform meshing using external tools with external parameters, slow execution, etc.)

Therefore, it is desired providing an option allowing to disable this behavior similar to Prs3d_Drawer::IsAutoTriangulation() used in AIS.
Steps To Reproduce
pload MODELING VIS VISUALIZATION
psphere s 1
explode s F
tessellate r s_1 10 10
trinfo r
checktrinfo r -tri 200
# AIS
vinit View1
vdefaults -autoTriang 0
vdisplay -dispMode 1 r
vfit
trinfo r
checktrinfo r -tri 200; # OK

# IVtk
ivtkinit
ivtkdisplay r
ivtksetdispmode 1
checktrinfo r -tri 200; # KO
TagsNo tags attached.
Test case numbervtk/ivtk/autotriang

Relationships

related to 0025845 closedbugmaster Open CASCADE VIS - Surface normals to be associated with polygonal source 
child of 0023200 closedbugmaster Community Visualization - prevent multiple triangulating of a shape that already has been triangulated 
child of 0024904 closedbugmaster Open CASCADE Visualization - Integration of VIS component 

Activities

git

2021-03-26 13:23

administrator   ~0099760

Branch CR32247 has been created by kgv.

SHA-1: cdbca4b80ef36b445c49b4bd8acbe24742513432


Detailed log of new commits:

Author: kgv
Date: Fri Mar 26 12:37:10 2021 +0300

    0032247: VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior
    
    IVtkOCC_Shape now stores Prs3d_Drawer object used by IVtkOCC_ShapeMesher and IVtkOCC_SelectableObject.
    IVtkOCC_ShapeMesher::internalBuild() made more consistent to AIS_Shape::Compute() in cleaning/triangulating shape.

git

2021-03-29 10:02

administrator   ~0099802

Branch CR32247 has been updated forcibly by kgv.

SHA-1: 285b289e48dd44e8e6f0cafe7f81c2136640a683

git

2021-03-30 09:50

administrator   ~0099844

Branch CR32247 has been updated forcibly by kgv.

SHA-1: 9e572b462bde45b74e85ff4d4e353a6e30faa62c

kgv

2021-03-30 11:21

developer   ~0099851

Patch is ready for review
- OCCT: branch CR32247.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32247-master-KGV/

osa

2021-03-30 15:56

developer   ~0099883

The patch was reviewed

bugmaster

2021-04-03 11:56

administrator   ~0100019

Combination -
OCCT branch : IR-2021-04-02
master SHA - 5e4f263d1cfd948e6a91aa584919bb6d86256a86
a87b7ddc8cb44606b91e3f37113847c3f5f50fdc
Products branch : IR-2021-04-02 SHA - 7cc5f9bb4eb61152ffc5290516ae20c649a33a55
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: 18055.90000000045 / 18179.810000000525 [-0.68%]
Products
Total CPU difference: 11506.800000000105 / 11565.220000000114 [-0.51%]
Windows-64-VC14:
OCCT
Total CPU difference: 19512.09375 / 19430.5 [+0.42%]
Products
Total CPU difference: 12943.234375 / 12843.765625 [+0.77%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention

git

2021-04-03 12:50

administrator   ~0100059

Branch CR32247 has been deleted by inv.

SHA-1: 9e572b462bde45b74e85ff4d4e353a6e30faa62c

git

2021-08-28 14:22

administrator   ~0103468

Branch CR32247 has been created by inv.

SHA-1: 7923f28d271bc21e9895c4e8c282fbe79ab53a24


Detailed log of new commits:

Author: bugmaster
Date: Sat Aug 28 14:22:23 2021 +0300

    0032247: Testing workflow

git

2021-09-05 23:24

administrator   ~0103829

Branch CR32247 has been deleted by kgv.

SHA-1: 7923f28d271bc21e9895c4e8c282fbe79ab53a24

Related Changesets

occt: master 3483c644

2021-03-26 09:37:10

kgv


Committer: bugmaster Details Diff
0032247: VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior

IVtkOCC_Shape now stores Prs3d_Drawer object used by IVtkOCC_ShapeMesher and IVtkOCC_SelectableObject.
IVtkOCC_ShapeMesher::internalBuild() made more consistent to AIS_Shape::Compute() in cleaning/triangulating shape.

Added command ivtkdefaults similar to vdefaults managing triangulation default parameters.
Affected Issues
0032247
mod - src/IVtk/IVtk_IShapeMesher.cxx Diff File
mod - src/IVtk/IVtk_IShapeMesher.hxx Diff File
mod - src/IVtkDraw/IVtkDraw.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_SelectableObject.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_SelectableObject.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_Shape.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_Shape.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapeMesher.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapeMesher.hxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapePickerAlgo.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ViewerSelector.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ViewerSelector.hxx Diff File
mod - src/IVtkTools/IVtkTools_DisplayModeFilter.hxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeDataSource.cxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeDataSource.hxx Diff File
mod - src/IVtkTools/IVtkTools_ShapeObject.hxx Diff File
mod - src/IVtkTools/IVtkTools_ShapePicker.hxx Diff File
mod - src/IVtkTools/IVtkTools_SubPolyDataFilter.hxx Diff File
mod - src/IVtkVTK/IVtkVTK_View.cxx Diff File
add - tests/vtk/ivtk/autotriang Diff File

Issue History

Date Modified Username Field Change
2021-03-26 05:31 kgv New Issue
2021-03-26 05:31 kgv Assigned To => kgv
2021-03-26 05:32 kgv Relationship added child of 0023200
2021-03-26 05:33 kgv Relationship added child of 0024904
2021-03-26 05:33 kgv Summary VIS, IVtkOCC_ShapeMesher - allow disabling auto triangulation behavior => VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior
2021-03-26 05:33 kgv Description Updated
2021-03-26 05:33 kgv Product Version 7.5.0 => 6.9.0
2021-03-26 11:53 kgv Steps to Reproduce Updated
2021-03-26 13:23 git Note Added: 0099760
2021-03-26 15:30 kgv Relationship added related to 0025845
2021-03-29 10:02 git Note Added: 0099802
2021-03-30 09:50 git Note Added: 0099844
2021-03-30 11:21 kgv Note Added: 0099851
2021-03-30 11:21 kgv Assigned To kgv => osa
2021-03-30 11:21 kgv Status new => resolved
2021-03-30 15:56 osa Note Added: 0099883
2021-03-30 15:56 osa Assigned To osa => bugmaster
2021-03-30 15:56 osa Status resolved => reviewed
2021-04-03 11:56 bugmaster Note Added: 0100019
2021-04-03 11:56 bugmaster Status reviewed => tested
2021-04-03 12:02 bugmaster Test case number => vtk/ivtk/autotriang
2021-04-03 12:13 bugmaster Changeset attached => occt master 3483c644
2021-04-03 12:13 bugmaster Status tested => verified
2021-04-03 12:13 bugmaster Resolution open => fixed
2021-04-03 12:50 git Note Added: 0100059
2021-08-28 14:22 git Note Added: 0103468
2021-09-05 23:24 git Note Added: 0103829