occt.git
4 years ago0026611: Visualization, TKService - fix NULL-dereference in Font_FontMgr on broken...
kgv [Thu, 3 Sep 2015 11:26:30 +0000]
0026611: Visualization, TKService - fix NULL-dereference in Font_FontMgr on broken font

Check FT_Face::family_name for NULL during detection.
Skip fonts without mandatory UNICODE charset in Font_FontMgr.
Test case for issue CR26611
Drop the test case for issue CR26611

4 years agoTemporally removing test case M1 from boolean/gdml_private group according to OCC26303.
ski [Fri, 28 Aug 2015 08:35:48 +0000]
Temporally removing test case M1 from boolean/gdml_private group according to OCC26303.

4 years ago0026559: Configuration, genproj.tcl - add mandatory C++11 compiler flag to generated...
kgv [Thu, 13 Aug 2015 15:09:17 +0000]
0026559: Configuration, genproj.tcl - add mandatory C++11 compiler flag to generated Code::Blocks project files

4 years ago0026602: Configuration, genproj.tcl - drop code generating Automake files
kgv [Thu, 27 Aug 2015 13:47:06 +0000]
0026602: Configuration, genproj.tcl - drop code generating Automake files

StdPrs/FILES - drop duplicates
genproj.sh - fix launcher

4 years ago0024387: Tests - use system-independent fonts in test cases
isk [Thu, 27 Aug 2015 11:30:44 +0000]
0024387: Tests - use system-independent fonts in test cases

Add a new parameter "-font FontName" to the command "vdimension".
Tuning of test-cases

4 years ago0026498: BRepOffsetAPI_MakeOffset causes segmentation fault
isn [Thu, 27 Aug 2015 10:52:14 +0000]
0026498: BRepOffsetAPI_MakeOffset causes segmentation fault

Test case for issue CR26498

4 years ago0026599: Visualization, TKOpenGl - gradient background should reset model transformat...
kgv [Thu, 27 Aug 2015 10:49:39 +0000]
0026599: Visualization, TKOpenGl - gradient background should reset model transformation in Core profile

OpenGl_View::DrawBackground() - reset ModelWorldState as wellm not just WorldViewState.
Test case for issue CR26599

4 years ago0026317: Visualization - AIS_LengthDimension::CheckPlane() is incorrect
isk [Thu, 20 Aug 2015 05:46:25 +0000]
0026317: Visualization - AIS_LengthDimension::CheckPlane() is incorrect

4 years ago0026596: Visualization - hidden twice times structure should not be selectable
vpa [Tue, 25 Aug 2015 09:41:56 +0000]
0026596: Visualization - hidden twice times structure should not be selectable

Activated selection mode for the object that was displayed previously is now added to global status;
Test case for issue #26596

4 years ago0024272: Provide basic text formatting routines for Font_BRepFont
isk [Mon, 24 Aug 2015 11:10:22 +0000]
0024272: Provide basic text formatting routines for Font_BRepFont

Add new class Font_BRepTextBuilder for generation of formatted BRep text.
Delete method Font_BRepFont::RenderText(), which should be replaced by Font_BRepTextBuilder::Perform().

4 years ago0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the...
kgv [Mon, 24 Aug 2015 15:00:04 +0000]
0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode

4 years ago0026574: Remove redundant dependence of TKIGES on TKOffset
Roman Lygin [Wed, 19 Aug 2015 15:24:43 +0000]
0026574: Remove redundant dependence of TKIGES on TKOffset

4 years ago0026461: STEP Import interface crashes
ika [Thu, 27 Aug 2015 10:30:38 +0000]
0026461: STEP Import interface crashes

Add a check for NULL;
some code refactoring.

Test case for issue CR26461

4 years ago0026376: Imported STEP shape is partially wrong
gka [Thu, 27 Aug 2015 10:26:23 +0000]
0026376: Imported STEP shape is partially wrong

Modification of the translation of the face based on the toroidal surface with negative major radius was made.
Seems that such face is considered by "Solid Works" and "ProE wildfire 5.0" systems as face having reversed orientation.
This step file was written by "Solid Works 2014".

Test case for issue CR26376

4 years ago0022016: Incorrect selection color after displaying a selected object
isk [Thu, 27 Aug 2015 10:23:53 +0000]
0022016: Incorrect selection color after displaying a selected object

Small correction

4 years ago0025775: "Default Gradient Backgound" in V3d_Viewer has no effect in new created...
abv [Tue, 25 Aug 2015 08:17:18 +0000]
0025775: "Default Gradient Backgound" in V3d_Viewer has no effect in new created V3d_View.

Complete the fix: add gradient background in second variant of V3d_View::SetWindow()

4 years agoImages added to "building with cmake" article
ibs [Fri, 21 Aug 2015 10:30:17 +0000]
Images added to "building with cmake" article

4 years agoAdjusting testing case
mkv [Fri, 21 Aug 2015 10:19:25 +0000]
Adjusting testing case

4 years ago0026572: Error in ShapeUpgrade_UnifySameDomain algorithm: can not merge two edges...
aml [Thu, 20 Aug 2015 13:57:10 +0000]
0026572: Error in ShapeUpgrade_UnifySameDomain algorithm: can not merge two edges in customer's shape

Obsolete code deleted.
Test case for issue CR26572
Small correction

4 years ago0026566: Visualization - incorrect highlight after selection of owners with auto...
vpa [Tue, 18 Aug 2015 11:49:43 +0000]
0026566: Visualization - incorrect highlight after selection of owners with auto-highlight disabled

Unhighlight of previously selected owners was corrected

4 years ago0026289: STEP import/export produces an empty shape
gka [Thu, 20 Aug 2015 13:53:50 +0000]
0026289: STEP import/export produces an empty shape

Exception is raised during reading step file containing p-curve having not-unique last knot.
Modification correcting misprint during computation new numbers of poles for such case was made in the file StepToGeom_MakeBSplineCurve.pxx
Protection against exception was made in the file StepToTopoDS/StepToTopoDS_TranslateEdge.cxx.
Warning message was added in the file StepToTopoDS_TranslateEdgeLoop.cxx.

Test case for issue CR26289

4 years ago0026235: Command tolmax works wrong
ski [Fri, 26 Jun 2015 08:03:58 +0000]
0026235: Command tolmax works wrong

Command tolmax was removed.
Tcl command checkmaxtol is used now in test cases to check maximum tolerance.
Reference values in test cases were updated.

4 years ago0026538: Visualization - Infinite growth of maxtrix stack in OpenGl_Structure::Render
apl [Thu, 20 Aug 2015 13:49:48 +0000]
0026538: Visualization - Infinite growth of maxtrix stack in OpenGl_Structure::Render

Test case for issue CR26538
Small correction

4 years ago0025300: Visualization - Build wireframe representation consistent with the shape...
vpa [Tue, 21 Apr 2015 21:53:37 +0000]
0025300: Visualization - Build wireframe representation consistent with the shape's triangulation

1) Remove duplicating presentation algorithms for shapes StdPrs_WFShape, StdPrs_WFDeflectionShape.
2) Rewrite Prs3d_WFShape to use deflection for non-triangulated shapes and rename it to StdPrs_WFShape.
3) Revise and correct references in code.
4) Rename StdPrs_ToolShadedShape to StdPrs_ToolTriangulatedShape (reused in StdPrs_WFShape, StdPrs_ShadedShape).
5) Add StdPrs_BndBox for drawing bounding box presentation.
6) Implemented on-triangulation isoline builder.
7) Add option -isoontriangulation to vaspects command to enable on-triangulation isoline builder for shape.
8) Drawer's maximum UV parameter value is taken into account in isolines calculation correctly.
9) Add option -setMaxParamValue to vaspects command to change drawer's maximum UV parameter value.

4 years ago0026411: Necessary to improve XCAF to store and querying GD&T data.
ink [Thu, 9 Jul 2015 09:01:55 +0000]
0026411: Necessary to improve XCAF to store and querying GD&T data.

4 years ago0026553: Out of range exception in BRepFill_Pipe::FindEdge
dbv [Thu, 20 Aug 2015 13:42:50 +0000]
0026553: Out of range exception in BRepFill_Pipe::FindEdge

Test case for issue CR26553
Warning fix

4 years ago0026144: Missing operators in gp_GTrsf
vsr [Thu, 13 Aug 2015 13:16:31 +0000]
0026144: Missing operators in gp_GTrsf

4 years ago0026554: Error in IntPatch_PrmPrmIntersection: initial step for walking line is not...
jgv [Thu, 20 Aug 2015 13:38:43 +0000]
0026554: Error in IntPatch_PrmPrmIntersection: initial step for walking line is not related with actual tolerance

Test case for issue CR26554
Small corrections for issue CR26554

4 years ago0026421: Visualization - Incorrect text rendering in raytracing mode
dbp [Thu, 13 Aug 2015 08:31:31 +0000]
0026421: Visualization - Incorrect text rendering in raytracing mode

4 years ago0026529: CMake offers rebuilding of platform dependent code unclear for an user
ibs [Thu, 20 Aug 2015 13:24:50 +0000]
0026529: CMake offers rebuilding of platform dependent code unclear for an user

Fix for building with GCC and CLang

CMake variable descriptions updated
"Building with CMake" article updated

BuildToolkit.cmake cleaned up and renamed
"TestCases" project and all relating variables removed; custom script added for building environment
DrawAppliInit is copied from occt root to CMake binary dir if the file exists

rebuild platform dependent code by cmake cleaned up
Flex & Bison compiler flags added

RelWithDebInfo OCCT libraries are moved to libi folder; the binary is moved to bini one

CMAKE_BUILD_TYPE is set as Release by-default for a single-configuration generator

env.bat in installation folder has default value of CASDEB that equals to the build type of the last installed OCCT libraries

"building with CMake" article updated

4 years ago0024816: Tool for upgrading OCCT and dependent code
abv [Wed, 19 Aug 2015 15:51:52 +0000]
0024816: Tool for upgrading OCCT and dependent code

A new script adm/upgrade.tcl defines a Tcl procedure occt_upgrade, to be used for upgrading code of OCCT and applications for changes introduced by OCCT 7.0.
Batch script upgrade.bat is provided for convenience.
File upgrade.dat contains data (lists of classes) required for some upgrade steps.
Details on upgrade procedure are put in dox/dev_guides/upgrade/upgrade.md.

OCCT code corrected to improve compatibility with code based on previous versions of OCCT:
- Added conversion operator of handle to bool, for use in conditional expressions.
- Forward declaration of argument class restored in macro DEFINE_STANDARD_HANDLE.
- Includes of used classes added in some headers to avoid problem of missing includes in dependent code
- Type cast operators to base curve and surface added in GC and GCE2d classes to reduce porting issues.

Added test for local reference to handle initialized by temporary handle to derived class.

WOK and CDL User Guides removed.

4 years ago0026546: Configuration, genproj.tcl - add support for VS2015 in project file generator
kgv [Thu, 13 Aug 2015 04:23:54 +0000]
0026546: Configuration, genproj.tcl - add support for VS2015 in project file generator

Use vc10 templates for vc10, vc11, vc12, vc14.

4 years ago0026403: Add missing Standard_EXPORT keyword in SelectMgr headers
isk [Mon, 17 Aug 2015 07:53:57 +0000]
0026403: Add missing Standard_EXPORT keyword in SelectMgr headers

4 years ago0026547: Configuration - fix compilation errors on VS2015
kgv [Thu, 13 Aug 2015 10:10:49 +0000]
0026547: Configuration - fix compilation errors on VS2015

Interface_STAT.cxx - rename local variable 'stat' to 'myStat' to avoid name collision.
OSD_FileNode.cxx - pass correct argument to va_start().
STEPConstruct_AP203Context::DefaultDateAndTime() - use _get_timezone() instead of global variable timezone on msvc.
Graphic3d_ArrayOfPrimitives::VertexColor() - fix reinterpret_cast() argument.

Small correction: OCC26481-linesarc.brep is equal to bug26296_linesarc.brep

4 years ago0026537: It is not possible to generate reference documentation in new structure...
ibs [Thu, 13 Aug 2015 08:19:10 +0000]
0026537: It is not possible to generate reference documentation in new structure of OCCT

the path to search required headers changed from <occt>/inc to <occt>/src/<each package>

Fix for OCCT products reference documentation

4 years ago0026543: genproj script parses CSF_VTK incorrectly
ibs [Tue, 11 Aug 2015 07:36:08 +0000]
0026543: genproj script parses CSF_VTK incorrectly

the name of associative array at osutils:csfList method fixed

4 years ago0026540: Errors in BRepOffsetAPI_MakeOffset: infinite loop in method FixHoles for...
jgv [Thu, 13 Aug 2015 08:15:22 +0000]
0026540: Errors in BRepOffsetAPI_MakeOffset: infinite loop in method FixHoles for closed results.

Test case for issue CR26540

4 years ago0026508: Add the possibility to get label from XCAFPrs_AISObject.
stv [Fri, 31 Jul 2015 09:59:48 +0000]
0026508: Add the possibility to get label from XCAFPrs_AISObject.

4 years ago0026500: Add the possibility to save only part of shapes from XCAF document in IGES...
stv [Thu, 13 Aug 2015 08:11:07 +0000]
0026500: Add the possibility to save only part of shapes from XCAF document in IGES/STEP writers

Added public methods for specified labels (shapes) transfer in IGES/STEP writers.

4 years ago0026489: The class ShapeUpgrade_UnifySameDomain provides the results that are wrong...
isn [Thu, 13 Aug 2015 08:06:08 +0000]
0026489: The class ShapeUpgrade_UnifySameDomain provides the results that are wrong or difficult to explain.

gcc warnings

Test cases for issue CR26489

4 years ago0021564: Intersection of two planar faces produces curve with too many poles
aml [Thu, 13 Aug 2015 08:04:03 +0000]
0021564: Intersection of two planar faces produces curve with too many poles

I ComputePurgedWLine() function:
Excess points in walking line are deleted when:
1) Distance between neighboring points too small.
2) Points lie in one pipe without big jump on chord length.

III
Fixed problem with extremaPC with too close knot distribution to [minParam, maxParam] borders.

IV ApproxInt_Approx.gxx
New division criteria in intersection approximator.

III Test case
Test cases update to the new behavior.
Test case for CR21564

Correction of test cases for issue CR21564

4 years ago0025785: Visualization - introduce AIS_ColorScale presentation for Color Scale
isz [Tue, 4 Aug 2015 10:00:49 +0000]
0025785: Visualization - introduce AIS_ColorScale presentation for Color Scale

Color scale is implemented on AIS. Draw command vcolorscale now works with AIS_ColorScale.
In a qt sample VoxelDemo there was added a field AIS_ColorScale myColorsScale to control a color scale. Method displayColorScale and other methods were changed in order to work with this field.

4 years ago0026490: Visualization - implement draw commands 'voverlaytext' and 'vlayerline'...
isz [Thu, 6 Aug 2015 10:07:43 +0000]
0026490: Visualization - implement draw commands 'voverlaytext' and 'vlayerline' using AIS_InteractiveObject class

Command 'voverlaytext' was removed, its functionality was transfered to command 'vdrawtext'. Corresponding test cases were updated.
Command 'vlayerline' was implemented on AIS.

4 years ago0026460: Implicit cast to TopoDS_Shape compilation error due to ambiguous conversion
cshorler [Thu, 13 Aug 2015 07:52:52 +0000]
0026460: Implicit cast to TopoDS_Shape compilation error due to ambiguous conversion

- make operator TopoDS_Shape() cast a "non-const" member function
- make operator TopoDS_*() cast "non-const" when mutating behaviour is possible
- align derived class methods and overrides with the above changes

fix compilation for CR26460
- make argument for IsWRCase2 (non-const) BRepAlgoAPI_BooleanOperation&

4 years agoCompilation of VoxelDemo is fixed
vpa [Fri, 7 Aug 2015 12:45:52 +0000]
Compilation of VoxelDemo is fixed

4 years agoAdd directories build and install to ignore list.
msv [Fri, 31 Jul 2015 12:24:44 +0000]
Add directories build and install to ignore list.

4 years agoAdjusting testing case
mkv [Fri, 7 Aug 2015 08:06:21 +0000]
Adjusting testing case

4 years agoSign added and some formatting changes
ysn [Thu, 6 Aug 2015 13:20:50 +0000]
Sign added and some formatting changes

4 years ago0026493: BRepProj_Projection failed to project a wire on a shell
aml [Thu, 6 Aug 2015 10:23:45 +0000]
0026493: BRepProj_Projection failed to project a wire on a shell

Cylindrical projection moved from old boolean operations to the new BOP.

Test case for issue CR26493

4 years ago0026243: Boolean operations failed on shapes with fillets
pkv [Thu, 6 Aug 2015 09:27:34 +0000]
0026243: Boolean operations failed on shapes with fillets

Detected bugs have been fixed.

Test case for issue CR26243

4 years ago0026442: Access violation in BRepOffset_MakeOffset
mkv [Tue, 4 Aug 2015 13:49:10 +0000]
0026442: Access violation in BRepOffset_MakeOffset

Test cases for issue CR26442

4 years ago0024522: Application crashes on view closing in case of using of clipping planes
apv [Wed, 5 Aug 2015 08:37:55 +0000]
0024522: Application crashes on view closing in case of using of clipping planes
Test-case for issue #24522

4 years ago0026506: Change class BRepLib_CheckCurveOnSurface
nbv [Thu, 6 Aug 2015 09:13:41 +0000]
0026506: Change class BRepLib_CheckCurveOnSurface

1. Inline methods have been moved to hxx-file.
2. Geometric part of BRepLib_CheckCurveOnSurface has been moved to GeomLib_CheckCurveOnSurface.

Move try/catch treatment to low level (from BRepLib_CheckCurveOnSurface to GeomLib_CheckCurveOnSurface).

4 years ago0026249: Visualization, TKV3d - fix possible division by zero in SelectMgr_Rectangula...
vpa [Mon, 3 Aug 2015 15:41:56 +0000]
0026249: Visualization, TKV3d - fix possible division by zero in SelectMgr_RectangularFrustum

Added zero-length check for triangle normal in SelectMgr_RectangularFrustum::Overlaps

4 years ago0026272: Visualization - provide a possibility to activate selection modes without...
vpa [Fri, 31 Jul 2015 11:38:19 +0000]
0026272: Visualization - provide a possibility to activate selection modes without opening local context

- picked or selected objects are now highlighted via owners instead of interactive objects;
- support methods for owners were added to AIS_InteractiveContext;
- dynamically highlighted owners are now displayed in immediate mode;
- selection without opening of local context is enabled by default;
- added "-local" key to vselmode command to enable selection in local context;
- selection filters are now completely supported in AIS_InteractiveContext;
- the idea of differencing of selected items onto current (in interactive context) and selected (local selection) was eliminated;
- all calls to "current" were replaced by calls to "selected" in terms of future local context removal;
- AIS_InteractiveObject::mySelectionMode was removed;
- now each selectable object can define own selection mode for "global" selection of the whole object;
- whole object selection mode is 0 by default for all standard interactive objects;
- immediate structures are now added to topmost and top layer lists;
- added support of drawing immediate structures in different layers;
- unused code for immediate mode was removed;
- vfeedback and vexport commands now produce correct output for raytrace mode.

4 years ago0026477: Porting PRODUCTS and OCCT QT samples for OCCT 7.0.0
apn [Fri, 24 Jul 2015 09:44:18 +0000]
0026477: Porting PRODUCTS and OCCT QT samples for OCCT 7.0.0

Modified OCCT QT sample VoxelDemo

4 years ago0026447: Performance degradation intersecting cylindrical surfaces
apn [Thu, 30 Jul 2015 10:08:26 +0000]
0026447: Performance degradation intersecting cylindrical surfaces

Added test case bugs/modalg_6/bug26447

4 years ago0026485: Problem with the normals of a triangulated shape
oan [Thu, 30 Jul 2015 09:52:44 +0000]
0026485: Problem with the normals of a triangulated shape

Use gp::Resolution() instead of Precision::SquareConfustion() in order to normalize normal vectors according to implementation of gp_Vec::Normalize().

Test case

Test-case for issue #26485

4 years ago0026437: Visualization - Improve path tracing rendering engine
dbp [Thu, 30 Jul 2015 09:49:43 +0000]
0026437: Visualization - Improve path tracing rendering engine

Fix compile warnings.

4 years ago0026496: Error in use the BRepCheck_Analyzer
apv [Wed, 29 Jul 2015 13:38:31 +0000]
0026496: Error in use the BRepCheck_Analyzer
Test-case for issue #26496

4 years ago0026385: Fix to prevent BRepMesh from possible crash due to pointer to local variable...
abelcsik [Thu, 2 Jul 2015 14:30:57 +0000]
0026385: Fix to prevent BRepMesh from possible crash due to pointer to local variable stored inside Extrema_LocateExtPC

Made the BRepAdaptor_Curve a member of BRepMesh_EdgeParameterProvider to ensure that it is created before and destroyed after the Extrema_LocateExtPC that uses it.

4 years ago026464: BRepOffset_MakeOffset does not provide valid output
aml [Wed, 29 Jul 2015 13:14:09 +0000]
026464: BRepOffset_MakeOffset does not provide valid output

Handling of degenerated case improved.

Test-case for issue #26464

4 years ago0026481: Incorrect result of BRepOffsetAPI_MakeOffset: excess hanging arcs in the...
jgv [Wed, 29 Jul 2015 13:10:53 +0000]
0026481: Incorrect result of BRepOffsetAPI_MakeOffset: excess hanging arcs in the open result with join type GeomAbs_Arc

Test-case for issue #26481

4 years ago0026483: Option Run Parallel is not used by the command bopargcheck
pkv [Mon, 27 Jul 2015 07:06:15 +0000]
0026483: Option Run Parallel is not used by the command bopargcheck

I. New features:
No new features

II. Changes:
II.1 class BOPTest
-static function:
Standard_Integer bopargcheck (Draw_Interpretor& di,
                              Standard_Integer n,
                              const char** a )
The option has been retrieved and passed to the checker algorithm.

III. Modified entities:
packages:
BOPTest

4 years ago0026484: BRepExtrema_DistShapeShape hangs
nbv [Wed, 29 Jul 2015 12:38:41 +0000]
0026484: BRepExtrema_DistShapeShape hangs

Check in math_GlobOptMin::computeGlobalExtremum(...) method if the parameter went out of boundary(-ies).

Added test case bugs/modalg_6/bug26484

4 years ago0026473: Offset API fails to create offset shape
aml [Wed, 29 Jul 2015 12:33:30 +0000]
0026473: Offset API fails to create offset shape

Tolerance of map building changed.
Added possibility to work 0.0 offset value.

Added test cases bugs/modalg_6/bug26473_1 bug26473_2

4 years ago0026420: BOPAlgo_Builder resets "Closed" flag in the result
emv [Wed, 29 Jul 2015 12:29:42 +0000]
0026420: BOPAlgo_Builder resets "Closed" flag in the result

Set flag Closed to new Wires and Shells created in General Fuse algorithm if necessary.

Test-cases for issue #26420

4 years ago0026444: Boolean operation "bcut" gives invalid result between solid and halfspace...
emv [Wed, 29 Jul 2015 12:24:03 +0000]
0026444: Boolean operation "bcut" gives invalid result between solid and halfspace solid.

class BOPAlgo_PaveFiller
method void BOPAlgo_PaveFiller::PutPaveOnCurve
  (const Standard_Integer nV,
   const Standard_Real aTolR3D,
   BOPDS_Curve& aNC,
   const BOPCol_MapOfInteger& aMI,
   BOPCol_DataMapOfIntegerReal& aMVTol,
   const Standard_Integer iCheckExtend)

Do not put the pave on the curve in case if there is already one with the same parameter.
Update tolerance of the existing vertex to reach the new one.

Added test case bugs/modalg_6/bug26444.
Test boolean/volumemaker/G1 is stable now (deleted TODOs), test offset/faces_type_i/C9 is bad (offset is done with wrong result).

4 years ago0026467: Configuration, genproj.tcl - restore generation of Code::Blocks and XCode...
kgv [Thu, 23 Jul 2015 15:59:20 +0000]
0026467: Configuration, genproj.tcl - restore generation of Code::Blocks and XCode project files

Restore XCode generator.
Add missing dependencies to EXTERNLIB.
genproj.tcl - remove OS:mkdir() - duplicate of wokUtils:FILES:mkdir().
genproj.tcl - use osutils:usedOsLibs() for Code::Blocks.
src/OS - remove unused :LinksoWith() and :CompileWith().

adm/CMPLRS - remove unused CSF_ entities.
Remove config.h related code.
Add executable flag to codeblocks.sh and draw.sh scripts.
Setup ARCH variable using $tcl_platform(pointerSize).
wokdep:SearchLib() - use $tcl_platform(os) instead of $tcl_platform(platform)
for checking Linux-specific library paths.
wokdep:SearchFreeType() - fix misprint in ft2build.h header file name.
wokdep:SaveCustom() - export SHORTCUT_HEADERS to "custom.sh" as well, not only to "custom.bat".

4 years ago0026458: BRepBuilderAPI_Copy does not copy mesh structure
azv [Mon, 20 Jul 2015 11:23:56 +0000]
0026458: BRepBuilderAPI_Copy does not copy mesh structure

* The possibility to copy mesh is implemented. It may be enabled by copyMesh flag, by default it is disabled.
* Poly_Triangulation::Copy() method is added.
* The mesh is copied if and only if copyMesh flag is true.

4 years ago0026469: Methods Seek(), ChangeSeek() are missing in class NCollection_IndexedDataMap
pkv [Wed, 22 Jul 2015 11:11:36 +0000]
0026469: Methods Seek(), ChangeSeek() are missing in class NCollection_IndexedDataMap

I. New features:
1.1. class NCollection_IndexedDataMap
 - method:
 const TheItemType* Seek(const TheKeyType& theKey1) const
 has been added.
 The method Seek returns pointer to Item by Key.
 Returns NULL if Key was not found.

 - method:
 TheItemType* ChangeSeek (const TheKeyType& theKey1)
 has been added.
 The method ChangeSeek returns modifiable pointer to Item by Key.
 Returns NULL if Key was not found.

II. Changes:
 No changes.

III. Modified entities:
 packages:
 NCollection

4 years ago0026492: OpenGl_FrameBuffer does not releases itself correctly
duv [Tue, 28 Jul 2015 13:17:57 +0000]
0026492: OpenGl_FrameBuffer does not releases itself correctly

Logic related to myIsOwnBuffer flag in OpenGl_FrameBuffer was corrected.

4 years ago0026344: Visualization - provide a support of zoom persistent selection
apl [Mon, 20 Jul 2015 08:41:38 +0000]
0026344: Visualization - provide a support of zoom persistent selection

1) New Graphic3d_TransformPers structure for defining parameters and algorithm methods, featuring:
    a) application of transformation to projection and world view matrices;
    b) computation of model-world transformation of persistent object;
    c) computation of transformed bounding box of persistent object.

2) Transform persistence algorithm does not make any changes to model-world transformation of object (deals with projection and world view matrices only), thus making possible to employ local transformation in a usual way.

3) Support of BVH selection for transform persistent objects (pan, rotate, zoom, trihedron persistence only).

4) Support efficient frustum culling for transform persistent objects (pan, rotate, zoom, trihedron persistence only).

5) Support of z-fitting algorithm for world-view space transform persistent objects (rotate, zoom persistence only).

6) Rewrite usage of transform persistence structures and utilities classes:
    a) Replaced Graphic3d_CTransPers, TEL_TRANSFORM_PERSISTENCE by Graphic3d_TransformPers;
    b) Move functions from OpenGl_Utils.hxx to Graphic3d_TransformUtils.hxx;
    c) Extract matrix stack class from OpenGl_Utils.hxx to OpenGl_MatrixStack.hxx;

7) New class Graphic3d_WorldViewProjState to keep track of projection, world view matrices changes for a camera.

8) New test case bugs/vis/bug26344.

9) Renamed method Graphic3d_Camera::ModelViewState of  to ::WorldViewState for consistency.

4 years ago0026361: Visualization - move OpenGl_TextFormatter to Font_TextFormatter
isk [Wed, 29 Jul 2015 10:28:49 +0000]
0026361: Visualization - move OpenGl_TextFormatter to Font_TextFormatter
for usage without OpenGL.
Split OpenGl_TextFormatter into Font_TextFormatter and OpenGl_TextBuilder.
Font_TextFormatter can format a text independetly of OpenGl now.
OpenGl_TextBuilder generates primitive array required for rendering text
using OpenGl_Font instance.

4 years agoCorrected integration for issue 26393
bugmaster [Tue, 28 Jul 2015 17:55:48 +0000]
Corrected integration for issue 26393

4 years ago0026476: Visualization, TKOpenGl - do not enable GL_NORMALIZE in core profile
kgv [Fri, 24 Jul 2015 07:22:07 +0000]
0026476: Visualization, TKOpenGl - do not enable GL_NORMALIZE in core profile

4 years ago0026395: Merge clasees NCollection_CellFilter_NDim and NCollection_CellFilter
aml [Tue, 28 Jul 2015 09:18:04 +0000]
0026395: Merge clasees NCollection_CellFilter_NDim and NCollection_CellFilter

Deleted exceed class CellFilterNDim.
Now dimension count used as input parameter in NCollection_CellFilter.

minor corrections.

4 years ago0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Worksp...
kgv [Fri, 24 Jul 2015 11:05:35 +0000]
0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Workspace::RedrawImmediate()

4 years ago0025775: "Default Gradient Background" in V3d_Viewer has no effect in new created...
apl [Tue, 21 Jul 2015 18:29:09 +0000]
0025775: "Default Gradient Background" in V3d_Viewer has no effect in new created V3d_View.

4 years ago0026430: Visualization - segmentation fault in opened local context
vpa [Tue, 21 Jul 2015 14:04:42 +0000]
0026430: Visualization - segmentation fault in opened local context

- check for empty dataset in Select3D_SensitiveSet was added;
- test case for issue #26430

4 years ago0026401: Visualization - small boxes in front of big one disappear in perspective...
apl [Mon, 20 Jul 2015 17:26:05 +0000]
0026401: Visualization - small boxes in front of big one disappear in perspective view

4 years ago0026413: Visualization, SelectMgr_ViewerSelector - Pixel tolerance is overridden...
vpa [Mon, 20 Jul 2015 08:46:12 +0000]
0026413: Visualization, SelectMgr_ViewerSelector - Pixel tolerance is overridden by selection sensitivity

- now custom pixel tolerance from vselprecision is added to default sensitivity of the primitive;
- unnecessary field mytolerance was removed from SelectMgr_ViewerSelector;
- test case for issue #26413.

4 years ago0026323: Tolerance computing unification
nbv [Thu, 23 Jul 2015 13:43:37 +0000]
0026323: Tolerance computing unification

Computing is unified. ComputeFastTol3d() method was deleted.

If intersection result contains 3D- and corresponded two 2D-curves then tolerance will be computed with using BRepLib_CheckCurveOnSurface algorithm (check same-parameter).

If intersection result contains only 3D-curve (getting 2D-curve can be switched off by users) then tolerance will be computed with using GeomAPI_ProjectPointOnSurf algorithm (projects some point of 3D-curve on the surface and finds maximal distance).

Some workarounds have been deleted.

Some test case have been changed.

4 years ago0026019: Unstable behavior of test cases with operation mkvolume
emv [Wed, 15 Jul 2015 10:09:36 +0000]
0026019: Unstable behavior of test cases with operation mkvolume

The maps have been replaced with indexed maps to provide stability
of the algorithms based on the General Fuse algorithm.

4 years ago0026466: UnifySameDomain creates invalid result shape from valid input shape
isn [Tue, 28 Jul 2015 09:45:45 +0000]
0026466: UnifySameDomain creates invalid result shape from valid input shape

Test-case for issue #26466

4 years ago0026393: Add draw commands to evaluate history of modifications of BOP
emv [Tue, 28 Jul 2015 08:44:27 +0000]
0026393: Add draw commands to evaluate history of modifications of BOP

DRAW commands bmodified, bisdeleted, bgenerated have been implemented to track
the history of shapes modifications in Boolean and General Fuse operations.

Test-case for issue #26393

4 years ago0026392: Visualization, TKD3DHost - provide straight-forward base for integration...
kgv [Mon, 20 Jul 2015 08:08:12 +0000]
0026392: Visualization, TKD3DHost - provide straight-forward base for integration of TKOpenGl viewer into D3D-based application

D3DHost_GraphicDriver - new graphic driver providing D3D host for OpenGL workspace.
WNT_Window - handle virtual dimensions within virtual window.
OpenGl_FrameBuffer::Init() - add protection against 0 dimensions.
V3d_View::IsInvalidated() - add method to check view cache validation state.

ViewerTest::ViewerInit() - create virtual window without decorations on Windows.

4 years agoAdjusting test cases at new structure of OCCT
apv [Thu, 23 Jul 2015 08:46:13 +0000]
Adjusting test cases at new structure of OCCT

4 years ago0026468: Out of range exception on current master
aml [Wed, 22 Jul 2015 13:13:46 +0000]
0026468: Out of range exception on current master

Problem with different ranges fixed.

test cases update.

4 years ago0026310: Very slow boolean cut operations on cylinders
nbv [Wed, 22 Jul 2015 13:10:27 +0000]
0026310: Very slow boolean cut operations on cylinders

1. JoinWLines algorithm has been improved.
2. Reference to the V-boundaries is deleted when computing step.
3. Decreasing the tolerance when computing parameters of WLine.
4. Adding boundary point is forbidden if it lies in prolongation of found ones.
5. Possible reason of exception has been eliminated.
6. Processing of critical point has been improved.

Test cases for this issue have been created.
Correction of some test case(s).

Test case bugs/modalg_6/bug26310_4 is added

Update of test-cases for issue #26310

4 years ago0026454: Visualization, TKOpenGl - do not require deprecated function of GL_ARB_verte...
kgv [Fri, 17 Jul 2015 08:17:45 +0000]
0026454: Visualization, TKOpenGl - do not require deprecated function of GL_ARB_vertex_type_2_10_10_10_rev in core profile

4 years ago0026446: GeomConvert::ConcatC1 produces not expected curve
aml [Thu, 16 Jul 2015 09:10:38 +0000]
0026446: GeomConvert::ConcatC1 produces not expected curve

Concatenation fixed.

4 years ago0026435: Visualization - V3d_View::ConvertToGrid returns wrong coordinates for non...
apl [Tue, 14 Jul 2015 17:21:24 +0000]
0026435: Visualization - V3d_View::ConvertToGrid returns wrong coordinates for non-orthogonal projection

4 years ago0026418: Unjustified limitation on tolerance of a input shape in BRepOffset_MakeOffset
aml [Tue, 21 Jul 2015 08:19:14 +0000]
0026418: Unjustified limitation on tolerance of a input shape in BRepOffset_MakeOffset

Performance improvements and regression elimination.
Handling of degenerated case added.

Update of test-case offset faces_type_a A2 according to the new behavior
Test-case for issue #26418

4 years ago0026364: Foundation Classes, TKMath - Optimize BVH binned algorithm
dbp [Tue, 23 Jun 2015 09:34:06 +0000]
0026364: Foundation Classes, TKMath - Optimize BVH binned algorithm

4 years ago0026292: Visualization - Parallelize queue-based BVH builders (subclasses of BVH_Queu...
dbp [Fri, 17 Jul 2015 11:29:50 +0000]
0026292: Visualization - Parallelize queue-based BVH builders (subclasses of BVH_QueueBuilder)

4 years ago0026408: Exception during fixshape procedure.
gka [Tue, 21 Jul 2015 07:35:52 +0000]
0026408: Exception during fixshape procedure.

Attached invalid shape is represented by solid containing one face twice.
Protection from such case was added in ShapeFix_Shell class.
Creation of COMPSOLID was modified for case when shells composing COMPSOLID have the same shared faces in order to prevent hanging.
Small modification.Protection to avoid exception
Test-case for issue #26408

4 years ago0026424: Visualization, TKOpenGl - fix text rendering in core profile
kgv [Mon, 20 Jul 2015 17:58:55 +0000]
0026424: Visualization, TKOpenGl - fix text rendering in core profile

OpenGl_Context::init() - fix condition on initializing alien OpenGL context within core profile.
OpenGl_Font::renderGlyph() - use GL_RED data format in core profile.
OpenGl_Text::render() - do not use GL_ALPHA_TEST in core profile.

Test-case for issue #26424

4 years ago0026351: Wrong result found by the projection algorithm
aml [Wed, 24 Jun 2015 12:44:28 +0000]
0026351: Wrong result found by the projection algorithm

C2 continuity intervals changed to Knots intervals in case of Bspline curve.
Fixed incorrect extremaPC usage.

Test case for issue CR26351
Update of test-cases according to the new behavior

4 years ago0026423: Complete documentation of CPnts_AbscissaPoint Adv/Perform methods
BenjaminBihler [Mon, 20 Jul 2015 15:21:58 +0000]
0026423: Complete documentation of CPnts_AbscissaPoint Adv/Perform methods