Archived issue #0032247
VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior
Description
Currently 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.
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
Public activity
9 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
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.
[revision removed]
Detailed log of new commits:
Author: Author
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.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Patch is ready for review
- OCCT: branch CR32247.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32247-master-KGV/
- OCCT: branch CR32247.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32247-master-KGV/
The patch was reviewed
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: Commenter 1
Date: Sat Aug 28 14:22:23 2021 +0300
0032247: Testing workflow
[revision removed]
Detailed log of new commits:
Author: Commenter 1
Date: Sat Aug 28 14:22:23 2021 +0300
0032247: Testing workflow
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records