View Issue Details

IDProjectCategoryView StatusLast Update
0022302Open CASCADEOCCT:Meshpublic2012-11-09 10:08
Reporteroan Assigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Target Version6.5.2Fixed in Version6.5.2 
Summary0022302: BRepMesh_IncrimentalMesh calls for each face of shape on vdisplay
DescriptionOn vdisplay DRAW command (in StdSelect_BRepSelectionTool class)
BRepMesh_IncrimentalMesh calls for each face of shape. This fact is cause of
performance degradation and excepting the parallelization improvement in BRepMesh.
Additional information
and documentation updates
Documentation remark, added by OAN 2011-03-10 09:21:00:

New features:
No
Improvements:
The calculation of triangulation of the shape for wireframe mode is right now.
Before changes the triangulation creates for each face separately. So this is
incorrect way and this fact is cause of performance degradation and excepting
the parallelization improvement in BRepMesh.
So now the calculation of triangulation performs if shape has no triangulation
or the deflection of it higher than new value.
Changes:
There is the one change in BRepBndLib API. Now the Add method from BRepBndLib
class has a one more parameter (bool useTriangulation) with Standard_True for
default value. This allow to add a bounding box for shape with various
deflection kind: if useTiangulation is true and triangulation is exist it takes
into account for calculating the bounding box elsewise a bounding box calculates
with standard deflection.
Modified entities:
TKTopAlgo:
  BRepBndLib.cxx (BRepBndLib.cdl) - handle of Add method has been changed and
some changes in implementation;

TKV3d:
  StdSelect_BRepSelectionTool.cxx - changes in GetSensitiveEntityForFace and
ComputeSensitive methods;
  Prs3d_ShadedShape.gxx - changes in implementation of Add method
TagsNo tags attached.
Test case numberTest case is not required

Attached Files

  • oan-OCC22302-v1.tar.gz (12,024 bytes)
  • shape.zip (5,414,716 bytes)
  • oan-OCC22302-v2.tar.gz (12,059 bytes)
  • oan-OCC22302-v3.tar.gz (16,843 bytes)
  • oan-OCC22302-v3-correct.tar.gz (17,398 bytes)
  • OAN-OCC22302-v4.tar.gz (16,342 bytes)
  • OAN-OCC22302-v5.tar.gz (16,367 bytes)
  • OAN-OCC22302-v6.tar.gz (17,530 bytes)
  • OAN-OCC22302-v7.tar.gz (17,055 bytes)

Relationships

related to 0022304 closedoan Incorrect triangulation on face of the attached file 

Activities

2011-03-10 10:20

 

oan-OCC22302-v1.tar.gz (12,024 bytes)

2011-03-10 12:56

 

shape.zip (5,414,716 bytes)

2011-04-14 14:50

 

oan-OCC22302-v2.tar.gz (12,059 bytes)

2011-04-18 12:34

 

oan-OCC22302-v3.tar.gz (16,843 bytes)

2011-04-20 20:35

 

oan-OCC22302-v3-correct.tar.gz (17,398 bytes)

2011-05-05 11:37

 

OAN-OCC22302-v4.tar.gz (16,342 bytes)

2011-05-17 11:39

 

OAN-OCC22302-v5.tar.gz (16,367 bytes)

2011-05-25 16:49

 

OAN-OCC22302-v6.tar.gz (17,530 bytes)

2011-06-14 17:03

 

OAN-OCC22302-v7.tar.gz (17,055 bytes)

oan

2011-08-15 12:29

developer   ~0017992

Dear Bugmaster,

SVN branch http://svn/svn/occt/branches/OCC22302 has been created.

apl

2011-08-19 10:28

developer   ~0018007

Dear Oleg,

The bug number in the comments of the file Prs3d_ShadedShape.gxx
>> oan: BUG22302 - ...
I think it doesn't provide useful information, because if your modification works fine - there is no need to point out your changes with bug id. So it is better to be removed.

The remark is already corrected and in the SVN branch.

apl

2011-08-19 10:33

developer   ~0018008

Dear Bugmaster,

SVN branch http://svn/svn/occt/branches/OCC22302 has been reviewed.
Remark (text of the comment in Prs3d_ShadedShape.gxx) was corrected.

mkv

2011-08-19 12:24

tester   ~0018009

Fix has been integrated to occt repository

Date: 2011-08-19 12:23:45 +0400 (Fri, 19 Aug 2011)
New Revision: 8872

Modified:
   trunk/src/AIS/AIS_Shape.cxx
   trunk/src/BRepBndLib/BRepBndLib.cdl
   trunk/src/BRepBndLib/BRepBndLib.cxx
   trunk/src/Prs3d/Prs3d_ShadedShape.gxx
   trunk/src/Select3D/Select3D_SensitiveCurve.cxx
   trunk/src/StdSelect/StdSelect_BRepSelectionTool.cxx

Related Changesets

occt: master 3c34883c

2011-08-19 08:23:45

oan


Committer: bugmaster Details Diff
0022302: BRepMesh_IncrimentalMesh calls for each face of shape on vdisplay Affected Issues
0022302
mod - src/AIS/AIS_Shape.cxx Diff File
mod - src/BRepBndLib/BRepBndLib.cdl Diff File
mod - src/BRepBndLib/BRepBndLib.cxx Diff File
mod - src/Prs3d/Prs3d_ShadedShape.gxx Diff File
mod - src/Select3D/Select3D_SensitiveCurve.cxx Diff File
mod - src/StdSelect/StdSelect_BRepSelectionTool.cxx Diff File

Issue History

Date Modified Username Field Change
2011-02-28 18:37 bugmaster Assigned To bugmaster => oan
2011-02-28 18:37 bugmaster Status new => assigned
2011-03-03 09:17 oan CC => ptv
2011-03-10 11:21 oan Status assigned => resolved
2011-03-23 09:50 oan CC => pdn
2011-03-23 13:52 bugmaster BugsThisDependsOn => 22304
2011-04-15 17:25 mkv Status resolved => assigned
2011-04-18 12:34 oan Status assigned => resolved
2011-04-21 15:27 mkv Status resolved => assigned
2011-04-28 12:12 oan OtherBugsDependingOnThis => 22247, 22318, 22383
2011-05-05 13:40 oan Status assigned => resolved
2011-06-16 16:31 mkv Status resolved => assigned
2011-06-16 18:41 oan Status assigned => resolved
2011-07-07 14:28 oan OtherBugsDependingOnThis 22318, 22383 =>
2011-07-07 14:29 oan OtherBugsDependingOnThis 22247 =>
2011-07-20 17:40 mkv Status resolved => tested
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2011-08-03 12:15 bugmaster Fixed in Version EMPTY =>
2011-08-03 12:15 bugmaster Target Version => 6.5.2
2011-08-03 12:15 bugmaster Description Updated
2011-08-03 12:15 bugmaster Additional Information Updated
2011-08-15 11:57 bugmaster Test case number => Test case is not required
2011-08-15 12:29 oan Note Added: 0017992
2011-08-15 14:46 oan Assigned To oan => apl
2011-08-19 10:28 apl Note Added: 0018007
2011-08-19 10:33 apl Note Added: 0018008
2011-08-19 12:24 mkv Note Added: 0018009
2011-08-19 12:24 mkv Status tested => verified
2011-08-19 12:24 mkv Resolution open => fixed
2011-12-26 18:10 atp Additional Information Updated
2012-03-29 17:26 bugmaster Changeset attached => occt master 3c34883c
2012-11-09 10:08 abv Category OCCT:Modeling Algorithms => OCCT:Mesh