occt.git
9 years ago0025310: Regressions in visualization
azn [Wed, 8 Oct 2014 10:57:22 +0000 (14:57 +0400)]
0025310: Regressions in visualization

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

9 years ago0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D...
dln [Tue, 3 Jun 2014 06:11:33 +0000 (10:11 +0400)]
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.

9 years agoSync res/resource.h from src/resource.h
kgv [Fri, 10 Oct 2014 07:10:44 +0000 (11:10 +0400)]
Sync res/resource.h from src/resource.h

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

9 years ago0022859: Developers guide with code samples
ysn [Thu, 9 Oct 2014 12:33:21 +0000 (16:33 +0400)]
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

9 years ago0025335: Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_Interac...
duv [Wed, 8 Oct 2014 09:01:51 +0000 (13:01 +0400)]
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.

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

Test cases for issue CR23886

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

Test case for non-regression verification

Correction of test case for issue CR24606

9 years ago0023400: Triangulation of thin ring contains gap
mkv [Wed, 8 Oct 2014 16:32:16 +0000 (20:32 +0400)]
0023400: Triangulation of thin ring contains gap

Test case for issue CR23400

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

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

Test cases for issue CR22614

9 years ago0024966: Problem in local selection mode with selected objects staying in the viewer...
apl [Thu, 9 Oct 2014 12:14:59 +0000 (16:14 +0400)]
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

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

9 years ago0025333: Result wires obtained after TestHarness command "connectedges" contains...
gka [Thu, 9 Oct 2014 12:03:27 +0000 (16:03 +0400)]
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

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

Formatting

Test case for issue CR25329

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

9 years ago0025284: Problems with standard MFC samples
aba [Thu, 9 Oct 2014 11:40:14 +0000 (15:40 +0400)]
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.

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

Fix GCC compilation errors.

9 years ago0025234: Implementing LBVH builder
dbp [Wed, 24 Sep 2014 15:32:40 +0000 (19:32 +0400)]
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).

9 years ago0025227: Visualization - optimize BVH binned builder
dbp [Wed, 24 Sep 2014 08:03:22 +0000 (12:03 +0400)]
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%.

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

First commit. Update for new IR

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

Test case for issue CR25191

9 years ago0025324: Make OCCT collections copy-constructible
msv [Mon, 6 Oct 2014 07:45:28 +0000 (11:45 +0400)]
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.

9 years ago0025251: Visualization - Isolated vertex is invisible in shading mode
san [Thu, 9 Oct 2014 10:01:37 +0000 (14:01 +0400)]
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

9 years ago0024717: TKOpenGl - globally defined clipping planes blink when operating with view
apl [Thu, 9 Oct 2014 09:46:52 +0000 (13:46 +0400)]
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

9 years ago0025267: Implementation of callback before DRAW exit
pdn [Thu, 9 Oct 2014 09:42:09 +0000 (13:42 +0400)]
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

9 years ago0025142: Visualization breaks triangulation on shared solids in composite solid model
san [Thu, 9 Oct 2014 09:37:56 +0000 (13:37 +0400)]
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

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

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

9 years ago0025261: NCollection, set of improvements
pdn [Thu, 2 Oct 2014 12:00:36 +0000 (16:00 +0400)]
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

9 years ago0025154: Collections in BRepMesh package are named in non-conformant manner
oan [Wed, 17 Sep 2014 13:00:32 +0000 (17:00 +0400)]
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 \.

9 years ago0022484: UNICODE characters support
pdn [Thu, 2 Oct 2014 11:39:25 +0000 (15:39 +0400)]
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

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

Fix of regressions
Test-case for issue #25272

9 years ago0025282: Visualization, OpenGl_PrimitiveArray - provide built-in GLSL programs as...
kgv [Thu, 2 Oct 2014 09:46:27 +0000 (13:46 +0400)]
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.

9 years ago0025147: Visualization, TKOpenGl - support EGL as alternative to GLX
kgv [Thu, 2 Oct 2014 09:43:33 +0000 (13:43 +0400)]
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.

9 years ago0025291: Draw Harness, ViewerTest - replace command vchangecamera to vcamera and...
kgv [Tue, 30 Sep 2014 10:43:16 +0000 (14:43 +0400)]
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.

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

Test case for issue CR23745

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

9 years ago0025285: Wrong result of General Fuse operation for an edge and a face.
pkv [Thu, 2 Oct 2014 10:10:34 +0000 (14:10 +0400)]
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

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

Correction of test case for issue CR24930

9 years ago0025235: Draw Harness - improve commands vdimension and vdimparam
aba [Thu, 2 Oct 2014 10:02:20 +0000 (14:02 +0400)]
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

9 years ago0025109: Check PolygonOnTriangulation contained in edges
nbv [Thu, 2 Oct 2014 09:54:14 +0000 (13:54 +0400)]
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.

9 years ago0025098: Visualization, Select3D_SensitiveCurve - fix computation of the depth
vro [Fri, 12 Sep 2014 11:11:53 +0000 (15:11 +0400)]
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.

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

Test cases for issue CR25298

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

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

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

Documentation for new command "bsetparallelmode" added.

9 years ago0025084: Incorrect PCurve construction
mkv [Fri, 26 Sep 2014 14:25:37 +0000 (18:25 +0400)]
0025084: Incorrect PCurve construction

Test case for issue CR25084

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

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

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

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

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

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

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

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

HashCodes() is exported

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

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

9 years ago0025263: Wrong result of cut operation.
pkv [Fri, 26 Sep 2014 13:13:56 +0000 (17:13 +0400)]
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

9 years ago0025232: Functionality to create solids from set of shapes
emv [Fri, 26 Sep 2014 12:41:20 +0000 (16:41 +0400)]
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.

9 years ago0025072: Environment variable MMGT_REENTRANT is still mentioned in the Overview altho...
abv [Fri, 26 Sep 2014 10:20:06 +0000 (14:20 +0400)]
0025072: Environment variable MMGT_REENTRANT is still mentioned in the Overview although it was removed

References to MMGT_REENTRANT are removed from docs

9 years ago0025259: Incorrect split on toroidal surface in LocOpe
pdn [Fri, 26 Sep 2014 12:36:04 +0000 (16:36 +0400)]
0025259: Incorrect split on toroidal surface in LocOpe

Current implementation can fail in case if several alternative directions in wire creation are possible.
The proposed fix provides:
* define the most left direction in UV
* usage of indexed map to provide deterministic behavior

Error message is put into exception raised in case if split is not possible

9 years ago0023106: BRepMesh_IncrementalMesh returns wrong status
oan [Fri, 26 Sep 2014 12:31:27 +0000 (16:31 +0400)]
0023106: BRepMesh_IncrementalMesh returns wrong status

Fix compilation errors on Linux platform

Squeeze compilation warnings on Linux

Fix regressions

Back RemoveFaceAttribute for further reasons

Fix retrieving of polygon by index

Fix applying of location

Test case for issue CR23106

Fix memory leak regression 'test bugs vis bug79' occurred due to incorrect memory cleaning of inherited objects by MMgtRaw::Free through BRepMesh_IEdgeTool;

Replace BRepMesh_PDiscretRoot by pure pointer to BRepMesh_DiscretRoot;

Fix IVtkOCC_ShapeMesher.

9 years ago0024961: MeshVS: revision of DRAW commands
anv [Fri, 26 Sep 2014 12:26:12 +0000 (16:26 +0400)]
0024961: MeshVS: revision of DRAW commands

meshfromstl - display MeshVS_Mesh object in a way consistent with vdisplay command
meshdel - deleted, vremove to be used instead
meshshowall - set empty maps of hidden IDs instead of null handles
meshhidesel - initialize the maps of hidden IDs to avoid exception
meshmat - add optional transparency argument and enable transparency in the viewer if not yet done
meshvectors - command for testing VectorPrsBuilder added

MeshVS: DRAW commands improving
Updating test cases due to previous changes
Small bug in MeshVS_ElementalColorPrsBuilder fixed
vselmode fix
Small correction of test cases for issue CR24961

9 years ago0024159: Colors are not imported for Step-Files created with Inventor 2014
dbv [Fri, 26 Sep 2014 12:21:03 +0000 (16:21 +0400)]
0024159: Colors are not imported for Step-Files created with Inventor 2014

Method STEPConstruct_Styles::LoadStyles() now imports StepVisual_StyledItem entities even if they was defined without StepVisual_MechanicalDesignGeometricPresentationRepresentation or StepVisual_DraughtingModel entity

Update of reference data

9 years agoRemoving TODO in testing cases due to improvements
bugmaster [Fri, 26 Sep 2014 10:29:56 +0000 (14:29 +0400)]
Removing TODO in testing cases due to improvements

9 years agoUpdate of documentation in part of platforms used for certification
bugmaster [Fri, 26 Sep 2014 08:51:03 +0000 (12:51 +0400)]
Update of documentation in part of platforms used for certification

9 years ago0024959: GCPnts_TangentialDeflection does not implement functionality by its meaning...
jgv [Thu, 21 Aug 2014 15:02:28 +0000 (19:02 +0400)]
0024959: GCPnts_TangentialDeflection does not implement functionality by its meaning in case of BSpline with local splash

In GCPnts_TangetialDeflection curve divided in C_N intervals on which sample points (still 3) is computed.

Test cases for issue CR24959

9 years ago0025194: It is necessary to orthogonalize transformation matrix in gp_Trsf and gp_Trs...
nbv [Wed, 10 Sep 2014 07:28:19 +0000 (11:28 +0400)]
0025194: It is necessary to orthogonalize transformation matrix in gp_Trsf and gp_Trsf2d classes

1. Method "SetValues()" for gp_Trsf2d class is added.
2. Method Orthogonalize for gp_Trsf2d and gp_Trsf classes was added.
3. Unused arguments from "SetValues()" method for gp_Trsf was deleted.
4. Output of AppParCurves_MultiPoint Dump  was corrected.
5. Method of right projected point choosing was corrected in ProjLib package.
6. Some test cases were changed according to their new behavior.

9 years ago0025248: Curve-Surface intersection algorithm raises exception
nbv [Thu, 25 Sep 2014 11:24:55 +0000 (15:24 +0400)]
0025248: Curve-Surface intersection algorithm raises exception

All necessary comments are into the program code.

Test case for issue CR25248

9 years ago0024589: Draw Harness - disable floating-point exceptions by default
aml [Thu, 25 Sep 2014 10:50:42 +0000 (14:50 +0400)]
0024589: Draw Harness - disable floating-point exceptions by default

OSD::SetSignal() called with Standard_False argument to have FPEs disabled.

Test cased modification:
de step_4 G7 - fixed reference data.
de iges_2 H9 - Fixed reference data. According to input file, there are big tolerance edge and surface, which leads to big tolerance in ref data, result and image has changed due to usage of these shapes instead of omitting them.
de end - changed behavior in case of big isolines, now isolines not break fit command in certain places.

Modeling algorithms:
Fixed 0.0 / 0.0 uncertainty in circle to quasi-angular bspline conversion.

Correction of test cases for issue CR24589

9 years ago0025207: GCPnts_QuasiUniformDeflection achieves incorrect result on some curve.
jgv [Thu, 25 Sep 2014 10:43:28 +0000 (14:43 +0400)]
0025207: GCPnts_QuasiUniformDeflection achieves incorrect result on some curve.

Test case for issue CR25207

9 years ago0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0
kgv [Wed, 24 Sep 2014 06:53:22 +0000 (09:53 +0300)]
0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0

9 years ago0025258: Uninitialized class field in IntPatch_CSFunction
pdn [Mon, 22 Sep 2014 15:56:36 +0000 (19:56 +0400)]
0025258: Uninitialized class field in IntPatch_CSFunction

Field f is initialized by zero

9 years ago0025257: Expr should use names for comparing
pdn [Mon, 22 Sep 2014 15:47:04 +0000 (19:47 +0400)]
0025257: Expr should use names for comparing

Expression should use string names for comparing, fixed

9 years ago0025256: Small optimization in Convert comp bezier to BSpline
pdn [Mon, 22 Sep 2014 15:25:14 +0000 (19:25 +0400)]
0025256: Small optimization in Convert comp bezier to BSpline

Optimization and code cleaning of CompBezierCurvesToBSplineCurve::Perform

9 years ago0025255: API to control storage with triangulation in BinTools
pdn [Mon, 22 Sep 2014 13:57:30 +0000 (17:57 +0400)]
0025255: API to control storage with triangulation in BinTools

Method to govern writing shape with or without triangles added

9 years ago0025254: Protection on null pcurves in tgtfaces BRepLib
pdn [Mon, 22 Sep 2014 13:36:31 +0000 (17:36 +0400)]
0025254: Protection on null pcurves in tgtfaces BRepLib

Check is pcurves are present is implemented.

9 years ago0025253: gp_trsf code cleaning
pdn [Mon, 22 Sep 2014 13:12:59 +0000 (17:12 +0400)]
0025253: gp_trsf code cleaning

More accurate code of transformation type definition

9 years ago0025252: Slow down in reading of .brep on VS2011
pdn [Mon, 22 Sep 2014 12:54:59 +0000 (16:54 +0400)]
0025252: Slow down in reading of .brep on VS2011

Reading of .brep is slow down on VS2011 due to problems in realization reading ASCII strings to real. Implementation of dedicated function for reading of reals was implemented

9 years ago0025230: Test case for selection in perspective views
isz [Tue, 23 Sep 2014 11:43:27 +0000 (15:43 +0400)]
0025230: Test case for selection in perspective views

Implemented test for selections in perspective view by point, by rectangle and by polygon.

9 years ago0025243: BRepFeat_SplitShape algorithm processes incorrect faces with degenerated...
jgv [Thu, 25 Sep 2014 10:06:35 +0000 (14:06 +0400)]
0025243: BRepFeat_SplitShape algorithm processes incorrect faces with degenerated edges

Test case for issue #25243

9 years ago0025178: Visualization - edges of the model are still clipped after vfit command
apv [Tue, 23 Sep 2014 11:21:42 +0000 (15:21 +0400)]
0025178: Visualization - edges of the model are still clipped after vfit command
Test case for issue #25178

9 years ago0025237: Wrong result of COMMON operation
emv [Thu, 25 Sep 2014 09:57:45 +0000 (13:57 +0400)]
0025237: Wrong result of COMMON operation

Modifications in Edge/Edge intersection algorithm:
1. Condition to create common part of type TopAbs_EDGE is changed.
2. Correct treatment of closed edges.

Small correction to eliminate warning.

Test case for issue #25237

9 years ago0025129: Visualization - add interactive object for Points Cloud objects
apl [Thu, 25 Sep 2014 09:54:33 +0000 (13:54 +0400)]
0025129: Visualization - add interactive object for Points Cloud objects

New class AIS_PointCloud for displaying point sets.
Update Graphic3d_ArrayOfPoints, OpenGl_PrimitiveArray and OpenGl_VertexBuffer classes to be able to use normals for points.

Add Draw Harness command vpointcloud.
Add test case v3d/point_cloud/sphere.

Move protected method AIS_Shape::DisplayBox() to public function StdPrs_WFDeflectionRestrictedFace::AddBox().

Small correction of grids.list for v3d tests

9 years ago0025077: [OOP] Explicit initialization of copy constructor
abv [Thu, 25 Sep 2014 09:50:45 +0000 (13:50 +0400)]
0025077: [OOP] Explicit initialization of copy constructor

Explicit calls of copy constructor of base class added where compiler warnings are reported

Minor correction

9 years ago0024910: Offset of solid is not created
jgv [Thu, 25 Sep 2014 09:41:27 +0000 (13:41 +0400)]
0024910: Offset of solid is not created

Optimization of local function

Test case for issue #24910

9 years ago0025205: BRepOffsetAPI_MakeFilling algorithm's documentation is insufficient
jgv [Fri, 19 Sep 2014 10:53:15 +0000 (14:53 +0400)]
0025205: BRepOffsetAPI_MakeFilling algorithm's documentation is insufficient

9 years ago0025242: Wrong result of cut operation.
pkv [Thu, 25 Sep 2014 09:30:35 +0000 (13:30 +0400)]
0025242: Wrong result of cut operation.

1. class BOPDS_Iterator
method:
void BOPDS_Iterator::Intersect()
The ttreatment of solid/* interferences has been added.

2 class BOPAlgo_PaveFiller
protected methods:
void BOPAlgo_PaveFiller::PerformVZ()
void BOPAlgo_PaveFiller::PerformEZ()
void BOPAlgo_PaveFiller::PerformFZ()
void BOPAlgo_PaveFiller::PerformZZ()
has been added.
The methods are to Compute
Vertex/Solid
Edge/Solid
Face/Solid
Solid/Solid
interferences.

3. class BOPAlgo_PaveFiller
protected method:
void BOPAlgo_PaveFiller::PerformFF()
Empty interferences has not been added in the interferences' table

4. class BOPAlgo_CheckerSI
protected methods:
void BOPAlgo_CheckerSI::PerformVZ()
void BOPAlgo_CheckerSI:PerformEZ()
void BOPAlgo_CheckerSI::PerformFZ()
void BOPAlgo_CheckerSI::PerformZZ()
has been removed.

5. class BOPAlgo_BOP
protected method:
void BOPAlgo_BOP::BuildRC()
void BOPAlgo_BOP::BuildSolid()
changed to treat non-interferred solids and keep it in the result as they were

Test case for issue #25242

9 years ago0025164: BVH_Box::Area() might be called on uninitialized data
dbp [Mon, 15 Sep 2014 14:08:03 +0000 (18:08 +0400)]
0025164: BVH_Box::Area() might be called on uninitialized data

9 years ago0025216: WNT_Window - remove unused fields and types (WNT_WindowData)
kgv [Thu, 25 Sep 2014 09:14:45 +0000 (13:14 +0400)]
0025216: WNT_Window - remove unused fields and types (WNT_WindowData)

Clean up InterfaceGraphic.hxx

OpenGl_Window - do not use removed macros WINDOW

Small correction of test case for issue CR25216

9 years ago0025024: BSplCLib::PrepareInsertKnots reports incorrect number of poles
khlebnikov [Thu, 25 Sep 2014 08:47:03 +0000 (12:47 +0400)]
0025024: BSplCLib::PrepareInsertKnots reports incorrect number of poles

Added test bugs fclasses bug25024

9 years agoUpdate of test cases for Debug mode
bugmaster [Fri, 19 Sep 2014 09:39:33 +0000 (13:39 +0400)]
Update of test cases for Debug mode

9 years ago0025175: avoid unsafe 3D curve usages
drazmyslovich [Thu, 18 Sep 2014 11:53:05 +0000 (15:53 +0400)]
0025175: avoid unsafe 3D curve usages

Test case for issue CR25175

9 years ago0025215: Porting to Android - fix minor issues
kgv [Fri, 5 Sep 2014 10:27:01 +0000 (14:27 +0400)]
0025215: Porting to Android - fix minor issues

STEPConstruct_AP203Context = pw_gecos member of passwd struct disabled in android case.
Standard_Atomic - correct usage of __atomic_inc()/__atomic_dec().
Standard_CLocaleSentry - Android doesn't support locales in the C library.
Standard_MMgrOpt - use "/dev/zero" and "/dev/null" for allocation of memory blocks on Android.
OSD_Chronometer - fix compilation on Android.
OSD_Disk, OSD_signal - fix headers inclusion on Android.

9 years ago0025217: Draw Harness - activate GLSL warnings output within command vgldebug
kgv [Thu, 4 Sep 2014 11:30:58 +0000 (15:30 +0400)]
0025217: Draw Harness - activate GLSL warnings output within command vgldebug

9 years ago0025213: Visualization, TKOpenGl - do not use deprecated built-ins in GLSL shaders
kgv [Wed, 17 Sep 2014 09:02:32 +0000 (13:02 +0400)]
0025213: Visualization, TKOpenGl - do not use deprecated built-ins in GLSL shaders

Inherit NCollection_Buffer from Standard_Transient, do not use incomplete NCollection_Handle.

OpenGl_Context, add methods ActiveProgram(),BindProgram()
to manage currently active GLSL program.
Add method ::ToUseVbo().

OpenGl_ShaderProgram, setup locations of pre-defined vertex attributes
occVertex, occNormal, occTexCoord, occColor before linkage.
Remove methods OpenGl_ShaderProgram::Bind(), ::BindWithVariables()
and ::Unbind() - OpenGl_Context::BindProgram() should be used instead.

Introduce class OpenGl_VertexBufferCompat, which emulates VBO
behavior on systems without VBO (compatibility with broken OpenGL drivers on Windows).

OpenGl_PrimitiveArray - use OpenGl_VertexBufferCompat when VBO is unavailable,
remove duplicated code. Use OpenGl_VertexBuffer::HasNormalAttribute()
method to activate lighting.

OpenGl_Text - use OpenGl_VertexBufferCompat, eliminate duplicated code.

Changes in OpenGl_VertexBuffer, drop methods BindFixed()/UnbindFixed().
Superseded by new methods BindAllAttributes()/UnbindAllAttributes()
which handle active GLSL program, when it is set.

9 years ago0024888: Refactoring of OCCT CMake meta-project
ibs [Thu, 18 Sep 2014 11:22:02 +0000 (15:22 +0400)]
0024888: Refactoring of OCCT CMake meta-project

user sees just dirs of libs, shared libs and headers of 3rdparty products
documentation updated

3rdparty search priority was fixed: 1. user paths; 2. system paths
3rdparty debug usage fixed
vtk search introduced
occt information, generated by wok, was divided onto two files: occt_toolkits.cmake and occt_inc_toolkits.cmake
additional behavior of cmake search for freetype 2.5.1 and above

CMake (version < 3.0) don't know about new place of config/ftheader.h in freetype 2.5.1. There are cases when cmake seeks config/ftheader.h in defined place (3RDPARTY_FREETYPE_DIR variable), doesn't find it and start new search in system places. If system has own freetype header- cmake will find it and 3RDPARTY_FREETYPE* variables will point to different places. This situation is avoided

tcl, freetype, vtk are checked before usage of it (CSF variables usage)
tbb search mechanism was refactored
freetype search is processed by default cmake mechanism
tcl search is processed by default cmake mechanism

3rdparty macro seeks debug libraries (and release if debug ones aren't found); 3rdparty dll is sought in win case only

ADD_SUBDIRECTORY preferred to SUBDIRS

gendoc.bat search for tclsh.exe in user's system

0025141: CMake / MinGW: link recipe fails due to long command

0025146: Porting to Android

OCCT documentation updated. "Building with CMake and ADT for Android" article added

[CMAKE] custom.sh.in uses library variables instead unused dll ones.

-DDEBUG remove from CMAKE_CXX_FLAGS_DEBUG and CMAKE_C_FLAGS_DEBUG

hide unused 3rdparty in android case

also messages of freetype search mechanism slightly updated

9 years ago0025229: Cappings have gray tint if setting color with vclipplane command
isz [Thu, 18 Sep 2014 11:19:16 +0000 (15:19 +0400)]
0025229: Cappings have gray tint if setting color with vclipplane command

    -Now in ViewerTest_ViewerCommands's method VClipPlane() Graphic3d_TypeOfMaterial::SetAmbientColor() and
     Graphic3d_TypeOfMaterial::SetDiffuseColor() are used instead of
     Graphic3d_TypeOfMaterial::SetColor()
    -New test case added: tests\bugs\vis\bug25229

-Formatting

9 years ago0025198: Draw Harness - add -noupdate option to vsetlocation command
kgv [Thu, 18 Sep 2014 11:16:45 +0000 (15:16 +0400)]
0025198: Draw Harness - add -noupdate option to vsetlocation command

Add sample for demonstrating display of multiple objects, evaluating viewer performance, and scene animation

cosmetics

9 years ago0024723: Not implemented methods in Visual3d and V3d
abv [Thu, 11 Sep 2014 06:07:43 +0000 (10:07 +0400)]
0024723: Not implemented methods in Visual3d and V3d

Removed unused enum V3d_TypeOfProjectionModel and methods V3d_View::SetProjModel(), V3d_View::ProjModel()

9 years ago0025225: Failure of 2d offset algorithm on two wires with arc
jgv [Thu, 18 Sep 2014 10:56:56 +0000 (14:56 +0400)]
0025225: Failure of 2d offset algorithm on two wires with arc

Test cases for issue CR25225

Correction of test case bugs/modalg_4(009)/bug745_4 for issue CR25225

9 years ago0025228: Wrong result of General Fuse operation for an edge and a face.
pkv [Thu, 18 Sep 2014 10:50:37 +0000 (14:50 +0400)]
0025228: Wrong result of General Fuse operation for an edge and a face.

Changes:

class BOPTools_AlgoTools3D
method:
void BOPTools_AlgoTools3D::DoSplitSEAMOnFace
(const TopoDS_Edge& aSplit,
 const TopoDS_Face& aF)

The treatment of seam edges for the periodic surfaces has been changed.

Test case for issue CR25228

9 years ago0024504: Wrong result obtained by Exterma Curve/Curve.
aml [Tue, 16 Sep 2014 06:28:27 +0000 (10:28 +0400)]
0024504: Wrong result obtained by Exterma Curve/Curve.

Test case added.