szy [Wed, 4 Mar 2015 11:58:37 +0000 (14:58 +0300)]
0025501: TNaming::Displace calls itself recursively with default parameter.
Patch to fix misprint in method Displace ().
pkv [Thu, 5 Mar 2015 12:02:49 +0000 (15:02 +0300)]
0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes
Changes:
class IntTools_FaceFace
- method:
void IntTools_FaceFace::Perform(const TopoDS_Face& aF1,
const TopoDS_Face& aF2)
The treatment of infinite planes was corrected.
Test case for issue CR25818
jgv [Thu, 5 Mar 2015 11:59:21 +0000 (14:59 +0300)]
0025858: Incorrect result of open offset on single edge based on BSpline curve
Test cases for issue CR25858
aml [Thu, 5 Mar 2015 11:56:28 +0000 (14:56 +0300)]
0025861: Wrong result obtained by projection algorithm.
Handling of trimmed analytical surfaces added in extrema PS.
New draw-command and test case for issue CR25861
Correction of test case for issue CR25861
ika [Thu, 5 Mar 2015 11:52:06 +0000 (14:52 +0300)]
0025013: ShapeFix_Wire tweaks for better results
Recalculate of tolerance before edge cutting
Test case for issue CR25013
add try to increase tolerance before splitting in singularity during PCurve adding.
Correction of test cases for issue CR25013
osa [Thu, 5 Mar 2015 11:48:42 +0000 (14:48 +0300)]
0023200: Visualization - prevent multiple triangulating of a shape that already has been triangulated
Add new flag IsAutoTriangulated to Prs3d_Drawer. It is True by default.
If this flag is True automatic re-triangulation with deflection-check logic will be applied.
Else this feature will be disable and triangulation is expected to be computed by application itself.
Change the syntax of vdefalts command.
Add new parameter -autoTriang for check of AutoTriangulated functionality.
Adjust camera position in test case bugs/xde/bug23969
msv [Mon, 2 Mar 2015 13:06:30 +0000 (16:06 +0300)]
0025860: Buffer overrun in TopTools_ShapeSet::Read
Avoid out of array bounds read/write.
asl [Thu, 5 Mar 2015 11:39:03 +0000 (14:39 +0300)]
0025808: Visualization - Initialization of Prs3d_PointAspect by custom Graphic3d_AspectMarker3d
the constructor accepting the Graphic3d_AspectMarker3d is implemented
constructor with graphic3d aspect and SetAspect() method are implemented for other aspect classes
patch for non-initialized class fields
apn [Fri, 20 Feb 2015 15:30:35 +0000 (18:30 +0300)]
0025849: Warnings on OCCT and PRODUCTS in 64-bit
Fix warnings.
ski [Wed, 21 Jan 2015 08:53:27 +0000 (11:53 +0300)]
0024898: Test "bugs modalg_1 buc60782_1" is incorrect
Test case was corrected.
kgv [Thu, 5 Mar 2015 10:50:47 +0000 (13:50 +0300)]
0025552: Visualization - provide the way to hide the object in specified view of the viewer
Add test case bugs/vis/bug25552
OpenGl_GraphicDriver - do not use View and Workspace identifiers on level of entire Driver
kgv [Thu, 5 Mar 2015 10:45:38 +0000 (13:45 +0300)]
0025867: Visualization, TKOpenGl - fix misprint in transformation persistence math
Added test case
osa [Mon, 2 Mar 2015 13:17:29 +0000 (16:17 +0300)]
0025773: Visualization - remove AIS_Drawer class and transfer its Link() logic to Prs3d_Drawer
apn [Tue, 3 Mar 2015 10:35:57 +0000 (13:35 +0300)]
0025853: Edges disappear or reappear when displaying new edges
Added test case bugs/vis/bug25853
apn [Tue, 24 Feb 2015 16:27:20 +0000 (19:27 +0300)]
0025765: Coding rules - clean up code from obsolete macro checks
Unused code paths (including definition of these macros and meaningless comments) were eliminated.
mkv [Fri, 27 Feb 2015 13:51:08 +0000 (16:51 +0300)]
Update for difference of behavior between 32 and 64 bit
pkv [Thu, 26 Feb 2015 10:39:13 +0000 (13:39 +0300)]
0025847: Wrong result obtained by General Fuse operator.
I. New features:
No new features.
II. Changes:
II.1. class BOPAlgo_PaveFiller
- method:
void BOPAlgo_PaveFiller::PerformEE()
has been changed.
Intended set of VE interferences has been refined
to avoid unwanted overlaps of pave blocks
- method:
void BOPAlgo_PaveFiller::ForceInterfVE(const Standard_Integer nV,
Handle(BOPDS_PaveBlock)& aPB,
BOPDS_MapOfPaveBlock& aMPBToUpdate)
The initialization of increment of VE interferences has been added.
- method:
Standard_Boolean BOPAlgo_PaveFiller::ForceInterfVF
(const Standard_Integer nV,
const Standard_Integer nF)
The initialization of increment of VF interferences has been added.
III. Modified entities:
packages:
BOPAlgo
Test case for issue CR25847
aml [Thu, 26 Feb 2015 10:29:35 +0000 (13:29 +0300)]
0017129: ShapeFix projector makes 2d curves with oscillations
Usage of Projlib added in case of uneven points distribution.
Test cases are updated to the new behavior.
Test cases for issue CR17129
Correction of test case for issue CR17129
aml [Thu, 26 Feb 2015 10:08:43 +0000 (13:08 +0300)]
0025842: Wrong intersection 2D-curves obtained for pair of faces.
Handling of degenerated parametrization (like sphere) added in IWalker.
Minor corrections.
Test case for issue CR25842
Correction of test case for issue CR25842
kgv [Fri, 20 Feb 2015 17:01:46 +0000 (20:01 +0300)]
0025851: Visualization, TKOpenGl - do not use FBO cache when GLSL is unavailable
nbv [Thu, 26 Feb 2015 06:32:29 +0000 (09:32 +0300)]
0025828: BRepAlgoAPI_Section fails for a solid and a face depending on order of arguments
If Walking-lines are coincided we kept line, which contains more points or has more length (because it is more precisely, most likely).
Test cases for issue CR25828
Some test cases were changed
ibs [Thu, 26 Feb 2015 09:50:32 +0000 (12:50 +0300)]
0025687: Visualization, XCAF - eliminate visual artifacts at the edges of faces
AIS_ColoredShape::Compute() - improve logic to split input shape into Closed and Open volumes
with back-face culling enabled when possible.
Change last argument of method StdPrs_ShadedShape::Add() from boolean to enumeration StdPrs_Volume
which controls parsing of Closed/Open volumes within input shape.
Make method StdPrs_ShadedShape::ExploreSolids() public.
Extend Draw Harness command vaspects with option -setvisibility to hide subshape (using AIS_ColoredShape).
Add new test cases bugs/bis/bug25687_1 and bugs/bis/bug25687_2.
the logic of bindSubShapes method clarified
Conflicts:
src/AIS/AIS_ColoredShape.cxx
AIS_ColoredShape::dispatchColors considers the colors of displayed shapes in connection with specific priority
the color of specific shape can be exported from several ways: the color of this shape, the color of a compound containing this shape. The highest priority has the color of shape than the one of the compound. The color with highest priority will be displayed.
This patch accounts for the highest priority of the shape color.
For example: w - wire has GREEN color; e - edge has RED color; "w" contains "e"; all edges of "w" will be displayed in GREEN color except "e" edge, it will be displayed in RED color
Added sample generating model of Intel i7-4790 CPU on which the problem can be reproduced
dbv [Thu, 26 Feb 2015 09:47:41 +0000 (12:47 +0300)]
0025747: Bad IGES file after import and export with different units
- Fixed ellipse curve radius scale
- Fixed hyperbola curve radius scale
- Fixed plane surface scale
- Fixed cylindrical, conical, spherical, toroidal radius and axis scale
Test case for issue CR25747
aml [Thu, 26 Feb 2015 09:44:01 +0000 (12:44 +0300)]
0025246: Make methods Intervals and NbIntervals const in Adaptor3d_Curve and it descendants
Qualifier "const" added to NbIntervals and Intervals functions.
Fixed Standard_OVERRIDE macro description
Removed obsolete method declaration from Standard_Transient.cdl
bugmaster [Wed, 25 Feb 2015 09:46:07 +0000 (12:46 +0300)]
Small update of pro file
bugmaster [Fri, 20 Feb 2015 14:17:34 +0000 (17:17 +0300)]
Adjusting testing cases
1. bugs modalg_4 bug697_2 bug697_4 bug697_7 bug697_8 - unstable test cases after fix 25735
Its will be checked and modified during work with performance (issue 24232).
2. bugs mesh bug25364 was tuned for 64-bit Windows.
3. de step_1 ZQ2 fails (64-bit only). Issue 25848 was registered.
4. de step_3 D8 shows improvement (no checkape error) in 64-bit only, this is after 22598 and issue 25797 was registered for that.
5. draft angle G8 improvement (algorithm produces some shape, but fails on checkshape).
6. perf ncollection A1 was tuned for 64-bit Windows.
7. de step_1 R9 - update reference data (according to 25176)
bugmaster [Fri, 20 Feb 2015 11:23:58 +0000 (14:23 +0300)]
Adding 64 bit configuration
kgv [Thu, 29 Jan 2015 13:01:07 +0000 (16:01 +0300)]
0025091: Visualization - use FBO for layer with immediate objects
jgv [Thu, 19 Feb 2015 13:09:37 +0000 (16:09 +0300)]
0025701: Problem with the symmetry of fillet on two perpendicular cylinders
Test case for issue CR25701
emv [Thu, 19 Feb 2015 13:07:21 +0000 (16:07 +0300)]
0024646: Wrong result done by Boolean Operation algorithm
1. class BOPAlgo_PaveFiller
method void BOPAlgo_PaveFiller::PerformEF()
Do not create intersection vertices in case if it lies ON the boundary of the face.
2. class IntTools_Context
New method
Standard_Boolean IntTools_Context::IsPointInFace
(const gp_Pnt& aP,
const TopoDS_Face& aF,
const Standard_Real aTol)
has been implemented to check if the point IN the face.
3. class IntTools_EdgeFace
method
void IntTools_EdgeEdge::FindBestSolution(const Standard_Real aT11,
const Standard_Real aT12,
const Standard_Real aT21,
const Standard_Real aT22,
Standard_Real& aT1,
Standard_Real& aT2)
Treatment of the touching cases.
Test cases for issue CR24646
Correction of test cases for issue CR24646
mkv [Thu, 19 Feb 2015 12:18:26 +0000 (15:18 +0300)]
0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type Intersection
Test case for issue CR25729
jgv [Thu, 19 Feb 2015 12:42:27 +0000 (15:42 +0300)]
0025753: BRepOffsetAPI_ThruSections fails for a case with open sections
Test cases for issue CR25753
Deleting ttest cases for issue CR25753
isz [Thu, 19 Feb 2015 09:53:55 +0000 (12:53 +0300)]
0025136: Visualization - fix multiple Aspect_ColorScale usage issues
Update documentat if the class.
SetColor() and SetLabel() now work with 0-based index.
SetColor() now checks length of myColors.
Remove methods GetCurrentColor() and GetCurrentLabel().
Methods GetColor() and GetLabel() now can be used to get user-specified and default colors / labels.
Round down IntervNumber in FindColor().
DrawScale() - show labels even for one interval.
Redesign Draw Harness command vcolorscale, provide new options.
Update test cases which use vcolorscale command.
akz [Thu, 19 Feb 2015 12:14:11 +0000 (15:14 +0300)]
0025823: Self Intersecting wire translated from STEP file
The number of points to divide the edge curve on a segments to compute a
boundary box does not provide a good tolerance. So a resultant boundary
box has an incorrect bounds. As a result the intersection near to a
tangent of curve does not detected.
Test case for issue CR25823
oan [Thu, 19 Feb 2015 12:10:25 +0000 (15:10 +0300)]
0025806: Stack overflow during meshing
Test-case for issue #25806
vsr [Thu, 12 Feb 2015 13:42:58 +0000 (16:42 +0300)]
0025824: Infinite presentations should be excluded when computing gravity center of the view scene
pkv [Thu, 19 Feb 2015 12:02:32 +0000 (15:02 +0300)]
0025838: Wrong result obtained by General Fuse operator.
Changes:
class BOPTools_AlgoTools
method:
Standard_Boolean BOPTools_AlgoTools::GetFaceOff
(const TopoDS_Edge& theE1,
const TopoDS_Face& theF1,
BOPTools_ListOfCoupleOfShape& theLCSOff,
TopoDS_Face& theFOff,
Handle(IntTools_Context)& theContext)
has been changed.
The comparison of the angles done with the angular tolerance value
Test case for issue CR25838
nbv [Thu, 19 Feb 2015 12:00:01 +0000 (15:00 +0300)]
0025819: Bad result of BOP cut on valid shapes
1. Algorithm of adjusting parameter to the surface boundaries has been changed.
2. Control First and Last parameters in BRepLib_CheckCurveOnSurface::Compute() function.
Test cases for issue CR25819
apn [Thu, 19 Feb 2015 11:57:12 +0000 (14:57 +0300)]
0025803: Defective tests contaminating current directory
Test cases save results in directory pointed by ${imagedir} Tcl variable. File names are initialized in scripts and passed to DRAW command as argument.
Tests User Guide was updated.
Remarks were corrected
abv [Tue, 10 Feb 2015 19:50:51 +0000 (22:50 +0300)]
0025816: IGES export - edges within compound are lost if BREP mode (IGES 5.1) is used
Enable writing wires, edges, and vertices inside compound in IGES in BREP mode.
Create IGES group for compound even if it contains single shape.
azn [Thu, 22 Jan 2015 12:19:05 +0000 (15:19 +0300)]
0025720: Incorrect code of math classes can lead to unpredicted behavior of algorithms
The calling of virtual methods has been removed from constructors & destructors:
math_BissecNewton
math_BrentMinimum
math_FRPR
math_FunctionSetRoot
math_NewtonFunctionSetRoot
math_NewtonMinimum
math_Powell
mkv [Fri, 13 Feb 2015 14:21:53 +0000 (17:21 +0300)]
Adjusting testing case due to changes in algorithm behavior.
bugmaster [Fri, 13 Feb 2015 14:00:52 +0000 (17:00 +0300)]
Adjusting new testing cases
akz [Fri, 13 Feb 2015 13:34:08 +0000 (16:34 +0300)]
0025699: Crash while importing STeP file
1) Try-catch block was added on a StepToTopoDS_TranslateEdgeLoop::Init() to
catch Standard_ConstructionError during the Curve conversion.
2) Checks of BSpline curve degree added to prevent construction error when converting edges to BSpline_Curve.
3) Warning message was added in case of incorrect curve definition.
Correct of the test cases according to the new error message added with fix
Conflicts:
tests/de/step_1/R9
Modified test cases according to new reference data
azn [Mon, 9 Feb 2015 08:05:45 +0000 (11:05 +0300)]
0025779: Unable to compile math package in WOK
Source files for math cdl-classes have been recovered.
kgv [Thu, 12 Feb 2015 12:49:22 +0000 (15:49 +0300)]
0025822: Visualization, TKOpenGl - front material should be used instead of back material within distinguish mode turned off
add test case v3d/glsl/distinguish_off
vpa [Thu, 12 Feb 2015 08:48:05 +0000 (11:48 +0300)]
0025624: Visualization - selection is incorrect in perspective mode in a specific case
Corrected computation of picking line for perspective camera;
Test case for issue 25624.
ifv [Thu, 12 Feb 2015 11:38:39 +0000 (14:38 +0300)]
0024255: Regressions in test cases on OCCT vc9 win64 Release
Updated test-cases from branch CR24255_3
0024255: Regressions in test cases on OCCT vc9 win64 Release
Small refactoring.
Fix for CASE bugs modalg_5 bug25298_09: FAILED (error)
Test-cases correction (bugs modalg_5 bugs25804_1, bug25704_2)
nbv [Thu, 5 Feb 2015 14:12:21 +0000 (17:12 +0300)]
0025772: Boolean operation produces invalid result after patch for
0025416
Test case for this issue was added
ifv [Thu, 12 Feb 2015 09:18:56 +0000 (12:18 +0300)]
0025729: algorith BRepOffset_MakeOffset(...) produces wrong result for join type Intersection
Test case for issue CR25729
osa [Wed, 11 Feb 2015 13:14:05 +0000 (16:14 +0300)]
0025814: Visualization, Prs3d_WFShape::AddPolygon() - always use polygonal representation from edge regardless from requested deflection
aml [Thu, 12 Feb 2015 09:14:27 +0000 (12:14 +0300)]
0025757: distmini returns wrong solution for ellipse/vertex
Analytical handling of degenerated cases added.
Test case for issue CR25757
Correction of test case for issue CR25757
akz [Thu, 12 Feb 2015 09:08:05 +0000 (12:08 +0300)]
0024881: Wrong status returned by ShapeFix_Wire::FixGaps3d () operation
The reason of FAIL status of FixGaps3d is that the trying to convert
curves to BSplines on valid edges (both adjacent points saticfy a
precision) leads to skipping of the convertation and gives wrong status.
Check of the gap on adjacent points before try ro convert curves was added.
Test-case for issue #24881
aml [Thu, 12 Feb 2015 09:04:55 +0000 (12:04 +0300)]
0025810: Exception in extrema operation.
Fixed computation of number of analytic intersection points.
Test case for issue CR25810
emv [Thu, 12 Feb 2015 09:02:30 +0000 (12:02 +0300)]
0025801: Some of the commands in BOPTest packages show the execution time without -t key
Unnecessary output of the execution time has been removed in the following commands:
- bopcheck
- bfillds
- bbuild
- bbop
Test case for issue CR25801
ibs [Thu, 12 Feb 2015 08:59:56 +0000 (11:59 +0300)]
0025723: Visualization, TKV3d - the center of rotation should be calculated taking into account structure visibility and selection flags
V3d_View::Gravity() - compute scene bounding box only including highlighted objects, if there are any, to provide context-oriented center of gravity.
Skip hidden objects, if there are any visible.
Do not return any value from this method.
Extend command vrotate with new flags -mouseStart and -mouseMove, to emulate rotation by mouse.
Unused argument theDi of VRotate disabled
pkv [Thu, 12 Feb 2015 08:57:15 +0000 (11:57 +0300)]
0025788: Parallelization of the BOP Builder algorithm on second level
Changes:
class BOPAlgo_Builder
method:
void BOPAlgo_Builder::FillIn3DParts
(BOPCol_DataMapOfShapeListOfShape&,
BOPCol_DataMapOfShapeShape&,
const BOPCol_BaseAllocator& )
has been optimized and
modified to provide parallel treatment.
Correction of compilation errors
Test cases for issue CR25788
nbv [Wed, 11 Feb 2015 06:16:00 +0000 (09:16 +0300)]
0025782: The result of intersection between two cylinders is incorrect
1. Cylinders are tangent to each other indeed. Fix processes this case.
2. Algorithm of intersection line computing (in case of cylinders with two parallel axes) has been changed.
Test cases for issue CR25782
akz [Thu, 12 Feb 2015 08:36:07 +0000 (11:36 +0300)]
0025176: STEP Reader - no error report if referenced entity has wrong type.
Interface_CheckTool does not reset the Check added to CheckList now.
Added test case bugs/xde/bug25176
Update reference data in test cases.
Resolving conflicts:
tests/de/iges_3/A4
tests/de/step_1/R7
tests/de/step_2/H1
kgv [Fri, 6 Feb 2015 15:15:48 +0000 (18:15 +0300)]
0025802: Adopt test cases bugs vis bug10781 and bug23227 for Intel graphics driver
Test case bugs/vis/bug10781 - use smaller line width in test case
(some Intel OpenGL drivers support only 7 pixels-width lines).
Test case bugs/vis/bug23227 - just check triangles count in feedback buffer is not 0.
aba [Thu, 12 Feb 2015 08:29:09 +0000 (11:29 +0300)]
0025804: Visualization, TKOpenGl - specify correct primitives type in OpenGl_BackgroundArray
Remarks: - counterclockwise order of vertices for gradient background array initialization.
kgv [Fri, 6 Feb 2015 13:38:08 +0000 (16:38 +0300)]
0025800: Visualization, TKOpenGl - disable GL_DITHER explicitly
kgv [Thu, 12 Feb 2015 08:22:22 +0000 (11:22 +0300)]
0025732: Visualization, TKOpenGl - back face culling should not affect textured font rendering
OpenGl_TextFormatter - orient triangles in normal counter-clockwise order (GL_CCW).
Test-cases for issue #25732
abv [Fri, 6 Feb 2015 03:34:42 +0000 (06:34 +0300)]
Fix compiler warning and adjust test cases for integration to master
mkv [Fri, 6 Feb 2015 10:13:42 +0000 (13:13 +0300)]
Update new testing cases after renaming DRAW command
abv [Thu, 5 Feb 2015 15:08:18 +0000 (18:08 +0300)]
0024500: Sudden exit of DRAW after multiple execution of test in cycle
Test commands for #23952 refactored to:
- avoid interaction with Tcl interpreter from thread functions (fixes sudden crash)
- get shapes outside of the thread functions (keeping only code being tested inside)
- run 100 threads instead of 2 (increases chance for data race to exhibit if present)
Linux compilation problems fixed.
kgv [Thu, 5 Feb 2015 15:05:31 +0000 (18:05 +0300)]
0025768: Visualization, Graphic3d_Structure - do not use invalid bounding boxes of empty groups
Prs3d_WFShape::Add() - do not create empty group
Graphic3d_Structure::minMaxCoord() - do not use uninitialized bounding box
Added test case bugs/vis/bug25768
aml [Thu, 5 Feb 2015 14:57:20 +0000 (17:57 +0300)]
0022598: Approximation of p-curve by 2D line
Check whether p-curve being projected can be approximated by straight line is made before full-scale projection, to improve performance.
If straight, pcurve is created as Line only if this will lead to the same range parameterization as 3d curve, otherwise BSpline of degree 1 is created.
Re-approximation of line pcurves by bsplines removed from ShapeFix_Edge.
Test case updating to new behavior.
Added "static" keyword to the fixPeriodictyTroubles() function.
Update of test-cases according new behavior
ibs [Wed, 4 Feb 2015 09:18:04 +0000 (12:18 +0300)]
0025791: Impossibility to generate projects for Foundation Classes without TclTk/Freetype using CMake
unset redundant variables
ika [Thu, 5 Feb 2015 13:24:46 +0000 (16:24 +0300)]
0024601: Unwanted spheres shown after Step-Import
Add check for outer boundary before creating wire from Vertex Loop on spheres.
Test case for issue CR24601
emv [Thu, 5 Feb 2015 13:19:47 +0000 (16:19 +0300)]
0025766: Exception in BRepAlgo_Section
class TopOpeBRep_FacesIntersector
method
static void MergeWLinesIfAllSegmentsAlongRestriction(IntPatch_SequenceOfLine& theSlin,
const Handle(Adaptor3d_HSurface)& theSurface1,
const Handle(Adaptor3d_TopolTool)& theDomain1,
const Handle(Adaptor3d_HSurface)& theSurface2,
const Handle(Adaptor3d_TopolTool)& theDomain2,
const Standard_Real theTolArc)
Protection from null wlines has been added.
Test-case for issue #25766
aml [Thu, 5 Feb 2015 13:13:39 +0000 (16:13 +0300)]
0025635: Wrong result of 2D-extrema between two ellipsis
Fixed Lipschitz constant evaluation in case co-parametrized objects.
Fixed 2dextrema output.
Testcase update to new behavior.
Test cases for issue CR25635
Correction of test cases for issue CR25635
aml [Thu, 5 Feb 2015 13:01:40 +0000 (16:01 +0300)]
0025708: GeomAPI_ExtremaCurveCurve does not return all intersection points in 6.8.0
Added expanding coefficients between neighboring indexes, changed local optimization starting condition.
Test case for issue CR25708
vpa [Wed, 4 Feb 2015 12:59:14 +0000 (15:59 +0300)]
0025675: Visualization - Fix problems and inefficiencies with frustum culling
Removed unnecessary overlap check in traverse of layer items;
Slight optimization of calculations in overlap detection methods in OpenGl_BVHTreeSelector.
msv [Thu, 5 Feb 2015 12:49:35 +0000 (15:49 +0300)]
0024826: Wrapping of parallelisation algorithms
Simple primitives to parallelize loops type "for" and "foreach" were implemented. The primitives encapsulates complete logic for creating and managing parallel context of loops. Moreover the primitives may be a wrapper for some primitives from 3rd-party library - TBB.
To use it is necessary to implement TBB like interface which is based on functors. For example:
Class Functor
{
public:
void operator() ([proccesing instance]) const
{
//...
}
};
In the body of the operator () should be implemented thread-safe logic of computations that can be performed in parallel context. If parallelized loop iterates on the collections with direct access by index (such as Vector, Array), it is more efficient to use the primitive ParallelFor (because it has no critical section).
All parts of OCC code which are using tbb were changed on new primitives.
0024826: Wrapping of parallelisation algorithms
Small fix.
ink [Thu, 5 Feb 2015 12:35:00 +0000 (15:35 +0300)]
0025780: checkshape raises an exception Standard_OutOfMemory.
Improved method BRepCheck_Wire::Propagate
Added test cases bugs/modalg_5/bug25780
kgv [Wed, 4 Feb 2015 07:18:23 +0000 (10:18 +0300)]
0025790: Drop unimplemented method ShallowCopy() from TCollection_HSequence.cdl
akz [Thu, 5 Feb 2015 12:22:13 +0000 (15:22 +0300)]
0025740: VrmlData_Scene::WriteArrIndex() writes extra point indices.
Reason of bug: at the end of writing indices the "buf" was written double times.
Fix: At the end of operation skip one WriteLine.
Test case for issue CR25740
akz [Thu, 5 Feb 2015 12:02:01 +0000 (15:02 +0300)]
0025279: OCCT fails to read VRML file created by OCCT
1) Version of VRML format is added to VrmlAPI_Writer::Write() and VrmlAPI::Write() to allow use the both versions of the VRML by one writer.
2) Unification of the command to write VRML of both versions. Now "writevrml" command can write VRLM files of v1.0 and v2.0, with wireframe/shaded/both representations. Parameter "Deflection" was removed (next commit will remove meshing, so parameter will be useless).
3) Meshing is removed from writers of both (v1.0 and v2.0) versions. Shaded representation is skipped in case when a mesh does not exist.
Wireframe representation checks the existence of a mesh before. If the mesh exists, a deflected edges are taken from the mesh, otherwise - are generated with the default deflection.
4) Drawing of redundant edges is removed in wireframe representation of VRML version 1.0 (a grid on non-plane surfaces does not match a real edges of TopoDS_Shape and does not match representation in version 2.0).
Test case for issue CR25279
aml [Fri, 30 Jan 2015 10:13:06 +0000 (13:13 +0300)]
0025770: Possible "invalid memory access"
Memory problems fixed.
aba [Thu, 5 Feb 2015 11:48:39 +0000 (14:48 +0300)]
0025475: Visualization, TKOpenGl - draw background using primitive arrays
Move background arrays to separate class OpenGl_BackgroundArray
for texture and gradient arrays.
Eliminated warnings on Linux
akz [Mon, 26 Jan 2015 16:12:41 +0000 (19:12 +0300)]
0025689: IGESCAFControl_Writer crash in constructor.
Cause of bug is that the IGESData_BasicEditor is created before an initialization of IGESControl_Controller::Init(). IGESData_BasicEditor cannot find template "iges", so the model is still empty after creation.
1) Added a default constructor to the IGESData_BasicEditor. Can be initialized via Init() method.
2) Added some null checks in the places, where are provided access to the model (IGESData_BasicEditor's member).
3) Initialization of the IGESData_BasicEditor was placed after initialization if the IGESControl_Controller.
akz [Thu, 5 Feb 2015 11:38:59 +0000 (14:38 +0300)]
0025357: STL writer does not check the given shape for existing triangulation and remeshes shape using BRepMesh in force mode.
StlTransfer.cxx, function StlTransfer::BuildIncrementalMesh(...) fills the StlMesh_Mesh. Before this fix the StlTransfer always force meshing of the passed shape.
Now meshing is completely removed from the StlTransfer. StlWriter can return error status now, for example, if a mesh of the passed shape is empty. In this case file will be not created.
Added test case bugs/xde/bug25357
Avoid the warning on gcc compiler.
Test scripts were modified according to the fix.
1) bug23192, bug22670, bug23193: removed "isParallel" flag from the command
arguments. Manually meshing of the shape (as far as meshing was removed
from STL writer).
2) bug22898: before the fix writestl always remeshes the shape with a
deflection, related to the boundery box of the shape. For "hammer" shape
there is a 38.9076 deflection for mesh. Differences between before writing
and after reading are dedicated to fact that stl writes triangulation as
an elements of the spahe (like faces, edges etc.)
pkv [Fri, 30 Jan 2015 11:02:21 +0000 (14:02 +0300)]
0025769: Replace BOPCol_Array1 with NCollection_Vector
New features:
1. class NCollection_BaseVector
method:
void SetIncrement(const Standard_Integer aIncrement)
has been added.
The method allows to set the size of increment dynamically
[ not in constructor ].
2 class BOPCol_Array1
has been removed.
Changes:
1. classes
BOPDS_DS
BOPDS_InterfFF
BOPDS_Iterator
BOPDS_VectorOfCurve
BOPDS_VectorOfFaceInfo
BOPDS_VectorOfIndexRange
BOPDS_VectorOfInterfEE
BOPDS_VectorOfInterfEF
BOPDS_VectorOfInterfEZ
BOPDS_VectorOfInterfFF
BOPDS_VectorOfInterfFZ
BOPDS_VectorOfInterfVE
BOPDS_VectorOfInterfVF
BOPDS_VectorOfInterfVV
BOPDS_VectorOfInterfVZ
BOPDS_VectorOfInterfZZ
BOPDS_VectorOfListOfPassKeyBoolean
BOPDS_VectorOfListOfPaveBlock
BOPDS_VectorOfPoint
BOPDS_VectorOfShapeInfo
BOPAlgo_PaveFiller
QANewModTopOpe_Tools
have been modified to take into account New features: 1 and 2
2. class BOPTest_Chronometer
has been modified to use the driver of the type
OSD_Timer instead OSD_Chronometer
dbp [Tue, 20 Jan 2015 09:56:54 +0000 (12:56 +0300)]
0025328: Visualization, TKOpenGl - support text rendering within built-in GLSL programs
ski [Thu, 5 Feb 2015 11:23:17 +0000 (14:23 +0300)]
0025734: GCC warnings in Android build
Warnings were fixed.
Fixed wrong re-initialization.
ski [Fri, 16 Jan 2015 13:22:44 +0000 (16:22 +0300)]
0023971: Possibility to extract all error messages from test log
It is possible now to extract all error messages from test log using key "-errors"
Conflicts:
src/DrawResources/TestCommands.tcl
ski [Thu, 5 Feb 2015 11:11:19 +0000 (14:11 +0300)]
0023992: it's required to save log information of test command in (specified) file
It is possible now to save log information of test command in specified file.
Print information on count of found test cases before tests start
Sound signal at the end of the test
Used meminfo -h to control memory
Titles of differences in images produced by testdiff command were changed.
kgv [Thu, 29 Jan 2015 12:16:09 +0000 (15:16 +0300)]
0025758: Visualization, TKOpenGl - texture initialization fails on Intel HD 4600 in ray tracing test
Unbind global texture sampler right after its usage.
kgv [Thu, 29 Jan 2015 10:14:49 +0000 (13:14 +0300)]
0025762: Visualization, TKOpenGl - fix debug assertion within OpenGl_Workspace::UploadRaytraceData()
pkv [Thu, 5 Feb 2015 09:49:05 +0000 (12:49 +0300)]
0025735: Wrong solid is considered as valid by checkshape
Changes:
class BRepCheck_Solid
method:
void BRepCheck_Solid::Minimum()
has been changed. The treatment of shells with INTERNAL faces has been added.
Added test case bugs/modalg_5/bug25735
Added TODOs in test cases according to issue 25735.
mkv [Fri, 30 Jan 2015 10:51:43 +0000 (13:51 +0300)]
0025632: IGES writer looses face orientation
Update new tensing cases for issue
aml [Thu, 29 Jan 2015 12:09:51 +0000 (15:09 +0300)]
0025631: Bounding box is too big for the face.
Fixed start and finish indexes of poles in case of trimmed bspline surface.
Test case for issue CR25631
akz [Thu, 29 Jan 2015 11:23:35 +0000 (14:23 +0300)]
0023328: Importing VRML files with "scaleOrientation" not possible
If-else blocks "scale" and "scaleOrientation" was swapped. Now the comparing and interpretation of these key-words is correct.
Added test case bugs/xde/bug23328
ika [Thu, 29 Jan 2015 11:13:29 +0000 (14:13 +0300)]
0025632: IGES writer looses face orientation
Adding reversing surfaces before writing for reversed faces
Test case for issue CR25632
abv [Sun, 18 Jan 2015 14:08:40 +0000 (17:08 +0300)]
0025717: Non reentrant (and hence non-thread-safe) math_RealRandom / _IntegerRandom
Classes math_IntegerRandom and math_RealRandom, and method Random2 in math_Recipes, removed. Class math_BullardGenerator is used instead.
vpa [Wed, 28 Jan 2015 09:21:58 +0000 (12:21 +0300)]
0025679: Visualization, TKOpenGl - View frustum culling clips wrong objects
Corrected area calculation for degenerated AABBs in BVH_Box;
Test case for issue 25679.
imn [Fri, 23 Jan 2015 10:31:01 +0000 (13:31 +0300)]
0025743: Add FixMode parameter to DropSmallSolids operator
nbv [Thu, 29 Jan 2015 11:00:11 +0000 (14:00 +0300)]
0025715: Intersection between cylinders produces excess vertices
1. Curve boundaries were more precised.
2. Some test cases were changed in accordance of their new behavior.
3. Code fragment for WLines joining was moved to higher level (for more universal using in the future).
Code was changed in accordance with the last remark.
Added test cases bugs/modalg_5/bug25715_1 bug25715_2 bug25715_3
Roman Lygin [Thu, 29 Jan 2015 10:56:53 +0000 (13:56 +0300)]
0025712: Non-deterministic behavior of ShapeFix_Solid
Test-case for issue #25712