8 years ago0023459: Update QT samples
vdn [Thu, 3 Oct 2013 10:26:39 +0000 (14:26 +0400)]
0023459: Update QT samples

Removing Qt3Support layer of Qt 4
Changed all files for Qt4 and added file VoxelDemo.pro
Removed 'static' before the declaration of handling FSD_File.

8 years ago0024213: bopargcheck complains on sphere
emv [Thu, 3 Oct 2013 10:20:54 +0000 (14:20 +0400)]
0024213: bopargcheck complains on sphere

Added check for degenerated edges.
Test case for issue CR24213

8 years ago0024172: Compiler warnings 'unreacheable code' and 'unreferenced local function'...
szy [Mon, 30 Sep 2013 11:53:00 +0000 (15:53 +0400)]
0024172: Compiler warnings 'unreacheable code' and 'unreferenced local function' in OCAF

Files _Sample.cxx containing unused sample code are removed from several OCAF packages.
Cycles for() with body always ending with 'break' are replaced by equivalent if() statements.

8 years ago0023654: Problem with displaying vertices in OCC view after closing all OCC views...
dbv [Thu, 3 Oct 2013 10:11:13 +0000 (14:11 +0400)]
0023654: Problem with displaying vertices in OCC view after closing all OCC views and opening new one

Fixed graphic structure recompute after closing view.
Removed collector and all corresponding logic and methods from AIS_InteractiveContext.
Method AIS_InteractiveContext::Erase() now hide object from viewer without deleting resources.
Erased objects now properly recomputed after closing view.
Samples update
Removed useless method AIS_InteractiveContext::EraseMode()
Documentation update
Warnings fix
Regressions fix

8 years ago0024167: Compiler warnings 'unreacheable code' and 'conditional expression is constan...
aml [Thu, 3 Oct 2013 10:07:10 +0000 (14:07 +0400)]
0024167: Compiler warnings 'unreacheable code' and 'conditional expression is constant' in MOA

Resolved some C4702 (unreachable code) and C4127 (conditional expression is constant).

small corrections in NoSuchObject invoking.

Macros names changing, deadcode deleting, re-writing "for" loops into equivalent "if" structures.

changed condition in "if" block, deadcode deleted.

Small changes in else statement.

8 years ago0024148: Test case bugs/vis/bug24131_markers works wrong with software MS OpenGL
kgv [Mon, 30 Sep 2013 07:01:38 +0000 (11:01 +0400)]
0024148: Test case bugs/vis/bug24131_markers works wrong with software MS OpenGL
Fix misprint in OpenGl_Window aGLForma -> aGLFormat

8 years ago0024157: Parallelization of assembly part of BO
pkv [Fri, 27 Sep 2013 10:37:43 +0000 (14:37 +0400)]
0024157: Parallelization of assembly part of BO
Providing compatibility with new versions of Linux

8 years ago0024134: Wrong result of projection point on the face
azv [Fri, 27 Sep 2013 06:32:19 +0000 (10:32 +0400)]
0024134: Wrong result of projection point on the face
Changed Bnd_SphereUBTreeSelector for the Extrema_ExtAlgo_Tree projection algorithm properly work
Test case for issue CR24134

8 years ago0024108: Boolean fuse fails
abv [Sat, 14 Sep 2013 10:21:00 +0000 (14:21 +0400)]
0024108: Boolean fuse fails

Tolerance of checking distance between vertex and edge in BOPInt_Context::ComputeVE() increased by additional Precision::Confusion() to allow for interference to be detected in this particular case.

Two tests added for this issue: one with original shapes and another in rotated co-ordinates

8 years ago0024157: Parallelization of Assembly part of BO
pkv [Fri, 13 Sep 2013 03:05:16 +0000 (07:05 +0400)]
0024157: Parallelization of Assembly part of BO

The Build (Assembly) Part of BO consists of several sub-parts:
1. Building Vertices
2. Building Edges
3. Building Faces
4. Building Solids
5. Building Container Shapes (Wires, Shells, Compsolids, Compounds)

Among the parts above
3.Building Faces
4.Building Solids
are the most time-consuming and thus should be parallelized first.

The parallelization process can be divided on three phases:
1. Parallelization Building Faces
2. Parallelization Building Solids
3. Parallelization the rest parts

The phase 1 : Parallelization Building Faces consists of three parts:
1.1. Building Split Faces
1.2. Building Same Domain Faces
1.3. Building Faces with Internal Shapes
The branch deals with the phase 1. chapter 1.1. Building Split Faces

8 years ago0024142: Wrong section curve
azv [Thu, 26 Sep 2013 16:34:09 +0000 (20:34 +0400)]
0024142: Wrong section curve
Modified intersection of two conical surfaces with almost the same axis of revolution
Test cases for issue CR24142

8 years ago0024176: Array out-of-bound error in Vrml loader (test bugs moddata_3 bug23023)
abv [Mon, 16 Sep 2013 06:03:12 +0000 (10:03 +0400)]
0024176: Array out-of-bound error in Vrml loader (test bugs moddata_3 bug23023)

Code assigning normals to nodes of triangulation corrected to use correct index of the node and avoid array out-of-bound errors.

8 years ago0023958: Section of shell by plane is incomplete.
emv [Thu, 26 Sep 2013 16:25:54 +0000 (20:25 +0400)]
0023958: Section of shell by plane is incomplete.
Modifications 1
1. To avoid creation of micro edges in the class BOPAlgo_PaveFiller added two new functions ForceInterfVE and
   ForceInterfVF which updates tolerance of Vertex to make it interfere with Edge and Face accordingly.
2. In the class BOPInt_Tools added new function IsInRange which checks whether two ranges cross each other.
3. In the class BOPTools_AlgoTools added new function IntersectCurves2d which intersects pcurves of the face
   to check it on the self-interference.
4. In the function IntTools_BeanFaceIntersector::FastComputeExactIntersection() the check on the coincidence of the whole
   edge with the face (BOPTools_AlgoTools::IsBlockInOnFace) replaced  with the check on the coincidence of one intermediate point with that face.
5. Test cases bugs modalg_1 bug1255, bug1255_1 has been updated with more correct value of the result.
6. TODO statement has been removed from the test cases boolean bcut_complex B1,B3,B5,C2,C4,C6,C8 as they are correct.

Adding test case for issue CR23958

Modification 2
1. In class BOPAlgo_PaveFiller added new function CheckPlanes(nF1, nF2) that checks whether two planar faces have common or intersecting sub shapes.
If these two faces do not have such sub shapes there is no need to intersect them.
2. In the function BOPAlgo_PaveFiller::MakeBlocks() added block for reducing the tolerance values to the previous state for the vertices
that were put on the section curve (with increasing of its tolerance value) that was rejected by the algorithm.

Modification 3
Back to Extrema_ExtAlgo_Grad algorithm in extrema computations in Boolean Operations algorithm.

8 years ago0024148: Test case bugs/vis/bug24131_markers works wrong on software MS OpenGL
kgv [Thu, 26 Sep 2013 16:21:06 +0000 (20:21 +0400)]
0024148: Test case bugs/vis/bug24131_markers works wrong on software MS OpenGL

Add pre-rendered images for custom markers.
OpenGl_Window - drop overcomplicated find_pixel_format() function
OpenGl_Caps - add option to force software OpenGL imlementation (MS or Apple)
Remove TODO from test case
Add grayscale custom marker to the test
Correct color bitness in attributes list

8 years ago0024198: Remove unused stuff in WNT package
abv [Sun, 22 Sep 2013 09:35:10 +0000 (13:35 +0400)]
0024198: Remove unused stuff in WNT package

Removed several obsolete files in WNT package (win32 and Windows 95 specific)

8 years ago0023863: Wrong distance value between circle and cylinder
azv [Thu, 26 Sep 2013 16:13:17 +0000 (20:13 +0400)]
0023863: Wrong distance value between circle and cylinder

The verification of intersection of a circle and a cylinder was added to the calculation of extrema
Test cases for issue CR23863

8 years ago0024186: Eliminate remaining compiler warnings in MSVC++ 2010 64 bit with warning...
omy [Thu, 26 Sep 2013 13:20:52 +0000 (17:20 +0400)]
0024186: Eliminate remaining compiler warnings in MSVC++ 2010 64 bit with warning level 4

Eliminated some warnings of type C4267 (conversion from Type1 to Type2: possible loss of data); size_t to int explicit casts added.
Fixed warning C4267 and 4244 in OSD* files

Change in OSD_FileNode and OSD_File reverted since different handle types are needed on Unix and Windows

8 years ago0024190: Exception raised during topological operation.
pkv [Thu, 26 Sep 2013 13:18:50 +0000 (17:18 +0400)]
0024190: Exception raised during topological operation.
I. New features:
no new features

II. Changes:
II.1. class BOPAlgo_CheckerSI
   - method:
void BOPAlgo_CheckerSI::Perform()
The contents of the method is encompassed with "try/catch" block.

III. Modified entities:

Test cases for issue CR24190

8 years ago0024187: Wrong result of COMMON operation.
emv [Thu, 26 Sep 2013 13:16:19 +0000 (17:16 +0400)]
0024187: Wrong result of COMMON operation.
In the function
  void BOPAlgo_Builder::FillInternalShapes()
added treatment for the arguments of type COMPOUND.

Adding test case for issue CR24187

8 years ago0024191: Static assert functionality should be added to Standard_Assert.hxx
omy [Thu, 19 Sep 2013 12:12:48 +0000 (16:12 +0400)]
0024191: Static assert functionality should be added to Standard_Assert.hxx

Added Standard_STATIC_ASSERT macro for compile-time asserts.
The new macro is used in Standard_MMgrOpt and QANCollection.

8 years ago0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)
omy [Mon, 16 Sep 2013 09:22:20 +0000 (13:22 +0400)]
0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)

Some fixes to eliminate warning

8 years ago0024201: Remove TODO "Tcl Exception: File aaa.stl could not be found" and similar...
apn [Tue, 24 Sep 2013 08:49:19 +0000 (12:49 +0400)]
0024201: Remove TODO "Tcl Exception: File aaa.stl could not be found" and similar ones

8 years ago0024070: OpenGL capped object-level clipping planes
apl [Thu, 19 Sep 2013 12:58:00 +0000 (16:58 +0400)]
0024070: OpenGL capped object-level clipping planes

Graphical clipping:
- Use "Graphic3d_ClipPlane" to defined clipping for PrsMgr_PresentableObject (local clipping), for V3d_View (global clipping).

Get rid of old implementations:
- Remove Visual3d_ClipPlane.
- Port V3d_Plane to Graphic3d_ClipPlane core.

Selection Sensitives:
- Port "Matches" method to add full set of arguments (SelectBasics_PickArgs), including min-max depth coming from selector.
- Get rid of transient data for pair Matches -> ComputeDepth.
- Extend SelectMgr_ViewerSelector::LoadResult to work with local clipping, add virtual callbacks to compute globa/local depth clipping for picking.

Capping rendering algorithm:
- Recursive rendering algorithm for OpenGl_Groups.
- Introduced Rendering filter for groups.

Clipping plane management in TKOpenGl:
- Added OpenGl_ClippingState to OpenGl_Context.

DRAWEXE commands:
- Ported "vclipplane" command for new approach.
- Added "vsettexturemode" command for changing texture details in views (enable / disable textures).

Correct DownCast syntax (compilation error)

Fix new compiler warnings

tests/bugs/vis/bug22906 migrated to the new vclipplane syntax

8 years ago0024005: Intersecting a slightly off angle plane with a cylinder takes 7+ seconds
nbv [Thu, 19 Sep 2013 12:46:17 +0000 (16:46 +0400)]
0024005: Intersecting a slightly off angle plane with a cylinder takes 7+ seconds

Checking of possibility of bad result.
Adding test case for issue CR24005
Correction of test case for issue CR24005

8 years ago0024154: Wrong result of CUT operation
emv [Thu, 19 Sep 2013 12:41:32 +0000 (16:41 +0400)]
0024154: Wrong result of CUT operation

Rebuild normal for the face if the method FindPointInFace fails (unable to find point in the face in bi-normal direction).
Adding test case for issue CR24154

8 years ago0024182: It's necessary to add TODO in test cases to avoid known regressions and...
apn [Thu, 19 Sep 2013 10:47:04 +0000 (14:47 +0400)]
0024182: It's necessary to add TODO in test cases to avoid known regressions and improvements on MacOS

8 years ago0024188: Doubling the number of light sources in Qt samples.
dbp [Wed, 18 Sep 2013 10:20:42 +0000 (14:20 +0400)]
0024188: Doubling the number of light sources in Qt samples.

8 years ago0023964: Extrema_ExtXX::Point methods might return constant reference instead of...
azv [Thu, 19 Sep 2013 11:56:51 +0000 (15:56 +0400)]
0023964: Extrema_ExtXX::Point methods might return constant reference instead of copy
Changed definitions of Point() functions
Removal of floating point exceptions from previous commit

8 years ago0024168: Eliminate CLang compiler warning -Wunused-variable
omy [Wed, 11 Sep 2013 12:52:16 +0000 (16:52 +0400)]
0024168: Eliminate CLang compiler warning -Wunused-variable

Got rid of warning -Wunused-variable

In FSD_File, use template specialization instead of comparison of sizeof() to specific value in if statement, thus eliminating warning "constant value in conditional expression"

8 years ago0024170: Eliminate CLang compiler warning -Wunused local functions
omy [Tue, 17 Sep 2013 06:03:19 +0000 (10:03 +0400)]
0024170: Eliminate CLang compiler warning -Wunused local functions

Removed unreferenced local functions -Wunused
Removed self assignment
Merged IntStart_SearchOnBoundaries*.gxx files into one file.

8 years ago0024169: Eliminate CLang compiler warning -Wunused-value
omy [Wed, 11 Sep 2013 13:18:49 +0000 (17:18 +0400)]
0024169: Eliminate CLang compiler warning -Wunused-value

Got rid of warning -Wunused-value

8 years ago0024162: Eliminate CLang compiler warning
omy [Wed, 11 Sep 2013 11:49:07 +0000 (15:49 +0400)]
0024162: Eliminate CLang compiler warning

Got rid from most cases of appearance '-Wunused-private-field' warning

8 years ago0024171: Eliminate CLang compiler warning -Wreorder
omy [Thu, 12 Sep 2013 07:30:34 +0000 (11:30 +0400)]
0024171: Eliminate CLang compiler warning -Wreorder

Got rid of -Wreorder warning (wrong fields' initialization order); some warnings -Wdangling-else are also fixed

8 years ago0023934: Compiler warnings in MS VC++ 10
abv [Wed, 18 Sep 2013 05:13:42 +0000 (09:13 +0400)]
0023934: Compiler warnings in MS VC++ 10

Elimination of compiler warnings
- ExprIntrp: generated file ExprIntrp.tab.c and related WOK scripts removed from the sources
- ExprIntrp, StepFile: added missing declarations and casts; warnings caused by Flex and Bison code suppressed for MSVC compuler by #pragma
- OSD: dummy #includes added to files containing no code for Windows, to avoid warning on empty file
- PLib: piece of code contained in PLib_ChangeDim.gxx included explicitly in cxx and cleaned
- Other places: some casts added to avoid warnings

8 years ago0024129: Eliminate remaining compiler warnings in MSVC++ 2008 32 bit with warning...
abv [Wed, 18 Sep 2013 05:13:31 +0000 (09:13 +0400)]
0024129: Eliminate remaining compiler warnings in MSVC++ 2008 32 bit with warning level 4

List of resolved warnings:

c4063: Aspect.cdl; TObj_Application.cxx; PCDM.cdl; OpenGl_Workspace_5.cxx;
c4100: XDEDRAW.cxx; ViewerTest_ViewerCommands.cxx; TopOpeBRep_FacesFiller_1.cxx; TopClass_Classifier3d.gxx; TDataStd_ReferenceArray.cxx; QABugs_19.cxx; IntPatch_ImpImpIntersection_5.gxx; HLRTopoBRep_DSFiller.cxx; HLRBRep_Data.lxx; DPrsStd_AISPresentationCommands.cxx; BRepMesh_Delaun.cxx;
c4127: BOPTools_AlgoTools2D.cxx; MAT_Mat.gxx; GeomFill_SweepSectionGenerator.cxx; BRepMesh_Delaun.cxx;
c4189: IntCurveSurface_Inter.gxx; IGESToBRep_BRepEntity.cxx; BRepMesh_Delaun.cxx; BRepAlgo_Loop.cxx; IntStart_SearchOnBoundaries_1.gxx;
c4190: Plugin_Macro.hxx;
c4389: Visual3d_View.cxx; TopOpeBRep/TopOpeBRep_vpr.cxx; TDataStd_BooleanArray.cxx; IntPatch_ALine.cxx;
c4701: BRepAlgo.cxx;
c4702: MNaming_NamingRetrievalDriver_1.cxx; MNaming_NamingRetrievalDriver_2.cxx; BRepClass3d_SolidExplorer.cxx;
c4706: TestTopOpe_BOOP.cxx;

Additional fixes:
- old-style declarations of C functions in IGES and STEP parsers
- clean-up of debug code, fixes for building in Debug mode
- in BRepFill_TrimShellCorner.cxx, lines 878-9, wrong use of assignment instead of comparison fixed
- fix for Plugin_Macro reverted; warning 4190 disabled instead
- in IntPatch_ALine.cxx, line 520, wrong comparison of boolean with index fixed
- in InterfaceGraphic_Visual3d.hxx, field IsCustomMatrix made boolean
- in TopOpeBRepBuild_ShapeSet, obsolete (unused) methods removed

8 years agoAdding UnitsAPI in resources for FoundationClasses.tcl of OS package.
bugmaster [Tue, 17 Sep 2013 06:49:54 +0000 (10:49 +0400)]
Adding UnitsAPI in resources for FoundationClasses.tcl of OS package.

8 years agoSetting Warning Level for Windows (MSVC) to /W4 and Linux -Wall
ibs [Mon, 16 Sep 2013 13:17:59 +0000 (17:17 +0400)]
Setting Warning Level for Windows (MSVC) to /W4 and Linux -Wall

8 years ago0024156: It's necessary to add TODO in test cases to avoid known regressions on MacOS
apn [Thu, 12 Sep 2013 08:52:37 +0000 (12:52 +0400)]
0024156: It's necessary to add TODO in test cases to avoid known regressions on MacOS

8 years ago0024143: bopcheck command throws an exception
emv [Thu, 12 Sep 2013 10:14:12 +0000 (14:14 +0400)]
0024143: bopcheck command throws an exception
Use the tolerance value of the face instead of sum of tolerance values of face and edge to compute grid points on the surface of the face.
Adding test case for issue CR24143

8 years ago0024115: A draw-command loadvrml fails on non-current folder
vro [Thu, 12 Sep 2013 10:12:08 +0000 (14:12 +0400)]
0024115: A draw-command loadvrml fails on non-current folder

A folder is taken from the input file name (if it contains one).
Removed spaces.
Adding test case for issue CR23846
The test for bug 23846 depends on this fix (24115) and the source files of 23846. Therefore the test on 23846 shouldn't participate in the test for 24115.

8 years ago0024135: Result of reading step file is invalid.
omy [Thu, 12 Sep 2013 10:08:48 +0000 (14:08 +0400)]
0024135: Result of reading step file is invalid.

Now wrong multiplicity of boundary knots will be set to Degree + 1 (if it is higher).
Adding test case for issue CR24135

8 years ago0024158: OpenGl_AspectMarker - debug assert on destruction of Alpha texture shared...
kgv [Tue, 10 Sep 2013 11:32:53 +0000 (15:32 +0400)]
0024158: OpenGl_AspectMarker - debug assert on destruction of Alpha texture shared between multiple RGB texture

In addition - delay marker resources destruction in the similar way as textured fonts

8 years ago0024036: Regression: sewing is not correct
gka [Thu, 12 Sep 2013 10:03:42 +0000 (14:03 +0400)]
0024036: Regression: sewing is not correct
Adding test case for issue CR24036
Loading Draw plugin containing command "freebounds"
Loading plugin XDEDRDRW was changed on loading plugin XSDRAW

8 years agoCorrection of test that showed regression on IR after integration latest changes
mkv [Fri, 6 Sep 2013 07:41:25 +0000 (11:41 +0400)]
Correction of test that showed regression on IR after integration latest changes

8 years agoCorrection of testing case due to regression in Debug mode caused integration fix...
apn [Fri, 6 Sep 2013 07:35:27 +0000 (11:35 +0400)]
Correction of testing case due to regression in Debug mode caused integration fix for issue 24131

8 years agoCorrection instable testing case in Debug mode
apn [Fri, 6 Sep 2013 07:32:45 +0000 (11:32 +0400)]
Correction instable testing case in Debug mode

8 years ago0024121: It's necessary to add TODO in test cases to avoid known regressions in debug...
apn [Thu, 5 Sep 2013 08:43:49 +0000 (12:43 +0400)]
0024121: It's necessary to add TODO in test cases to avoid known regressions in debug mode

8 years ago0023978: BRepCheck reports check failure
mkv [Thu, 5 Sep 2013 08:07:13 +0000 (11:07 +0300)]
0023978: BRepCheck reports check failure
Modification test case for issue CR23978

8 years ago0024122: Hang-up during a topological operation.
pkv [Thu, 5 Sep 2013 09:32:05 +0000 (13:32 +0400)]
0024122: Hang-up during a topological operation.

I. New features:
no New features.

II. Changes:
II.1. class : BOPAlgo_Builder
   - method:
void BOPAlgo_Builder::FillIn3DParts(BOPCol_DataMapOfShapeListOfShape& ,
    BOPCol_DataMapOfShapeShape& ,
    const BOPCol_BaseAllocator& )

The algorithm of finding 3D-parts for solids has ben changed.
To improve the performance the unbalanced binary tree is used.

II.2. class : BOPTools_AlgoTools
   - method:
Standard_Boolean BOPTools_AlgoTools::GetFaceOff
  (const TopoDS_Edge&,
   const TopoDS_Face&
   BOPTools_ListOfCoupleOfShape& ,
   Handle(BOPInt_Context& )
The data treatment for tangent cases has been changed

III. Modified entities:

Small corrections of test cases

8 years ago0024131: TKOpenGL redesign GPU memory management for markers presentation
kgv [Fri, 30 Aug 2013 16:37:02 +0000 (20:37 +0400)]
0024131: TKOpenGL redesign GPU memory management for markers presentation

Introduce Point Sprites usage.
Graphic3d_Group - drop Marker(),MarkerSet() methods - markers should be drawn using AddPrimitiveArray.
Added new Draw Harness commands vcaps, vmarkerstest.

8 years ago0024138: Exception during projection of the point on the face
emv [Thu, 5 Sep 2013 09:16:47 +0000 (13:16 +0400)]
0024138: Exception during projection of the point on the face
Adding test case for issue CR24138

8 years ago0024136: Mouse move events from inactive Draw Harness window should not be processed...
kgv [Thu, 29 Aug 2013 17:22:00 +0000 (21:22 +0400)]
0024136: Mouse move events from inactive Draw Harness window should not be processed on active window

8 years ago0024132: Test execution fails due to permission rights issues
kgv [Thu, 5 Sep 2013 09:11:45 +0000 (13:11 +0400)]
0024132: Test execution fails due to permission rights issues

Generation of temporary files used for capturing DRAW command output on Windows is improved to use directory specified by environment variable TMP or TEMP (instead of root directory which can be write-protected)

8 years ago0024123: Create debug OpenGL context when requested (GL_ARB_debug_output)
kgv [Thu, 29 Aug 2013 11:45:45 +0000 (15:45 +0400)]
0024123: Create debug OpenGL context when requested (GL_ARB_debug_output)

Introduce new OpenGl_Caps class for unified graphic driver options access.
New command vgldebug to request debug OpenGL context.
OpenGl_Window  - create debug OpenGL context when requested (WGL-only).
OpenGl_Context - destroy arbTBO, arbIns members.
Workaround namespace collisions with Xlib macros
Eliminate new warning (unused argument in OpenGl_Context::debugCallbackWrap)

8 years ago0024128: Prs3d_WFShape - remove debug environment switch DEBUG_TRIANGLES
kgv [Tue, 27 Aug 2013 04:32:04 +0000 (08:32 +0400)]
0024128: Prs3d_WFShape - remove debug environment switch DEBUG_TRIANGLES

8 years ago0024065: Wrong intersection point
emv [Thu, 29 Aug 2013 09:30:41 +0000 (13:30 +0400)]
0024065: Wrong intersection point

Adding test case for issue CR24065

Small corrections of test cases

8 years ago0024126: Crash on fixing the attached shape
emv [Thu, 29 Aug 2013 09:28:02 +0000 (13:28 +0400)]
0024126: Crash on fixing the attached shape
Added the check for an empty list.
Adding test case for issue CR24126

8 years ago0024120: Move out StdPrs_WFShape implementation to StdPrs_WFShape.cxx
kgv [Thu, 29 Aug 2013 09:24:51 +0000 (13:24 +0400)]
0024120: Move out StdPrs_WFShape implementation to StdPrs_WFShape.cxx
Small correction of test case

8 years ago0024061: Draw-commands for Voxels are insufficient to test the functionality
vro [Thu, 22 Aug 2013 09:07:17 +0000 (13:07 +0400)]
0024061: Draw-commands for Voxels are insufficient to test the functionality

Upgrade of draw-commands + a new draw-command calling conversion of a shape into voxels.
Resolved of a problem of failure of non-regression tests on voxels (vis/bug19820).

8 years ago0023987: 2D fillets
vro [Thu, 22 Aug 2013 09:04:16 +0000 (13:04 +0400)]
0023987: 2D fillets

Added test cases in group bugs/modalg_5
Test cases were put to corresponding regular grid fillet2d

8 years ago0024083: BRepCheck_Wire crashes processing a wire consisting of many edges
vro [Thu, 22 Aug 2013 08:59:16 +0000 (12:59 +0400)]
0024083: BRepCheck_Wire crashes processing a wire consisting of many edges

A check on 0 is added.
A recursive method Propagate() is replaced by a non-recursive implementation.
Adding test case for issue CR24083

8 years ago0024107: BRepAlgo::ConcatenateWireC0 method doesn't work on a translated wire
skv [Thu, 22 Aug 2013 08:27:05 +0000 (12:27 +0400)]
0024107: BRepAlgo::ConcatenateWireC0 method doesn't work on a translated wire

Adding test case for issue CR24107
Correction test case for issue CR24107

8 years ago0024059: Eliminate compiler warning C4701 in MSVC++ with warning level 4
omy [Thu, 22 Aug 2013 08:07:14 +0000 (12:07 +0400)]
0024059: Eliminate compiler warning C4701 in MSVC++ with warning level 4

Removing pPotentially uninitialized local variable
Got rid of most of warnings C4701: Potentially uninitialized local variable
Removed redundant variable definitions.
Refactored a part of AppParCurves_ResolConstraint CTOR.
Replaced 0. to Precision::Confusion for tolerance vars;
Changed values for min and max parameter vars;
Got rid of redundant variables' initialization.

8 years ago0024113: Provide missing OpenGl_VertexBuffer::SubData() specializations
kgv [Thu, 22 Aug 2013 07:25:38 +0000 (11:25 +0400)]
0024113: Provide missing OpenGl_VertexBuffer::SubData() specializations
remark on doxygen documentation

8 years ago0011758: TCollection strings are not memory safe as reported by Purify
vsr [Thu, 22 Aug 2013 07:21:09 +0000 (11:21 +0400)]
0011758: TCollection strings are not memory safe as reported by Purify

Custom string handling code enabled by OptJr macro removed from implementation of strings in TCollection and elsewhere.
Functions from string.h are used instead of macros from Standard_String.hxx
File Standard_String.hxx and methods ISSIMILAR and HASHCODE of TCollection*String classes are removed (to be replaced by strcasecmp).
Functions HashCode for strings reimplemented using DJB2 algorithm for C strings and SDBM algorithm for extended strings.
Adding test cases and draw-command for issue CR11758
Fix misprint added with previous integration
Fix misprint in the test command.
Remove compilation warnings (Linux).
Avoid compiler warning "dereferencing type-punned pointer will break strict-aliasing rules" on Linux

8 years ago0023864: An & symbol is read incorrectly from a XML Ocaf file
vro [Thu, 15 Aug 2013 12:28:11 +0000 (16:28 +0400)]
0023864: An & symbol is read incorrectly from a XML Ocaf file
A line is uncommented. This line sets the successfully read & symbol.
Correction and adding test cases for issue CR23864

8 years ago0024105: ShapeFix algorithm produces not correct result.
emv [Thu, 15 Aug 2013 12:23:41 +0000 (16:23 +0400)]
0024105: ShapeFix algorithm produces not correct result.
Small correction.
Adding test cases for issue CR24105

8 years ago0024112: Unused variables are initialized in Extrema package
kgv [Wed, 14 Aug 2013 09:15:43 +0000 (13:15 +0400)]
0024112: Unused variables are initialized in Extrema package

8 years ago0024045: Invalid test case for matrix-vector multiplication
Roman Lygin [Tue, 25 Jun 2013 17:58:50 +0000 (21:58 +0400)]
0024045: Invalid test case for matrix-vector multiplication

8 years ago0024044: Performance improvements: Foundation Classes (math)
Roman Lygin [Tue, 25 Jun 2013 17:42:25 +0000 (21:42 +0400)]
0024044: Performance improvements: Foundation Classes (math)

8 years ago0024081: Memory corruption when projecting point on surface of revolution
Roman Lygin [Thu, 15 Aug 2013 11:55:13 +0000 (15:55 +0400)]
0024081: Memory corruption when projecting point on surface of revolution
Adding test cases for issue CR24081

8 years ago0024106: Project non-regression test: geom/boolean_operations6/G3 provides incorrect...
pkv [Thu, 8 Aug 2013 04:05:42 +0000 (08:05 +0400)]
0024106: Project non-regression test: geom/boolean_operations6/G3 provides incorrect result.

8 years ago0023766: Shape orientation processing mechanism redesign
szy [Thu, 15 Aug 2013 11:36:08 +0000 (15:36 +0400)]
0023766: Shape orientation processing mechanism redesign
Added missed file.
Added missed MDF_Tool.cxx.
Adding test cases for issue CR23766

8 years ago0022535: Cut sphere: invalid shape after reading from STEP
ika [Thu, 15 Aug 2013 11:28:19 +0000 (15:28 +0400)]
0022535: Cut sphere: invalid shape after reading from STEP
In cutting sphere it's seam edge was divided into two parts(by cylinder),
but pcurves of  the second were not shifted during shape healing.
Test cases correction

8 years ago0024089: Missing section edge
pkv [Thu, 8 Aug 2013 06:58:38 +0000 (10:58 +0400)]
0024089: Missing section edge
Added test case bugs/modalg_5/bug24089
Small correction of test case buc60462_2

8 years ago0024095: Eliminate compiler warning C4512 in MSVC++ with warning level 4
omy [Tue, 6 Aug 2013 14:25:08 +0000 (18:25 +0400)]
0024095: Eliminate compiler warning C4512 in MSVC++ with warning level 4

Removed most of warnings C4512 for non-copyable objects

8 years ago0024092: Boolean fuse fails
pkv [Wed, 7 Aug 2013 15:52:40 +0000 (19:52 +0400)]
0024092: Boolean fuse fails
Adding test cases for issue CR24092

8 years ago0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4
omy [Fri, 2 Aug 2013 05:54:03 +0000 (09:54 +0400)]
0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4

Removed obsolete functions from sources.
Some useful debug functions were 'defined' ( put into #ifdef ...#endif )
Removed some redundant code

8 years ago0024101: Self-Interference Checker provides results that are inconsistent with the...
pkv [Mon, 5 Aug 2013 07:48:08 +0000 (11:48 +0400)]
0024101: Self-Interference Checker provides results that are inconsistent with the Project requirements.

8 years ago0024098: Exception Standard_OutOfMemory raised during topological operation.
pkv [Fri, 2 Aug 2013 06:07:13 +0000 (10:07 +0400)]
0024098: Exception Standard_OutOfMemory raised during topological operation.

8 years ago0003513: There is no check for boundary of array in method Set for array attributes
szy [Wed, 7 Aug 2013 15:27:29 +0000 (19:27 +0400)]
0003513: There is no check for boundary of array in method Set for array attributes
- Added check of array's boundary in Set(i, val) methods.
- Added comments to cdl files.
- removed accidental modification in TDataStd_ExtStringArray::Value(i).
- recovering accidentally lost modifications.

8 years ago0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
omy [Mon, 29 Jul 2013 06:27:34 +0000 (10:27 +0400)]
0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4

Most of the compiler warnings C4244 have been eliminated.

8 years ago0021317: Face cannot be fixed by Shape Healing
ika [Thu, 1 Aug 2013 08:34:52 +0000 (12:34 +0400)]
0021317: Face cannot be fixed by Shape Healing
Fix that face, in which only wire was reordered during shape healing, was not replaced.
Add test case for this fix
Add status for shifted wires in reordering.
Modified test case de/step_1/E3 according to new reference data

8 years ago0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4
omy [Thu, 1 Aug 2013 08:20:35 +0000 (12:20 +0400)]
0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4

Got rid from most cases which led to Warning c4706
Tiny code style corrections

8 years ago0023105: Exception during Meshing / Missing triangles
oan [Thu, 25 Jul 2013 09:11:00 +0000 (13:11 +0400)]
0023105: Exception during Meshing / Missing triangles

Fix compilation error on Linux
Adding test command for this fix
meshPolygon: simplify source polygon by splitting it onto parts without glued edges and loops
Check surrounded triangles during final cleaning of mesh
Correct polygon on frontier edges
Modified test cases in group mesh according to new behavior

8 years ago0023614: BRepMesh creates incorrect triangulation on the attached models
apn [Wed, 24 Jul 2013 10:29:41 +0000 (14:29 +0400)]
0023614: BRepMesh creates incorrect triangulation on the attached models

Added test cases bugs/mesh/bug23614_1 bug23614_2 bug23614_3 bug23614_4

8 years ago0023746: IGES wheel model fails to load when OCCT unit is meters
ika [Thu, 25 Jul 2013 08:39:12 +0000 (12:39 +0400)]
0023746: IGES wheel model fails to load when OCCT unit is meters
Add check for too small distances during edges reordering
Fix writing TrimmedSurface (Type 144).
Fix checking for too small distances between loops of edges during edge's reordering.
Add checking for too small BSpline segments during reading and writing IGES.
Fix wire splitting by adding checking that vertexes same not only in 3d, but in 2d too.
use tolerance of vertexes recomputed through resolution surface, not 2d curves.
Adding test case for this fix
Modified test case bugs iges bug23746 and cases in group de according to new reference data

8 years ago0024022: Slow meshing in BRepMesh
apn [Tue, 23 Jul 2013 12:45:28 +0000 (16:45 +0400)]
0024022: Slow meshing in BRepMesh

Added test case bugs/mesh/bug24022

8 years agoUpdate of environment files of qt samples for compilation in batch mode.
bugmaster [Wed, 24 Jul 2013 11:41:33 +0000 (15:41 +0400)]
Update of environment files of qt samples for compilation in batch mode.

8 years ago0024077: Build errors on master branch on Mac OS X
nbv [Fri, 19 Jul 2013 05:36:49 +0000 (09:36 +0400)]
0024077: Build errors on master branch on Mac OS X

small correction
Init() method is called with other parameter.

8 years agoCorrected integration to remove incorrect merge fix for issue 0024057 with fix for...
bugmaster [Fri, 19 Jul 2013 08:43:03 +0000 (12:43 +0400)]
Corrected integration to remove incorrect merge fix for issue 0024057 with fix for 0023582

8 years ago0024047: Exception in TPrsStd_AISPresentation during destruction of TDocStd_Document
gka [Thu, 18 Jul 2013 09:16:35 +0000 (13:16 +0400)]
0024047: Exception in TPrsStd_AISPresentation during destruction of TDocStd_Document

Adding test case for this fix
Modification in order to avoid exception during destruction of AIS_InteractiveContext
Small modification for trihedron
Small modifications to avoid regressions
Cosmetic modification

8 years ago0024072: VC 2009 64-bit compiler crashes while compiling IntPoly_ShapeSection.cxx
Roman Lygin [Tue, 16 Jul 2013 17:33:29 +0000 (21:33 +0400)]
0024072: VC 2009 64-bit compiler crashes while compiling IntPoly_ShapeSection.cxx

8 years ago0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4
omy [Thu, 18 Jul 2013 09:09:32 +0000 (13:09 +0400)]
0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4

Got rid of warning C4100: 'identifier' : unreferenced formal parameter
Got rid of compile errors

8 years ago0024075: Boolean Section between two faces fails
mkv [Wed, 17 Jul 2013 11:18:29 +0000 (14:18 +0300)]
0024075: Boolean Section between two faces fails

8 years ago0024076: New warning during compilation OCCT on WNT platform (release and debug)
omy [Tue, 16 Jul 2013 10:34:51 +0000 (14:34 +0400)]
0024076: New warning during compilation OCCT on WNT platform (release and debug)

Added return statement to disable warning

8 years ago0023839: Projection algorithm produces wrong results for set of data
jgv [Thu, 18 Jul 2013 08:54:38 +0000 (12:54 +0400)]
0023839: Projection algorithm produces wrong results for set of data
Added test cases bugs/modalg_5/bug23839_1 bug23839_2 bug23839_3 bug23839_4 bug23839_5 bug23839_6 bug23839_7

8 years ago0023582: Argument of LocOpe_WiresOnShape::SetCheckInterior() function is ignored.
jgv [Fri, 12 Jul 2013 13:40:15 +0000 (17:40 +0400)]
0023582: Argument of LocOpe_WiresOnShape::SetCheckInterior() function is ignored.

8 years ago0024069: Confusion in the name of variables
emv [Fri, 12 Jul 2013 06:36:44 +0000 (10:36 +0400)]
0024069: Confusion in the name of variables

8 years ago0023570: Command param in DRAW outputs non-readable symbols
ika [Thu, 18 Jul 2013 08:44:08 +0000 (12:44 +0400)]
0023570: Command param in DRAW outputs non-readable symbols
Added test case bugs/xde/bug23570