6 years ago0025937: Failed Cut Edge or Face by HalfSpace.
pkv [Thu, 30 Apr 2015 10:49:25 +0000 (13:49 +0300)]
0025937: Failed Cut Edge or Face by HalfSpace.

Addressing the causes of warnings.

Test cases for issue CR25937

6 years ago0026112: Exception is raised during perform of General Fuse operation
emv [Thu, 30 Apr 2015 10:31:47 +0000 (13:31 +0300)]
0026112: Exception is raised during perform of General Fuse operation

class BOPAlgo_WireSplitter
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA)

Protection from null vector.

Test case for issue CR26112

6 years ago0026069: Coding Rules - eliminate new warnings about redundant const qualifier in...
vpa [Wed, 22 Apr 2015 22:12:55 +0000 (01:12 +0300)]
0026069: Coding Rules - eliminate new warnings about redundant const qualifier in SelectMgr

SelectMgr_SensitiveEntity is now inherited from Standard_Transient;
Redundant const type qualifiers were removed from selection classes.

6 years ago0026081: Visualization, TKOpenGl - rebuild vertex attributes in order to not render...
dbp [Thu, 16 Apr 2015 13:03:55 +0000 (16:03 +0300)]
0026081: Visualization, TKOpenGl - rebuild vertex attributes in order to not render large index arrays in OpenGL ES

6 years ago0026064: distmini of two edges locks up
abv [Wed, 15 Apr 2015 19:40:58 +0000 (22:40 +0300)]
0026064: distmini of two edges locks up

Method Extrema_GenExtCC::Perform() refactored to avoid very inefficient (O(N^2)) algorithm of removal of duplicate points at the end. Instead, duplications are checked when new points are added.

Fields are initialized in constructors of the class Extrema_GenExtCC; unused instances of generic classes (duplications) ELCC and ELCC2d removed.

Test case bugs/modalg_6/bug26064 added.

6 years ago0025653: DRAW doesn't use installed 3rdparty libraries from its library folder locate...
ibs [Wed, 24 Dec 2014 09:57:17 +0000 (12:57 +0300)]
0025653: DRAW doesn't use installed 3rdparty libraries from its library folder located in install folder

6 years ago0026087: Review of changes introduced into documentation since ver. 68
ysn [Tue, 28 Apr 2015 16:58:00 +0000 (19:58 +0300)]
0026087: Review of changes introduced into documentation since ver. 68

Proofreading of documentation changes that were not verified earlier and some date- and version- related changes in the overview.

6 years agoCorrection of test-cases according to OCC23150 requirements (new format of checknbsha... V6_9_0_beta2
mkv [Fri, 24 Apr 2015 11:56:15 +0000 (14:56 +0300)]
Correction of test-cases according to OCC23150 requirements (new format of checknbshapes command).

6 years agoUpdated script so it creates bottle using fuse operation between body and thread.
apn [Fri, 24 Apr 2015 10:25:46 +0000 (13:25 +0300)]
Updated script so it creates bottle using fuse operation between body and thread.

6 years agoUpdated test case so that the output of each "dump" is checked against toroidal surfa...
apn [Fri, 24 Apr 2015 10:18:48 +0000 (13:18 +0300)]
Updated test case so that the output of each "dump" is checked against toroidal surface type (SurfaceOfRevolution is considered as an error).

6 years ago0026025: Visualization, TKOpenGl - stereoscopic output does not work
kgv [Wed, 15 Apr 2015 13:25:38 +0000 (16:25 +0300)]
0026025: Visualization, TKOpenGl - stereoscopic output does not work

OpenGl_View::Render() - pass target FBO as parameter.
OpenGl_Context - revise Read/Write buffers management logic, taking into account FBOs.

Graphic3d_Camera::UpdateProjection() - setup LProjection and RProjection
the same as MProjection in case of Projection_MonoLeftEye/Projection_MonoRightEye
for API consistency.

6 years ago0026080: Wrong result obtained by General Fuse operator.
pkv [Thu, 23 Apr 2015 15:01:16 +0000 (18:01 +0300)]
0026080: Wrong result obtained by General Fuse operator.

class IntTools_FClass2d
- method:
 TopAbs_State IntTools_FClass2d::Perform
 (const gp_Pnt2d& _Puv,
 const Standard_Boolean RecadreOnPeriodic) const
 has been changed.
 The value of tolerance
For the value of tolerance for classification,
the minimum (among UResolution, VResolution) value is used.

Test case for issue CR26080

6 years ago0025372: Visualization, TKOpenGl - suppress annoying verbose messages from NVIDIA...
isz [Sat, 18 Apr 2015 08:58:51 +0000 (11:58 +0300)]
0025372: Visualization, TKOpenGl - suppress annoying verbose messages from NVIDIA OpenGL driver

OpenGl_GlCore42 - drop functions unrelated to OpenGL 4.2 core functionality

6 years ago0026061: TNaming_Selector crash in select method.
szy [Thu, 23 Apr 2015 14:28:40 +0000 (17:28 +0300)]
0026061: TNaming_Selector crash in select method.

TNaming_Selector crash in select method.

TNaming_Localizer is protected from not expected input arguments.

Test case for issue CR26061

6 years ago0024285: Updates of PLib::EvalPolynomial for code acceleration
azv [Tue, 20 Jan 2015 14:06:03 +0000 (17:06 +0300)]
0024285: Updates of PLib::EvalPolynomial for code acceleration

Functions PLib::EvalPolynomial and PLib::NoDerivativeEvalPolynomial are refactored to allow generation of faster code:
1. Iteration by degree is made in outer loop
2. Avoided pointer arithmetic
3. Recursive templates are used to expand loop by dimension in specific cases (1-15)

6 years ago0026098: The result of General Fuse operation is self-interfered shape
emv [Thu, 23 Apr 2015 13:59:22 +0000 (16:59 +0300)]
0026098: The result of General Fuse operation is self-interfered shape

class BOPTools_AlgoTools
method static Standard_Real IntersectCurves2d(const gp_Pnt& aPV,
                                const TopoDS_Face& aF,
                                const Handle(Geom_Surface)& aS,
                                const TopoDS_Edge& aE1,
                                const TopoDS_Edge& aE2)
Check the validity of the 2d intersection before applying the result.

Test case for issue CR26098

6 years ago0025705: BRepOffsetAPI_MakeOffset regression in 0025298
jgv [Fri, 17 Apr 2015 12:30:05 +0000 (15:30 +0300)]
0025705: BRepOffsetAPI_MakeOffset regression in 0025298

6 years ago0024011: Can't offset a wire on face
apn [Wed, 22 Apr 2015 11:50:33 +0000 (14:50 +0300)]
0024011: Can't offset a wire on face

Added test case bugs/modalg_6/bug24011

6 years ago0021624: BRepFeat_SplitShape produce invalid shape
apn [Mon, 20 Apr 2015 14:57:07 +0000 (17:57 +0300)]
0021624: BRepFeat_SplitShape produce invalid shape

Added test case bugs/modalg_6/bug21624

6 years ago0021351: Fail to compute derivatives of offset surface on trimmed surfaces on offsets...
apn [Mon, 20 Apr 2015 13:54:46 +0000 (16:54 +0300)]
0021351: Fail to compute derivatives of offset surface on trimmed surfaces on offsets on CN surfaces

Added test case bugs/modalg_6/bug21351

6 years ago0022793: Boolean cut operation hangs computer
mkv [Thu, 16 Apr 2015 12:53:07 +0000 (15:53 +0300)]
0022793: Boolean cut operation hangs computer
Test case for issue CR22793

6 years ago0026120: Visualization - segmentation fault in AIS_Selection
vpa [Wed, 22 Apr 2015 11:25:31 +0000 (14:25 +0300)]
0026120: Visualization - segmentation fault in AIS_Selection

Added NULL-pointer checks

6 years ago0026076: Visualization - empty bounding box of a shape after closing local context
vpa [Fri, 17 Apr 2015 17:12:29 +0000 (20:12 +0300)]
0026076: Visualization - empty bounding box of a shape after closing local context

Fixed handling of invalid bounding boxes;
Links related to temporary objects are now removed from selection structures;
Test case for issue #26076

6 years ago0026109: Visualization - add ChangeAxisAspect(int) method to Graphic3d_GraduatedTrihedron
vsr [Mon, 20 Apr 2015 12:21:23 +0000 (15:21 +0300)]
0026109: Visualization - add ChangeAxisAspect(int) method to Graphic3d_GraduatedTrihedron

6 years ago0026028: Option for drawing MeshVS_Mesh as closed object
dbv [Thu, 16 Apr 2015 15:59:44 +0000 (18:59 +0300)]
0026028: Option for drawing MeshVS_Mesh as closed object

MeshVS_MeshPrsBuilder::DrawArrays now sets IsClosed flag to group according to MeshVS_DA_SupressBackFaces attribute in MeshVS_Drawer

6 years ago0025767: "vdisplay" command rises exception
apn [Mon, 20 Apr 2015 16:27:19 +0000 (19:27 +0300)]
0025767: "vdisplay" command rises exception

Added test case bugs/vis/bug25767

6 years ago0025959: Draw Harness - do not turn on Z-clipping implicitly by mouse ring
isz [Thu, 16 Apr 2015 09:39:37 +0000 (12:39 +0300)]
0025959: Draw Harness - do not turn on Z-clipping implicitly by mouse ring

Clipping planes now can not be switched on by mouse ring or both right and left mouse buttons. To do this, user has to press certain button or call certain command.

6 years ago0025778: Gradient background will cut view if there is ClipPlane defined. V6_9_0_beta1
apl [Wed, 15 Apr 2015 09:27:05 +0000 (12:27 +0300)]
0025778: Gradient background will cut view if there is ClipPlane defined.

6 years ago0022644: Incorrect result of Boolean operations (Fuse, Cut, Common)
apn [Thu, 16 Apr 2015 12:48:43 +0000 (15:48 +0300)]
0022644: Incorrect result of Boolean operations (Fuse, Cut, Common)

Added test cases bugs/modalg_6/bug22644_1 bug22644_2 bug22644_3

6 years ago0023138: BRepAlgoAPI_Fuse produce invalid result
apn [Thu, 16 Apr 2015 12:08:19 +0000 (15:08 +0300)]
0023138: BRepAlgoAPI_Fuse produce invalid result

Added test case bugs/modalg_6/bug23138

6 years ago0021507: Bug in BOP: bcut produces invalid result without notice
apn [Thu, 16 Apr 2015 10:58:06 +0000 (13:58 +0300)]
0021507: Bug in BOP: bcut produces invalid result without notice

Added test case bugs/modalg_6/bug21507

6 years agosuppress new warning in BRepTest
kgv [Thu, 16 Apr 2015 12:41:45 +0000 (15:41 +0300)]
suppress new warning in BRepTest

6 years ago0026085: Shape is not displayed in wireframe mode with activated RayTracing
dbp [Thu, 16 Apr 2015 08:43:34 +0000 (11:43 +0300)]
0026085: Shape is not displayed in wireframe mode with activated RayTracing

6 years ago0023150: Command sewing produce incorrect results on test grid csw.
ski [Wed, 15 Apr 2015 12:22:50 +0000 (15:22 +0300)]
0023150: Command sewing produce incorrect results on test grid csw.

Test for sewing command were updated to check reference information.

Commands for testing were moved to the file src/DrawResources/CheckCommands.tcl

Documentation overview was updated.

6 years ago0021821: Section of face by plane is not built due to small edges
apn [Thu, 16 Apr 2015 10:08:51 +0000 (13:08 +0300)]
0021821: Section of face by plane is not built due to small edges

Added test case bugs/modalg_6/bug21821

6 years ago0025815: Visualization - emit error message in case of texture loading fail
isz [Wed, 15 Apr 2015 09:05:11 +0000 (12:05 +0300)]
0025815: Visualization - emit error message in case of texture loading fail

Added error message in case when texture cannot be loaded from file.

6 years ago0026038: Wrong result done by extrema for the circle and plane
ifv [Thu, 16 Apr 2015 11:00:57 +0000 (14:00 +0300)]
0026038: Wrong result done by extrema for the circle and plane

Test cases for issue CR26038

6 years ago0025672: V3d_View::ConvertToGrid doesn't work for grid if the grid plane's origin...
apl [Thu, 16 Apr 2015 09:41:21 +0000 (12:41 +0300)]
0025672: V3d_View::ConvertToGrid doesn't work for grid if the grid plane's origin is not identical to camera origin.

Patched V3d_View::ConverToGrid method to fix the problem
Added test function "vprivilegedplane" for setting/printing grid plane's coordinate system
Added test case bugs/vis/bug25672 to check the issue
remarks from kgv
Warnings eliminating (similar to CR25671)

6 years ago0025746: Excessive memory use in math_Matrix
dbv [Tue, 14 Apr 2015 15:46:12 +0000 (18:46 +0300)]
0025746: Excessive memory use in math_Matrix

math_DoubleTab now statically allocates only 16 items for Buf
Removed indirection table from math_DoubleTab

6 years ago0025671: V3d_View::Convert doesn't work as expected in GRID active mode.
apl [Thu, 16 Apr 2015 08:45:10 +0000 (11:45 +0300)]
0025671: V3d_View::Convert doesn't work as expected in GRID active mode.

Removed code of converting coordinates to grid in V3d_View::Convert, ::ConvertWithProj methods.
Added test case verifying MoveTo with activated grid and testing V3d_View::Convert, ::ConvertWithProj methods.
Added new test command "vconvert" for testing the conversion methods.

gcc compilation warnings

6 years ago0026073: Changes were lost
anv [Tue, 14 Apr 2015 11:23:28 +0000 (14:23 +0300)]
0026073: Changes were lost

Fixed small bug with empty handle usage

6 years ago0025783: Visualization - allow Z-layer to draw 2D objects and to make it alternative...
isz [Thu, 16 Apr 2015 08:33:46 +0000 (11:33 +0300)]
0025783: Visualization - allow Z-layer to draw 2D objects and to make it alternative to Overlay and Underlay

Add one more pre-defined Z-layer Graphic3d_ZLayerId_BotOSD.

Define new Transformation Persistence flags Graphic3d_TMF_2d and Graphic3d_TMF_2d_IsTopDown
for displaying objects in screen coordinates.
Anchor point defines angle of the screen to display the object in similar way as for Graphic3d_TMF_TriedronPers.

Extend Draw Harness command vdisplay with new options:
 -overlay as alias for -toposd.
 -underlay and -botosd.
 -noselect to prevent automatic selection activation.
 -dispMode and -highMode to define displaying and highlighting modes.
 -2d, -2dtopdown and -3d to manage displaying in screen coordinates.
 -trsfPers and -trsfPersPos for Transformation Persistence options.

Drop command vsettransmode, replaced by vdisplay.

Correction of test-case bugs vis bug641

6 years ago0026041: GeomLib_Tool::Parameter method fails
ifv [Thu, 16 Apr 2015 08:27:34 +0000 (11:27 +0300)]
0026041: GeomLib_Tool::Parameter method fails

Test-case for issue #26041

6 years ago0026033: Coding rules - get rid from _Handle classes
isk [Fri, 10 Apr 2015 11:56:03 +0000 (14:56 +0300)]
0026033: Coding rules - get rid from _Handle classes

6 years ago0026031: Visualization - fix out-of-range within Select3D_InteriorSensitivePointSet...
vpa [Thu, 16 Apr 2015 08:19:05 +0000 (11:19 +0300)]
0026031: Visualization - fix out-of-range within Select3D_InteriorSensitivePointSet::GetPoints()

Removed unnecessary point duplication at initialization of planar polygons in Select3D_InteriorSensitivePointSet;

Test case for issue #26031

6 years ago0025684: Extend TCollection_ExtendedString with method IsEmpty()
kgv [Fri, 10 Apr 2015 06:48:30 +0000 (09:48 +0300)]
0025684: Extend TCollection_ExtendedString with method IsEmpty()

6 years agoBackup() is not efficient in TDataStd array attributes.
szy [Mon, 13 Apr 2015 13:07:19 +0000 (16:07 +0300)]
Backup() is not efficient in TDataStd array attributes.

Documentation improvement for set of attributes using 'Delta'.

6 years ago0026035: Length dimension can't be built between two vertices in Draw
dbv [Thu, 9 Apr 2015 08:03:41 +0000 (11:03 +0300)]
0026035: Length dimension can't be built between two vertices in Draw

Fixed drawing length dimension for two vertices in Draw
Fixed exception when trying to draw length dimension for face-point or point-face
Fixed drawing length dimension for edge-vertex/point and vertex/point-edge

6 years ago0026070: Ray tracing with reflections is poor on rotated presentation
dbp [Thu, 16 Apr 2015 07:56:46 +0000 (10:56 +0300)]
0026070: Ray tracing with reflections is poor on rotated presentation

Test case for issue CR26070

6 years ago0025593: Number of intersection points for 2d curves depends on the order of argument...
nbv [Thu, 16 Apr 2015 07:32:53 +0000 (10:32 +0300)]
0025593: Number of intersection points for 2d curves depends on the order of arguments in command "2dintersect"

1. Unification of the polygons creation (it is regardless of arguments order).
2. Output of 2dintersect DRAW-command was changed.
3. Geom2dGcc_Circ2d2TanRadGeo.cxx:
     Precise intersection point found by Extrema Curve-Curve method (dot product between every tangent vector and vector between points on two curves must be equal to zero).
4. Some comments have been translated from French to English.

Some test case have been updated.

Changes in accordance with the last remark

Test case for issue CR25593

6 years ago0025938: BRepBuilderAPI_Transform is not thread safe
msv [Fri, 10 Apr 2015 12:43:21 +0000 (15:43 +0300)]
0025938: BRepBuilderAPI_Transform is not thread safe

ModifiedShape() method is made returning shape by value, not by reference.

6 years ago0026027: Visualization, AIS_TexturedShape - back face culling option should not be...
kgv [Tue, 7 Apr 2015 09:17:25 +0000 (12:17 +0300)]
0026027: Visualization, AIS_TexturedShape - back face culling option should not be overridden by texturing aspect

6 years ago0025893: Visualization, TKOpenGl - do not use uninitialized memory to track Clipping...
isk [Tue, 7 Apr 2015 08:14:57 +0000 (11:14 +0300)]
0025893: Visualization, TKOpenGl - do not use uninitialized memory to track Clipping Planes state

6 years agoCorrection of run.bat for VoxelDemo
bugmaster [Wed, 15 Apr 2015 18:08:29 +0000 (21:08 +0300)]
Correction of run.bat for VoxelDemo

6 years agoCorrection pro file in order Treat WChar_t as Built in Type option was set to true
ski [Mon, 13 Apr 2015 13:42:48 +0000 (16:42 +0300)]
Correction pro file in order Treat WChar_t as Built in Type option was set to true

6 years ago0025964: Visualization, TKOpenGl - compile RayTracing shader without texturing when...
dbp [Wed, 1 Apr 2015 13:19:20 +0000 (16:19 +0300)]
0025964: Visualization, TKOpenGl - compile RayTracing shader without texturing when no textures in use

6 years ago0025885: Visualization, ray tracing - Improve layer processing
dbp [Thu, 9 Apr 2015 05:58:10 +0000 (08:58 +0300)]
0025885: Visualization, ray tracing - Improve layer processing

Move Ray-tracing core from OpenGl_Workspace to OpenGl_View.
This patch also contains a number of useful architectural changes.

6 years ago0025992: Method Geom2dAPI_InterCurveCurve::Segment(...) requires detail revision
nbv [Thu, 9 Apr 2015 14:06:47 +0000 (17:06 +0300)]
0025992: Method Geom2dAPI_InterCurveCurve::Segment(...) requires detail revision

1. Comment for IsOpposite() method has been amended.
2. Method Geom2dAPI_InterCurveCurve::Segment() has been rewritten in accordance with the Bug description requirements (described problem has been confirmed).

The reason of the exception has been eliminated

6 years ago0026014: Visualization - the IsAutoTriangulated flag is ignored for AIS_ColoredShape
osa [Thu, 9 Apr 2015 13:59:14 +0000 (16:59 +0300)]
0026014: Visualization - the IsAutoTriangulated flag is ignored for AIS_ColoredShape

Add test case

6 years ago0025394: Make it possible to store/retrieve the list-based attributes containing...
msv [Thu, 9 Apr 2015 13:34:06 +0000 (16:34 +0300)]
0025394: Make it possible to store/retrieve the list-based attributes containing no items

Attention! It is not a complete patch.

First patch for Binary schema.

Fix for Xml schema.

Patch for the standard schema.

Added new Draw commands to test ExtStringList & ReferenceList attributes.

Fix of a small bug in ReferenceListDriver & improvement of Draw Get commands.

Replace tabs with spaces in newly added lines.

Test cases for issue CR25394

6 years ago0024803: improve the result of v/v interference for two vertices case
pkv [Thu, 9 Apr 2015 13:26:40 +0000 (16:26 +0300)]
0024803: improve the result of v/v interference for two vertices case

class BOPTools_AlgoTools
- method:
void BOPTools_AlgoTools::MakeVertex(BOPCol_ListOfShape& aLV,
                                    TopoDS_Vertex& aVnew)
has been changed.
The section for case of two vertices  has been added

Test case for issue CR24803

6 years ago0026008: Wrong intersection 2D-curves obtained for pair of faces.
nbv [Fri, 3 Apr 2015 07:16:47 +0000 (10:16 +0300)]
0026008: Wrong intersection 2D-curves obtained for pair of faces.

The workaround has been deleted from ProjLib_ComputeApprox.cxx file.

Test case for issue CR26008

6 years ago0025742: A partition of 2 shapes stresses a performance issue
nbv [Tue, 7 Apr 2015 14:41:37 +0000 (17:41 +0300)]
0025742: A partition of 2 shapes stresses a performance issue

1. Algorithm of aStepU1 computing was changed.
2. Interface to allow convert gp_XY(Z) to the math_Vector has been added.
3. Algorithm of point in V-boundaries computing has been changed.
4. Situation when intersection line walks along V-boundary of cylinder(s) is processed better.
5. Intersection lines are created with their individual step along U1 parameter.
6. Points processing has been moved to the assembly level.
7. Extend output of "bfuseblend" and "bcutblend" DRAW-command.
8. New option for "bfuseblend" and "bcutblend" command has been added.

Update Test cases

Test cases for issue CR25742

6 years ago0025974: Visualization - fix misprints in method naming of Graphic3d_GraduatedTrihedron
kgv [Fri, 3 Apr 2015 18:41:52 +0000 (21:41 +0300)]
0025974: Visualization - fix misprints in method naming of Graphic3d_GraduatedTrihedron

V3d_View::GetGraduatedTrihedron() - return configuration structure directly.

OpenGl_View::TriedronDisplay() - do not re-create trihedron on each Display call.
OpenGl_Trihedron::Setup() - eliminate global variables.
OpenGl_PrimitiveArray::buildVBO() - release old VBOs before initialization.

ViewerTest.hxx - move out package header from .cdl file.
ViewerTest::ParseColor() - add new method to parse color arguments in common way.

vzbufftrihedron - improve command syntax.
vgraduatedtrihedron - add options -drawgrid and -drawaxes.

6 years ago0026016: BRepPrimAPI_MakeRevol crash
msv [Thu, 9 Apr 2015 12:03:01 +0000 (15:03 +0300)]
0026016: BRepPrimAPI_MakeRevol crash

Correctly treat the case when the line is a trimmed curve.

Test-case for issue #26016

6 years ago0025840: Updating the documentation on Boolean Operations Algorithm
ysn [Thu, 9 Apr 2015 11:41:53 +0000 (14:41 +0300)]
0025840: Updating the documentation on Boolean Operations Algorithm

Integration of modifications in Boolean Operations guide. Correction of some errors.

New iteration of modifications and improvements.

Small changes

Correction of compilation warnings, some small semantic changes.

More modifications.

6 years ago0025932: Visualization - method AIS_Shape::setWidth() should set line width for FaceB...
isk [Wed, 8 Apr 2015 09:06:33 +0000 (12:06 +0300)]
0025932: Visualization - method AIS_Shape::setWidth() should set line width for FaceBoundaryAspect

6 years ago0026012: Visualization, TKOpenGl - fix misprints in detection of high precision float...
kgv [Thu, 2 Apr 2015 16:06:57 +0000 (19:06 +0300)]
0026012: Visualization, TKOpenGl - fix misprints in detection of high precision floats within OpenGL ES 2.0

6 years ago0025894: BRepOffsetAPI_NormalProjection fails to projection an edge on a face
jgv [Mon, 30 Mar 2015 11:43:50 +0000 (14:43 +0300)]
0025894: BRepOffsetAPI_NormalProjection fails to projection an edge on a face

Test cases have been added
Fix for trimmed parameters case.

6 years ago0025980: Wrong result obtained by projection algorithm.
aml [Fri, 27 Mar 2015 12:32:10 +0000 (15:32 +0300)]
0025980: Wrong result obtained by projection algorithm.

Possibility of "projection failed" state to non-analytical and non-spline surfaces added.
Test-case for issue #25980

6 years agoIncrementation of OCCT version up to 6.9.0 V6_9_0_beta
bugmaster [Tue, 7 Apr 2015 12:38:32 +0000 (15:38 +0300)]
Incrementation of OCCT version up to 6.9.0

6 years ago0024623: Visualization - improve selection mechanism
vpa [Mon, 6 Apr 2015 09:31:00 +0000 (12:31 +0300)]
0024623: Visualization - improve selection mechanism

Redesign of selection mechanism:
- implemented 3-level BVH tree for selection;
- selection now calculates in 3D space;
- intersection tests were moved to SelectMgr_BaseFrustum descendants;
- removed .cdl files in Select3D and .cdl related to selection in MeshVS;
- SelectMgr_ViewerSelectors are now shared between local and global contexts;
- transformations of sensitive entities are now stored in SelectMgr_SelectableObject only. Sensitive entities are independent from transformations, it is applied to SelectMgr_SelectingVolumeManager instance only;
- connected and multiple connected interactive objects are now represented by their child objects only for SelectMgr_SelectionManager;
- if interactive object has child objects, they will be stored as separate objects in SelectMgr_SelectionManager now.
- test cases bugs/vis/bug24623_1, bug24623_2, bug24623_3, bug24623_4 to test performance and memory issues.

6 years ago0025991: Cyclic dependency in OCCT detected by WOK compiler
nbv [Fri, 3 Apr 2015 15:41:51 +0000 (18:41 +0300)]
0025991: Cyclic dependency in OCCT detected by WOK compiler

The reason of possible exception has been eliminated.

6 years ago0026004: Visualization - fix misprint in OpenGl_ShaderManager::prepareStdProgramPhong()
kgv [Wed, 1 Apr 2015 15:20:56 +0000 (18:20 +0300)]
0026004: Visualization - fix misprint in OpenGl_ShaderManager::prepareStdProgramPhong()

6 years ago0025539: Visualization, TKOpenGl - support environmental texture within built-in...
dbp [Thu, 19 Mar 2015 15:43:59 +0000 (18:43 +0300)]
0025539: Visualization, TKOpenGl - support environmental texture within built-in GLSL programs

6 years ago0025973: Visualization, TKOpenGl - support EAGLContext as alternative to NSOpenGLContext
kgv [Thu, 2 Apr 2015 13:28:54 +0000 (16:28 +0300)]
0025973: Visualization, TKOpenGl - support EAGLContext as alternative to NSOpenGLContext

OpenGl_FrameBuffer::InitWithRB() - add method to initialize FBO with Render Buffer Objects.
OpenGl_FrameBuffer::InitWrapper() - add new method to initialize FBO from currently bound in context.

Aspect_RenderingContext - define type explicitly to EAGLContext* / NSOpenGLContext* for ARC.
OpenGl_Window - allow initialization from alien context for OS X / iOS.

6 years ago0025809: Visualization, TKOpenGl - fix texture mapping in capping
kgv [Thu, 2 Apr 2015 13:03:58 +0000 (16:03 +0300)]
0025809: Visualization, TKOpenGl - fix texture mapping in capping

Test case for CR25809

Drop test case (opinion of kgv)

6 years ago0026002: Visualization, TKOpenGl - detect alien Core Profile context
kgv [Thu, 2 Apr 2015 12:58:40 +0000 (15:58 +0300)]
0026002: Visualization, TKOpenGl - detect alien Core Profile context


Update of unstable test-case

6 years ago0007093: BRepLib::SameParameter() changes tolerance of shape, not involved into operation
mkv [Thu, 2 Apr 2015 10:33:10 +0000 (13:33 +0300)]
0007093: BRepLib::SameParameter() changes tolerance of shape, not involved into operation

6 years ago0023484: Visualization, TKOpenGl - primitive arrays to become the only way to render...
aba [Wed, 25 Mar 2015 11:15:13 +0000 (14:15 +0300)]
0023484: Visualization, TKOpenGl - primitive arrays to become the only way to render geometry

OpenGl_CappingAlgo - draw capping plane using OpenGl_PrimitiveArray.
OpenGl_Trihedron - draw trihedron in wireframe mode using OpenGl_PrimitiveArray.

~OpenGl_Context() - release Delayed resources occured after deletion of Shared resources.

Draw Harness, vzbufftrihedron command - redraw viewer after trihedron definition.

6 years ago0025990: Visualization - result of compilation depends on the order of included OCCT...
kgv [Mon, 30 Mar 2015 11:56:44 +0000 (14:56 +0300)]
0025990: Visualization - result of compilation depends on the order of included OCCT header files

Define GL_GLEXT_LEGACY within InterfaceGraphic.hxx

6 years ago0025935: Visualization, TKV3d, Exception when displaying shell in the viewer
vpa [Mon, 30 Mar 2015 09:28:26 +0000 (12:28 +0300)]
0025935: Visualization, TKV3d, Exception when displaying shell in the viewer

Fixed processing of double precision numbers in Visual3d_View::MinMaxValues;
Test case for issue #25935.

6 years ago0025978: Visualization - setup font aliases for Android
kgv [Thu, 2 Apr 2015 12:10:07 +0000 (15:10 +0300)]
0025978: Visualization - setup font aliases for Android

Font_FontMgr - setup system fonts "Droid Sans Mono", "Droid Serif" and "Roboto" as aliases to "Courier", "Times" and "Arial" on Android.
Locate Android system fonts in directory "/system/fonts".

OpenGl_Text::FindFont() - print error message on missed fonts.
OpenGl_Text::render() - allow straightforward font rendering on OpenGL ES.

Do not use "Webdings" in tests.
Drop duplicating test case bugs/vis/bug21091_2.

6 years ago0025982: Wrong result obtained by General Fuse operator.
pkv [Thu, 2 Apr 2015 11:31:51 +0000 (14:31 +0300)]
0025982: Wrong result obtained by General Fuse operator.

New features:
class BOPTools_AlgoTools2D
- method
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
  (const BRepAdaptor_Surface& aBAS,
   const Standard_Real aFirst,
   const Standard_Real aLast,
   const Handle(Geom2d_Curve)& aC2D,
   Handle(Geom2d_Curve)& aC2DA)
has been added.
The method uses the refetence to BRepAdaptor_Surface object as parameter.
The fact allows to avoid redundant computations such as

 class BOPTools_AlgoTools2D
 - method:
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
  (const TopoDS_Face& aF,
   const Standard_Real aT1,
   const Standard_Real aT2,
   const Handle(Geom2d_Curve)& aC2D,
   Handle(Geom2d_Curve)& aC2DA)
 has been changed.
 The changes are to provide the consistency with I.1

- method:
void BOPTools_AlgoTools2D::MakePCurveOnFace
  (const TopoDS_Face& aF,
   const Handle(Geom_Curve)& aC3D,
   const Standard_Real aT1,
   const Standard_Real aT2,
   Handle(Geom2d_Curve)& aC2D,
   Standard_Real& TolReached2d)
 has been changed.
The changes are to provide the consistency with I.1
The restricted surface is used as data for the projection algorithm.

Test case for CR25982

6 years ago0025833: Visualization, ray tracing - Problems with the backside of triangles
dbp [Thu, 2 Apr 2015 11:27:16 +0000 (14:27 +0300)]
0025833: Visualization, ray tracing - Problems with the backside of triangles

Backside triangles are handled correctly by implementing two-sided lighting model. Ray-tracing shader was optimized (up to 25% performance increase).

Test case for CR25833

6 years ago0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers...
kgv [Wed, 25 Mar 2015 12:54:08 +0000 (15:54 +0300)]
0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers within buffersNoSwap option

6 years ago0025993: References to enums are wrapped wrong in SWIG Java
apn [Tue, 31 Mar 2015 12:12:58 +0000 (15:12 +0300)]
0025993: References to enums are wrapped wrong in SWIG Java

Modified Graphic3d/Graphic3d_GraduatedTrihedron.hxx to prevent using const references to enumerations

6 years agoModified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
apn [Fri, 27 Mar 2015 10:39:33 +0000 (13:39 +0300)]
Modified TODOs in test cases bugs modalg_2 bug5805_* with number of issue #25925.
bugs/modalg_4/bug8842_7 - test stable OK (removed TODOs).
bugs/modalg_2/bug453_2 - added ?TODO according to unstable behavior (#25918)
bugs/moddata_1/bug22759 - updated reference data
bugs/vis/bug21091_4 bug21091_5 bug21091_6 bug21091_9 - updated reference data
sewing/tol_100/K1 - added ?TODO according to unstable behavior (test will be removed in #25471)

6 years ago0025150: Java wrapper
ski [Fri, 20 Mar 2015 08:27:57 +0000 (11:27 +0300)]
0025150: Java wrapper

Workaround name conflicts with OCCT methods for Java wrapper compilation

6 years ago0025710: Visualization - Eliminate all calls of glPushAttrib/glPopAttrib in TKOpenGl
dbp [Tue, 24 Mar 2015 17:30:05 +0000 (20:30 +0300)]
0025710: Visualization - Eliminate all calls of glPushAttrib/glPopAttrib in TKOpenGl

6 years agoUpdate test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892
apn [Thu, 26 Mar 2015 14:45:32 +0000 (17:45 +0300)]
Update test cases bugs/moddata_3/bug25892_04-bug25892_12 for issue 25892

6 years agoUpdate reference data for test case boolean/bsection/R9
apn [Thu, 26 Mar 2015 14:43:47 +0000 (17:43 +0300)]
Update reference data for test case boolean/bsection/R9

6 years agoSmall correction of test case bugs/modalg_5/bug25416_3 for issue CR25416
mkv [Thu, 26 Mar 2015 13:37:24 +0000 (16:37 +0300)]
Small correction of test case bugs/modalg_5/bug25416_3 for issue CR25416

6 years ago0025987: Integration part of modified unstable test cases
apn [Thu, 26 Mar 2015 12:44:22 +0000 (15:44 +0300)]
0025987: Integration part of modified unstable test cases

Unstable test cases were reviewed
Modified test cases using checktrend command
Modified test cases for Linux platform
Modified test cases for Debug mode

6 years ago0025976: Conversion of an offset face from a spline into a spline face hangs-up the...
ifv [Thu, 26 Mar 2015 12:42:42 +0000 (15:42 +0300)]
0025976: Conversion of an offset face from a spline into a spline face hangs-up the application

Tests-case for issue #25976

6 years ago0025969: Wrong result obtained by 2d classifier algorithm.
pkv [Thu, 26 Mar 2015 12:41:00 +0000 (15:41 +0300)]
0025969: Wrong result obtained by 2d classifier algorithm.

Class IntTools_FClass2d
method:void IntTools_FClass2d::Init(const TopoDS_Face& aFace,const Standard_Real TolUV)
has been changed.
The cases where derivattive angles that are near to PI are considered as a sign to avoid express treatment for that wire

Test case for CR25969

6 years ago0025416: Wrong section curve
nbv [Wed, 25 Mar 2015 06:52:07 +0000 (09:52 +0300)]
0025416: Wrong section curve

1. Restriction line is processed in IntTools_FaceFace with using methods of GeomInt_IntSS class.
2. Check, if Restriction- and Walking-lines (or Restriction-Restriction lines) are coincided, has been added in IntPatch_ImpPrmIntersection.cxx (at that RLine is considered to be isoline only).
3. Check, if RLine and GLine are coincided, has been added in IntPatch_ImpImpIntersection.cxx.
4. Create new class IntPatch_PointLine, which is inherited from IntPatch_Line.
5. The reason of exception (in DEBUG MODE) has been eliminated.

New test cases for issue #25416 were added.

tests/bugs/modalg_5/bug24650 was modified.

6 years ago0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch
Pawel [Tue, 17 Mar 2015 16:43:21 +0000 (17:43 +0100)]
0025954: GeomPlate_Surface::SetBounds formatting/logic mismatch

Corrected logic/formatting discrepancy.

6 years ago0025963: Define HashCode() for an unsigned int within armv7 target
kgv [Mon, 23 Mar 2015 15:37:41 +0000 (18:37 +0300)]
0025963: Define HashCode() for an unsigned int within armv7 target

OSD_EnvironmentIterator - do not use _NSGetEnviron() on iOS.

6 years ago0025953: BRepMesh_PairOfIndex::Prepend - variable assigned twice
Pawel [Thu, 26 Mar 2015 12:26:16 +0000 (15:26 +0300)]
0025953: BRepMesh_PairOfIndex::Prepend - variable assigned twice

Corrected index assignment.
Minor change in exception message.