occt.git
8 years ago0025305: Visualization, TKOpenGl - support stipple line aspects within built-in GLSL...
isk [Mon, 8 Jun 2015 13:13:31 +0000 (16:13 +0300)]
0025305: Visualization, TKOpenGl - support stipple line aspects within built-in GLSL programs

OpenGl_LineAttributes - drop display lists for stipple lines.
OpenGl_Context - add methods OpenGl_Context::SetTypeOfLine() and OpenGl_Context::SetLineWidth() to setup line aspects.
OpenGl_ShaderManager::prepareStdProgramFlat() - support new bit OpenGl_PO_StippleLine.

vaspects command - add -setlinetype option.

8 years ago0026324: Visualization - fix iteration through corrupted memory in AIS_LocalContext...
vpa [Mon, 8 Jun 2015 14:52:17 +0000 (17:52 +0300)]
0026324: Visualization - fix iteration through corrupted memory in AIS_LocalContext::FindSelectedOwnerFromShape

The signature of SelectMgr_ViewerSelector::ActiveOwners is changed to return output parameter to avoid crash

8 years ago0026153: Draw Harness, ViewerTest - "verase" does not remove selection highlight...
isk [Thu, 14 May 2015 14:04:15 +0000 (17:04 +0300)]
0026153: Draw Harness, ViewerTest - "verase" does not remove selection highlight for shaded object

8 years ago0025201: Visualization - Implementing soft shadows and ambient occlusion in OCCT...
dbp [Mon, 20 Apr 2015 07:15:34 +0000 (10:15 +0300)]
0025201: Visualization - Implementing soft shadows and ambient occlusion in OCCT ray-tracing core

8 years ago0026278: Canonical recognition from time to time raises exception on the attached...
omy [Mon, 1 Jun 2015 14:39:42 +0000 (17:39 +0300)]
0026278: Canonical recognition from time to time raises exception on the attached shape

Corrected array boundaries to avoid Standard_OutOfRange exception in BSplSLib and BSplSLib_Cache on the given shapes.
Code formatting has been corrected for ShapeFix_Edge.

8 years ago0026151: Wrong result obtained by intersection algorithm.
nbv [Wed, 3 Jun 2015 13:52:54 +0000 (16:52 +0300)]
0026151: Wrong result obtained by intersection algorithm.

1. Methods IntPolyh_MaillageAffinage::GetMinDeflection() and IntPolyh_MaillageAffinage::GetMaxDeflection() have been created (see cdl-file for more detail information).
2. Extended check, if starting point of WLine is a tangent point, has been implemented in IntWalk_PWalking::Perform(...) method.

Test cases for issue CR26151

8 years agoAdjusting testing cases after integration fix for issue 24357
apv [Fri, 5 Jun 2015 11:57:53 +0000 (14:57 +0300)]
Adjusting testing cases after integration fix for issue 24357

8 years ago0026306: Access to deleted object in ShapeFix_FixSmallSolid
abv [Wed, 3 Jun 2015 07:01:40 +0000 (10:01 +0300)]
0026306: Access to deleted object in ShapeFix_FixSmallSolid

Code corrected to avoid accessing element of sequence by reference after it is removed.

8 years ago0026149: Visualization - depth buffer should not be written within Z-layers without...
isz [Wed, 3 Jun 2015 06:58:10 +0000 (09:58 +0300)]
0026149: Visualization - depth buffer should not be written within Z-layers without Graphic3d_ZLayerDepthWrite flag

OpenGl_Workspace::updateMaterial() - do not activate writing into Depth buffer without Graphic3d_ZLayerDepthWrite flag.
Add method OpenGl_Workspace::UseDepthWrite() to track glDepthMask() state.

Drop the following outdated API methods conflicting with Z-layers API:
- V3d_View::EnableDepthTest(), V3d_View::IsDepthTestEnabled()
- Visual3d_View::ZBufferIsActivated(), Visual3d_View::SetZBufferActivity(), Visual3d_View::EnableDepthTest(), Visual3d_View::IsDepthTestEnabled()
- Graphic3d_GraphicDriver::SetDepthTestEnabled(), Graphic3d_GraphicDriver::IsDepthTestEnabled()

Activate Z-buffer by default, and manage it state only by Z-layer flags.

8 years ago0026307: Minor improvements in snowflake sample
abv [Wed, 3 Jun 2015 07:21:23 +0000 (10:21 +0300)]
0026307: Minor improvements in snowflake sample

- background is set to while, and lines are black
- dimension line added
- category is corrected

8 years ago0026284: Visualization - eliminate recursion in SelectMgr_SelectionManager
vpa [Thu, 4 Jun 2015 11:37:52 +0000 (14:37 +0300)]
0026284: Visualization - eliminate recursion in SelectMgr_SelectionManager

Small correction of test case for issue CR26284

8 years ago0026206: BRepClass_FaceClassifier returns TopAbs_OUT for internal point
msv [Thu, 4 Jun 2015 11:34:51 +0000 (14:34 +0300)]
0026206: BRepClass_FaceClassifier returns TopAbs_OUT for internal point

Classifier has been corrected to not take into account a probing point if the probing line appears to be tangent to the boundary at this point.

But allow to use tangent point if all points on the edge are tangent.
Modify bad test cases.

Test case for issue CR26206

8 years ago0026304: Visualization - wrong calculation of point in SelectMgr_RectangularFrustum...
vpa [Tue, 2 Jun 2015 15:45:45 +0000 (18:45 +0300)]
0026304: Visualization - wrong calculation of point in SelectMgr_RectangularFrustum::DetectedPoint

8 years ago0024357: BRepBuilderAPI_Sewing returns result with too high tolerance.
gka [Thu, 4 Jun 2015 11:22:33 +0000 (14:22 +0300)]
0024357: BRepBuilderAPI_Sewing returns result with too high tolerance.

In method Approx_SameParameter::Build() for case when 2D and 3D curves is not same parameter calculation of maximal deviation is modified by following way :

Projection is considered as done only if parameter projected point falls within the current interval of parameters.

In the Approx_SameParameter considering tolerance after static method ProjectPointOnCurve was added.

In BRepAlgoAPI_Sewing catch of exception was added and computation of tolerance of edge if same parameter was changed in according to check in BRepCheck_Analyzer

In method Approx_SameParameter::Build() for case when 2D and 3D curves is not same parameter calculation of maximal deviation is modified by following way :

Modification in order to avoid warning

Test case for issue CR24357

8 years ago0026230: Segmentation fault because a NULL curve is used without precaution in case...
ifv [Fri, 29 May 2015 08:25:56 +0000 (11:25 +0300)]
0026230: Segmentation fault because a NULL curve is used without precaution in case of a projection failure

8 years ago0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves
aml [Thu, 4 Jun 2015 11:13:58 +0000 (14:13 +0300)]
0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves

1) Added check for parallel curves.
2) Changed unefficient o(n^2) duplicates deleting algorithm to o(n) algorithm.
3) Deleted useless upper level duplicates deleting algorithm.

Test-case for issue #26075

8 years ago0026210: Sample Modeling: operation "Make revol" has text in window caption "Make...
ski [Thu, 28 May 2015 09:20:52 +0000 (12:20 +0300)]
0026210: Sample Modeling: operation "Make revol" has text in window caption "Make a prism"

Titles for revol operation were updated.
Wrongly merged mfcsample projects were corrected.

8 years ago0026193: Incomplete intersection curve
nbv [Thu, 4 Jun 2015 11:05:33 +0000 (14:05 +0300)]
0026193: Incomplete intersection curve

1. Conditions for adjusting and for breaking Walking-lines have been amended.
2. Processing of case when WLine should be broken has been changed.

Test cases for issues 26193 and 26208 have been added

Cosmetic correction of test-cases

Modification of test-case according to the new behavior.

8 years ago0026281: BRepCheck_Edge::Tolerance() raises exception on the given shapes
nbv [Thu, 4 Jun 2015 11:01:53 +0000 (14:01 +0300)]
0026281: BRepCheck_Edge::Tolerance() raises exception on the given shapes

The reason of the exception has been eliminated

Test-cases for issue #26281

8 years ago0026287: Bug in NCollection_AccAllocator::Free() sometimes causes crash in debug...
myn [Thu, 28 May 2015 13:20:14 +0000 (16:20 +0300)]
0026287: Bug in NCollection_AccAllocator::Free() sometimes causes crash in debug mode

8 years ago0026233: BRepOffset_MakeOffset makes incorrect result
ifv [Thu, 4 Jun 2015 09:40:47 +0000 (12:40 +0300)]
0026233: BRepOffset_MakeOffset makes incorrect result

Test-case for issue #26233

8 years ago0026276: Visualization, TKOpenGl - add missing Standard_EXPORT to matrix management...
omy [Thu, 28 May 2015 07:27:24 +0000 (10:27 +0300)]
0026276: Visualization, TKOpenGl - add missing Standard_EXPORT to matrix management methods in OpenGl_Context

These methods are useful for applying matrices transformations.

8 years ago0026275: Visualization, TKOpenGl - add public constructor for OpenGl_ShaderProgram
omy [Thu, 28 May 2015 08:18:40 +0000 (11:18 +0300)]
0026275: Visualization, TKOpenGl - add public constructor for OpenGl_ShaderProgram

8 years agoTemporally removing several cases from boolean/gdml_private group.
bugmaster [Tue, 2 Jun 2015 11:29:40 +0000 (14:29 +0300)]
Temporally removing several cases from boolean/gdml_private group.

8 years agoUpdate testing cases after integration issue 26253
mkv [Fri, 29 May 2015 11:12:48 +0000 (14:12 +0300)]
Update testing cases after integration issue 26253

8 years ago0026185: BRepOffsetAPI_MakeOffset: regressions on some customer's cases
jgv [Thu, 28 May 2015 12:25:42 +0000 (15:25 +0300)]
0026185: BRepOffsetAPI_MakeOffset: regressions on some customer's cases

Minor correction.

Test-cases for issue #26185

Modifications in test-cases according to developer's notes

8 years ago0026253: Wrong result obtained by General Fuse operator.
pkv [Thu, 28 May 2015 12:21:57 +0000 (15:21 +0300)]
0026253: Wrong result obtained by General Fuse operator.

Replace BOPCol_MapOfShape by BOPCol_IndexedMapOfShape to provide
the same order of shells in the result

Test case for issue CR26253

Correction of test case for issue CR26253

8 years ago0026261: Create a tool to remove tails from any wire
abk [Tue, 19 May 2015 17:03:11 +0000 (20:03 +0300)]
0026261: Create a tool to remove tails from any wire

A tool to remove tails from the wires of a shape was created.
The tool is based on mechanism 'ShapeFix',
is located in types 'ShapeFix_Wire' and 'ShapeAnalysis_Wire',
is enabled through method 'ShapeFix_Wire::FixTailMode' and
is initialized by methods 'ShapeFix_Wire::SetMaxTailAngle' and 'ShapeFix_Wire::SetMaxTailWidth' and
is called through method 'ShapeFix_Wire::FixTails'.
The status of any performing of the last method is accessible through method 'ShapeFix_Wire::StatusFixTails'.
The tail angle is checked only at the tail start.

Mechanism 'ShapeFix' was modified:
- the tool is disabled by default;
- algorithm 'Fix notched edges' is disabled then the tool is enabled;
- the tool and the last algorithm work in turns then the tool works on the request.

'Draw' command 'fixshape' was extended by options '-maxtaila' and '-maxtailw' to test the tool.

'Draw' tests to test the tool were created.

Algorithm 'fixshape' was changed in type 'ShapeProcess_OperLibrary' to
- use new parameters named 'FixTailMode', 'MaxTailAngle' (in degrees) and 'MaxTailWidth' from the algorithm context;
- apply the tool after the shape will be fully fixed if the tool was enabled.

Place holders for the new parameters were created in the resource file of mechsnism 'STEPControl_Reader'.

Test cases for issue CR26261

8 years ago0026259: Extend commands '{l|s|v}props' to output the values with the full precision
abk [Fri, 22 May 2015 12:51:47 +0000 (15:51 +0300)]
0026259: Extend commands '{l|s|v}props' to output the values with the full precision

Additional option '-full' was added to 'Draw' commands 'lprops', 'sprops' and 'vprops'
to output the values not only with the short but and with the full precision.

8 years ago0026022: Extrema_ExtCC gives not precise solution
aml [Thu, 21 May 2015 04:34:49 +0000 (07:34 +0300)]
0026022: Extrema_ExtCC gives not precise solution

Conditional optimization added to Newton optimization algorithm.
Test case for issue CR26022

8 years ago0026221: Visualization - use NCollection_IndexedMap instead of NCollection_Sequence...
dbp [Mon, 25 May 2015 06:43:06 +0000 (09:43 +0300)]
0026221: Visualization - use NCollection_IndexedMap instead of NCollection_Sequence in OpenGl_Layer to improve performance

8 years ago0024682: Move out B-spline cache from curves and surfaces to dedicated classes BSplCL...
azv [Thu, 28 May 2015 10:36:57 +0000 (13:36 +0300)]
0024682: Move out B-spline cache from curves and surfaces to dedicated classes BSplCLib_Cache and BSplSLib_Cache

1. B-spline cache was moved into separated classes: BSplCLib_Cache for 2D and 3D curves and BSplSLib_Cache for surfaces.

2. The cache is used now in corresponding adaptor classes (Geom2dAdaptor_Curve, GeomAdaptor_Curve and GeomAdaptor_Surface) when the curve or surface is a B-spline.

3. Algorithms were changed to use adaptors for B-spline calculations instead of curves or surfaces.

4. Precised calculation of derivatives of surface of revolution is implemented for the points of surface placed on the axis of revolution (Geom_SurfaceOfRevolution.cxx)

5. Small modifications are made to adjust algorithms to new behavior of B-spline calculation.

6. Test cases were modified according to the modern behavior.

7. Changes in BOPAlgo_WireSplitter, BOPTools_AlgoTools, BRepLib_CheckCurveOnSurface and ShapeAnalysis_Wire to use adaptors instead of geometric entities

8. Allow Geom2dAdaptor and GeomAdaptor in case of offset curve to use corresponding adaptor for basis curve

Modification of test-cases according to the new behavior.

8 years ago0026063: GeomAPI_ExtremaCurveSurface have inexact API
aml [Thu, 28 May 2015 09:44:41 +0000 (12:44 +0300)]
0026063: GeomAPI_ExtremaCurveSurface have inexact API

Reason of exception was eliminated.

Test-case for issue #26063

8 years ago0026263: Inconsistent results of bopargcheck snd checkcurveonsurf commands.
pkv [Mon, 25 May 2015 10:08:25 +0000 (13:08 +0300)]
0026263: Inconsistent results of bopargcheck snd checkcurveonsurf commands.

Changes:
class BOPTest
- static function:
Standard_Integer checkcurveonsurf(Draw_Interpretor& di,
                                  Standard_Integer n,
                                  const char** a)
has been changed.
The condition that provides selection of faulty curves has been modified
to be coherent with the same condition in  class BOPAlgo_Analyzer.

8 years ago0024994: missing implematation of constructor: BRepClass_FaceClassifier
isn [Mon, 25 May 2015 09:24:32 +0000 (12:24 +0300)]
0024994: missing implematation of constructor: BRepClass_FaceClassifier

8 years ago0026262: mixing qvector.h and math_Memory.hxx won't compile
abv [Mon, 25 May 2015 08:21:59 +0000 (11:21 +0300)]
0026262: mixing qvector.h and math_Memory.hxx won't compile

Files math_Memory.cxx and .hxx removed: function memmove() should be available on all modern platforms in standard C library

8 years ago0026044: Optimize math_GlobOptMin class to enter options for solutions of some specif...
aml [Tue, 19 May 2015 11:27:06 +0000 (14:27 +0300)]
0026044: Optimize math_GlobOptMin class to enter options for solutions of some specified problems

Possibility to search single optimum added.

8 years ago0026180: Modeling Algorithms - Provide shape self-intersection detector
dbp [Thu, 28 May 2015 09:16:22 +0000 (12:16 +0300)]
0026180: Modeling Algorithms - Provide shape self-intersection detector

Small correction of test case for issue CR26180

Fix GCC compilation warnings.

8 years agoAdded parameter highlight_percent in command testdiff.
apn [Thu, 21 May 2015 12:11:12 +0000 (15:11 +0300)]
Added parameter highlight_percent in command testdiff.

It highlights considerable (>value in %) deviations of CPU and memory (default value is 5%).

8 years agoCorrecting erroneous results of merge
vpa [Thu, 21 May 2015 15:19:38 +0000 (18:19 +0300)]
Correcting erroneous results of merge

8 years ago0026237: Change platform in TODOs from Debian\Mandriva to Linux
apn [Thu, 21 May 2015 12:50:31 +0000 (15:50 +0300)]
0026237: Change platform in TODOs from Debian\Mandriva to Linux

Change platform in occt test cases in TODOs from Debian\Mandriva to Linux

Small corrections in test cases. Return procedure _tests_platform_def.

8 years ago0024927: Getting rid of "Persistent" functionality -- Documentation
dln [Tue, 2 Sep 2014 07:21:21 +0000 (11:21 +0400)]
0024927: Getting rid of "Persistent" functionality -- Documentation

First version of upgrade manual (new developer guide) added, describing methods that can be used to convert data files written with old persistence, to formats supported by OCCT 7.0

8 years ago0024927: Getting rid of "Persistent" functionality -- Storable
dln [Fri, 15 Aug 2014 06:03:58 +0000 (10:03 +0400)]
0024927: Getting rid of "Persistent" functionality -- Storable

Delete "Storable" class from "Standard" package and all use of it

8 years ago0024927: Getting rid of "Persistent" functionality -- Samples and data
dln [Tue, 26 Aug 2014 12:15:24 +0000 (16:15 +0400)]
0024927: Getting rid of "Persistent" functionality -- Samples and data

Support of old persistence (CSFDB format) is removed from OCCT samples (C#, MFC and Qt)

Motor model from data/csfdb is converted from CSFDB to BRep format and put to data/occ (Motor-c.brep)

8 years ago0024927: Getting rid of "Persistent" functionality -- Tests
dln [Fri, 29 Aug 2014 07:24:24 +0000 (10:24 +0300)]
0024927: Getting rid of "Persistent" functionality -- Tests

All uses of "MDTV-Standard" and "MDTV-Design" in tests changed to "BinOcaf", and "MDTV-XCAF" changed to "BinXCAF".
Formats changed: .std to .cbf, .dxc to .dbf.

Test groups renamed accordingly:
xcaf: brep_to_dxc -> brep_to_xbf, igs_to_dxc -> igs_to_xbf, stp_to_dxc -> stp_to_xbf, dxc -> xbf/A1, dxc_add_CL -> xbf_add_CL
xml: ocaf_std -> ocaf_cbf, xcaf_dxc -> xcaf_xbf

8 years ago0024927: Getting rid of "Persistent" functionality -- Code
abv [Wed, 4 Jun 2014 08:12:21 +0000 (12:12 +0400)]
0024927: Getting rid of "Persistent" functionality -- Code

Brute force removal of standard persistence (ShapeSchema, StdLSchema, StdSchema, XCAFSchema) and all persistence-specific toolkits.

OCAF formats "MDTV-Standard", "MDTV-XCAF" are removed from resource files.

Uses of "MDTV-Standard" are changed to "BinOcaf", and "MDTV-XCAF" changed to "BinXCAF".

8 years ago0025923: Remove small wires on face read from STEP
azn [Thu, 21 May 2015 11:46:00 +0000 (14:46 +0300)]
0025923: Remove small wires on face read from STEP

The analysis of small area in the method ShapeAnalysis_Wire::CheckSmallArea is performed the following way:
- On the fisrt step algorithm produces a rough estimation of part of surface area.
- In a case if obtained estimation is less than tolerance then evaluate real area and comapre this value with tolerance.
- New flag has been added to XSTEPResource/IGES. In a case if flag is true the faces with small 3d area is removed from ShapeFix context.

Test-case for issue #25923 and update test-cases in de group according to the new behavior.

8 years ago0026220: Visualization - In Graphic3d_Structure use single NCollection_IndexedMap...
dbp [Thu, 14 May 2015 09:14:40 +0000 (12:14 +0300)]
0026220: Visualization - In Graphic3d_Structure use single NCollection_IndexedMap instead of NCollection_DataMap and NCollection_Sequence

8 years ago0026199: Visualization - use NCollection_IndexedMap instead of NCollection_Sequence...
dbp [Thu, 21 May 2015 11:30:38 +0000 (14:30 +0300)]
0026199: Visualization - use NCollection_IndexedMap instead of NCollection_Sequence in OpenGl_BVHClipPrimitiveSet to improve performance

This patch improves performance of OpenGl_BVHClipPrimitiveSet. In particular, on the attached test case for 90 000 spheres the results are the following:

1) Master: vdisplay - 55 sec, 5 FPS, 1.4 GB memory, vclear - 180 sec.
2) Branch: vdisplay - 1.3 sec, 5 FPS, 1.4 GB memory, vclear - 90 sec.

So, the patch improves vdisplay in ~40 times, and vclear in ~2 times without extra memory and with no impact on rendering performance. However, the vclear time is still significant. According to profile results, it is due to Graphic3d_Structure::DisconnectAll method.

Test case for issue CR26199

Fix invalid warnings in 'vdefaults' command.

8 years ago0026209: Visualization - provide a method to fit view to the specific bounding box
vpa [Thu, 14 May 2015 16:32:05 +0000 (19:32 +0300)]
0026209: Visualization - provide a method to fit view to the specific bounding box

Methods V3d_View::FitAll and NIS_View::FitAll3d now take arbitrary bounding box as a parameter;
Option -selected added to vfit command to fit only selected entities in Draw;
F key press now fits selected objects if any by default.

8 years ago0026082: When view is resized horizontally the visualization is not scaled
apl [Tue, 19 May 2015 11:19:10 +0000 (14:19 +0300)]
0026082: When view is resized horizontally the visualization is not scaled

8 years ago0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics
abv [Tue, 19 May 2015 04:10:35 +0000 (07:10 +0300)]
0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics

"Static" keyword removed from local variable declarations in IntAna_Int3Pln::Perform()

8 years ago0026201: Wrong processing of dissymetric chamfer: order of chords unjustly changes
jgv [Thu, 21 May 2015 10:56:47 +0000 (13:56 +0300)]
0026201: Wrong processing of dissymetric chamfer: order of chords unjustly changes

Test-case for issue #26201

8 years ago0026163: Visualization - AIS_Shape::SetWidth() should not overwrite the free boundary...
apl [Mon, 18 May 2015 17:11:22 +0000 (20:11 +0300)]
0026163: Visualization - AIS_Shape::SetWidth() should not overwrite the free boundary color

8 years ago0026226: Can't compile and run OCC mfs samples
ski [Tue, 19 May 2015 07:54:14 +0000 (10:54 +0300)]
0026226: Can't compile and run OCC mfs samples

Files ISession2D_SensitiveCurve.h and ISession2D_SensitiveCurve.cpp were removed from mfc Geometry sample.
Output directory for mfcsample project was changed from lib/libd to bin/bind.

8 years ago0026197: Incomplete intersection curve
nbv [Thu, 21 May 2015 10:47:55 +0000 (13:47 +0300)]
0026197: Incomplete intersection curve

Correct the algorithm to get right Start point for extension of the walking line.

Test case for issue CR26197

Correction of test case bugs/modalg_6/bug26197

8 years ago0025763: SSP sample is unable to build the proper surface on the given cloud of points
anv [Mon, 23 Mar 2015 08:23:49 +0000 (11:23 +0300)]
0025763: SSP sample is unable to build the proper surface on the given cloud of points

Some improvements to work with periodic splines

8 years ago0025148: Visualization - drop TKNIS toolkit
kgv [Mon, 29 Sep 2014 07:17:42 +0000 (10:17 +0300)]
0025148: Visualization - drop TKNIS toolkit

TKNIS toolkit and related DRAW stuff removed

8 years ago0026203: Foundation Classes - provide method ::Swap() for NCollection_IndexedMap...
dbp [Mon, 18 May 2015 12:42:30 +0000 (15:42 +0300)]
0026203: Foundation Classes - provide method ::Swap() for NCollection_IndexedMap and NCollection_IndexedDataMap to transpose map elements

Add new tests in group "perf ncollection".

8 years ago0026217: Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS
vpa [Wed, 13 May 2015 09:30:38 +0000 (12:30 +0300)]
0026217: Visualization, Select3D_SensitiveCircle - fix compilation with CLang for iOS

Inclusion detection for filled sensitive circles was corrected

8 years ago0026224: Wrong result obtained by Common operator.
pkv [Thu, 21 May 2015 09:56:26 +0000 (12:56 +0300)]
0026224: Wrong result obtained by Common operator.

Changes:
class BOPTools_AlgoTools2D
 - method:
Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve
(const TopoDS_Edge& aE2,
const TopoDS_Edge& aE1,
const TopoDS_Face& aF,
const Handle(IntTools_Context)& aCtx)
has been changed.
The treatment of the curves that need to be reversed has been modified
taking into account reversed parameter

Test case for issue CR26224

8 years ago0026218: Wrong result done by General Fuse algorithm
emv [Thu, 21 May 2015 09:52:03 +0000 (12:52 +0300)]
0026218: Wrong result done by General Fuse algorithm

class BOPAlgo_PaveFiller
1. method
  void BOPAlgo_PaveFiller::MakeBlocks()
 Update of FaceInfo IN information before filling the maps.

2. methods
  void BOPAlgo_PaveFiller::UpdateFaceInfo
    (BOPDS_DataMapOfPaveBlockListOfPaveBlock& theDME,
     const BOPCol_DataMapOfIntegerInteger& theDMV)

  void BOPAlgo_PaveFiller::ProcessExistingPaveBlocks
    (const Standard_Integer theInt,
     const BOPDS_IndexedMapOfPaveBlock& aMPBOnIn,
     const BOPCol_DataMapOfIntegerListOfInteger& aDMBV,
     BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks& aMSCPB,
     BOPCol_DataMapOfShapeInteger& aMVI,
     BOPDS_MapOfPaveBlock& aMPB)

  Small changes in treatment of existing pave blocks when making new ones from intersection curves.

Test case for issue CR26218

Correction of test case for issue CR26218

8 years agoUpdate of testing cases for Debian 7.0 64 bit
apn [Fri, 15 May 2015 12:30:41 +0000 (15:30 +0300)]
Update of testing cases for Debian 7.0 64 bit

8 years ago0025750: Coding rules - eliminate GCC warning -Wunused-but-set-variable in OSD_signal...
ibs [Wed, 13 May 2015 08:59:36 +0000 (11:59 +0300)]
0025750: Coding rules - eliminate GCC warning -Wunused-but-set-variable in OSD_signal.cxx for Android build

Move variable aSigInfo to the proper scope.

8 years ago0026192: Porting testing database on Debian70 64bit
apn [Thu, 14 May 2015 14:33:55 +0000 (17:33 +0300)]
0026192: Porting testing database on Debian70 64bit

Modified test cases for platform Debian70 64bit

Changed todo mapping for Debian70-64

8 years ago0026202: Wrong result of chamfer on cylindrical surface: wrong value of chord
jgv [Thu, 14 May 2015 14:03:42 +0000 (17:03 +0300)]
0026202: Wrong result of chamfer on cylindrical surface: wrong value of chord

Test case for issue CR26202

8 years ago0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded...
msv [Fri, 8 May 2015 12:44:48 +0000 (15:44 +0300)]
0026198: ShapeConstruct_ProjectCurveOnSurface builds infinite line instead of bounded curve

Description of the method ShapeConstruct_ProjectCurveOnSurface::Perform has been updated to actual state.

8 years agoIncrementation of OCCT version up to 7.0.0dev
bugmaster [Thu, 14 May 2015 11:56:36 +0000 (14:56 +0300)]
Incrementation of OCCT version up to 7.0.0dev

8 years ago0025490: Error appears trying to start QT OCCT sample OCCT690-REF V6_9_0
ski [Fri, 8 May 2015 09:54:51 +0000 (12:54 +0300)]
0025490: Error appears trying to start QT OCCT sample

Separate msvc.bat files were created for each qt sample to avoid errors.

8 years ago0026139: AIS_InteractiveContext::Display performance regression
vpa [Fri, 8 May 2015 10:44:02 +0000 (13:44 +0300)]
0026139: AIS_InteractiveContext::Display performance regression

Regression with VIS tests in release mode was fixed

8 years ago0026194: Sometimes "testgrid" command runs every test many times
apn [Thu, 7 May 2015 08:31:24 +0000 (11:31 +0300)]
0026194: Sometimes "testgrid" command runs every test many times

Added check for equal test directories in variable CSF_TestScriptsPath.

8 years agoIncrementation of OCCT version up to 6.9.0
bugmaster [Thu, 7 May 2015 12:45:47 +0000 (15:45 +0300)]
Incrementation of OCCT version up to 6.9.0

8 years ago0026139: AIS_InteractiveContext::Display performance regression
vpa [Thu, 7 May 2015 15:39:36 +0000 (18:39 +0300)]
0026139: AIS_InteractiveContext::Display performance regression

NCollection_Sequence in SelectMgr_SensitiveEntitySet was replaced by indexed data map

8 years ago0026029: Visualization - Poor performance of connected objects
dbp [Thu, 7 May 2015 15:20:27 +0000 (18:20 +0300)]
0026029: Visualization - Poor performance of connected objects

Fix performance issue with SelectMgr_SelectableObjectSet.

8 years agoUpdate of unstable Boolean test cases
apn [Thu, 7 May 2015 14:32:58 +0000 (17:32 +0300)]
Update of unstable Boolean test cases

8 years ago0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing...
abv [Thu, 7 May 2015 05:53:38 +0000 (08:53 +0300)]
0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing selections [only with TBB]

Remove classes Select3D_ISensitivePointSet and Select3D_BoundarySensitivePointSet; use Select3D_SensitivePoly directly for boundary selection.
Make last argument in Select3D_SensitiveFace non-default to ensure that value is always explicitly specified by the caller.
Inherit SelectMgr_FrustumBuilder from Standard_Transient to use normal Handle instead of NCollection_Handle.

Add test case bugs/vis/bug26146.

8 years ago0026147: Visualization - restore the ability to pick only fully included objects...
vpa [Thu, 7 May 2015 15:53:21 +0000 (18:53 +0300)]
0026147: Visualization - restore the ability to pick only fully included objects in rectangular selection

2 modes of rectangular selection are available: inclusion-only and overlap-allowing;
The modes can be switched using method AllowOverlapDetection from StdSelect_ViewerSelector3d;
BVH for sensitive entities now builds if there is more than max number of leafs in collection;
Added option -allowoverlap to command vselect;
Interactive rectangular selection in Draw is now available in 2 modes:
- if the user starts selection from upper corners, only fully included objects will be selected;
- if the user starts selection from lower corners, both partially and fully overlapped objects will be selected.

8 years ago0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll...
apl [Thu, 7 May 2015 12:00:23 +0000 (15:00 +0300)]
0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll() of Graphic3d_Camera is not enough

Partial fix: increased epsilon to value reported in #0025670

8 years ago0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and...
apn [Thu, 7 May 2015 12:33:10 +0000 (15:33 +0300)]
0026191: Different behavior of "bugs moddata_3 bug23471" test script on Windows and Linux platform

Deleted variable "res" which appears during loading draw

8 years ago0026159: Visualization - revise tolerance implementation for selection
vpa [Wed, 6 May 2015 12:35:36 +0000 (15:35 +0300)]
0026159: Visualization - revise tolerance implementation for selection

Max tolerance is now applied to all objects and entities by default;
if there is an entity with a lower tolerance, selecting frustum will be recalculated for it.
The ability to set sensitivity for each entity individually is moved to protected section of SelectBasics_SensitiveEntity
SetPixelTolerance from AIS_InteractiveContext now sets custom tolerance that is applied to all sensitives.
Added -unset option to vselprecision command to disable custom tolerances.
Test case for issue #26159

8 years ago0026165: Visualization, TKOpenGl - fix FBO blitting on some mobile devices
kgv [Wed, 6 May 2015 13:05:47 +0000 (16:05 +0300)]
0026165: Visualization, TKOpenGl - fix FBO blitting on some mobile devices

OpenGl_Texture::Init() - initialize FBO textures with GL_TEXTURE_WRAP_ set to GL_CLAMP_TO_EDGE,
since some devices do not support GL_REPEAT (which is default) in such combination.
OpenGl_Font::createTexture() - define texture parameters explicitly.

OpenGl_FrameBuffer::Init() create Depth render buffer object instead of texture
on devices which do not support GL_DEPTH24_STENCIL8.

8 years ago0025271: Wrong result obtained by solid classifier algorithm
mkv [Thu, 7 May 2015 13:25:02 +0000 (16:25 +0300)]
0025271: Wrong result obtained by solid classifier algorithm

Shape name was corrected

8 years ago0025825: Draw Harness, XSDRAWSTLVRML - drop command tovrml and XSDRAWSTLVRML_ToVRML
ski [Wed, 6 May 2015 11:22:49 +0000 (14:22 +0300)]
0025825: Draw Harness, XSDRAWSTLVRML - drop command tovrml and XSDRAWSTLVRML_ToVRML

Command tovrml was eliminated.

8 years ago0026172: Visualization, AIS_LocalContext - locally selected object should not stay...
apl [Wed, 6 May 2015 09:06:54 +0000 (12:06 +0300)]
0026172: Visualization, AIS_LocalContext - locally selected object should not stay in the viewer after deactivation in the local context

Fix for AIS_LocalContext::ClearOutdatedSelection()
Added test case bugs/vis/bug26172

8 years ago0025890: Intersection algorithm produces curves overlaped
nbv [Thu, 7 May 2015 13:14:09 +0000 (16:14 +0300)]
0025890: Intersection algorithm produces curves overlaped

1. Function IntImp_Int2S::ChangePoint() has been added (see cdl for detail information).
2. Attempt to forbidden break WLine if it goes along surface boundary.

Code optimization.

2nd optimization

Test case for issue CR25890

8 years ago0025737: GCPnts_TangentialDeflection does not produce points to approximate a knee
mkv [Wed, 6 May 2015 15:45:31 +0000 (18:45 +0300)]
0025737: GCPnts_TangentialDeflection does not produce points to approximate a knee

8 years ago0026182: Calling ShapeFix_FixSmallFace.RemoveSmallFaces() always leads to stack overflow
abv [Wed, 6 May 2015 03:20:29 +0000 (06:20 +0300)]
0026182: Calling ShapeFix_FixSmallFace.RemoveSmallFaces() always leads to stack overflow

Unused methods RemoveSmallFaces() and SplitFaces() are removed.

8 years ago0026177: Coding rules - eliminate -Wdeprecated-register CLang warnings
kgv [Thu, 30 Apr 2015 14:19:19 +0000 (17:19 +0300)]
0026177: Coding rules - eliminate -Wdeprecated-register CLang warnings

8 years ago0026167: Coding rules - eliminate -Wlogical-not-parentheses CLang warnings in GeomToStep
kgv [Thu, 30 Apr 2015 10:26:01 +0000 (13:26 +0300)]
0026167: Coding rules - eliminate -Wlogical-not-parentheses CLang warnings in GeomToStep

8 years ago0026155: TNaming, CurrentShape: order of shapes in Modification compound is unpredictable
apl [Tue, 28 Apr 2015 09:11:10 +0000 (12:11 +0300)]
0026155: TNaming, CurrentShape: order of shapes in Modification compound is unpredictable

CurrentShape(): replace TopTools_MapOfShapes with TopTools_IndexedMapOfShape
Added case: tests/bugs/caf/bug26155

8 years ago0026148: BRep_Tool::IsClosed failed to judge a closed edge on Poly_Triangulation.
msv [Thu, 30 Apr 2015 09:37:07 +0000 (12:37 +0300)]
0026148: BRep_Tool::IsClosed failed to judge a closed edge on Poly_Triangulation.

The method signature has been changed by adding an argument TopLoc_Location.

8 years ago0026145: Geometry Sample crashes
ski [Tue, 5 May 2015 16:42:21 +0000 (19:42 +0300)]
0026145: Geometry Sample crashes

Unacceptable usage of quantity coefficient was removed.

8 years ago0026128: Visualization, TKOpenGl - fix misprint in external GLX context initialization
solomin_s [Wed, 6 May 2015 14:05:39 +0000 (17:05 +0300)]
0026128: Visualization, TKOpenGl - fix misprint in external GLX context initialization

OpenGl_Window, GLX - push warning about missing caps in window Visual.
Allow initialization of alien GLX context.

Correction of misprinting

8 years ago0026121: Visualization - revise implementation of point sets used in Select3D_Sensiti...
vpa [Thu, 30 Apr 2015 15:08:55 +0000 (18:08 +0300)]
0026121: Visualization - revise implementation of point sets used in Select3D_SensitiveFace

Code duplication was eliminated by removing constructors with handle input arrays

8 years ago0026118: Implement FastSewing algorithm
nbv [Wed, 6 May 2015 13:58:48 +0000 (16:58 +0300)]
0026118: Implement FastSewing algorithm

1. Develop special sewing algorithm.
2. DRAW-command "fastsewing" has been created (see help for detail information).
3. BRepLib::EnsureNormalConsistency() method has been added (see help for detail information).
4. DRAW-command correctnormals has been created (see help for detail information).

Test cases for this issue.

Correction of elapsed time in test-cases

8 years ago0026010: [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes
mkv [Thu, 30 Apr 2015 15:45:09 +0000 (18:45 +0300)]
0026010: [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes

8 years ago0025844: Command checkshape does not detect error for case when degenerated edge...
mkv [Thu, 30 Apr 2015 15:03:47 +0000 (18:03 +0300)]
0025844: Command checkshape does not detect error for case when degenerated edge does not contain geometric representation.

8 years ago0025713: CMake configuring procedure should allow to build OCCT as static libraries
ibs [Fri, 16 Jan 2015 09:15:11 +0000 (12:15 +0300)]
0025713: CMake configuring procedure should allow to build OCCT as static libraries

BUILD_LIBRARY_TYPE variable added

8 years ago0025390: Redesign of Technical Overview
ysn [Thu, 30 Apr 2015 12:58:34 +0000 (15:58 +0300)]
0025390: Redesign of Technical Overview

Technical overview refactored; text duplicating information contained in user guides removed.
Some images are regenerated for better presentation.
Problems with formatting and section tags corrected in user guides.

8 years ago0025050: Shape can not be stored to VRML format
mkv [Thu, 30 Apr 2015 14:09:43 +0000 (17:09 +0300)]
0025050: Shape can not be stored to VRML format