occt.git
6 years ago0025334: BRepOffsetAPI_MakeOffset algorithm crashes on some customer's shape
jgv [Thu, 23 Oct 2014 10:36:48 +0000]
0025334: BRepOffsetAPI_MakeOffset algorithm crashes on some customer's shape

Test cases for issue CR25334

6 years ago0025373: Visualization, AIS_MultipleConnectedInteractive - transformation persistence...
kgv [Wed, 15 Oct 2014 11:20:26 +0000]
0025373: Visualization, AIS_MultipleConnectedInteractive - transformation persistence flags are ignored for connected objects

Provide method AIS_MultipleConnectedInteractive::Connect() taking transformation persistence flags.
Copy transformation persistence flags from original objects when called Connect() without extra arguments.

6 years ago0025344: Draw variables do not follow the scope of TCL level
msv [Thu, 23 Oct 2014 10:30:28 +0000]
0025344: Draw variables do not follow the scope of TCL level

Use NCollection_Map instead of instantiation of TCollection_Map

Test-cases for issue #25344

Correct error in test script: the shape variable assigned by the command 'restore' must not be referred by '$'.

6 years ago0025294: Visualization, PrsMgr_Presentation - detach connected presentations on destr...
kgv [Fri, 17 Oct 2014 15:14:32 +0000]
0025294: Visualization, PrsMgr_Presentation - detach connected presentations on destruction

6 years ago0025348: Method Assign of NCollection containers must not change own allocator of...
msv [Thu, 23 Oct 2014 10:19:15 +0000]
0025348: Method Assign of NCollection containers must not change own allocator of the target

Correct according to remarks of reviewer:
- Assign() and operator=() should implement equal approach to allocators
- Protect all collections against assignment to itself with operator=()

Test-case for issue #25348

6 years ago0025381: Visualization - XCAFPrs_AISObject ignores visibility flag for sub-shapes
kgv [Thu, 23 Oct 2014 10:15:59 +0000]
0025381: Visualization - XCAFPrs_AISObject ignores visibility flag for sub-shapes

Test case for issue CR25381

6 years ago0024965: Problem in local selection mode with selected objects staying in the viewer
apl [Thu, 23 Oct 2014 10:13:46 +0000]
0024965: Problem in local selection mode with selected objects staying in the viewer

Added method to clear outdated selection of entity owners on recompute (update) of selection.
Added test case to check selection behavior in local context.

Cosmetic corrections

6 years ago0025371: Visualization - raise exception in AIS_ConnectedInteractive::Connect() on...
kgv [Tue, 14 Oct 2014 15:17:11 +0000]
0025371: Visualization - raise exception in AIS_ConnectedInteractive::Connect() on invalid argument

Indicate API misuse by program exception.

6 years ago025306: Visualization, TKOpenGl - support texturing within RayTracing
dbp [Thu, 23 Oct 2014 10:09:23 +0000]
025306: Visualization, TKOpenGl - support texturing within RayTracing

Fix bug with overlay OpenGL text.

6 years ago0025376: Inconsistence between function and derivatives evaluation in Extrema_GlobOpt...
aml [Wed, 15 Oct 2014 07:44:53 +0000]
0025376: Inconsistence between function and derivatives evaluation in Extrema_GlobOptFuncCS.

Changed "value" function behavior in Extrema/Extrema_GlobOptFuncCS.cxx. Now it compute square distance between point on curve and point on surface.

Fixed description in Extrema_GlobOptFuncCC.

6 years ago0025332: Visualization - rewrite MinMaxValues methods to using of Bnd_Box
osa [Tue, 14 Oct 2014 14:27:57 +0000]
0025332: Visualization - rewrite MinMaxValues methods to using of Bnd_Box

6 years ago0023698: BRepBuilderAPI_Copy creates invalid copy
apn [Mon, 20 Oct 2014 12:00:44 +0000]
0023698: BRepBuilderAPI_Copy creates invalid copy

Added test case bugs/modalg_5/bug23698

6 years ago0025359: In Draw Test Harness: content of menu-items "Curves" and "Surfaces" is incre...
isz [Mon, 13 Oct 2014 12:41:00 +0000]
0025359: In Draw Test Harness: content of menu-items "Curves" and "Surfaces" is increased after each sample launching

Menus "Curves" and "Surfaces" are destroyed now (if they exist) before displaying.

6 years ago0025265: Perspective projection - selecting front point of two
apl [Tue, 14 Oct 2014 11:47:34 +0000]
0025265: Perspective projection - selecting front point of two

6 years agoFix compilation without TBB (VC9)
abv [Fri, 17 Oct 2014 08:50:49 +0000]
Fix compilation without TBB (VC9)

6 years agoCorrection of testing cases
mkv [Fri, 17 Oct 2014 12:39:54 +0000]
Correction of testing cases

6 years agoEliminating of warning
bugmaster [Fri, 17 Oct 2014 12:38:33 +0000]
Eliminating of warning

6 years ago0025266: Debug statements in the source are getting flushed on to the console
abv [Thu, 16 Oct 2014 12:45:55 +0000]
0025266: Debug statements in the source are getting flushed on to the console

Suppress remaining couts in packages explicitly mentioned in the original bug description

Correction of test cases for issue CR25266

6 years ago0025313: Review of TODOs in test cases for unused platforms
apn [Wed, 1 Oct 2014 13:24:00 +0000]
0025313: Review of TODOs in test cases for unused platforms

TODOs for unused platforms were deleted. Issue 22988 was closed.

6 years ago0023547: Tests failures in debug mode
nbv [Fri, 26 Sep 2014 11:32:46 +0000]
0023547: Tests failures in debug mode

1. DRAW-commands for curve/surface continuity returning were changed.
2. Output of "distmini" DRAW-command is amended.
3. Function MinMax() was moved from Standard_Real to IntPatch_ImpImpIntersection_4.gxx.
4. Incorrect computing of nbcurveC1 in Geom2dConvert::C0BSplineToC1BSplineCurve(...) function was liquidated.

Test cases were changed.

6 years ago0025266: Debug statements in the source are getting flushed on to the console
dbv [Wed, 8 Oct 2014 15:00:20 +0000]
0025266: Debug statements in the source are getting flushed on to the console

Output to cout activated previously in Debug mode by #ifdef DEB is suppressed by using macro <PACKAGE>_DEB instead of DEB

6 years ago0025369: Visualization, Image_AlienPixMap - handle UTF-8 names in image read/save...
kgv [Thu, 16 Oct 2014 12:13:20 +0000]
0025369: Visualization, Image_AlienPixMap - handle UTF-8 names in image read/save operations on Windows

Test-case for issue #25369

6 years ago0025340: Visualization, AIS_InteractiveContext - properly apply selection filters...
kgv [Thu, 16 Oct 2014 12:07:36 +0000]
0025340: Visualization, AIS_InteractiveContext - properly apply selection filters at Neutral point

Do not use myMainSel->OnePicked() in AIS_InteractiveContext::MoveTo().

Test-case for issue #25340

6 years ago0025100: Self-intersection of surfaces with using GeomAPI_IntSS rises run-time check...
nbv [Wed, 15 Oct 2014 06:41:17 +0000]
0025100: Self-intersection of surfaces with using GeomAPI_IntSS rises run-time check failure

1. Bug command added.
2. Dynamic array is used in place of static.

6 years ago0025370: Visualization - misprint in PrsMgr_PresentationManager::Connect()
kgv [Tue, 14 Oct 2014 15:07:00 +0000]
0025370: Visualization - misprint in PrsMgr_PresentationManager::Connect()

fix theMode -> theOtherMode

6 years ago0025383: Broken vrecord command
san [Wed, 15 Oct 2014 14:06:52 +0000]
0025383: Broken vrecord command

Pass HWND of the current 3D view to OpenGl_AVIWriter::StartRecording()
in order to make it work.

6 years ago0025365: Regressions after changes in IsClosed flag
abv [Mon, 13 Oct 2014 16:44:33 +0000]
0025365: Regressions after changes in IsClosed flag

Restore previous behavior of BRep_Tool::IsClosed() for shells: empty shells and shells containing only INTERNAL or EXTERNAL sub-shapes are considered non-closed.

6 years ago0025363: Visualization - add test command for V3d_View::FitAll by view area
apl [Wed, 15 Oct 2014 08:01:16 +0000]
0025363: Visualization - add test command for V3d_View::FitAll by view area

6 years ago0021802: Not all names are transferred from STEP to IGES via XDE
dbv [Thu, 16 Oct 2014 11:35:22 +0000]
0021802: Not all names are transferred from STEP to IGES via XDE

Method IGESCAFControl_Writer::WriteNames now iterates over all nested assemblies and collects names for shapes.
Regression fix
Test-case for issue #21802

6 years ago0025319: Bop Common produces strange results with same shapes.
emv [Thu, 16 Oct 2014 11:30:12 +0000]
0025319: Bop Common produces strange results with same shapes.

class BOPAlgo_Builder
method
  void BOPAlgo_Builder::FillIn3DParts
    (BOPCol_DataMapOfShapeListOfShape& theInParts,
     BOPCol_DataMapOfShapeShape& theDraftSolids,
     const BOPCol_BaseAllocator&)
Sort faces before its classification relatively to the solid.

Test cases for issue CR25319

Correction of test cases for issue CR25319

6 years ago0025245: General Fuse operation regression
emv [Thu, 16 Oct 2014 11:26:20 +0000]
0025245: General Fuse operation regression

class BOPDS_DS
method:
  void BOPDS_DS::InitPaveBlocks(const Standard_Integer theI)
Correct treatment of internal edges.

Test cases for the issue.

Correction of test cases for issue CR25245

6 years ago0023753: Test case bugs modalg_2 bug19793_2 works too long on Linux platform
emv [Thu, 16 Oct 2014 11:14:05 +0000]
0023753: Test case bugs modalg_2 bug19793_2 works too long on Linux platform

class IntTools_ShrunkRange
method void IntTools_ShrunkRange::Perform()
Fix to avoid creation of small section edges.

Correction of test case for issue CR23753

6 years ago0025358: Visualization - method V3d_View::Reset has incorrect condition for update
osa [Mon, 13 Oct 2014 12:53:19 +0000]
0025358: Visualization - method V3d_View::Reset has incorrect condition for update

6 years ago0025366: Method AIS_MultipleConnectedInteractive::AcceptShapeDecomposition() should...
kgv [Mon, 13 Oct 2014 14:33:41 +0000]
0025366: Method AIS_MultipleConnectedInteractive::AcceptShapeDecomposition() should be exported

6 years ago0025317: Failure on attempt to save an Ocaf document with a long double array attribu...
vro [Thu, 16 Oct 2014 11:01:33 +0000]
0025317: Failure on attempt to save an Ocaf document with a long double array attribute in a Xml file

A draw-command SetRealArrayValue. It is necessary to reproduce the crash.
A fix + some additional draw-commands
Test cases for issue CR25317

6 years ago0025276: Visualization - Lighting is broken if some kinds of transformation applied...
duv [Fri, 26 Sep 2014 10:41:51 +0000]
0025276: Visualization - Lighting is broken if some kinds of transformation applied to a shape

In order to solve the problem, triangle vertices order is inverted in
mirrored mesh (triangulation). Mesh considered to be mirrored if its
transformation matrix determinant is less than 0.

To handle AIS object mirror transformations "Mirrored" flag stored in
OpenGl_Structure. If this flag is enabled, glFrontFace (GL_CW) applied
before the draw call.

New DRAW commands for visualization level transformations added.

6 years ago0007570: Exception in ShapeFix_Wireframe::FixSmallEdges
pdn [Thu, 16 Oct 2014 10:24:19 +0000]
0007570: Exception in ShapeFix_Wireframe::FixSmallEdges

Exception fixed by checking if subshape removed completely.

Test-case for issue #7570

6 years ago0025303: Visualization, TKOpenGl - dynamically disable unused light sources in genera...
kgv [Wed, 8 Oct 2014 08:29:47 +0000]
0025303: Visualization, TKOpenGl - dynamically disable unused light sources in generated GLSL program

6 years agoAdding dependencies from tbb
bugmaster [Thu, 16 Oct 2014 09:26:16 +0000]
Adding dependencies from tbb

6 years agoCorrection of test case for issue CR25142 V6_8_0_beta
mkv [Fri, 10 Oct 2014 11:39:25 +0000]
Correction of test case for issue CR25142

6 years ago0025202: Incorrect value of IsClosed flag in shapes produced by some algorithms
abv [Wed, 8 Oct 2014 14:52:07 +0000]
0025202: Incorrect value of IsClosed flag in shapes produced by some algorithms

Method BRep_Tool::IsClosed() extended to analyze closure of wires in addition to shells and solids.
External and Internal edges and vertices are ignored in this check.
Analysis of compounds is disabled.

Update of flag Closed according to actual state is added in most places where new shells are constructed.

Draw-command and test case for issue CR25202

6 years ago0024802: "help" command shouldn't apply implicit rules in definition process of what...
apl [Mon, 6 Oct 2014 14:55:14 +0000]
0024802: "help" command shouldn't apply implicit rules in definition process of what command description it should show

 -When in "help <command>" <command> was exactly found in existing draw commands, then helpstring for this <command> is displayed,
  else "help" fails and error message is displayed
 -When "*word" or "word*" or any other combination is given in args, then help command performs typical wildcard search.

6 years ago025314: Usage of smart pointers for dynamically allocated memory in BVH
dbp [Fri, 10 Oct 2014 12:14:53 +0000]
025314: Usage of smart pointers for dynamically allocated memory in BVH

6 years ago0025231: DRAW - make top level menu useful
isz [Mon, 6 Oct 2014 12:56:21 +0000]
0025231: DRAW - make top level menu useful

-Meaningful texts are provided instead of commands in File menu (e.g. restore->Load Shape (restore))
-tk_getOpenFile is used in "open file" dialogs
-tk_chooseDirectory is used in "change directory" dialog
-Added menu "Help" with submenus "System info", "Commands", "About", "User Guide"
-Added menu "Samples" with submenu "View samples"
-Added menu "Load" with submenus "pload <Module>"

6 years ago0025310: Regressions in visualization
azn [Wed, 8 Oct 2014 10:57:22 +0000]
0025310: Regressions in visualization

- Memory management in the BRepMesh_FastDiscret class is changed. Now the unused face attributes is immediately removed.

6 years ago0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D...
dln [Tue, 3 Jun 2014 06:11:33 +0000]
0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D viewer

Add new C# sample which allow to render the OCCT scene to a Direct3D context in a WPF application.
DirectX SDK is required in order to build this sample.

6 years agoSync res/resource.h from src/resource.h
kgv [Fri, 10 Oct 2014 07:10:44 +0000]
Sync res/resource.h from src/resource.h

6 years agoIncrementation of OCCT version up to 6.8.0beta
bugmaster [Thu, 9 Oct 2014 12:38:43 +0000]
Incrementation of OCCT version up to 6.8.0beta
Correction of license statements

6 years ago0022859: Developers guide with code samples
ysn [Thu, 9 Oct 2014 12:33:21 +0000]
0022859: Developers guide with code samples

A user's guide for VTK Interactive Services has been added in the documentation

quick fix

Minor corrections in documentation syntax

6 years ago0025335: Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_Interac...
duv [Wed, 8 Oct 2014 09:01:51 +0000]
0025335: Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_InteractiveContext overrides shape transformation

Shape location overriding fixed by combining AIS object transformation and shape location.
Also incorrect highlight presentation (and sensitive) placement was possible.

6 years ago0023886: Visualizing planar faces with "notches" depends heavily on the deflection...
mkv [Wed, 8 Oct 2014 16:41:47 +0000]
0023886: Visualizing planar faces with "notches" depends heavily on the deflection coefficient

Test cases for issue CR23886

6 years ago0024606: DepthFitAll and ZFitAll do not eliminate z-clipping
apl [Thu, 9 Oct 2014 12:23:54 +0000]
0024606: DepthFitAll and ZFitAll do not eliminate z-clipping

Test case for non-regression verification

Correction of test case for issue CR24606

6 years ago0023400: Triangulation of thin ring contains gap
mkv [Wed, 8 Oct 2014 16:32:16 +0000]
0023400: Triangulation of thin ring contains gap

Test case for issue CR23400

6 years ago0024127: Mesh generated with BRepMesh_FastDiscret does not reflect a deflection setti...
mkv [Wed, 8 Oct 2014 16:05:06 +0000]
0024127: Mesh generated with BRepMesh_FastDiscret does not reflect a deflection setting \n Test case for issue CR24127

6 years ago0022614: Scaling fails with linear (p-)curves
mkv [Wed, 8 Oct 2014 15:46:03 +0000]
0022614: Scaling fails with linear (p-)curves

Test cases for issue CR22614

6 years ago0024966: Problem in local selection mode with selected objects staying in the viewer...
apl [Thu, 9 Oct 2014 12:14:59 +0000]
0024966: Problem in local selection mode with selected objects staying in the viewer after erase

Entity owners built from decomposition of parent interactive shape are now treated when erasing shape in local selection context

Correction of test case for issue CR24966

6 years ago0025316: Draw viewer commands - display (erase) objects in local selection context
apl [Thu, 2 Oct 2014 15:16:48 +0000]
0025316: Draw viewer commands - display (erase) objects in local selection context

6 years ago0025333: Result wires obtained after TestHarness command "connectedges" contains...
gka [Thu, 9 Oct 2014 12:03:27 +0000]
0025333: Result wires obtained after TestHarness command "connectedges" contains internal edges

Fix contains protection in order to avoid addition in result wires INTERNAL or EXTERNAL edges during connecting edges in wires.

Test case for issue #25333

6 years ago0025329: ExprIntrp_GenExp can not parse unary plus
esa [Thu, 9 Oct 2014 11:44:35 +0000]
0025329: ExprIntrp_GenExp can not parse unary plus

Formatting

Test case for issue CR25329

6 years ago0025331: Visualization - method V3d_View::ConvertWithProj returns incorrect value
osa [Mon, 6 Oct 2014 15:07:35 +0000]
0025331: Visualization - method V3d_View::ConvertWithProj returns incorrect value

6 years ago0025284: Problems with standard MFC samples
aba [Thu, 9 Oct 2014 11:40:14 +0000]
0025284: Problems with standard MFC samples

 - OCAF sample Save Document option: corrected conversion from LPCTSTR to Standard_CString
 - HLR sample: corrected mouse move event handling for HLR 2D view; Corrected CSelectionDialog view displaying and updating
 - Geometry sample: CGeometryDoc correction to avoid code duplication
 - OCC_3dBaseDoc: corrected DragEvent() handler for proper emulation of rectangle selection.
 - Viewer3d sample: moved resource files (resource.h; resource.hm; AISToolbar.bmp) from /src to /res

Code style changes

Fixed "About" dialog error in release.

Corrected dimension dialogs

Workaround for dimensions sample: AIS_LocalContext::SelectedShape() doesn't take into account TopoDS shape local transformation, and operates with selected interactive transformation.

6 years ago0025159: Collections and common types in BVH package are named in non-conformant...
dbp [Thu, 9 Oct 2014 11:31:24 +0000]
0025159: Collections and common types in BVH package are named in non-conformant manner

Fix GCC compilation errors.

6 years ago0025234: Implementing LBVH builder
dbp [Wed, 24 Sep 2014 15:32:40 +0000]
0025234: Implementing LBVH builder

Performs fast BVH construction using LBVH building approach. Algorithm uses spatial Morton codes to reduce the BVH construction problem to a sorting problem (radix sort -- O(N) complexity). This Linear Bounding Volume Hierarchy (LBVH) builder produces BVH trees of lower quality compared to SAH-based BVH builders but it is over an order of magnitude faster (up to 4M triangles per second).

6 years ago0025227: Visualization - optimize BVH binned builder
dbp [Wed, 24 Sep 2014 08:03:22 +0000]
0025227: Visualization - optimize BVH binned builder
BVH binned builder is used for different rendering aspects, such as view frustum culling, ray-tracing, and (in future) for selection. It is desirable to improve builder performance. This simple patch decreases BVH building time for 30-35%.

6 years ago0024716: OSD_Path - remove excessive validity checks and allow non-ascii strings
apl [Wed, 12 Mar 2014 15:46:38 +0000]
0024716: OSD_Path - remove excessive validity checks and allow non-ascii strings

First commit. Update for new IR

6 years ago0025191: There is no intersection vertex between edges
mkv [Tue, 7 Oct 2014 05:54:29 +0000]
0025191: There is no intersection vertex between edges

Test case for issue CR25191

6 years ago0025324: Make OCCT collections copy-constructible
msv [Mon, 6 Oct 2014 07:45:28 +0000]
0025324: Make OCCT collections copy-constructible

Since TCollection package is going to be obsolete we change only classes that are currently needed to have copy constructor.

6 years ago0025251: Visualization - Isolated vertex is invisible in shading mode
san [Thu, 9 Oct 2014 10:01:37 +0000]
0025251: Visualization - Isolated vertex is invisible in shading mode

BVH_BinnedBuilder class corrected to split several objects
with null bounding box (e.g. two or more vertices).

Test case for issue CR25251

6 years ago0024717: TKOpenGl - globally defined clipping planes blink when operating with view
apl [Thu, 9 Oct 2014 09:46:52 +0000]
0024717: TKOpenGl - globally defined clipping planes blink when operating with view

Specify viewer (global) clippings in correct view transformation space.

Correction of test case for issue CR24717

6 years ago0025267: Implementation of callback before DRAW exit
pdn [Thu, 9 Oct 2014 09:42:09 +0000]
0025267: Implementation of callback before DRAW exit

Callback mechanism implemented.

Do the same treatment at DRAW exit on UNIX

Add comments to the new methods

Change callback type to be a function pointer

6 years ago0025142: Visualization breaks triangulation on shared solids in composite solid model
san [Thu, 9 Oct 2014 09:37:56 +0000]
0025142: Visualization breaks triangulation on shared solids in composite solid model

Test case for 0025142: Visualization breaks triangulation on shared solids in composite solid model

Do not clean the triangulation in StdPrs_ShadedShape::Tessellate() and
let the triangulation tool process the sub-shapes properly.
Treat triangulation consistently in all AIS classes (AIS_Shape, AIS_TexturedShape).

Test cases for issue CR25142

6 years agoDefinition of Unicode symbol in test corrected
abv [Thu, 2 Oct 2014 10:15:14 +0000]
Definition of Unicode symbol in test corrected

6 years agoupdate OpenGl_Window constructor arguments in OpenGl_Window_1.mm
kgv [Fri, 3 Oct 2014 06:19:14 +0000]
update OpenGl_Window constructor arguments in OpenGl_Window_1.mm

6 years ago0025261: NCollection, set of improvements
pdn [Thu, 2 Oct 2014 12:00:36 +0000]
0025261: NCollection, set of improvements

The following improvements were implemented:
* two additional allocators were introduced
  * Allocator which used WinHeap
  * Accumulating memory allocator
* Access to Allocators in lists are provided
* Access optimization in data map (seek and find functions returning reference or pointer to value in one shot)

Warning fixed

6 years ago0025154: Collections in BRepMesh package are named in non-conformant manner
oan [Wed, 17 Sep 2014 13:00:32 +0000]
0025154: Collections in BRepMesh package are named in non-conformant manner

- BRepMesh converted to nocdlpack,
- Collections are defined in namespace BRepMesh,
- Doxygen comments corrected to use @ instead of \.

6 years ago0022484: UNICODE characters support
pdn [Thu, 2 Oct 2014 11:39:25 +0000]
0022484: UNICODE characters support

Initial UNICODE (UFT-8) characters support for OCCT file operations

Fix for compilation errors and fix for StepFile (avoid objects in pure c code)

Fixes for set unicode symbols to OCAF and visualization

6 years ago0025272: Regression in BRepOffsetAPI_MakePipe: invalid shape is created
jgv [Thu, 2 Oct 2014 11:35:38 +0000]
0025272: Regression in BRepOffsetAPI_MakePipe: invalid shape is created

Fix of regressions
Test-case for issue #25272

6 years ago0025282: Visualization, OpenGl_PrimitiveArray - provide built-in GLSL programs as...
kgv [Thu, 2 Oct 2014 09:46:27 +0000]
0025282: Visualization, OpenGl_PrimitiveArray - provide built-in GLSL programs as alternative to FFP

Enumerations Visual3d_TypeOfModel, V3d_TypeOfShadingModel.
- Remove unused values V3d_MULTICOLOR, V3d_HIDDEN, Visual3d_TOM_INTERP_COLOR.
- Add per-pixel shading mode - V3d_PHONG, Visual3d_TOM_FRAGMENT.

Draw Harness command vrenderparams.
Add option -shadingModel to setup Shading Model.

OpenGl_Caps::ffpEnable - new option to switch FFP/built-in GLSL programs.
OpenGl_ShaderManager - add built-in GLSL programs.

Draw Harness command vcaps.
- Fix command syntax to meet coding rules.
- Add option -ffp to activate/disable built-in GLSL programs.

GLSL API changes.
- Rename vertex attribute occColor -> occVertColor.
- Introduce vec4 occColor uniform variable for light-less shaders.
- Introduce float occPointSize uniform variable for marker programs.

OpenGl_VertexBuffer::bindAttribute() - activate normalization for non-GL_FLOAT types,
since color attribute is defined as 32-bit vector of 4 unsigned byte values.

OpenGl_Context - add methods SetColor4fv() and SetPointSize()
for parameters redirection to active GLSL program
(as alternative to glColor4fv() and glPointSize()).

OpenGl_ShaderProgram - define default precision for float types
in Fragment Shader within OpenGL ES 2.0+ context.

OpenGl_AspectMarker, initialize Aspect_TOM_O_POINT display list
in the same way as sprite texture.

OpenGl_Texture, do not use sized internal formats on OpenGL ES.

6 years ago0025147: Visualization, TKOpenGl - support EGL as alternative to GLX
kgv [Thu, 2 Oct 2014 09:43:33 +0000]
0025147: Visualization, TKOpenGl - support EGL as alternative to GLX

Aspect_Window - add interface methods NativeHandle() and NativeParentHandle().
OpenGl_Window - pass OpenGl_GraphicDriver instance to the constructor.
OpenGl_Caps - add option to disable buffers swap at the end of frame redraw.

6 years ago0025291: Draw Harness, ViewerTest - replace command vchangecamera to vcamera and...
kgv [Tue, 30 Sep 2014 10:43:16 +0000]
0025291: Draw Harness, ViewerTest - replace command vchangecamera to vcamera and improve syntax

Make vcamera command syntax more clear.
Restore command vraytrace as alias to vrenderparams.
Replace occurencies of atof() by Draw::Atof() in ViewerTest_ViewerCommands.cxx.

6 years ago0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text...
kgv [Thu, 2 Oct 2014 10:23:05 +0000]
0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text aspect

Test case for issue CR23745

6 years ago0025289: Draw Harness, ViewerTest - support RGB color definition as input for vsetcol...
kgv [Mon, 29 Sep 2014 19:22:18 +0000]
0025289: Draw Harness, ViewerTest - support RGB color definition as input for vsetcolor and vaspects commands

6 years ago0025285: Wrong result of General Fuse operation for an edge and a face.
pkv [Thu, 2 Oct 2014 10:10:34 +0000]
0025285: Wrong result of General Fuse operation for an edge and a face.

Changes:
class BOPTools_AlgoTools2D
    method:
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
  (const TopoDS_Face& aF,
   const Standard_Real aFirst,
   const Standard_Real aLast,
   const Handle(Geom2d_Curve)& aC2D,
   Handle(Geom2d_Curve)& aC2DA)

The adjustment value for 2D curve has been calrified with precision value in parametric space

Test case for issue CR25285

6 years ago0024930: Visualization - SetMaterial/UnsetMaterial/UnsetColor are not implemented...
dbp [Thu, 2 Oct 2014 10:05:21 +0000]
0024930: Visualization - SetMaterial/UnsetMaterial/UnsetColor are not implemented for AIS_TexturedShape

Correction of test case for issue CR24930

6 years ago0025235: Draw Harness - improve commands vdimension and vdimparam
aba [Thu, 2 Oct 2014 10:02:20 +0000]
0025235: Draw Harness - improve commands vdimension and vdimparam

Make commands syntax to meet coding rules.
Correct angle dimension initialization to allow ellipse input geometry with equal radii.
Change default value of arrow angle for dimensions (from 20 to 12 degrees).
Add arlength, arangle, textmode, textsize to vdimension and vdimparam Draw commands.
Add color parameter to vdimension and vdimparam.
Display dimensions by default.

Add dimensions demo script samples/tcl/dimensions.tcl.

Add file for test case for issue CR25235

6 years ago0025109: Check PolygonOnTriangulation contained in edges
nbv [Thu, 2 Oct 2014 09:54:14 +0000]
0025109: Check PolygonOnTriangulation contained in edges

1. New status "BRepCheck_InvalidPolygonOnTriangulation" is added.
2. Small correction of output of "checkshape" command result.

Test cases were changed.

Test case for issue CR25109

Some test cases were changed according to their new behavior.

6 years ago0025098: Visualization, Select3D_SensitiveCurve - fix computation of the depth
vro [Fri, 12 Sep 2014 11:11:53 +0000]
0025098: Visualization, Select3D_SensitiveCurve - fix computation of the depth

Draw Harness, add option -entities to command vstate.
Within new option command displays information about detection entities.

6 years ago0025298: New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corner...
jgv [Thu, 2 Oct 2014 09:36:12 +0000]
0025298: New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corners in mode GeomAbs_Intersection

Test cases for issue CR25298

6 years ago0025290: .gitignore - do not track generated files with extensions aps, opensdf,...
kgv [Tue, 30 Sep 2014 05:15:43 +0000]
0025290: .gitignore - do not track generated files with extensions aps, opensdf, ipch

6 years ago0025269: Make parallel version of boolean operations avaible from DRAW
aml [Thu, 2 Oct 2014 08:55:08 +0000]
0025269: Make parallel version of boolean operations avaible from DRAW

new command bsetparallelmode added.
usage: bsetparallelmode [1/0].

Documentation for new command "bsetparallelmode" added.

6 years ago0025084: Incorrect PCurve construction
mkv [Fri, 26 Sep 2014 14:25:37 +0000]
0025084: Incorrect PCurve construction

Test case for issue CR25084

6 years agoUpdate of testing cases due to changes in issue 23106
mkv [Mon, 29 Sep 2014 11:28:56 +0000]
Update of testing cases due to changes in issue 23106

6 years ago0025101: Typo in code documentation of gp_Trsf::SetValues
abv [Fri, 26 Sep 2014 09:57:15 +0000]
0025101: Typo in code documentation of gp_Trsf::SetValues

Documentation of methods Multiply() and Multiplied() corrected in classes gp_(G)Trsf(2d)

6 years ago0025247: Ensure correct end-of-line in test scripts
abv [Thu, 18 Sep 2014 12:35:07 +0000]
0025247: Ensure correct end-of-line in test scripts

6 years ago0025101: Typo in code documentation of gp_Trsf::SetValues
abv [Fri, 26 Sep 2014 09:57:15 +0000]
0025101: Typo in code documentation of gp_Trsf::SetValues

Documentation of methods Multiply() and Multiplied() corrected in classes gp_(G)Trsf(2d)

6 years agoAdded info on VTK availability in dversion command; VTK tests are corrected to report...
abv [Fri, 26 Sep 2014 09:11:01 +0000]
Added info on VTK availability in dversion command; VTK tests are corrected to report SKIPPED status if VIS is not available

6 years ago0025005: Global function HashCodes() is not exported on Windows
abv [Fri, 26 Sep 2014 08:48:04 +0000]
0025005: Global function HashCodes() is not exported on Windows

HashCodes() is exported

6 years ago0025000: Missing implementation of method NCollection_SparseArrayBase::changeValue()
abv [Fri, 26 Sep 2014 08:45:41 +0000]
0025000: Missing implementation of method NCollection_SparseArrayBase::changeValue()

Method changeValue() removed from NCollection_SparseArrayBase, ChangeValue() of NCollection_SparseArray is used instead

6 years ago0025263: Wrong result of cut operation.
pkv [Fri, 26 Sep 2014 13:13:56 +0000]
0025263: Wrong result of cut operation.

Changes:
class BOPDS_DS
method:
void BOPDS_DS::InitPaveBlocks(const Standard_Integer theI)

The treatment of internal edges has been added.

Test case for issue CR25263

6 years ago0025232: Functionality to create solids from set of shapes
emv [Fri, 26 Sep 2014 12:41:20 +0000]
0025232: Functionality to create solids from set of shapes

Purpose:
The algorithm is to build solids from set of shapes.
It uses the BOPAlgo_Builder algorithm to intersect the given shapes and build the images
of faces (if needed) and BOPAlgo_BuilderSolid algorithm to build the solids.
Steps of the algorithm:
1. Collect all faces: intersect the shapes if necessary and collect  the images of faces,
   otherwise just collect the faces to the <myFaces> list.
   All faces on this step added twice, with orientation FORWARD and REVERSED;
2. Create bounding box covering all the faces from <myFaces> and create solid box from corner points
   of that bounding box (myBBox, mySBox). Add faces from that box to <myFaces>;
3. Build solids using faces from <myFaces> using BOPAlgo_BuilderSolid algorithm;
4. Treat the result: Eliminate solid containig faces from <mySBox>;
5. Fill internal shapes: add internal vertices and edges into created solids;
6. Prepare the history.

Fix for regression.
class BOPAlgo_BuilderSolid:
The tolerance value used in BRepClass3d_SolidClassifier has been increased.

Test cases for issue CR25232

Small correction to eliminate the warning.