6 years ago0026734: Visualization, D3DHost_View - drop outdated UserDraw interfaces
kgv [Sat, 10 Oct 2015 19:18:47 +0000 (22:18 +0300)]
0026734: Visualization, D3DHost_View - drop outdated UserDraw interfaces

Correction of test case for issue CR26765

6 years ago0026765: Visualization - drop TKVoxel toolkit
kgv [Sat, 10 Oct 2015 19:17:37 +0000 (22:17 +0300)]
0026765: Visualization - drop TKVoxel toolkit

6 years ago0026741: Problem with building samples and demo
ski [Thu, 8 Oct 2015 12:09:38 +0000 (15:09 +0300)]
0026741: Problem with building samples and demo

Scripts and project files were changed to use corrent environment.

6 years agoAdjusting test cases after integration for issue 26560
apv [Fri, 9 Oct 2015 12:20:19 +0000 (15:20 +0300)]
Adjusting test cases after integration for issue 26560

6 years ago0026755: Use of reference to destroyed temporary object in Adaptor3d_SurfaceOfRevolution
abv [Wed, 7 Oct 2015 10:34:41 +0000 (13:34 +0300)]
0026755: Use of reference to destroyed temporary object in Adaptor3d_SurfaceOfRevolution

Code corrected to make a copy of temporary object for its further use

6 years ago0026609: Wrong result obtained by solid classifier algorithm.
ifv [Thu, 8 Oct 2015 10:26:15 +0000 (13:26 +0300)]
0026609: Wrong result obtained by solid classifier algorithm.

Test case for issue CR26609

Correction of test cases for issue CR26609

6 years ago0026312: ColorScale doesn't work as expected.
isz [Wed, 7 Oct 2015 13:01:13 +0000 (16:01 +0300)]
0026312: ColorScale doesn't work as expected.

Now 'vcolorscale' command works correctly with the active view. Changed types of some variables from Standard_Real to Standard_Integer. Added options to set the width or the height of color scale explicitly. Test case is added.

6 years ago0026742: Update test cases for using checknbshapes procedure instead of global variables
ski [Tue, 6 Oct 2015 13:44:32 +0000 (16:44 +0300)]
0026742: Update test cases for using checknbshapes procedure instead of global variables

Test cases were updated.

6 years ago0026396: Taper API result differs run-to-run for identical inputs
isn [Thu, 8 Oct 2015 07:32:41 +0000 (10:32 +0300)]
0026396: Taper API result differs run-to-run for identical inputs

- all data maps where shape used as a key have been replaced with indexed data maps. Now index used for iteration through this map instead of shape-key.
- new test have been added. This test allows to test stability of DraftAngle-algo.
- alignment corrections...

Removing warnings

6 years ago0026717: Error in IntPatch_PrmPrmIntersection: change of local resolution leads to...
jgv [Thu, 8 Oct 2015 07:21:38 +0000 (10:21 +0300)]
0026717: Error in IntPatch_PrmPrmIntersection: change of local resolution leads to break of walking line

Test case for issue CR26717

Correction of test cases for issue CR26717

Test case for issue CR26717

6 years ago0026750: Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two...
nbv [Thu, 8 Oct 2015 07:14:30 +0000 (10:14 +0300)]
0026750: Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two vectors is equal to -90 degree (-M_PI/2 radian)

The bug has been fixed.
Test case for this issue has been created.

Correct alignment.

6 years ago0026721: Visualization - selection highlight of selected face is broken
vpa [Fri, 2 Oct 2015 14:21:58 +0000 (17:21 +0300)]
0026721: Visualization - selection highlight of selected face is broken

- fixed misprint in changing owner higlight status AIS_InteractiveContext::SetSelected;
- duplicatied code for unhighlighting seleced owners was moved in a separate function;
- test case for issue #26721

6 years ago0026560: BRepBndLib build too large bounding box in Z direction for planar spline...
aml [Thu, 8 Oct 2015 06:39:35 +0000 (09:39 +0300)]
0026560: BRepBndLib build too large bounding box in Z direction for planar spline edge.

Poles bounding box for curve added for bezier and bspline curves.
Method Poles() for Bezier curve added.

Test case for issue CR26560

Function to compute subshape max tolerance has been added.
Fixed bounding box expanding at Face/Face step of boolean operation.
Test cases are updated to the new behavior.

6 years ago0026734: Visualization, TKOpenGl - drop outdated UserDraw interfaces
kgv [Thu, 8 Oct 2015 06:33:48 +0000 (09:33 +0300)]
0026734: Visualization, TKOpenGl - drop outdated UserDraw interfaces

Update ViewerTest and VoxelDemo to not use UserDraw callbacks.

OpenGl_View::blitBuffers() - set 0 GLSL program after blit
to avoid side effects on code that does not use shaders.

Drop interfaces Aspect_GraphicCallbackProc, Graphic3d_CUserDraw,
Graphic3d_Group::UserDraw(), OpenGl_GraphicDriver::UserDrawCallback().

V3d_View::SetWindow() - remove optional arguments initializing redraw callback.
OpenGl_View, declare following methods as virtual for inheritance:
redraw(), redrawImmediate(), render(), renderScene(), drawBackground(), renderStructs().

VocelClient_VisDrawer - do not include removed header

6 years agoUpdate test cases after integration fix for 26607
mkv [Fri, 2 Oct 2015 11:53:55 +0000 (14:53 +0300)]
Update test cases after integration fix for 26607

6 years ago0026565: Compsolid after cut becomes compound of solids
emv [Thu, 1 Oct 2015 11:48:30 +0000 (14:48 +0300)]
0026565: Compsolid after cut becomes compound of solids

Changed the rules for the types of the arguments for different operations:
1. FUSE:   All arguments and tools should have the same dimension;
2. CUT:    The MAXIMAL dimension of the ARGUMENTS should be less
           or equal to the MINIMAL dimension of the TOOLS;
3. CUT21:  The MINIMAL dimension of ARGUMENTS should be grater
           or equal to the MAXIMAL dimension of the TOOLS;
4. COMMON: The arguments and tools could have any dimensions.

For the arguments of collection type (WIRE, SHELL, COMPSOLID)
the type will be passed into the result of the operation.

The documentation should be updated according to new behavior.

Documentation has been updated.

Implemented suggestions by MSV and some grammar changes.

Test cases for issue CR26565

Correction of test cases for issue CR26565

Correction of test cases for issue CR26565

6 years ago0026732: Visualization, TKOpenGl - add option to request Core profile 3.2+ using GLX
kgv [Tue, 29 Sep 2015 07:15:32 +0000 (10:15 +0300)]
0026732: Visualization, TKOpenGl - add option to request Core profile 3.2+ using GLX

Aspect_Window::NativeFBConfig() - extend interface with new method.
Xw_Window - add Aspect_FBConfig option to constructors,
use glXChooseFBConfig() instead of glXChooseVisual() on GLX1.3+.

OpenGl_Window - create context using glXCreateContextAttribsARB()
when GLXFBConfig is provided by Aspect_Window.
This procedure now handles Core Profile and Debug Context options on Linux.

OpenGl_Window - drop code implicitly creating child window
when window XVisual is incomplete for OpenGL context.
This should eliminate event-handling issues at application side,
but would require window to be properly created by application.

6 years ago0026715: Problems in reading STEP short names in complex entities
ika [Thu, 1 Oct 2015 11:01:08 +0000 (14:01 +0300)]
0026715: Problems in reading STEP short names in complex entities

Add function to find next part of complex entity by name or short name.
Add missing short names.

Test cases for issue CR26715

6 years ago0026718: Big tolerance value of the edge in the result of General Fuse operation
emv [Thu, 1 Oct 2015 10:57:53 +0000 (13:57 +0300)]
0026718: Big tolerance value of the edge in the result of General Fuse operation

class BOPTools_AlgoTools2D
  Standard_Integer BOPTools_AlgoTools2D::AttachExistingPCurve
  (const TopoDS_Edge& aE2, // old
   const TopoDS_Edge& aE1, // new
   const TopoDS_Face& aF,
   const Handle(IntTools_Context)& aCtx)

To prevent huge tolerance increasing check the distances between 2d and 3d
curves (through surface) before attaching 2d curve to the edge.

Test case for issue CR26718

Correction of test cases for issue CR26718

6 years ago0026298: Visualization, OpenGl_Text - make font resolution configurable.
isk [Tue, 29 Sep 2015 09:17:58 +0000 (12:17 +0300)]
0026298: Visualization, OpenGl_Text - make font resolution configurable.
Add THE_DEFAULT_RESOLUTION static const parameter to Graphic3d_RenderingParams.
Add resolution to Graphic3d_RenderingParams.
Drop redundant variables from OpenGl_Workspace.
Add a new parameter to Graphic3d_GraphicDriver::TextSize method (and to OpenGl_GraphicDriver).
Add a new parameter to OpenGl_Text::Render() and to OpenGl_Text::render() methods.
OpenGl_Text::FontKey() considers a resolution (PPI) now.
Add a new argument '-resolution' (sets a pixel density) in the 'VRenderParams' draw-command.

6 years ago0026607: Wrong value of area.
ifv [Thu, 1 Oct 2015 10:48:27 +0000 (13:48 +0300)]
0026607: Wrong value of area.

Test case for issue CR26607

Fix regressions

Correction of test cases for issue CR26607

6 years ago0026042: OCCT won't work with the latest Xcode
akz [Wed, 23 Sep 2015 13:31:15 +0000 (16:31 +0300)]
0026042: OCCT won't work with the latest Xcode

Dereferenced null pointers was eliminated for PLib, BSplCLib and BSplSLib. All affected code was changed accordingly.

6 years ago0026360: Useless global functions IsSimilar() in Standard
akz [Fri, 25 Sep 2015 13:33:23 +0000 (16:33 +0300)]
0026360: Useless global functions IsSimilar() in Standard

Remove IsSimilar() global function for Standard types. Replace usege of IsSimilar() by IsEqual().

6 years ago0026648: Configuration - set default path for start of DRAWEXE under Visual Studio...
abv [Thu, 1 Oct 2015 10:22:19 +0000 (13:22 +0300)]
0026648: Configuration - set default path for start of DRAWEXE under Visual Studio debugger

Default path for starting executable from Visual Studio debugger set to be $CASROOT in project files generated by genproj

Default path for starting DRAWEXE executable from Visual Studio debugger set to be CMake binary directory in project files generated by CMake

6 years ago0026381: OSD_File - close file on destruction
akz [Thu, 1 Oct 2015 10:28:12 +0000 (13:28 +0300)]
0026381: OSD_File - close file on destruction

Add destructor for OSD_File, that unlocks and close file.

Remove senseless checks from status functions in code for Linux.

Destructor of OSD_FileNode is made protected to avoid possibility of deleting descendants by pointer to base class

6 years ago0026723: Qt IE sample can not import STEP and IGES files with names containing not...
gka [Fri, 25 Sep 2015 13:30:29 +0000 (16:30 +0300)]
0026723: Qt IE sample can not import STEP and IGES files with names containing not ascii symbols

Added conversion of the names of the imported files in the  Utf8 coding

6 years agoAdjusting test cases for current state of occt
apv [Mon, 28 Sep 2015 09:53:22 +0000 (12:53 +0300)]
Adjusting test cases for current state of occt

6 years ago0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
akz [Fri, 25 Sep 2015 08:35:36 +0000 (11:35 +0300)]
0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and so on)
Replace removed from occt WNT preprocessor flag with _WIN32

6 years ago0026656: ShapeFix_Face introduces extremely high vertex tolerance in the input shape
aml [Thu, 24 Sep 2015 12:01:44 +0000 (15:01 +0300)]
0026656: ShapeFix_Face introduces extremely high vertex tolerance in the input shape

Added set of methods CopyVertex in BRepTools_ReShape. Usage of this non-modifying methods added in ShapeFix_Wire, ShapeFix_Edge.
Test case for issue 26656.
Test cases updated to the new behavior.

Correction of test cases for issue CR26656

Changed access by value to access by reference in method CopyVertex.

6 years ago0024537: GCC compiler warnings in byte order reversion code
rkv [Thu, 24 Sep 2015 11:17:41 +0000 (14:17 +0300)]
0024537: GCC compiler warnings in byte order reversion code

Eliminate warnings in byte order inversion functionality by using unions.
Add test case simulating conversion to big endian.

6 years ago0026525: Wrong result obtained by curve / surface intersection algorithm.
aml [Thu, 24 Sep 2015 10:53:09 +0000 (13:53 +0300)]
0026525: Wrong result obtained by curve / surface intersection algorithm.

Added protection from double overflow caused by untrimmed parameters space.
Obsolete code deleted.

Draw command OCC26525 added.

Test cases for issue CR26525

6 years ago0026632: HLR sample doesn't work with Algo mode
nbv [Tue, 22 Sep 2015 10:35:13 +0000 (13:35 +0300)]
0026632: HLR sample doesn't work with Algo mode

The main reason of the problem is Walking-line contains two equal Walking-points (the segment has null-length both in 3D and 2D).

6 years ago0026701: BOPAlgo_Builder::Perform crash.
isn [Thu, 24 Sep 2015 10:46:45 +0000 (13:46 +0300)]
0026701: BOPAlgo_Builder::Perform crash.
(data race)

Add comments and make minor cosmetic changes.

Test case for issue CR26701

Correction of test case for issue CR26701

6 years ago0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()
abv [Mon, 21 Sep 2015 03:08:22 +0000 (06:08 +0300)]
0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()

Avoid possible infinite loops in ShapeFix_Wire::FixSelfIntersection() -- when needed, fix is repeated once instead of going back in the loop

6 years ago0025617: Avoid classes with a copy constructor and the default destructor or assignme...
azn [Wed, 17 Dec 2014 08:17:28 +0000 (11:17 +0300)]
0025617: Avoid classes with a copy constructor and the default destructor or assignment operator

Removed useless user-defined copy constructors and assignment operators in BOPCol_NCVector, NCollection_Mat4, NCollection_Vec*

User-defined assignment operator matching copy constructor added in NCollection_StdAllocator.

Class VrmlData_DataMapOfShapeAppearance redefined as simple typedef to NCollection_DataMap<>.

6 years ago0025618: Avoid classes with an assignment operator and not implementing both a destru...
azn [Wed, 17 Dec 2014 08:06:13 +0000 (11:06 +0300)]
0025618: Avoid classes with an assignment operator and not implementing both a destructor and a copy constructor

User-defined assignment operator is removed in the classes IntPolyh_StartPoint and Quantity_Color, as default assignment will be OK

6 years ago0025571: Avoid base Classes without virtual Destructors
abv [Mon, 21 Sep 2015 13:38:01 +0000 (16:38 +0300)]
0025571: Avoid base Classes without virtual Destructors

Destructors of collection classes from NCollection and math_Function are made virtual to allow safe destruction by pointer to base class.

Destructors of classes HatchGen_IntersectionPoint, IntCurveSurface_Intersection, Intf_Interference, IntRes2d_Intersection are made protected to avoid possibility of destructing by pointer to corresponding base class.

6 years ago0026707: Remove references to "opencascade.org" in documentation
ysn [Tue, 22 Sep 2015 10:16:04 +0000 (13:16 +0300)]
0026707: Remove references to "opencascade.org" in documentation

Links to OCC web sites in documentation are updated in accordance with the new site design.

6 years ago0026710: Coding rules - eliminate GCC warning -Wunused-result in Voxel_Reader.cxx
kgv [Sat, 19 Sep 2015 08:14:01 +0000 (11:14 +0300)]
0026710: Coding rules - eliminate GCC warning -Wunused-result in Voxel_Reader.cxx

6 years ago26428: TNaming_Selector::Solve crash for empty named shape.
szy [Thu, 24 Sep 2015 09:36:11 +0000 (12:36 +0300)]
26428: TNaming_Selector::Solve crash for empty named shape.

Test case for issue CR26428

6 years ago0026680: Visualization - Changed behavior of mesh visualization and selection in...
vpa [Thu, 17 Sep 2015 15:57:48 +0000 (18:57 +0300)]
0026680: Visualization - Changed behavior of mesh visualization and selection in OMF sample

- handling of global selection mode was added to MeshVS_Mesh;
- corrected unhighlight of interactives with auto-highlight disabled;
- test case for issue 0026680.

6 years ago0026705: Visualization - OpenGl_Workspace aspect setters are not exported
aba [Fri, 18 Sep 2015 11:07:48 +0000 (14:07 +0300)]
0026705: Visualization - OpenGl_Workspace aspect setters are not exported

6 years ago0026683: VRML 2.0: ImageTexture node not written
agv [Wed, 16 Sep 2015 09:55:49 +0000 (12:55 +0300)]
0026683: VRML 2.0: ImageTexture node not written

6 years ago0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
akz [Tue, 15 Sep 2015 14:46:43 +0000 (17:46 +0300)]
0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and so on)

1) Macro definition WNT replaced by _WIN32 and _MSC_VER for platform and compiler detection accordingly.
2) Macro definition LIN replaced by __linux__ macro.
3) Macro definition DEB replaced by OCCT_DEBUG macro.

6 years ago0026371: Implementation of new entities for GD&T
ika [Thu, 24 Sep 2015 09:12:47 +0000 (12:12 +0300)]
0026371: Implementation of new entities for GD&T

Implement entities:
- DatumReferenceCompartment,
- DatumReferenceElement,
- DatumReferenceModifierWithValue,
- DatumSystem,
- GeneralDatumReference,

- ValueFormatTypeQualifier,

- NonUniformZoneDefinition,
- ProjectedZoneDefinition,
- RunoutZoneDefinition,
- RunoutZoneOrientation,
- ToleranceZone,
- ToleranceZoneDefinition,
- ToleranceZoneForm,
- ToleranceZoneTarget,

- GeometricToleranceWithDefinedAreaUnit,
- GeometricToleranceWithDefinedUnit,
- GeometricToleranceWithMaximumTolerance,
- GeometricToleranceWithModifiers,
- UnequallyDisposedGeometricTolerance,

- GeometricItemSpecificUsage,
- IdAttribute,
- IdAttributeSelect,
- ItemIdentifiedRepresentationUsage,
- ItemIdentifiedRepresentationUsageDefinition,

- Apex,
- CentreOfSymmetry,
- GeometricAlignment,
- ParallelOffset,
- PerpendicularTo,
- Tangent,

- AllAroundShapeAspect,
- BetweenShapeAspect,
- CompositeGroupShapeAspect,
- ContinuosShapeAspect,

- ReprItemAndLengthMeasureWithUnitAndQRI,
- ReprItemAndPlaneAngleMeasureWithUnitAndQRI,
- ReprItemAndPlaneAngleMeasureWithUnit,

- CompGroupShAspAndCompShAspAndDatumFeatAndShAsp,
- CompShAspAndDatumFeatAndShAsp,

- GeoTolAndGeoTolWthDatRef,
- GeoTolAndGeoTolWthDatRefAndGeoTolWthMod,
- GeoTolAndGeoTolWthMod,
- GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol,

- IntegerRepresentationItem,
- ValueRepresentationItem.

Modify entities:
- GeometricTolerance,
- GeometricToleranceWithDatumReference,
- ShapeDimensionRepresentation.

fix compilation error

fix compilation warning

6 years agoUpdating service files of Voxel demo
bugmaster [Wed, 23 Sep 2015 13:38:36 +0000 (16:38 +0300)]
Updating service files of Voxel demo

6 years ago0026676: Visualization, Ray Tracing - correct rendering if stereo pair
apl [Thu, 17 Sep 2015 17:50:57 +0000 (20:50 +0300)]
0026676: Visualization, Ray Tracing - correct rendering if stereo pair

- Fixed interpolation of ray direction vector for asymmetric frustum (stereo left/right eye). Unnecessary normalization of direction vector affecting the frustum's geometry was removed.
- Fixed usage of projection type argument passed when rendering immediate graphics with stereo projection.

6 years ago0024776: Visualization - inherit OpenGl_View from Graphic3d_CView
apl [Tue, 22 Sep 2015 08:49:33 +0000 (11:49 +0300)]
0024776: Visualization - inherit OpenGl_View from Graphic3d_CView

Expose interface of OpenGl_View (OpenGL graphics rendering methods) to client code
and collecting all high-level API methods of application views in V3d_View class.

1) Exposing interface of OpenGl_View:

The OpenGl_View inherits from new class Graphic3d_CView.
Graphic3d_CView is an interface class that declares abstract methods for managing displayed structures,
display properties and a base layer code that implements computation
and management of HLR (or more broadly speaking view-depended) structures.

In new implementation it takes place of eliminated Visual3d_View.
As before the instance of Graphic3d_CView is still completely managed by V3d_View classes.
It can be accessed through V3d_View interface but normally this should not be required as all its methods are completely wrapped.

In more details, a concrete specialization of Graphic3d_CView is created and returned by graphical driver on request.
Right after creation the views is directly used for setting rendering properties and adding graphical structures to be displayed.

The rendering of graphics is possible after mapping a window and activating the view.
The direct setting of properties makes obsolete usage of intermediate structures with display parameter
like Visual3d_ContextView and etc (the whole package of Visual3d become redundant).

2) Collecting all high-level API methods of application views in V3d package:

The patch includes elimination of Visual3d layer.
All of its methods that could be previously used by application are now exposed and should be accessed on the level of V3d entities.
- Introduced new class Graphic3d_CView.
  This is a base class for render views.
  Made possible to specialize concrete instances of the class by graphical driver.
- Moved all methods managing rendering views into interface of Graphic3d_CView.
  The corresponding methods were removed from interface of graphical driver.

3) Eliminated Visual3d package:

- Logic of managing display of structures was put from Visual3d_ViewManager into Graphic3d_StructureManager.
- Removed Visual3d_View class. Logic of managing computed structures was put into base layer of Graphi3d_CView.
- Removed all intermediate structures for storing view parameters e.g. Visual3d_ContextView.
  All settings are kept by instances of Graphic3d_CView
- Removed Visual3d_Light intermediate class.
  All light properties are still stored in Graphic3d_CLight structure.
  The structure is directly access by instance of V3d_Light classes.
- Moved all needed enumerations into Graphic3d package.

4) Update package D3DHost to new changes.

5) Update code of OCCT samples to new changes.

6 years agoAdjusting test cases at current state of OCCT master
apv [Fri, 18 Sep 2015 10:27:58 +0000 (13:27 +0300)]
Adjusting test cases at current state of OCCT master

6 years agoUpdate samples for VC++ 2013
bugmaster [Fri, 18 Sep 2015 09:46:25 +0000 (12:46 +0300)]
Update samples for VC++ 2013

6 years ago0026196: Wrong result obtained by projection algorithm.
aml [Thu, 17 Sep 2015 14:09:20 +0000 (17:09 +0300)]
0026196: Wrong result obtained by projection algorithm.

Improved periodicity handling when trimmed parameters became unclosed or nonperiodic, but underlying geometry closed or periodic.
Added possibility to not perform trim in GeomAdaptor::MakeSurface.

Minor corrections.

Test-case for issue #26196

Correction of comments

6 years ago0026616: Memory leak in IntTools_Context::Hatcher
pkv [Thu, 17 Sep 2015 13:10:18 +0000 (16:10 +0300)]
0026616: Memory leak in IntTools_Context::Hatcher

class IntTools_Context
- method:
Geom2dHatch_Hatcher& IntTools_Context::Hatcher
  (const TopoDS_Face& aF)
- method:
IntTools_SurfaceRangeLocalizeData& IntTools_Context::SurfaceData
  (const TopoDS_Face& aF)

The memory allocation is provided using inner allocator of the object.

Test-case for issue #26616

6 years ago0026532: Meshing of edge with minSize parameter leads to incorrect result
oan [Thu, 17 Sep 2015 11:58:40 +0000 (14:58 +0300)]
0026532: Meshing of edge with minSize parameter leads to incorrect result

Fix missed parameter.

Test case for issue CR26532

6 years ago0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()
ifv [Thu, 17 Sep 2015 11:39:05 +0000 (14:39 +0300)]
0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()

Test case for issue CR26588

6 years ago0026674: Performance regression in BRepExtrema_DistShapeShape in OCCT 6.9.0 in compar...
nbv [Thu, 17 Sep 2015 10:55:39 +0000 (13:55 +0300)]
0026674: Performance regression in BRepExtrema_DistShapeShape in OCCT 6.9.0 in compare with OCCT 6.7.1

Creation the test case for current issue.

Added flag for single extrema computation. Now implemented only for parametric solver GenExtCC.
Default behavior of curve/curve solver in distmini command changed to "find one solution".

6 years ago0026687: SIGSEGV in BRepBuilderAPI_MakeFace
nbv [Thu, 17 Sep 2015 10:52:17 +0000 (13:52 +0300)]
0026687: SIGSEGV in BRepBuilderAPI_MakeFace

1. Check face location has been added.
2. Message, if mkplane command fails, has been added.
3. Test case for this issue has been created.

Changes in accordance with the remark.

Small correction of test case for issue CR26687

6 years ago0026688: Visualization, TKOpenGl - apply transparency within GLSL programs
kgv [Tue, 15 Sep 2015 15:18:03 +0000 (18:18 +0300)]
0026688: Visualization, TKOpenGl - apply transparency within GLSL programs

OpenGl_ShaderManager::PushAspectFace(), setup alpha to Diffuse() component as in FFP.
OpenGl_ShaderManager::stdComputeLighting(), take alpha from material Diffuse component.

6 years ago0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances
nbv [Thu, 17 Sep 2015 10:46:54 +0000 (13:46 +0300)]
0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances

Algorithm of computation of safe shift value along 2D-line (in order to distance between two points was less than tolerance) has been improved.

Correction of some test cases in accordance with their new behavior.

Test-case for issue #26642

Small correction of test-case

Small correction of test-case bugs heal bug26642

6 years ago0026533: Draw command vdisplay requires vclear to update the presentation since OCC...
isk [Tue, 15 Sep 2015 09:06:43 +0000 (12:06 +0300)]
0026533: Draw command vdisplay requires vclear to update the presentation since OCC 6.9.0.
Update documentation related to vdisplay command and similar.

6 years ago0026657: Data Exchange - IGES/STEP OCAF writers should keep hierarchy and colors...
gka [Thu, 10 Sep 2015 07:54:21 +0000 (10:54 +0300)]
0026657: Data Exchange - IGES/STEP OCAF writers should keep hierarchy and colors when saving non-root elements

Make modification to save in the file part of the XCAF document starting from specified label.
If specified label is component of the high-level assembly then high-level assembly is saved in document with one specified component.
In other case only part of the document starting from the specified label is saved.

6 years ago0026515: Exponential memory usage problems with BOPDS_IndexedMapOfPaveBlock and NColl...
isn [Thu, 17 Sep 2015 10:26:46 +0000 (13:26 +0300)]
0026515: Exponential memory usage problems with BOPDS_IndexedMapOfPaveBlock and NCollection_IncAllocator

Correcting the usage of NCollection_IncAllocator


additional corrections

Adaptation of test case bugs fclasses bug7287_1 (limit for detection of memory leak reduced due to leak reduction)

Adjusting test-case bugs fclasses bug7287_1

6 years ago0026567: Exception in Boolean intersection command
nbv [Mon, 14 Sep 2015 10:02:11 +0000 (13:02 +0300)]
0026567: Exception in Boolean intersection command

Test case for this issue

6 years ago0026651: IntTools_FClass2d gives incorrect result of classification
ifv [Fri, 11 Sep 2015 11:01:45 +0000 (14:01 +0300)]
0026651: IntTools_FClass2d gives incorrect result of classification

6 years ago0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although...
ika [Tue, 8 Sep 2015 13:20:42 +0000 (16:20 +0300)]
0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although proceeded in 6.8.0

Take basis surface from trimmed surfaces during IGES writing, because pcurves will be transformed, so trim will be shifted, accorded to new face bounds,
fix updating of seam edge,
change condition of using Segment during exporting periodic BSpline surfaces to IGES (if bounds are not in one period).

Test cases for issue CR26419

6 years ago0026586: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Tue, 8 Sep 2015 12:41:26 +0000 (15:41 +0300)]
0026586: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides previous local declaration

Eliminated warnings about "declaration of some local variable hides previous local declaration"

6 years ago0026640: ShapeFix_Edge::FixAddPCurve problem in OCC 6.8
nbv [Fri, 11 Sep 2015 08:44:32 +0000 (11:44 +0300)]
0026640: ShapeFix_Edge::FixAddPCurve problem in OCC 6.8

Create test case for this issue

6 years ago0026099: Wrong result done by 2d intersection algorithm
nbv [Thu, 17 Sep 2015 09:46:15 +0000 (12:46 +0300)]
0026099: Wrong result done by 2d intersection algorithm

Detection of intersection for almost parallel lines has been improved.

Test-case for issue #26099 and adjusting of test-case boolean volumemaker B6

6 years ago0026690: Problem of compilation on imac monoblock
isk [Tue, 15 Sep 2015 13:36:50 +0000 (16:36 +0300)]
0026690: Problem of compilation on imac monoblock

6 years ago0026691: CMake building procedure should support compiler of version 14.0 of Microsof...
ibs [Tue, 15 Sep 2015 13:56:14 +0000 (16:56 +0300)]
0026691: CMake building procedure should support compiler of version 14.0 of Microsoft Visual C

"vc14" compiler name added to CMake building script

6 years agoAdjusting test cases for current state of OCCT
apv [Fri, 11 Sep 2015 10:51:14 +0000 (13:51 +0300)]
Adjusting test cases for current state of OCCT

6 years agoThe removing unstable status from test case
apn [Fri, 11 Sep 2015 09:50:16 +0000 (12:50 +0300)]
The removing unstable status from test case

6 years ago0026663: Test cases for BRepOffset_Makeoffset
ski [Fri, 11 Sep 2015 09:00:15 +0000 (12:00 +0300)]
0026663: Test cases for BRepOffset_Makeoffset

6 years ago0026606: Test cases for BRepProj_Projection
ski [Fri, 11 Sep 2015 09:21:46 +0000 (12:21 +0300)]
0026606: Test cases for BRepProj_Projection

Test cases provided

6 years ago0026652: OCC_DEBUG definition is always added to the compiler command line
ibs [Mon, 7 Sep 2015 09:47:55 +0000 (12:47 +0300)]
0026652: OCC_DEBUG definition is always added to the compiler command line

a misprint in the if statement fixed

6 years ago0026478: There is a lack of documentation on OCAF / Topological naming
ysn [Thu, 10 Sep 2015 14:49:32 +0000 (17:49 +0300)]
0026478: There is a lack of documentation on OCAF / Topological naming

Article content added in @subsection occt_ocaf_5_8 Example of topological naming usage

The description of topological naming mechanism has been added in sub-section 5_6.

6 years ago0025553: ShapeFix_Face::FixMissingSeam() fails to correct a face
gka [Thu, 10 Sep 2015 14:42:22 +0000 (17:42 +0300)]
0025553: ShapeFix_Face::FixMissingSeam() fails to correct a face

Modification to support case when edges on face  have incorrect orientation was added.
Modification to support case when wires have intersecting segment was added

Test cases for issue 25553 added; other affected tests corrected (improvements)

Corrected test case

6 years ago0026621: Boolean Cut does not work on two solids
nbv [Thu, 10 Sep 2015 14:39:38 +0000 (17:39 +0300)]
0026621: Boolean Cut does not work on two solids

The main reason of the bug is incorrect extending line in SeveralWlinesProcessing(...) function.

Additionally, interface of IntPatch_WLine::Dump(...) method has been changed.

Change some test cases according to their new behavior.

Test-case for issue #26621

6 years ago0026587: Infinite calculations of BRepOffset_MakeOffset
mkv [Thu, 10 Sep 2015 13:47:01 +0000 (16:47 +0300)]
0026587: Infinite calculations of BRepOffset_MakeOffset

6 years ago0026575: Normal projection of an edge to a face is wrong
mkv [Thu, 10 Sep 2015 13:39:54 +0000 (16:39 +0300)]
0026575: Normal projection of an edge to a face is wrong

6 years ago0026245: Unable to write SAT file by default
abv [Mon, 31 Aug 2015 04:00:57 +0000 (07:00 +0300)]
0026245: Unable to write SAT file by default

XSAlgo_AlgoContainer is corrected to return original shape if Shape Processing fails.
Handling of situation of absence of defined operator sequence is corrected to apply DirectFaces operator by default on writing, regardless of target format.
ShapeProcess is corrected to output warning if operator sequence is not defined in resource file, and to continue if one operator in sequence has failed.
Message names are made more meaningful.

6 years ago0026637: Save function works incorrect in OCAF mfc sample
ski [Tue, 8 Sep 2015 09:49:19 +0000 (12:49 +0300)]
0026637: Save function works incorrect in OCAF mfc sample

Format ".std" was eliminated from OCAF mfc sample.

6 years ago0026628: Button Erase (Delete where erase algorythm is used) works incorrect
isk [Thu, 10 Sep 2015 14:26:45 +0000 (17:26 +0300)]
0026628: Button Erase (Delete where erase algorythm is used) works incorrect

Update AIS_InteractiveContext::EraseSelected() method.

Fix HLR sample

Fix samples.

6 years ago0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly...
kgv [Wed, 9 Sep 2015 07:29:43 +0000 (10:29 +0300)]
0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly within OpenGL ES

Use lowp for enumerations / Boolean uniforms.
Define default integer precision to highp in Fragment Shader when available.

6 years ago0026644: ShapeUpgrade_UnifySameDomain - strange behavior
gka [Thu, 10 Sep 2015 14:11:05 +0000 (17:11 +0300)]
0026644: ShapeUpgrade_UnifySameDomain - strange behavior

Made modification to get valid shape after operation ShapeUpgrade_UnifySameDomain for non-manifold input shape

Test case for issue CR26644

6 years ago0026672: Visualization, TKOpenGl - workaround mobile hardware with extremely low...
kgv [Wed, 9 Sep 2015 11:24:21 +0000 (14:24 +0300)]
0026672: Visualization, TKOpenGl - workaround mobile hardware with extremely low precision of mod() in GLSL

6 years ago0026583: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Wed, 9 Sep 2015 09:56:09 +0000 (12:56 +0300)]
0026583: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides function parameter

Eliminated warnings about "declaration of local variable hides function parameter"

6 years ago0026615: Configuration, genconfdeps.tcl - do not search for FreeImagePlus on non...
kgv [Fri, 28 Aug 2015 09:20:00 +0000 (12:20 +0300)]
0026615: Configuration, genconfdeps.tcl - do not search for FreeImagePlus on non-Windows

6 years ago0026584: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Tue, 18 Aug 2015 11:47:04 +0000 (14:47 +0300)]
0026584: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides class member

Eliminated warning "declaration of variable hides class member"

6 years ago0026638: Help of vcaps Draw command mentions wrong argument
mkv [Wed, 9 Sep 2015 16:59:45 +0000 (19:59 +0300)]
0026638: Help of vcaps Draw command mentions wrong argument

6 years ago0025162: Visualization, TKOpenGl - drop GLU library dependency
isk [Tue, 8 Sep 2015 12:15:04 +0000 (15:15 +0300)]
0025162: Visualization, TKOpenGl - drop GLU library dependency
Drop gluScaleImage() and gluBuild2DMipmaps().
Drop gluUnPorject() from samples.
Output message if NPOT is unsupported and texture coordinates was scaled. Texture initialization is fail in this case.
Output message if texture dimension exceed the max dimension. Texture initialization is fail in this case.
TKOpenGl does not depends on deprecated GLU anymore.

6 years ago0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires
jgv [Thu, 10 Sep 2015 13:47:39 +0000 (16:47 +0300)]
0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires

Test case for issue CR26636

6 years ago0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
abv [Mon, 7 Sep 2015 04:14:41 +0000 (07:14 +0300)]
0026627: [Regression] Shape Healing hangs as of OCC 6.8.0

Check for orientation of the solid corrected to ensure that cycle always finishes.

Test case added: bugs modalg_6 bug26627
Tests boolean volumemaker A3, B5, B7 corrected (improvements)

6 years ago0025777: the standard views are defined incorrectly and mismatch the old display.
isk [Mon, 7 Sep 2015 13:17:29 +0000 (16:17 +0300)]
0025777: the standard views are defined incorrectly and mismatch the old display.
Old vright equals new vfront, old vfront equals new vright, old vleft equals new vback, old vback equals new vleft.

6 years ago0026647: BRepTools::UVBounds() computes zero range by V
abv [Sun, 6 Sep 2015 13:46:08 +0000 (16:46 +0300)]
0026647: BRepTools::UVBounds() computes zero range by V

Calculation of bounding box on conic 2d curves corrected to work properly if specified parametric range is in negative values.

Test case added

6 years ago0026288: Offset on faces with opposite orientation
isn [Thu, 10 Sep 2015 13:21:32 +0000 (16:21 +0300)]
0026288: Offset on faces with opposite orientation

Test-case for issue #26288

6 years ago0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception
nbv [Thu, 10 Sep 2015 13:16:55 +0000 (16:16 +0300)]
0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception

Test cases for issue CR26313

6 years ago0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junct...
jgv [Thu, 10 Sep 2015 12:30:55 +0000 (15:30 +0300)]
0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junctions at vertex

Test case for issue CR26173

6 years ago0026017: Unstable behavior of test cases with boolean operations
apn [Mon, 7 Sep 2015 14:56:35 +0000 (17:56 +0300)]
0026017: Unstable behavior of test cases with boolean operations

Changes in boolean/gdml_private and volumemaker caused by integration of 26019 and 26253.

6 years ago0026462: Visualization - selection does not adapt to line width change
vpa [Fri, 28 Aug 2015 19:25:45 +0000 (22:25 +0300)]
0026462: Visualization - selection does not adapt to line width change

- added interface for changing sensitivity of a particular selection through both interactive and local context;
- added corresponding methods for changing sensitivity to SelectMgr_SelectionManager, SelectMgr_Selection and SelectBasics_SensitiveEntity;
- option -setSensitivity was implemented in vaspects Draw command;
- test case for issue #26462

6 years ago0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()
kgv [Mon, 7 Sep 2015 06:31:35 +0000 (09:31 +0300)]
0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()