occt.git
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.

9 years ago0025093: Visualization - deletion of SelectMgr_SelectableObject does not invalidate...
isz [Thu, 18 Sep 2014 10:43:12 +0000 (14:43 +0400)]
0025093: Visualization - deletion of SelectMgr_SelectableObject does not invalidate owners

-Unstaged useless changes from CR0025093
-Now handles to Entity_owner are nullified in SelectMgr_Selection destructor

-Code formatting

9 years ago0024117: Enhance documentation of BRepMesh_IncrementalMesh
azn [Thu, 18 Sep 2014 10:33:05 +0000 (14:33 +0400)]
0024117: Enhance documentation of BRepMesh_IncrementalMesh

Updating BRepMesh users guide.

0024117: Enhance documentation of BRepMesh_IncrementalMesh

Updating BRepMesh users guide.

Correct mistake in parameter naming.

9 years ago0025236: Sample DRAW script to demonstrate XDE features
abv [Fri, 12 Sep 2014 07:07:56 +0000 (11:07 +0400)]
0025236: Sample DRAW script to demonstrate XDE features

New sample added for XDE; test cases added for this and some other samples; description of Tcl samples in Overview updated

9 years ago0025204: Visualization, PrsMgr_PresentationManager::Presentation() - do not return...
kgv [Wed, 10 Sep 2014 04:57:30 +0000 (08:57 +0400)]
0025204: Visualization, PrsMgr_PresentationManager::Presentation() - do not return last presentation when requested one is not found

9 years ago0025223: Wrong result done by projection algorithm
emv [Thu, 18 Sep 2014 10:26:14 +0000 (14:26 +0400)]
0025223: Wrong result done by projection algorithm

class ProjLib_ComputeApprox
method
 ProjLib_ComputeApprox::ProjLib_ComputeApprox
   (const Handle(Adaptor3d_HCurve)   & C,
    const Handle(Adaptor3d_HSurface) & S,
    const Standard_Real              Tol )

Using Precision::PConfusion() as a 2d tolerance when shifting the projected curve.

Test case for issue CR25223

9 years agoFix WOK extraction when environment variable HAVE_VTK is not defined
abv [Fri, 12 Sep 2014 16:08:45 +0000 (20:08 +0400)]
Fix WOK extraction when environment variable HAVE_VTK is not defined

9 years agoUpdate of service files
aba [Fri, 12 Sep 2014 13:37:23 +0000 (17:37 +0400)]
Update of service files

9 years ago0025224: The section curve between two cylindrical faces is incomplete
nbv [Thu, 11 Sep 2014 12:41:07 +0000 (16:41 +0400)]
0025224: The section curve between two cylindrical faces is incomplete

Algorithm of seeking point on boundaries is amended.

Test case for issue CR25224

9 years ago0025014: ShapeAnalysis_WireOrder produces Standard_RangeError on empty wire (debug...
nbv [Thu, 11 Sep 2014 12:37:22 +0000 (16:37 +0400)]
0025014: ShapeAnalysis_WireOrder produces Standard_RangeError on empty wire (debug mode only)

The reason of exception is liquidated.

Test case for issue CR25014

Clean obsolete commented out code

9 years agoRemoving TODOs because test case is OK on all platforms
bugmaster [Thu, 11 Sep 2014 11:19:54 +0000 (15:19 +0400)]
Removing TODOs because test case is OK on all platforms

9 years ago0022877: Implementation of DRAW commands for non-regression testing:
aba [Thu, 11 Sep 2014 09:37:09 +0000 (13:37 +0400)]
0022877: Implementation of DRAW commands for non-regression testing:

- TKIVtkDraw toolkit provides IVtk packages functionality in DRAW.

- it allows to create VTK interactive view in regular or virtual mode (virtual windows),
  display OCC objects and dump them.

- TKIVtkDraw provides also test commands: ivtlinit, ivtkdisplay, ivtkerase, ivtksetdispmode,
   ivtksetselmode, ivtkmoveto, ivtkselect, ivtkfit, ivtkdump, ivtkbgcolor.

Corrected offscreen rendering mode.

Moved vinit command from /v3d/begin script to avoid unused occ view in ivtk tests.

9 years ago0024904: Visualization - Integration of VIS component:
aba [Thu, 11 Sep 2014 09:34:30 +0000 (13:34 +0400)]
0024904: Visualization -  Integration of VIS component:

Added new toolkit TKIVtk:
- TKIVtk toolkit includes IVtkVTK, IVtkTools, IVtkOCC, IVtk packages.
- TKIVtk provides OCC interface for VTK library functionality: it allows to use VTK window and event managment for OCC objects (shapes)

Porting on VTK 6:
- shape source inherits vtkPolyDataAlgorithm now (vtkPolyDataSource was removed form VTK as deprecated functionality).
- added factory auto-initialization in IVtkVTK_View
- remove using of deprecated methods of pipeline mechanism.

Get rid from warning in SelectMgr_SelectableObject. Removed firendship from  SelectMgr_SelectableObject.

Corrected projector parameters for selection algorithm.

Removed unneeded picking algorithm modification.

9 years ago0025226: Reference Manual -- list of classes in package is polluted
abv [Mon, 8 Sep 2014 14:17:50 +0000 (18:17 +0400)]
0025226: Reference Manual -- list of classes in package is polluted

Documentation generator corrected to avoid adding irrelevant classes to the package list.

9 years ago0025190: Visualization - class OpenGl_StructureShadow is defined as local in OpenGl_S...
isz [Thu, 11 Sep 2014 08:36:28 +0000 (12:36 +0400)]
0025190: Visualization - class OpenGl_StructureShadow is defined as local in OpenGl_Structure.cxx

Created OpenGl_StructureShadow.hxx and OpenGl_StructureShadow.cxx

Edited OpenGl/FILES

9 years ago0024886: BRepOffsetAPI_NormalProjection failure
ifv [Thu, 11 Sep 2014 08:33:38 +0000 (12:33 +0400)]
0024886: BRepOffsetAPI_NormalProjection failure

Test case for issue CR24886

9 years agoCorrection for compilation of OCCT on MacOS
bugmaster [Wed, 10 Sep 2014 11:06:56 +0000 (15:06 +0400)]
Correction for compilation of OCCT on MacOS

9 years agoAdjusting testing cases for Debug mode
mkv [Fri, 5 Sep 2014 10:02:28 +0000 (14:02 +0400)]
Adjusting testing cases for Debug mode

9 years ago0020716: Eliminate usage of "config.h" header file
apn [Fri, 5 Sep 2014 06:39:31 +0000 (10:39 +0400)]
0020716: Eliminate usage of "config.h" header file

All inclusions of "config.h" were removed.

All places where macros defined by config.h were checked and removed

Small corrections for mac os.

Unused code in file OSD_Disk.cxx was removed.

Unused macros and includes were removed from samples and code.

Added necessary includes for MacOS.

Correct new additional compilation warning on Linux platform.

Fix for error in OSD_Chronometer on Debian70/Fedora18

9 years ago0025181: Incrementation of OCCT version up to 6.8.0.dev
dbv [Thu, 4 Sep 2014 11:23:57 +0000 (15:23 +0400)]
0025181: Incrementation of OCCT version up to 6.8.0.dev

9 years ago0025210: Wrong result of conical projection (BRepProj_Projection algorithm)
jgv [Thu, 4 Sep 2014 10:27:46 +0000 (14:27 +0400)]
0025210: Wrong result of conical projection (BRepProj_Projection algorithm)

Test case for issue CR25210

9 years ago0025179: BRepMesh cannot build a mesh on specific geometry
oan [Thu, 4 Sep 2014 10:21:41 +0000 (14:21 +0400)]
0025179: BRepMesh cannot build a mesh on specific geometry

Check for zero division in GCPnts_TangentialDeflection

Check that mid point does not coincide with end points

Test case for issue CR25179

9 years ago0025068: ShapeAnalysis_FreeBounds::ConnectEdgesToWires returns wires with not valid...
ifv [Thu, 4 Sep 2014 10:07:04 +0000 (14:07 +0400)]
0025068: ShapeAnalysis_FreeBounds::ConnectEdgesToWires returns wires with not valid Closed flag

Test case for issue CR25068

9 years ago0025199: Bad tolerance edge generated by blend algorithm
aml [Thu, 4 Sep 2014 09:59:05 +0000 (13:59 +0400)]
0025199: Bad tolerance edge generated by blend algorithm

Fixed incorrect surface borders computing.

Test cases for issue CR25199

9 years ago0025192: Unification of LineConstructor algorithms used by GeomInt_IntSS and BOP
jgv [Thu, 4 Sep 2014 09:49:45 +0000 (13:49 +0400)]
0025192: Unification of LineConstructor algorithms used by GeomInt_IntSS and BOP

Small correction.

Correction of test case bug/modalg_5/bug24472

9 years ago0025182: Standard_OVERRIDE - add alias for C++11 "override" specifier
kgv [Thu, 28 Aug 2014 10:05:21 +0000 (14:05 +0400)]
0025182: Standard_OVERRIDE - add alias for C++11 "override" specifier

9 years agoCorrection of compilation warnings on Windows platform
mkv [Mon, 1 Sep 2014 16:04:06 +0000 (20:04 +0400)]
Correction of compilation warnings on Windows platform

9 years ago0024837: Visualization - revise design and implementation of connected Interactive...
duv [Thu, 28 Aug 2014 12:38:28 +0000 (16:38 +0400)]
0024837: Visualization - revise design and implementation of connected Interactive Objects
0023422: Selection problems when using SetLocation.
0024756: AIS_ConnectedInteractive does not support nested AIS_ConnectedInteractive
0025103: Visualization - Regression in interactive detection

Each PrsMgr_PresentableObject has list of PrsMgr _PresentableObject called myChildren.
Transformation PrsMgr_PresentableObject applied to its children every time when its own transformation affected. This hierarchy does not propagate to Graphic3d level and below.

PrsMgr_PresentableObject send its combined (according to hierarchy) transform down to Graphic3d_Structure.

AIS_ConnectedInteractive and AIS_MultiplyConnectedInteractive are reused but behavior has been changed.

AIS_ConnectedInteractive now is an instance of object. It reuses geometry of connected object but have own transformation, material, visibility flag etc. This connection propagated down to OpenGl level to OpenGl_Structure. For this task old “connected” mechanism has been reused.

AIS_MultiplyConnectedInteractive represents assembly which doesn’t have its own presentation. Assemblies are able to participate is scene hierarchy and intended to handle a grouped set of instanced objects. It behaves as single object in terms of selection. It applies high level transform to all sub-elements since it located above in the hierarchy.

All AIS_MultiplyConnectedInteractive are able to have child assemblies. Deep copy of object instances performed when one assembly attached to another.

Correction test cases for CR24837

Test cases for issue CR23422

Test cases for issue CR24756

Test cases for issue CR25103

Viewer3d sample fixed.

9 years ago0024977: There are compilation errors in products csharp sample
abv [Tue, 26 Aug 2014 05:58:40 +0000 (09:58 +0400)]
0024977: There are compilation errors in products csharp sample

Minor corrections in OCCT code and docs

9 years ago0025133: TKOpenGl - Crash on closing a view containing presentations with capping
san [Thu, 28 Aug 2014 07:55:06 +0000 (11:55 +0400)]
0025133: TKOpenGl - Crash on closing a view containing presentations with capping

OpenGl_Element destruction and resource deallocation methods now accept
a pointer to OpenGl_Context instead of a handle to avoid double deletion
of the context.

9 years ago0025132: Visualization - treat any TopoDS_Solid as closed volume
san [Thu, 28 Aug 2014 10:52:48 +0000 (14:52 +0400)]
0025132: Visualization - treat any TopoDS_Solid as closed volume

Advanced mechanism implemented:
- BRep_Tool::IsClosed() method is used to detect non-manifold solids and open shells
- Non-manifold solids are split into closed and open shells

Adding message in test case

9 years ago0023948: Wrong intersection between a surface of revolution and a plane.
mkv [Thu, 28 Aug 2014 10:50:35 +0000 (14:50 +0400)]
0023948: Wrong intersection between a surface of revolution and a plane.

Adding testing cases

9 years ago0024581: BuildSweep fails to trim components of resulting shape at spine knuckles...
apv [Mon, 25 Aug 2014 13:21:43 +0000 (17:21 +0400)]
0024581: BuildSweep fails to trim components of resulting shape at spine knuckles when parameter -C is used
Test-case for issue #24581

9 years agoAdding test cases for issue 25167, 25168, 25169
bugmaster [Fri, 22 Aug 2014 10:15:41 +0000 (14:15 +0400)]
Adding test cases for issue 25167, 25168, 25169

9 years ago0024915: Wrong intersection curves between two cylinders
nbv [Fri, 15 Aug 2014 10:35:04 +0000 (14:35 +0400)]
0024915: Wrong intersection curves between two cylinders

Existing method of Cylinder-Cylinder intersection computing is based on finding the analytic line (as a function of one argument) and converting one into the walking-line with set of equidistant (along the line parameter) points.

The main advantage of applied method is using adaptively computed step. Necessary step is computed into every point of the obtained walking-line. At that we receive final walking-line directly (without preliminary analytic line) and we determine moments more precisely, when it should be split (see IntPatch_ImpImpIntersection_4.gxx).

The main disadvantages is bad working this method for non-trimmed cylinders (with infinite bounds), because step value is depend on the boundaries values.

More over, new method always returns walking-line, while intersection result can be an analytic curve (lines, circle, ellipse). That is NO good. Therefore, analytic curve is computed by existing method.

In conclusion, in spite of covering almost all more often meeting cases, new method has limited application. Then we should use the existing old method.

Additionally, method MinMax() is added (see Standard_Real.hxx file). It uses into new algorithm.

Some test cases is changed according to their new behavior.

Test case for issue CR24915 is added.

Into GeometryTest_APICommands.cxx only tabulations were chaged.

"Extending" of isolines (see Geom2dHatch_Hatcher.cxx).

Small correction of test case for issue CR24915.

9 years ago0022680: Empty result after STEP import
martinsiggel [Thu, 21 Aug 2014 10:37:04 +0000 (14:37 +0400)]
0022680: Empty result after STEP import

Fixed identical knots not correctly handled in STEP import

Test cases for issue CR22680

Correction test cases for CR22680

9 years ago0025169: STEP Reader - allow opened shells to be an outer for ManifoldSolidBrep
drazmyslovich [Tue, 19 Aug 2014 13:31:06 +0000 (15:31 +0200)]
0025169: STEP Reader - allow opened shells to be an outer for ManifoldSolidBrep

Allow opened shells to be an outer for ManifoldSolidBrep

9 years ago0025167: STEP Reader - allow NextAssemblyUsageOccurance to accept ProductDefinitionSh...
drazmyslovich [Tue, 19 Aug 2014 11:49:37 +0000 (13:49 +0200)]
0025167: STEP Reader - allow NextAssemblyUsageOccurance to accept ProductDefinitionShape as child instead of ProductDefinition

Workaround to allow NextAssemblyUsageOccurance accepting ProductDefinitionShape as child instead of ProductDefinition

9 years ago0025168: STEP Writer - empty AppliedGroupAssignment can cause exception in RWStepAP21...
drazmyslovich [Tue, 19 Aug 2014 12:28:48 +0000 (14:28 +0200)]
0025168: STEP Writer - empty AppliedGroupAssignment can cause exception in RWStepAP214_RWAppliedGroupAssignment class

Function WriteStep is fixed

9 years ago0025166: STEP Reader - allow GEOMETRIC_SET entity to accept non-geometric children
drazmyslovich [Thu, 21 Aug 2014 08:41:24 +0000 (12:41 +0400)]
0025166: STEP Reader - allow GEOMETRIC_SET entity to accept non-geometric children

Allow GEOMETRIC_SET entity to accept GeometricRepresentationItem children

Modification to avoid cyclic dependency between STEPControl and StepToTopoDS packages

Test cases for issue CR25166

9 years ago0025153: Retrieval of arguments of selection crashes the application
vro [Thu, 21 Aug 2014 08:33:57 +0000 (12:33 +0400)]
0025153: Retrieval of arguments of selection crashes the application

A check on NULL is added into TDF_Tool::OutReferences() static methods.

Test cases for issue CR25153

9 years ago0024949: Segmentation Violation during pipe creation
jgv [Thu, 21 Aug 2014 08:28:08 +0000 (12:28 +0400)]
0024949: Segmentation Violation during pipe creation

Test cases for issue 0024949

Correction of test case for issue CR24949

9 years ago0017126: Vizualisation in 3d viewer in Draw hungs up
mkv [Mon, 18 Aug 2014 14:06:42 +0000 (18:06 +0400)]
0017126: Vizualisation in 3d viewer in Draw hungs up

Test cases added

9 years ago0025043: there is no possibility to know what exactly subshape of source shape has...
emv [Thu, 21 Aug 2014 08:17:36 +0000 (12:17 +0400)]
0025043: there is no possibility to know what exactly subshape of source shape has detected problems by BRepAlgoAPI_Check

Since there is a possibility to run the check on self-intersection (BOPAlgo_CheckerSI algorithm) in non-destructive mode (source shape will not be modified)
there is no need to make copies of the arguments of BRepAlgoAPI_Check.

Test case added

9 years ago0025163: Wrong result of common operation for faces.
pkv [Thu, 21 Aug 2014 08:14:53 +0000 (12:14 +0400)]
0025163: Wrong result of common operation for faces.

Changes:
class BOPAlgo_WireSplitter
static function:
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA)
The contents of Domain 2D for the straight line has been changed.

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 treatment of cylindrical surfaces has been changed taking into account
existing values of tolerances of the edges.

Test cases for issue CR25163

9 years ago0025086: Implementation PSO in package math
aml [Mon, 21 Jul 2014 08:52:15 +0000 (12:52 +0400)]
0025086: Implementation PSO in package math

Porting Particle Swarm Optimization (PSO) to math package.

9 years ago0025111: Incomplete section curve between Conical and Toroidal surfaces
jgv [Thu, 21 Aug 2014 08:04:56 +0000 (12:04 +0400)]
0025111: Incomplete section curve between Conical and Toroidal surfaces

Correction of test cases for CR25111

Test cases for issue CR25111

9 years ago0025106: Command "splitshape" does not split attached face by attached edge
jgv [Thu, 21 Aug 2014 07:49:58 +0000 (11:49 +0400)]
0025106: Command "splitshape" does not split attached face by attached edge

Test cases for issue CR25106

9 years ago0025161: Exception in draw trying pload ALL (espesially TOPTEST)
apn [Tue, 19 Aug 2014 06:11:04 +0000 (10:11 +0400)]
0025161: Exception in draw trying pload ALL (espesially TOPTEST)

Deleted following includes in src/SWDRAW/SWDRAW.cxx :
#include <XSAlgo/XSAlgo.hxx>
#include <XSAlgo/XSAlgo_AlgoContainer.hxx>

9 years ago0025158: Visualization, OpenGl_Context - support EGL as alternative to WGL and GLX
kgv [Mon, 18 Aug 2014 04:43:39 +0000 (08:43 +0400)]
0025158: Visualization, OpenGl_Context - support EGL as alternative to WGL and GLX

9 years ago0024610: Visualization, Visual3d_View::MinMaxValues() - skip erased objects while...
san [Thu, 21 Aug 2014 07:43:33 +0000 (11:43 +0400)]
0024610: Visualization, Visual3d_View::MinMaxValues() - skip erased objects while computing bounding box for Fit All operations

"vfit" takes into account erased objects

Visual3d_View::MinMaxValues() corrected to ignore hidden Graphic3d_Structure instances,
unused Graphic3d_StructureManager::MinMaxValues() removed.

Correction of test-case

9 years ago0025099: Visualization - Option to show vertices of a shape
san [Thu, 21 Aug 2014 07:29:57 +0000 (11:29 +0400)]
0025099: Visualization - Option to show vertices of a shape

Option to display all vertices of a shape by AIS_Shape implemented
in addition to the old behavior (when only isolated vertices were drawn).

Eliminate new compiler warning

9 years ago0024444: Compilation issues on some not fully POSIX compliant Unix systems
apl [Thu, 14 Aug 2014 09:42:50 +0000 (13:42 +0400)]
0024444: Compilation issues on some not fully POSIX compliant Unix systems

- Standard package.
- OSD package.
- Aspect package.
- Xw package.

9 years ago0025137: The methods "Convert" point defined in the reference frame of the view into...
osa [Mon, 11 Aug 2014 07:02:30 +0000 (11:02 +0400)]
0025137: The methods "Convert" point defined in the reference frame of the view into the projected point and backwards are not consistent

9 years ago0023649: Visualization, AIS_LocalContext - make highlighting of already selected...
aba [Thu, 14 Aug 2014 08:20:09 +0000 (12:20 +0400)]
0023649: Visualization, AIS_LocalContext - make highlighting of already selected objects consistent with and without Shift modifier

1) Add SelectMgr_EntityOwner::IsSelected() and  SelectMgr_EntityOwner::SetSelected() methods to determine if corresponding  entity is selected.
    They replace functionality of SelectMgr_EntityOwner::State() methods that are deprecated now.
2) AIS_InteractiveContext::ToHilightSelected() and AIS_InteractiveContext::SetToHilightSelected() is to be used to enable highlighting of selected objects.
3) By default selected objects are highlighted (new behavior)
4) Add ViewerTest_ViewerCommands: vhighlightselected command to enable/disable 'highlight selected objects' mode.
5) AIS_LocalContext, AIS_InteractiveContext : style changes in Select and ShiftSelect methods.
6) Add test cases /bugs/vis bug23649_1 and  /bugs/vis bug23649_2 to test highlighting of selected objects in local context.
7) Add test cases /bugs/vis bug23649_3 and  /bugs/vis bug23649_4  to test highlighting of selected objects in neutral point.

Updated test case

9 years ago0025127: Wrong result done by General Fuse algorithm
emv [Thu, 14 Aug 2014 08:01:59 +0000 (12:01 +0400)]
0025127: Wrong result done by General Fuse algorithm

class BOPTools_AlgoTools
method
  Standard_Boolean BOPTools_AlgoTools::IsSplitToReverse
    (const TopoDS_Face& theFSp,
     const TopoDS_Face& theFSr,
     Handle(IntTools_Context)& theContext)

Reverse normal direction for REVERSED faces.

Test case for issue CR25127

9 years ago0025128: Memory leak in BOPDS_DS::Paves()
emv [Thu, 7 Aug 2014 06:09:12 +0000 (10:09 +0400)]
0025128: Memory leak in BOPDS_DS::Paves()

class BOPDS_DS
 method
   void BOPDS_DS::Paves(const Standard_Integer theEdge,
                        BOPDS_ListOfPave& theLP)
class BOPDS_PaveBlock
 method
   void BOPDS_PaveBlock::Update(BOPDS_ListOfPaveBlock& theLPB,
                                const Standard_Boolean theFlag)

Using NCollection_Array1 class to ensure proper allocation and deallocation of memory.

9 years ago0024834: Allocation of memory for exception message must not throw another exception
apv [Wed, 13 Aug 2014 13:44:46 +0000 (17:44 +0400)]
0024834: Allocation of memory for exception message must not throw another exception

Removing warnings

9 years ago0024863: CLang warnings -Wint-to-void-pointer-cast
ski [Thu, 7 Aug 2014 10:31:10 +0000 (14:31 +0400)]
0024863: CLang warnings -Wint-to-void-pointer-cast

Warning was fixed.

Remarks were applied.

- class VMap in Draw was removed
- NCollection_DataMap is used to store objects
- name of object is used to associate Tcl variable with the object
- creation and changing of objects are correclty handled

Redundant casts were removed.

Initial value is restored if variable is protected.
Tests for bug #24863 were added.

Some test cases and tcl command "save" were improved.

Useless using of upvar was removed.

9 years ago0024908: Make OSD_MallocHook working under MSVS 2012
msv [Thu, 8 May 2014 12:09:06 +0000 (16:09 +0400)]
0024908: Make OSD_MallocHook working under MSVS 2012

Additionally, insert a code in the inline method place_for_breakpoint in order to have any instruction in object code for placement of a break point.

9 years ago0025112: Undo of modification of the attribute TDataStd_IntPackedMap works wrong
msv [Thu, 7 Aug 2014 10:21:52 +0000 (14:21 +0400)]
0025112: Undo of modification of the attribute TDataStd_IntPackedMap works wrong

Test case for issue #25112

9 years ago0025122: Expose internal static function ComputeDeviation from ShapeAnalysis_Edge.cxx
Roman Lygin [Mon, 4 Aug 2014 04:52:42 +0000 (08:52 +0400)]
0025122: Expose internal static function ComputeDeviation from ShapeAnalysis_Edge.cxx

9 years ago0025121: Visualization, OpenGl_Text - correct scaling factor for fixed-size text...
kgv [Thu, 7 Aug 2014 10:11:28 +0000 (14:11 +0400)]
0025121: Visualization, OpenGl_Text - correct scaling factor for fixed-size text at 3D point

Test case for issue #25121

9 years ago0025116: BRepTools - do not force Message_ProgressIndicator updates on each minor...
kgv [Thu, 31 Jul 2014 12:12:45 +0000 (16:12 +0400)]
0025116: BRepTools - do not force Message_ProgressIndicator updates on each minor iteration

9 years ago0024834: Allocation of memory for exception message must not throw another exception
apv [Thu, 7 Aug 2014 09:56:19 +0000 (13:56 +0400)]
0024834: Allocation of memory for exception message must not throw another exception

Update of test case to eliminate 64-bit architecture from testing

9 years agoUpdate for problem of warning with Exception
bugmaster [Fri, 1 Aug 2014 13:06:45 +0000 (17:06 +0400)]
Update for problem of warning with Exception

9 years ago0024943: Port MFC samples to UNICODE for compatibility with VS2013
kgv [Thu, 31 Jul 2014 09:52:43 +0000 (13:52 +0400)]
0024943: Port MFC samples to UNICODE for compatibility with VS2013

Add vc12 project files for MFC samples.

CMake - add Unicode option for MFC samples

CMake - do not set MFC option globally

Update description of Cmake building procedure for MFC sample

Correction of cmake.md and automake.md

0024943: Port MFC sample to UNICODE for compatibility with VS2013
The formatting of developer guides about OCCT building with various build systems has been improved.

automake article clean up

9 years ago0025105: Remove TColgp_DataMapOfIntegerCirc2d
abv [Fri, 25 Jul 2014 16:50:18 +0000 (20:50 +0400)]
0025105: Remove TColgp_DataMapOfIntegerCirc2d

9 years ago0025067: Change default location of test results
abv [Thu, 10 Jul 2014 07:40:05 +0000 (11:40 +0400)]
0025067: Change default location of test results

Generation of default path for test results corrected to have "results" as subdirectory and not prefix.

Parsing images in test results restricted to take only files with name of the test case without suffix or with suffix separated by underscore or dash, to avoid fetching images from different test case if its name starts like current test case.

9 years ago0024992: missing implementation for GeomConvert_CompCurveToBSplineCurve::Clear()
abv [Fri, 6 Jun 2014 03:19:19 +0000 (07:19 +0400)]
0024992: missing implementation for GeomConvert_CompCurveToBSplineCurve::Clear()

Method GeomConvert_CompCurveToBSplineCurve::Clear() implemented

9 years ago0002845: Regression of work of selections for STEP translator.
apv [Thu, 31 Jul 2014 09:28:27 +0000 (13:28 +0400)]
0002845: Regression of work of selections for STEP translator.

Adding test case

9 years ago0023010: Error with a .stp model during transfer from STEPCAFControl_Reader to document
apv [Thu, 31 Jul 2014 09:26:42 +0000 (13:26 +0400)]
0023010: Error with a .stp model during transfer from STEPCAFControl_Reader to document

Adding test case

9 years ago0023969: It's impossible to display shape in 3dviewer. Wrong displaying in axo.
apv [Thu, 31 Jul 2014 09:20:05 +0000 (13:20 +0400)]
0023969: It's impossible to display shape in 3dviewer. Wrong displaying in axo.
Adding test case

9 years ago0022470: Crash during IGES import
apv [Thu, 31 Jul 2014 09:15:26 +0000 (13:15 +0400)]
0022470: Crash during IGES import
Adding test case

9 years agoUpdate standard CSharp projects up to VC++ 2010
bugmaster [Wed, 30 Jul 2014 14:18:24 +0000 (18:18 +0400)]
Update standard CSharp projects up to VC++ 2010

9 years ago0025021: New option of BRepOffsetAPI_MakeOffset algorithm: open result for open wire
jgv [Thu, 24 Jul 2014 09:57:02 +0000 (13:57 +0400)]
0025021: New option of BRepOffsetAPI_MakeOffset algorithm: open result for open wire

Test cases for issue CR25021

9 years ago0023950: Names and visibility of points not saved when writing XCAF Document into...
ika [Thu, 24 Jul 2014 09:49:25 +0000 (13:49 +0400)]
0023950: Names and visibility of points not saved when writing XCAF Document into STEP

Add new mode of writing vertices and parameter to switch on this mode.

Add description of new parameter (write.step.vertex.mode) into documentation.

Small correction of draw-command and test case for issue CR25095

test case correction

Small correction of test case for issue CR23950

9 years ago0025095: Wrong result obtained by projection algorithm
ifv [Thu, 24 Jul 2014 09:31:21 +0000 (13:31 +0400)]
0025095: Wrong result obtained by projection algorithm

Test cases for issue CR25095

9 years ago0025094: Visualization, Visual3d_View - code clean up
kgv [Sun, 20 Jul 2014 11:04:13 +0000 (15:04 +0400)]
0025094: Visualization, Visual3d_View - code clean up

Remove debug and obsolete code. Apply coding rules.

9 years ago0024926: MeshVS - improve generation of primitive arrays
dbp [Thu, 24 Jul 2014 09:21:54 +0000 (13:21 +0400)]
0024926: MeshVS - improve generation of primitive arrays

Remove redundant code.

Fix GCC compilation warnings.

Bug fix in MeshVS_ElementalColorPrsBuilder.

9 years ago0025088: Revert or change API of BRepMesh_IncrementalMesh to prevent possible errors...
oan [Thu, 17 Jul 2014 10:45:16 +0000 (14:45 +0400)]
0025088: Revert or change API of BRepMesh_IncrementalMesh to prevent possible errors occurred due to changed order of parameters

Revert old constructor

9 years ago0025092: COMPSOLIDs are not exported to STEP
ika [Thu, 24 Jul 2014 09:06:30 +0000 (13:06 +0400)]
0025092: COMPSOLIDs are not exported to STEP

Now COMPSOLID is translated like a set of SOLIDs.

Test cases for issue CR25092

9 years ago0025090: Visualization - drop Graphic3d_Group::MyIsEmpty flag
kgv [Thu, 24 Jul 2014 09:01:40 +0000 (13:01 +0400)]
0025090: Visualization - drop Graphic3d_Group::MyIsEmpty flag

Small correction for issue CR25090

9 years ago0024872: Support of emission color in Phong shader and ray-tracing
duv [Thu, 24 Jul 2014 08:56:42 +0000 (12:56 +0400)]
0024872: Support of emission color in Phong shader and ray-tracing

Test cases for issue CR24872

9 years ago0023191: Visualization - small objects displayed with visual artifacts
mkv [Wed, 16 Jul 2014 11:08:44 +0000 (15:08 +0400)]
0023191: Visualization - small objects displayed with visual artifacts

Test case for issue CR23191

9 years agoUpdate mfc sample after integration issue 0025071
bugmaster [Fri, 18 Jul 2014 09:35:24 +0000 (13:35 +0400)]
Update mfc sample after integration issue 0025071

9 years agoAdjusting testing case for debug mode
bugmaster [Fri, 18 Jul 2014 08:36:39 +0000 (12:36 +0400)]
Adjusting testing case for debug mode

9 years agoCorrection of testing cases for issue CR24979
mkv [Thu, 17 Jul 2014 08:23:20 +0000 (12:23 +0400)]
Correction of testing cases for issue CR24979

9 years ago0025074: Intf_Polygon2d - add virtual destructor
kgv [Sat, 12 Jul 2014 09:31:17 +0000 (13:31 +0400)]
0025074: Intf_Polygon2d - add virtual destructor

9 years ago0025057: Message_Algorithm fails to find messages defined for base class
abv [Tue, 8 Jul 2014 12:11:16 +0000 (16:11 +0400)]
0025057: Message_Algorithm fails to find messages defined for base class

New method HasMsg() is added in Message_MsgFile class to check if message with given key is registered.
That method is used in Message_Algorithm to check if message is defined on given level of class hierarchy.

Generation of error message in Message_MsgFile::Msg() is revised: now it includes a message key and gets added to the registry, to avoid re-generation in case of multiple requests.
Access to message registry maintained by the Message_MsgFile class is protected from concurrent access by mutex.

9 years ago0025080: [Regression] Problem of meshing narrow face
mkv [Thu, 17 Jul 2014 09:37:15 +0000 (13:37 +0400)]
0025080: [Regression] Problem of meshing narrow face

Test case for issue CR25080

9 years ago0024979: Optimize Extrema_GenExtCS
dbp [Tue, 15 Jul 2014 08:11:24 +0000 (12:11 +0400)]
0024979: Optimize Extrema_GenExtCS

The patch changes the algorithm of choosing the initial approximation for Newton's method. Instead of searching for a point on the fine shifted grid, the algorithm performs initial search for candidate points in the original coarse grid (which is cached in new version). After that particle swarm optimization (PSO) is used to localize the global minimum. This algorithm optimizes a problem by having a population of candidate solutions ("particles"), and moving these particles around in the search-space according to simple mathematical formula over the particle's position and velocity. Each particle's movement is influenced by its local best known position but, is also guided toward the best known positions in the search-space, which are updated as better positions are found by other particles. This strategy has reported good results in solving complex global optimization problems.

Current patch implements initial version of PSO for using in Extrema_GenExtCS class. Typically new approach allows to reduce the number of evaluations by 5-10 times. There are only few cases there the numbers of evaluations are comparable.

9 years ago0025003: Selection of a face fails if sensitive triangulation is computed with interi...
vro [Wed, 11 Jun 2014 08:19:44 +0000 (12:19 +0400)]
0025003: Selection of a face fails if sensitive triangulation is computed with interior flag = false

A check on length is added to avoid manipulation with a vector of null length.

9 years ago0025058: Regression of performance of BRepExtrema_ExtCC (1000 times slower)
aml [Thu, 17 Jul 2014 09:50:51 +0000 (13:50 +0400)]
0025058: Regression of performance of BRepExtrema_ExtCC (1000 times slower)

Added initial values approximation to improve performance.
Local optimization start coefficient fixed.

Test case for issue CR25058

9 years ago0024996: Visualization - newly displayed objects are clipped until first
duv [Thu, 17 Jul 2014 09:46:53 +0000 (13:46 +0400)]
0024996: Visualization - newly displayed objects are clipped until first
camera movement

AutoZFit operation now may be applied on Visual3d_View level.
Visual3d_View tracks Graphic3d_Structure updates and call AutoZFit within
Visual3d_View::Redraw if necessary.
In order to get AutoZFit functionality on Visual3d_View level ZfitAll
method moved from V3d_View into Graphic3d_Camera. AutoZFit method and
AutoZFitMode flag now part of Visual3d_View.

Test case for issue CR24996

9 years ago0025071: Visualization - Inconsistent deflection values used by AIS_Shape
san [Thu, 17 Jul 2014 09:39:22 +0000 (13:39 +0400)]
0025071: Visualization - Inconsistent deflection values used by AIS_Shape

Fix misprint

Small correction for issue CR25071

9 years ago0025075: BRepMesh - eliminate new x86_64 compiler warnings
kgv [Thu, 17 Jul 2014 09:34:05 +0000 (13:34 +0400)]
0025075: BRepMesh - eliminate new x86_64 compiler warnings

BRepMesh - fix compilation without TBB support

Code style

9 years ago0024901: Visualization - Incorrect area filled with capping color
mkv [Wed, 16 Jul 2014 11:06:12 +0000 (15:06 +0400)]
0024901: Visualization - Incorrect area filled with capping color

Test case for issue CR24901

9 years ago024539: Visualization (new camera) - small objects displayed with visual artifacts
mkv [Wed, 16 Jul 2014 11:11:41 +0000 (15:11 +0400)]
024539: Visualization (new camera) - small objects displayed with visual artifacts

Test case for issue CR24539