]> OCCT Git - occt-copy.git/log
occt-copy.git
4 years ago0030268: Inspectors - improvements in VInspector plugin
age [Wed, 30 Sep 2020 09:05:38 +0000 (12:05 +0300)]
0030268: Inspectors - improvements in VInspector plugin
Reverted in OpenGl_CappingAlgo

4 years ago0031757: Visualization - Prebuild BVH for Select3D_SensitiveEntity in separate threads
age [Tue, 8 Sep 2020 11:44:21 +0000 (14:44 +0300)]
0031757: Visualization - Prebuild BVH for Select3D_SensitiveEntity in separate threads

4 years ago0031716: Visualization, Select3D_SensitiveSet::matches() - avoid building BVH in...
age [Tue, 18 Aug 2020 07:08:06 +0000 (10:08 +0300)]
0031716: Visualization, Select3D_SensitiveSet::matches() - avoid building BVH in case of full overlapping by the volume

5 years agorefs #1080: Swap child/father in RemoveFromGroup method of NotesTool.
snn [Tue, 14 Apr 2020 09:57:18 +0000 (12:57 +0300)]
refs #1080: Swap child/father in RemoveFromGroup method of NotesTool.

5 years agoRevert "refs #1491: Section view is invisible after view restoring"
dbv [Thu, 2 Apr 2020 08:07:12 +0000 (11:07 +0300)]
Revert "refs #1491: Section view is invisible after view restoring"

This reverts commit bf57eba199b37561335b25418e6a265ec261dc90. Changes now moved to application level.

5 years ago0031378: Modeling algorithms - brep incremental mesh is frozen during STEP file loading
oan [Thu, 12 Mar 2020 14:37:09 +0000 (17:37 +0300)]
0031378: Modeling algorithms - brep incremental mesh is frozen during STEP file loading

Refactoring of BRepMesh_Delaun::isBoundToFrontier() to unwind the recursion loop.

(cherry picked from commit 012157a2726889f960a3421badd4cc9bf87e9949)
(cherry picked from commit 5e79b5279e0f6a7a9fbb8e978f3fdcd0b766e051)

5 years agorefs #1491: Section view is invisible after view restoring
dbv [Tue, 11 Feb 2020 14:35:58 +0000 (17:35 +0300)]
refs #1491: Section view is invisible after view restoring

Store Sections visibility status in views.

5 years ago0030268: Inspectors - improvements in VInspector plugin
nds [Fri, 17 Jan 2020 16:02:31 +0000 (19:02 +0300)]
0030268: Inspectors - improvements in VInspector plugin

# do not use virtual methods in classes where there are no virtual destructor

5 years ago0031221: Visualization - selection filter in context
nds [Sat, 14 Dec 2019 06:25:48 +0000 (09:25 +0300)]
0031221: Visualization - selection filter in context

5 years ago0031221: Visualization - selection filter in context
sshutina [Fri, 13 Dec 2019 13:27:51 +0000 (16:27 +0300)]
0031221: Visualization - selection filter in context

5 years ago0030268: Inspectors - improvements in VInspector plugin
nds [Tue, 10 Dec 2019 22:40:15 +0000 (01:40 +0300)]
0030268: Inspectors - improvements in VInspector plugin

# Dump for OCCT objects. It improves perfomance during the dump parsing in inspector items. A cache creating for property view values.
# ItemPresentableObject has no custom children due to the dump children count is not fixed (e.g. computed selections count)
# GetStream() has been replaced by initStream() + Stream()
# VInspector_ViewModel::FindPointers do nothing as it was poor performance of it when it parses BVH tree.

5 years ago0030268: Inspectors - improvements in VInspector plugin
nds [Sun, 8 Dec 2019 19:08:19 +0000 (22:08 +0300)]
0030268: Inspectors - improvements in VInspector plugin

# Dump for OCCT objects

(cherry picked from commit 021525334791fa582d2751d86ef63e901509383e)

5 years ago0029451: Information Message Alert to debug an algorithm or object functionality
nds [Fri, 4 Oct 2019 15:30:10 +0000 (18:30 +0300)]
0029451: Information Message Alert to debug an algorithm or object functionality

(cherry picked from commit 1f64bcf7813ab6bad61310ae6f19539d133f1ac4)

#compilation correction is ammended
(cherry picked from commit 98d49da76f9c9403d2fa06916ff27bac71297180)
(cherry picked from commit 910f50300b962135544c01bb085faa3d6609bb3f)

5 years ago0030268: Inspectors - improvements in VInspector plugin
nds [Fri, 4 Oct 2019 06:33:45 +0000 (09:33 +0300)]
0030268: Inspectors - improvements in VInspector plugin

# Dump for OCCT objects

(cherry picked from commit bf166a4f8908aae1d259a962c4deedbcd9063fcc)
(cherry picked from commit 0e965f544ed20ce90061e465a3dec94ea89e3059)
(cherry picked from commit 737f8f788e8e53462a41e1e14acba6c0adcfa3fe)

5 years ago0030997: Foundation Classes - name correction of dump macros
nds [Wed, 25 Sep 2019 06:12:41 +0000 (09:12 +0300)]
0030997: Foundation Classes - name correction of dump macros

(cherry picked from commit 3de0f78449562e27463c1a0a45db074404ab3634)
(cherry picked from commit 5de9fdd87a1bcf060c72f14b1c47b3210d6bb1bb)

5 years ago0030949: Foundation Classes - Dump improvement for OCCT classes
nds [Thu, 19 Sep 2019 12:13:42 +0000 (15:13 +0300)]
0030949: Foundation Classes - Dump improvement for OCCT classes

1. new file Standard_Dump to prepare and parse Dump in JSON format for OCCT objects
2. some presentations cover the proposed dump functionality.
3. 'bounding', 'vaspects' has '-dumpJson' field to see the DumpJson result
4. Bnd_Box constructor with min/max points is implemented to use Dump of this class in Dump BVH_Box
5. Limitation (some classes of Graphic3d, Prs3d has not full filling for DumpJson)

(cherry picked from commit 0904aa6395c6e00d07ffa83ae21334236b0eb51b)

# Conflicts:
# src/OpenGl/OpenGl_Group.hxx
(cherry picked from commit 2e6c171af255cee040bd46af364094dc49ca2148)

5 years agoRevert "0029451: Information Message Alert to debug an algorithm or object functional...
nds [Sun, 8 Dec 2019 18:05:45 +0000 (21:05 +0300)]
Revert "0029451: Information Message Alert to debug an algorithm or object functionality,"

This reverts commit cdfdde31917e8bd4f9d360e5a78bf73bc8c916ed.

(cherry picked from commit 7d9f5d9d2e1d2f9efa46d5ca901fdeeaaaedb065)

5 years ago0031221: Visualization - selection filter in context
nds [Sun, 8 Dec 2019 15:57:34 +0000 (18:57 +0300)]
0031221: Visualization - selection filter in context

(cherry picked from commit 7573337633895bca6f7417851398539140dac4d2)

5 years ago0031197: Visualization - SetTransformPersistence for highlight, select presentations
nds [Thu, 5 Dec 2019 14:15:09 +0000 (17:15 +0300)]
0031197: Visualization - SetTransformPersistence for highlight, select presentations

(cherry picked from commit df3644aa354c932483d89f553b09a2f399135f0f)

5 years agorefs #1279: Application hangs up on update of the view
tma [Thu, 31 Oct 2019 13:57:29 +0000 (16:57 +0300)]
refs #1279: Application hangs up on update of the view

Improve performance of the storage of the transparent state of the assembly leafs

5 years ago0030784: Visualization - check if selectable of owner in internal container in AIS_In...
nds [Fri, 18 Oct 2019 12:32:30 +0000 (15:32 +0300)]
0030784: Visualization - check if selectable of owner in internal container in AIS_InteractiveContext before using

5 years agogroups of notes bug fix
snn [Fri, 21 Jun 2019 12:34:28 +0000 (15:34 +0300)]
groups of notes bug fix

5 years agogroups of notes added to XCAFDoc_NotesTool
snn [Wed, 29 May 2019 14:13:32 +0000 (17:13 +0300)]
groups of notes added to XCAFDoc_NotesTool

# Conflicts:
# src/XCAFDoc/XCAFDoc_NotesTool.cxx

5 years ago0030988: Add possibility to attach multiple files to notes
snn [Thu, 13 Jun 2019 11:39:29 +0000 (14:39 +0300)]
0030988: Add possibility to attach multiple files to notes

Implemented

5 years ago0030957: Assembly item Id should not start with '/' symbol
tma [Mon, 9 Sep 2019 11:36:22 +0000 (14:36 +0300)]
0030957: Assembly item Id should not start with '/' symbol

(cherry picked from commit 71b4fb4b10d050440971ca12af6d25e8989ec8ba)

5 years ago0030728: Visualization - using one implementation of highlight/unhighlight in context...
nds [Thu, 5 Sep 2019 12:40:29 +0000 (15:40 +0300)]
0030728: Visualization - using one implementation of highlight/unhighlight in context - compilation correction

#correction for compilation

5 years agoRevert "0030728: Visualization - using one implementation of highlight/unhighlight...
nds [Thu, 5 Sep 2019 12:12:05 +0000 (15:12 +0300)]
Revert "0030728: Visualization - using one implementation of highlight/unhighlight in context - compilation correction"

This reverts commit 52cc62eee870cc7c983bde4a2b98465d9eb9b27e.

5 years ago0030728: Visualization - using one implementation of highlight/unhighlight in context
nds [Wed, 4 Sep 2019 06:47:42 +0000 (09:47 +0300)]
0030728: Visualization - using one implementation of highlight/unhighlight in context

#fix regression found by DRAW tests

5 years ago0030791: Visualization - possibility to display materials by different hatching style...
nds [Tue, 3 Sep 2019 21:49:54 +0000 (00:49 +0300)]
0030791: Visualization - possibility to display materials by different hatching style for clipping

# move capping style from presentation into drawer
# crash in capping by setting projection as
# several hatch templates

(cherry picked from commit 3a8ba84200bb4402ef38e1889ed7072b24dce42f)

5 years ago0030784: Visualization - check if selectable of owner in internal container in AIS_In...
vro [Tue, 3 Sep 2019 06:41:28 +0000 (09:41 +0300)]
0030784: Visualization - check if selectable of owner in internal container in AIS_InteractiveContext before using

# Issue #1140: Click on interactive cube crashes the application.

5 years ago0029451: Information Message Alert to debug an algorithm or object functionality,
nds [Tue, 3 Sep 2019 12:01:13 +0000 (15:01 +0300)]
0029451: Information Message Alert to debug an algorithm or object functionality,

0030268: Inspectors - improvements in VInspector plugin

Dump/Init implementation in OCCT object and parsing it in MessageView (VInspector later)

5 years ago0030791: Visualization - possibility to display materials by different hatching style...
nds [Tue, 3 Sep 2019 08:57:15 +0000 (11:57 +0300)]
0030791: Visualization - possibility to display materials by different hatching style for clipping

#compilation correction for VS2017, Debian

5 years ago0030737: Visualization - implementing new selection schemes in context
nds [Tue, 20 Aug 2019 12:16:34 +0000 (15:16 +0300)]
0030737: Visualization - implementing new selection schemes in context

(cherry picked from commit 951d93f193cdc00724586df1903ad39fc487cecd)

5 years ago0030537: Visualization - wrapping text in font text formatter
nds [Mon, 2 Sep 2019 15:44:07 +0000 (18:44 +0300)]
0030537: Visualization - wrapping text in font text formatter

Font_TextFormatter inherits Standard_Transient, now it is given as a handle in functions.
Graphic3d_Text - extended with Font_TextFormatter to be able to have it filled out of text render. If it is not defined here, the default text formatter of context is used.
OpenGl_Context - has default Font_TextFormatter for rendering OpenGl_Text.

5 years ago0030728: Visualization - using one implementation of highlight/unhighlight in context...
nds [Tue, 11 Jun 2019 11:24:23 +0000 (14:24 +0300)]
0030728: Visualization - using one implementation of highlight/unhighlight in context - compilation correction

#correction for compilation

5 years ago0030791: Visualization - possibility to display materials by different hatching style...
nds [Tue, 18 Jun 2019 12:44:43 +0000 (15:44 +0300)]
0030791: Visualization - possibility to display materials by different hatching style for clipping

(cherry picked from commit fafcc26452caed43ca8434a313e409ab19e43334)

# Conflicts:
# src/Graphic3d/Graphic3d_Group.hxx

5 years ago0030784: Visualization - check if selectable of owner in internal container in AIS_In...
nds [Tue, 14 May 2019 11:31:43 +0000 (14:31 +0300)]
0030784: Visualization - check if selectable of owner in internal container in AIS_InteractiveContext before using

# todo - add similar check for other places where needed

(cherry picked from commit 9e58a207356c928cc53741a35830be150e2b3d8f)

5 years ago0030728: Visualization - using one implementation of highlight/unhighlight in context
nds [Wed, 22 May 2019 14:33:02 +0000 (17:33 +0300)]
0030728: Visualization - using one implementation of highlight/unhighlight in context

(cherry picked from commit 36b87936acf5a89d573663b5e8d086a4a4a084d3)

# Conflicts:
# src/AIS/AIS_InteractiveContext_1.cxx
(cherry picked from commit 7fc133f086611b4f4e36b658f99c29012da921d1)

# Conflicts:
# src/AIS/AIS_InteractiveContext_1.cxx
(cherry picked from commit a06b8e8308efef642cc5c2c5ce6261aae276d530)
(cherry picked from commit 0d5a72ab1638e4ed3d3eb72b15430ee7337f69bc)

# Conflicts:
# src/AIS/AIS_InteractiveContext.cxx
(cherry picked from commit 9e9c9c84bdc5fa579105190b12ec82fbf8db3081)

5 years ago0030392: XCAFDoc_GraphNode doesn't copy backward links
snn [Fri, 30 Nov 2018 07:39:15 +0000 (10:39 +0300)]
0030392: XCAFDoc_GraphNode doesn't copy backward links

(cherry picked from commit 6131065fae2474309c617039ad5be15f1f05a813)
(cherry picked from commit 713624228050b8f7db4d8b2e22c7edfd8c832471)
(cherry picked from commit b7fb7db6ae971efcf9ce0b5283a89328c4dce1bb)

5 years agorefs 474:Possibility to create and play animations
nds [Thu, 27 Sep 2018 14:53:53 +0000 (17:53 +0300)]
refs 474:Possibility to create and play animations

(cherry picked from commit d9a231a9ce2499615952944cae1a0db6552db2e4)
(cherry picked from commit ab078490cdc21bdcb344f94dcea9494a7db2f2c8)
(cherry picked from commit 277ea0a15e589efd7128f915959a18a59ebdfd1c)
(cherry picked from commit 89d8a85dd8ebc1801bcb6149ca05cf77b7da5ba9)

5 years agorefs #355: Add possibility to hide clipping plane
nds [Thu, 27 Sep 2018 14:43:50 +0000 (17:43 +0300)]
refs #355: Add possibility to hide clipping plane

(cherry picked from commit ca1f82f6c6860a2e1995d7d9a66ce8c152e9d3cc)
(cherry picked from commit 61f39b4dc7235bf14d685811a8dc4219f02ea4c9)
(cherry picked from commit 7b08ab936a5f6091651fc0311c5c255bd0dc9cb0)

# Conflicts:
# src/XCAFDoc/XCAFDoc.hxx
(cherry picked from commit 72e4a1055636c461e6b154dbd785c84bc611c665)

5 years agoXCAFDoc/View fixes to store in the view: image, parts transparency, notes, notes...
nds [Thu, 27 Sep 2018 14:38:43 +0000 (17:38 +0300)]
XCAFDoc/View fixes to store in the view: image, parts transparency, notes, notes positions

(cherry picked from commit b050e0a15c06403adfa545ad793555491a0b6b9f)
(cherry picked from commit 7099619e5d4f0c04e2c6827247a7c1050fd2711b)
(cherry picked from commit ccd4b101f5ab18ab3518b9779e88d687e2db6ff1)

# Conflicts:
# src/XCAFDoc/XCAFDoc.cxx
# src/XCAFDoc/XCAFDoc.hxx
(cherry picked from commit a22653eb867815de9036e487a33a741dfb465d0b)

5 years ago0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires IR-2019-08-30
jgv [Thu, 29 Aug 2019 16:02:25 +0000 (19:02 +0300)]
0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires

Add setting the Closed flag for a new wire

5 years ago0030926: Data Exchange - Change of the number of GDT points of a View may lead to...
vro [Thu, 29 Aug 2019 13:20:50 +0000 (16:20 +0300)]
0030926: Data Exchange - Change of the number of GDT points of a View may lead to a crash

5 years ago0030923: Visualization, AIS_ViewCube - avoid mixing non-zoomable text and trihedron...
kgv [Tue, 27 Aug 2019 11:26:45 +0000 (14:26 +0300)]
0030923: Visualization, AIS_ViewCube - avoid mixing non-zoomable text and trihedron-persistence

Box sides labels are now drawn with zoomable flag.

5 years ago0030919: ACIS Import - Improving translation of string attributes into XDE
anv [Wed, 28 Aug 2019 13:31:12 +0000 (16:31 +0300)]
0030919: ACIS Import - Improving translation of string attributes into XDE

- Added possibility to get (or create if absent) a properties attribute via ShapeTool;
- Added Draw command to print properties attached to a Label.

5 years ago0030914: Modeling Algorithms - Improve performance of UnifySameDom algorithm for...
emv [Mon, 26 Aug 2019 13:31:52 +0000 (16:31 +0300)]
0030914: Modeling Algorithms - Improve performance of UnifySameDom algorithm for specific case with many edges

Use cached containers to find the necessary shapes.

5 years ago0030913: Invalid result of Fusing slices
emv [Mon, 19 Aug 2019 05:33:40 +0000 (08:33 +0300)]
0030913: Invalid result of Fusing slices

Refactoring of the Line-Line intersection method strengthening the parallel and coincidence criteria to allow almost parallel lines have an intersection point.

5 years ago0030903: Bug in IntCurvesFace_ShapeIntersector
emv [Tue, 27 Aug 2019 07:02:26 +0000 (10:02 +0300)]
0030903: Bug in IntCurvesFace_ShapeIntersector

When classifying the intersection point check the ON status in 3D - compare the 3D distances with 3D tolerance.

5 years ago0030924: Coding - incorrect header in file OSD_ThreadPool.hxx
kgv [Wed, 28 Aug 2019 07:09:56 +0000 (10:09 +0300)]
0030924: Coding - incorrect header in file OSD_ThreadPool.hxx

Fixed license statements within files BRepGProp_MeshProps.cxx, BRepGProp_MeshProps.hxx,
OSD_ThreadPool.cxx and OSD_ThreadPool.hxx.

Removed non-ASCII char from BRepMesh_ModelHealer.hxx.

5 years ago0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal...
kgv [Mon, 26 Aug 2019 08:08:23 +0000 (11:08 +0300)]
0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal value

Map the very upper value (theValue==theMax) to the largest color interval.

5 years ago0030857: Visualization - using one implementation of Text in graphic group IR-2019-08-23
nds [Fri, 23 Aug 2019 11:28:04 +0000 (14:28 +0300)]
0030857: Visualization - using one implementation of Text in graphic group

Graphic3d_Group::Text(...) are obsolete, AddText() should be used instead of these methods.
Graphic3d_Text is a new class for parameters necessary to fill OpenGl_Text. All parameters of Graphic3d_Group::Text() are moved into this class.

OpenGl_TextParam is removed, these fields were moved into Graphic3d_Text.
OpenGl_Text constructors/Init with OpenGl_TextParam parameter were removed. Constructor with Graphic3d_Text should be used instead of it.
Using OpenGl_Text Init() with OpenGl_TextParam should be now replaced on two cases. The first case is setting values into Graphic3d_Text and the second case is calling Reset() after. As example, look at modification in OpenGl_FrameStatsPrs.

5 years ago0030807: Visualization, TKOpenGl - supporting cubemaps
iko [Tue, 9 Jul 2019 13:55:49 +0000 (16:55 +0300)]
0030807: Visualization, TKOpenGl - supporting cubemaps

A cubemap texture initialization has been implemented.
Setting environment cubemap as interactive background is posssible now.

5 years ago0030905: Modeling Algorithms - Faulty shapes in UnifySameDomain
emv [Tue, 20 Aug 2019 11:23:29 +0000 (14:23 +0300)]
0030905: Modeling Algorithms - Faulty shapes in UnifySameDomain

Make face FORWARD before adding wire in it.

5 years ago0029662: Modeling Data - Allow replacement of Compounds via BRepTools_ReShape
anv [Thu, 29 Mar 2018 09:36:09 +0000 (12:36 +0300)]
0029662: Modeling Data - Allow replacement of Compounds via BRepTools_ReShape

- Fixed condition to allow proceeding of nested compounds;
- Added new key to "reshape" draw command to state a level of type until which requests are taken into account;
- Test case added.

5 years ago0030874: Modeling Algorithms - GCPnts_TangentialDeflection inserts the points between...
drazmyslovich [Wed, 7 Aug 2019 12:10:32 +0000 (15:10 +0300)]
0030874: Modeling Algorithms - GCPnts_TangentialDeflection inserts the points between nearby points

Check the points distance before inserting a new point in between.

5 years ago0030906: Visualization, SelectMgr_ViewerSelector - Object clipping planes overrides...
kgv [Tue, 20 Aug 2019 13:28:33 +0000 (16:28 +0300)]
0030906: Visualization, SelectMgr_ViewerSelector - Object clipping planes overrides View clipping plane for next objects

Clipping range has been moved from SelectMgr_RectangularFrustum to SelectMgr_SelectingVolumeManager
and passed to frustum as an argument to Overlap() methods.
This fixes an issue when Clipping is customized per-object within SelectMgr_ViewerSelector::traverseObject()
in case when shallow copy of SelectMgr_SelectingVolumeManager is created
(frustums are copied from global frustum manager by Handle).

5 years ago0030901: Visualization - OSD_MemInfo moving memory computation out of the constructor IR-2019-08-16
nds [Thu, 15 Aug 2019 10:17:18 +0000 (13:17 +0300)]
0030901: Visualization - OSD_MemInfo moving memory computation out of the constructor

5 years ago0030900: Configuration - fix compilation using macOS SDK before 10.12
kgv [Wed, 14 Aug 2019 22:04:45 +0000 (01:04 +0300)]
0030900: Configuration - fix compilation using macOS SDK before 10.12

ViewerTest - added compatibility defines.

5 years ago0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one...
kgv [Wed, 14 Aug 2019 12:06:55 +0000 (15:06 +0300)]
0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption

Fix misprint in condition.

5 years ago0030897: Modeling Algorithms - Crash in UnifySameDomain [Regression]
msv [Tue, 13 Aug 2019 13:00:48 +0000 (16:00 +0300)]
0030897: Modeling Algorithms - Crash in UnifySameDomain [Regression]

The regression caused by the patch for 0030534 has been eliminated. For that the method InsertWiresIntoFaces() has been corrected: the face to which a wire is added is first oriented as forward.

5 years ago0026978: VIS - Interactive selection is insensitive to swept shell
kgv [Mon, 12 Aug 2019 14:47:28 +0000 (17:47 +0300)]
0026978: VIS - Interactive selection is insensitive to swept shell

IVtkOCC_SelectableObject::BoundingBox(), AIS_Shape::BoundingBox() now don't use
BRepBndLib::AddClose() on arbitrary shapes.

5 years ago0008239: Foundation Classes - directive "using namespace std" doesn't allow to build...
kgv [Tue, 13 Aug 2019 08:33:20 +0000 (11:33 +0300)]
0008239: Foundation Classes - directive "using namespace std" doesn't allow to build application with OCC and other 3rd party libraries

Standard_Stream.hxx no more adds "using std::" entities.

5 years ago0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
tiv [Fri, 2 Aug 2019 07:32:16 +0000 (10:32 +0300)]
0030895: Coding Rules - specify std namespace explicitly for std::cout and streams

"endl" manipulator for Message_Messenger is renamed to "Message_EndLine".

The following entities from std namespace are now used
with std:: explicitly specified (from Standard_Stream.hxx):
std::istream,std::ostream,std::ofstream,std::ifstream,std::fstream,
std::filebuf,std::streambuf,std::streampos,std::ios,std::cout,std::cerr,
std::cin,std::endl,std::ends,std::flush,std::setw,std::setprecision,
std::hex,std::dec.

5 years ago0030286: Cover polygonal HLR algorithm by regression tests
jgv [Tue, 18 Dec 2018 13:57:32 +0000 (16:57 +0300)]
0030286: Cover polygonal HLR algorithm by regression tests

New folder "hlr" with subfolders "exact_hlr" and "poly_hlr" has been created.
Draw command "vcomputehlr" has been corrected.
QA command "OCC27341" has been deleted as "vcomputehlr" does its job.

5 years ago0030888: Data Exchange, RWGltf_CafReader - fix misprint in condition while iterating...
kgv [Fri, 9 Aug 2019 21:16:05 +0000 (00:16 +0300)]
0030888: Data Exchange, RWGltf_CafReader - fix misprint in condition while iterating binary glTF 2.0 chunks

5 years ago0030872: In case of failure, retry to acquire the driver for the format IR-2019-08-09
drazmyslovich [Wed, 7 Aug 2019 11:01:13 +0000 (13:01 +0200)]
0030872: In case of failure, retry to acquire the driver for the format

5 years ago0030863: Visualization, SelectMgr_ViewerSelector - disabling of View clipping planes...
kgv [Fri, 9 Aug 2019 10:00:30 +0000 (13:00 +0300)]
0030863: Visualization, SelectMgr_ViewerSelector - disabling of View clipping planes is ignored for transformed objects

SelectMgr_ViewerSelector::computeFrustum() - fixed lost clipping planes when creating a new frustum.

5 years ago0030854: Visualization, AIS_ViewCube - pack triangulations into common array(s)
kgv [Mon, 5 Aug 2019 17:26:11 +0000 (20:26 +0300)]
0030854: Visualization, AIS_ViewCube - pack triangulations into common array(s)

Presentation computation has been modified to merge triangulations per box part type.
Prs3d_Drawer::FaceBoundaryDraw() flag is now handled for drawing box sides edges.

Graphic3d_ArrayOfPrimitives has been extended by auxiliary methods:
- ::AddSegmentEdges(), ::AddTriangleEdges(), ::AddQuadEdges() raising exception on wrong primitive type.
- ::AddQuadTriangleEdges() splitting quad into indexed triangulation;
- ::AddTriangleStripEdges() splitting triangle strip into indexed triangulation;
- ::AddTriangleFanEdges() splitting triangle fan into indexed triangulation;
- ::AddPolylineEdges() splitting polyline into indexed segments.

5 years ago0030869: Modeling Data - BRepAdaptor_CompCurve incorrectly evaluates the boundary...
emv [Wed, 7 Aug 2019 06:40:42 +0000 (09:40 +0300)]
0030869: Modeling Data - BRepAdaptor_CompCurve incorrectly evaluates the boundary points

Problem is solved by #0029430. Integrating test case only.

5 years ago0030695: Visualization - selection by box should use clipping planes set for viewer...
nds [Wed, 7 Aug 2019 06:42:33 +0000 (09:42 +0300)]
0030695: Visualization - selection by box should use clipping planes set for viewer - moving check on touching the clipping plane in selection only.

5 years ago0030425: Visualization - possibility to redefine AIS_Selection
nds [Tue, 25 Dec 2018 06:26:49 +0000 (09:26 +0300)]
0030425: Visualization - possibility to redefine AIS_Selection

5 years ago0030865: Samples - sample for 3D version of new OCC logo
abv [Tue, 6 Aug 2019 09:37:56 +0000 (12:37 +0300)]
0030865: Samples - sample for 3D version of new OCC logo

Added new Tcl sample "logo2019.tcl" and relevant test demo/samples/logo2019

5 years ago0030864: Global variable Version defined in TopTools_ShapeSet.cxx is superseded by...
msv [Tue, 6 Aug 2019 06:34:18 +0000 (09:34 +0300)]
0030864: Global variable Version defined in TopTools_ShapeSet.cxx is superseded by same name variable from executable

The variable Version defined in TopTools_ShapeSet.cxx has been declared as static to limit its scope.

5 years ago0030856: Data Exchange - Wrong colors after STEP file import
ika [Wed, 31 Jul 2019 15:09:04 +0000 (18:09 +0300)]
0030856: Data Exchange - Wrong colors after STEP file import

Fix processing of colors, attached to assemblies in STEP file.

6 years ago0030534: Regression in the tool UnifySameDomain - the shape looses faces
jgv [Fri, 15 Mar 2019 09:55:09 +0000 (12:55 +0300)]
0030534: Regression in the tool UnifySameDomain - the shape looses faces

1. Add method TransformPCurves to ShapeUpgrade_UnifySameDomain - to rotate and translate existing pcurves instead of projecting.
2. Modify method ShapeUpgrade_UnifySameDomain::IntUnifyFaces - now it does not apply ShapeFix to new wires and new faces.
3. In the method UnifyEdges: add merging degenerated edges.

6 years ago0030835: Possible performance improvements in methods TDF_Label::FindAttribute
mpv [Mon, 29 Jul 2019 14:11:54 +0000 (17:11 +0300)]
0030835: Possible performance improvements in methods TDF_Label::FindAttribute

Make attribute iterator work with pointers to attributes, so, creation of handle on each iteration is avoided.

6 years ago0029837: Visualization, Graphic3d_Camera - Fit All operation works incorrectly on...
kgv [Mon, 29 Jul 2019 00:21:28 +0000 (03:21 +0300)]
0029837: Visualization, Graphic3d_Camera - Fit All operation works incorrectly on flat object

Graphic3d_Camera has been revised to store camera Direction from Eye explicitly
and Distance to Center instead of auxiliary Center point.

This allows setting camera Distance to 0 (for flat objects) without side effects
like broken FitAll, wobbling on rotating.

6 years ago0026154: Visualization - v3d viewer grid disappears due to automatic z-fit
kgv [Mon, 29 Jul 2019 14:49:58 +0000 (17:49 +0300)]
0026154: Visualization - v3d viewer grid disappears due to automatic z-fit

V3d_RectangularGrid, V3d_CircularGrid, fixed initialization of presentation bounding box (lost Z offset).

6 years ago0030855: Coding - New warnings within Standard_ReadLineBuffer after integration fix...
kgv [Sun, 28 Jul 2019 09:24:53 +0000 (12:24 +0300)]
0030855: Coding - New warnings within Standard_ReadLineBuffer after integration fix for 0030830

Added missing cast.

6 years ago0030744: Visualization, TKOpenGl - stipple line does not work on OpenGL ES 2.0 IR-2019-07-27
kgv [Fri, 19 Jul 2019 13:35:23 +0000 (16:35 +0300)]
0030744: Visualization, TKOpenGl - stipple line does not work on OpenGL ES 2.0

OpenGl_ShaderManager now provides fallback stipple lines GLSL code for obsolete OpenGL ES 2.0 devices.
OpenGl_Caps has been extended by flags disallowing OpenGL extensions usage
and restricting upper OpenGL version to be used by OCCT for testing purposes.

6 years ago0030830: Point Cloud Rendering - use temporary buffer to read lines from .pts and...
osa [Wed, 24 Jul 2019 11:30:53 +0000 (14:30 +0300)]
0030830: Point Cloud Rendering - use temporary buffer to read lines from .pts and .ptx files

Add Standard_ReadLineBuffer - auxiliary tool for buffered reading of lines from input stream.

6 years ago0030853: Visualization, AIS_ViewController - fix 1 pixel Y shift while zooming
kgv [Fri, 26 Jul 2019 02:59:39 +0000 (05:59 +0300)]
0030853: Visualization, AIS_ViewController - fix 1 pixel Y shift while zooming

Fixed error in math converting Y-down mouse coordinates into Y-up within AIS_ViewController::handleZoom().
Added flags ToStickToRayOnZoom()/ToStickToRayOnRotation() enabled by default,
which will project picked point onto ray at mouse cursor to preserve focus on zoom out.

6 years ago0030850: Visualization, OpenGl_Text - text within trihedron persistence jitters when... IR-2019-07-19
kgv [Wed, 17 Jul 2019 21:08:02 +0000 (00:08 +0300)]
0030850: Visualization, OpenGl_Text - text within trihedron persistence jitters when camera is far from origin

OpenGl_Text now discards (redundant) translation part from camera orientation matrix.
Text anchor point alignment to integer coordinates is now not performed for 3D-oriented text.

6 years ago0028954: Visualization - implement interactive object for camera manipulations
aba [Wed, 3 Jul 2019 09:37:36 +0000 (12:37 +0300)]
0028954: Visualization - implement interactive object for camera manipulations

Added new class AIS_ViewCube implementing interactive cube
displaying orientation of the main axes of the model space in the viewer.
Each side, edge, or corner of the cube corresponds to particular orientation of the camera,
and the class provides methods to move the camera to corresponding position (with animation if needed).

AIS_InteractiveContext::LastActiveView(), added new property returning the last View processed by MoveTo() event.
AIS_InteractiveContext::BoundingBoxOfSelection(), added method returning bounding box of selected objects.
SelectMgr_EntityOwner::HandleMouseClick(), added new callback for handling
mouse clicks by owner itself without automatic highlighting and clearing previous selection.
Called by AIS_InteractiveContext::Select() method.

AIS_ViewController::ViewAnimation() has been extened with camera animation propery,
which can be bound to AIS_ViewCube for smooth embedding into event loop.

Prs3d_ToolDisk has been extended with parameters specifying angle range.
Graphic3d_MaterialAspect now initializes all coefficients to 1.0
when Graphic3d_NOM_UserDefined is passed to class constructor.
AIS_AnimationCamera::update() now sets the end camera position if animation duration is 0.
Prs3d_DatumAspect, added missing setters.

New command vviewcube has been added.

6 years ago0030790: [REGRESSION] Modeling Algorithms - Crash when loading specific step file
msv [Mon, 15 Jul 2019 16:47:14 +0000 (19:47 +0300)]
0030790: [REGRESSION] Modeling Algorithms - Crash when loading specific step file

The problem occurred when the algorithm IntCurvesFace_Intersector was called for a face occupying zero extension along V direction. This is obviously a bad face, but we need to have the algorithm not crashing the application. So, the algorithm has been protected against such input data. At attempt to make calculations it establishes NotDone status.

Bad test case tests/de/step_3/D9 has been updated.
False memory leak detection has been suppressed in tests/bugs/fclasses/bug7287_2.

6 years ago0030799: Draw Harness, ViewerTest - setup uniforms via vshader command
mzernova [Wed, 17 Jul 2019 16:05:53 +0000 (19:05 +0300)]
0030799: Draw Harness, ViewerTest - setup uniforms via vshader command

vshaderprog command now supports setup custom uniforms

6 years ago0030668: Visualization - revise adding ZLayer API
kgv [Mon, 15 Jul 2019 18:06:05 +0000 (21:06 +0300)]
0030668: Visualization - revise adding ZLayer API

V3d_Viewer::AddZLayer() has been replaced by
V3d_Viewer::InsertLayerBefore() and V3d_Viewer::InsertLayerAfter() methods
allowing to specify Layer settings and index of existing layer to insert new one before/after.
The behavior of V3d_Viewer::AddZLayer() has been adjusted to append
new Layer before Graphic3d_ZLayerId_Top
(between Graphic3d_ZLayerId_Default and Graphic3d_ZLayerId_Top).

Graphic3d_Layer now provides LayerId() property.
Graphic3d_ZLayerSettings has been extended with IsRaytracable() property;
Ray-Tracing now processes multiple layers instead of Graphic3d_ZLayerId_Default.

Moved some methods from OpenGl_View to the base class Graphic3d_CView.

6 years ago0030630: Visualization - wrong visualization of shape with mirrored transformation
ika [Thu, 4 Apr 2019 13:07:05 +0000 (16:07 +0300)]
0030630: Visualization - wrong visualization of shape with mirrored transformation

Solids with mirror location are displayed, according to their normals.

vaspects -setBackFaceColor, added command to set backface color.

6 years ago0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
msv [Wed, 17 Jul 2019 13:50:43 +0000 (16:50 +0300)]
0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL

The fix makes algorithm independent on geometrical data. Only triangulation is needed for its work.

6 years ago0030403: Application Framework - Overwriting Big BinOcaf Files Does Not Reduce Their...
Benjamin Bihler [Thu, 11 Jul 2019 09:16:12 +0000 (11:16 +0200)]
0030403: Application Framework - Overwriting Big BinOcaf Files Does Not Reduce Their Size

OSD_OpenFileDescriptor(), added truncating flag to fopen() flags for std::ios_base::out,
since truncating is implied by C++ output flag.
This fixes misbehavior of OSD_OpenStream() on MinGW-w64 platform.

6 years ago0029736: Some Warnings During Compound Transfer to IGES Look Dubious
abv [Wed, 10 Jul 2019 18:45:45 +0000 (21:45 +0300)]
0029736: Some Warnings During Compound Transfer to IGES Look Dubious

Incorrect (legacy) warnings during IGES export are removed

6 years ago0030628: [REGRESSION] Data Exchange - Crash on importing STEP file
kgv [Thu, 11 Jul 2019 06:38:54 +0000 (09:38 +0300)]
0030628: [REGRESSION] Data Exchange - Crash on importing STEP file

RWHeaderSection_RWFileDescription::ReadStep(), added check for an empty list.

6 years ago0029987: Request for translation of French comments in the code IR-2019-07-12
ysn [Wed, 25 Jul 2018 15:13:26 +0000 (18:13 +0300)]
0029987: Request for translation of French comments in the code

French comments in two files have been translated in English.

6 years ago0030837: Data Exchange, XCAFPrs_DocumentExplorer - fix misprint in XCAFPrs_DocumentEx...
kgv [Wed, 10 Jul 2019 20:24:05 +0000 (23:24 +0300)]
0030837: Data Exchange, XCAFPrs_DocumentExplorer - fix misprint in XCAFPrs_DocumentExplorerFlags_NoStyle check

6 years ago0027710: Make Data-exchange test cases more machine independent
apn [Thu, 8 Sep 2016 12:20:43 +0000 (15:20 +0300)]
0027710: Make Data-exchange test cases more machine independent

Added description of de test grid in user guide.

6 years ago0030833: Visualization - Graphic3d_Camera constructor's exceptions
iko [Tue, 9 Jul 2019 14:19:57 +0000 (17:19 +0300)]
0030833: Visualization - Graphic3d_Camera constructor's exceptions

Field's initialization part has been added to Graphic3d_Camera constructor receiving Handle(Graphic3d_Camera).

6 years ago0030827: Add common functionality allowing to switch triangulation algorithm in runtime
oan [Wed, 3 Jul 2019 08:45:18 +0000 (11:45 +0300)]
0030827: Add common functionality allowing to switch triangulation algorithm in runtime

New classes BRepMesh_ConstrainedBaseMeshAlgo, BRepMesh_CustomBaseMeshAlgo and BRepMesh_CustomDelaunayBaseMeshAlgo are added.
These classes allow to add any custom triangulation algorithm to BRepMesh and perform post-processing and optimization of base mesh generated by those algorithms.
BRepMesh_Delaun: added possibility to process constraints when base mesh is generated by different algorithm.
BRepMesh_DelaunayNodeInsertionMeshAlgo: added PreProcessSurfaceNodes flag controlling addition of surface nodes (either before creation of base mesh or after) to gain maximum performance from triangulation algorithms.

Minor changes:
Use simple algorithm for cylinders when internal vertices mode is switched off to speed up computations.
BRepMesh_IncrementalMesh: added Perform method allowing to execute algorithm using manually created Context.

6 years ago0030824: Visualization, PrsMgr_PresentableObject - A new flag to disable automatic... IR-2019-07-05
asl [Wed, 3 Jul 2019 08:29:47 +0000 (11:29 +0300)]
0030824: Visualization, PrsMgr_PresentableObject - A new flag to disable automatic selection of children

A new flag myToPropagateVisualState is introduced for PrsMgr_PresentableObject: by default it is true, it means that the visual state (display/erase/color) should be propagated to all children. If false, the visual state is not propagated.
The flag can be set via the method ToPropagateVisualState() or via Draw command: "vparent <parent> -ignoreVisu"

6 years ago0030820: Draw Harness, ViewerTest - vsetcolor has no effect on objects created by...
tiv [Tue, 2 Jul 2019 16:53:20 +0000 (19:53 +0300)]
0030820: Draw Harness, ViewerTest - vsetcolor has no effect on objects created by vsegment and vtriangle

MyPArrayObject class (an interactive object representing some array of primitives) is improved: a possibility of color changing is added to it.