MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032247Open CASCADE[OCCT] OCCT:VISpublic2021-03-26 05:312021-04-03 12:50
Reporterkgv 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 6.9.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
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
Attached Files

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

-  Notes
(0099760)
git (administrator)
2021-03-26 13:23

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.
(0099802)
git (administrator)
2021-03-29 10:02

Branch CR32247 has been updated forcibly by kgv.

SHA-1: 285b289e48dd44e8e6f0cafe7f81c2136640a683
(0099844)
git (administrator)
2021-03-30 09:50

Branch CR32247 has been updated forcibly by kgv.

SHA-1: 9e572b462bde45b74e85ff4d4e353a6e30faa62c
(0099851)
kgv (developer)
2021-03-30 11:21

Patch is ready for review
- OCCT: branch CR32247.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR32247-master-KGV/ [^]
(0099883)
osa (developer)
2021-03-30 15:56

The patch was reviewed
(0100019)
bugmaster (administrator)
2021-04-03 11:56

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
(0100059)
git (administrator)
2021-04-03 12:50

Branch CR32247 has been deleted by inv.

SHA-1: 9e572b462bde45b74e85ff4d4e353a6e30faa62c

- Related Changesets
occt: master 3483c644
Timestamp: 2021-03-26 09:37:10
Author: 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.
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 View Revisions
2021-03-26 05:33 kgv Product Version 7.5.0 => 6.9.0
2021-03-26 11:53 kgv Steps to Reproduce Updated View Revisions
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


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker