7 years ago0025374: [6.8.0beta regression] gp_Trsf2d::SetMirror() looses transformation form
nbv [Thu, 23 Oct 2014 14:02:23 +0000 (18:02 +0400)]
0025374: [6.8.0beta regression] gp_Trsf2d::SetMirror() looses transformation form

1. Elements of gp_TrsfForm have been documented
2. gp_Trsf2d class has been reverted to non-regression case.

Update of test-cases

7 years ago0025361: Sample "Voxel" crashes during "Demo - Collisions" demonstration
vro [Tue, 14 Oct 2014 04:28:47 +0000 (08:28 +0400)]
0025361: Sample "Voxel" crashes during "Demo - Collisions" demonstration

Deletion of an array was incorrect.

7 years ago0025352: Analytical calculation of fillets 2d: an improvement of precision
vro [Fri, 10 Oct 2014 11:32:06 +0000 (15:32 +0400)]
0025352: Analytical calculation of fillets 2d: an improvement of precision

Already calculated points of the fillet are used instead of getting of the points on curve by a parameter.

7 years ago0025406: BRepOffset_MakeOffset algorithm fails on the face with two degenerated edges...
jgv [Thu, 23 Oct 2014 11:31:47 +0000 (15:31 +0400)]
0025406: BRepOffset_MakeOffset algorithm fails on the face with two degenerated edges on u-iso null curves

Test cases for issue CR25406

7 years ago0025244: CMake building procedure should support VTK usage
apn [Thu, 23 Oct 2014 11:19:51 +0000 (15:19 +0400)]
0025244: CMake building procedure should support VTK usage

Added functionality for searching VTK products.

Added procedure install for VTK.

7 years ago0025354: Intersection operation
pkv [Thu, 23 Oct 2014 11:11:39 +0000 (15:11 +0400)]
0025354: Intersection operation

I. New features:
I.1 class BOPAlgo_Section
     The class clontains the algorithm to build a result of Secton between the arguments.
     The result of Section consists of vertices and edges.
     The result of Section contains:
     1. new vertices that are subjects of V/V, E/E, E/F, F/F interferences
     2. vertices that are subjects of V/E, V/F interferences
     3. new edges that are subjects of F/F interferences
     4. edges that are Common Blocks
     5.a vertex is included in result of Section only when it is not shared
     between the edges of the result of Section

The class BOPAlgo_Section inherits the functionality of root class BOPAlgo_Builder

1.2 class BOPTest_Objects
BOPAlgo_Section& BOPTest_Objects::Section()
has been added to get access to BOPAlgo_Section object

II. Changes:
II.1. class BOPAlgo_BOP
void BOPAlgo_BOP::BuildSection()
has been removed
void BOPAlgo_BOP::CheckData()
void BOPAlgo_BOP::Prepare()
void BOPAlgo_BOP::PerformInternal1(const BOPAlgo_PaveFiller& theFiller)
const TopTools_ListOfShape& BOPAlgo_BOP::Generated
  (const TopoDS_Shape& theS)
have been modified to eliminate references on Section operation

II.2. class BOPAlgo_PaveFiller
void BOPAlgo_PaveFiller::UpdateFaceInfo
  (BOPDS_DataMapOfPaveBlockListOfPaveBlock& theDME)
modified to prevent the usage of negative index in Data Structure

II.3. class BOPTest_Objects
static function:
Standard_Integer bopsection(Draw_Interpretor& di, Standard_Integer n, const char** a)
has been modified to use BOPAlgo_Section object instead of BOPAlgo_BOP object

static function:
Standard_Integer bbop(Draw_Interpretor& di,
                      Standard_Integer n,
                      const char** a)
has been modified to use BOPAlgo_Section object instea of BOPAlgo_BOP object

II.4. class BRepAlgoAPI_BooleanOperation
the type has been changed from BOPAlgo_BOP* to BOPAlgo_Builder*
void BRepAlgoAPI_BooleanOperation::Build()
has been modified  to use BOPAlgo_Section object

II.5. class QANewModTopOpe_Tools
Standard_Boolean QANewModTopOpe_Tools::HasSameDomain(
                                                   const BOPAlgo_PBOP& theBuilder,
                                                     const TopoDS_Shape& theFace)

void QANewModTopOpe_Tools::SameDomain(
                                      const BOPAlgo_PBOP&   theBuilder,
                                      const TopoDS_Shape&   theFace,
                                      TopTools_ListOfShape& theResultList)

the type of the parameter <theBuilder> has been modified
to use BOPAlgo_Builder* instead of BOPAlgo_BOP*

II.6. The method:
const TopTools_ListOfShape& BOPAlgo_BOP::Generated
  (const TopoDS_Shape& theS)
has been removed

7 years ago0025412: BRepMesh_FastDiscretFace::tryToInsertAnalyticVertex() - fix invalid comparison
kgv [Wed, 22 Oct 2014 12:09:15 +0000 (16:09 +0400)]
0025412: BRepMesh_FastDiscretFace::tryToInsertAnalyticVertex() - fix invalid comparison

Remove unused field BRepMesh_FastDiscretFace::myWithShare.
Remove "virtual" from method of class <anonymous>::FixedVExplorer.

7 years ago0025411: BVH package - eliminate warning about hidden overloaded method ::Box
kgv [Wed, 22 Oct 2014 11:43:17 +0000 (15:43 +0400)]
0025411: BVH package - eliminate warning about hidden overloaded method ::Box


7 years ago0025396: Crash occurs when using TBB allocator on an Intel architecture not supportin...
msv [Thu, 23 Oct 2014 11:02:54 +0000 (15:02 +0400)]
0025396: Crash occurs when using TBB allocator on an Intel architecture not supporting SSE2 instructions

During initialization of memory manager, check if SSE2 instructions are supported, when MMGT_OPT=2 is in effect. If not then use MMgrRaw instead of MMgrTBBalloc. It is to avoid runtime crash when running on a CPU that supports SSE but does not support SSE2 (some modifications of AMD Sempron).

Fix broken compilation on MSVC for x64 platform

Correct the last fix.

7 years ago0025349: Graphic3d_MaterialAspect::Color() returns a value different from that set...
dbp [Thu, 23 Oct 2014 10:59:20 +0000 (14:59 +0400)]
0025349: Graphic3d_MaterialAspect::Color() returns a value different from that set by the method Graphic3d_MaterialAspect::SetColor

Fix bug with default color of clip plane.

7 years ago0022196: Problem with puting texture on the bottle.brep shape
apn [Wed, 22 Oct 2014 12:49:59 +0000 (16:49 +0400)]
0022196: Problem with puting texture on the bottle.brep shape

Test case bugs/modalg_2/bug22196 was modified to apply texture.

7 years ago0023911: Invalid output of command Xdump
apn [Thu, 23 Oct 2014 10:42:17 +0000 (14:42 +0400)]
0023911: Invalid output of command Xdump

Improved output of Xdump command using Draw_Interpretor.

Improved output of Xdump command using Standard_SStream.

OStream is used instead of SStream.

Test cases for issue CR23911

7 years ago0025399: Visualization - XCAFPrs_AISObject ignores global aspect settings
san [Mon, 20 Oct 2014 16:36:42 +0000 (20:36 +0400)]
0025399: Visualization - XCAFPrs_AISObject ignores global aspect settings

Copying of the default drawer's parameters added.

7 years ago0025401: Some warnings could be eliminated
abv [Tue, 21 Oct 2014 05:20:54 +0000 (09:20 +0400)]
0025401: Some warnings could be eliminated

Do not redefine macro "strcasecmp" on Windows (MSVC) if it is already defined.
Some useless declarations and comments removed.

7 years ago0025334: BRepOffsetAPI_MakeOffset algorithm crashes on some customer's shape
jgv [Thu, 23 Oct 2014 10:36:48 +0000 (14:36 +0400)]
0025334: BRepOffsetAPI_MakeOffset algorithm crashes on some customer's shape

Test cases for issue CR25334

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

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

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

Use NCollection_Map instead of instantiation of TCollection_Map

Test-cases for issue #25344

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

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

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

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

Test-case for issue #25348

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

Test case for issue CR25381

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

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

Cosmetic corrections

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

Indicate API misuse by program exception.

7 years ago025306: Visualization, TKOpenGl - support texturing within RayTracing
dbp [Thu, 23 Oct 2014 10:09:23 +0000 (14:09 +0400)]
025306: Visualization, TKOpenGl - support texturing within RayTracing

Fix bug with overlay OpenGL text.

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

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

Fixed description in Extrema_GlobOptFuncCC.

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

7 years ago0023698: BRepBuilderAPI_Copy creates invalid copy
apn [Mon, 20 Oct 2014 12:00:44 +0000 (16:00 +0400)]
0023698: BRepBuilderAPI_Copy creates invalid copy

Added test case bugs/modalg_5/bug23698

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

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

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

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

7 years agoCorrection of testing cases
mkv [Fri, 17 Oct 2014 12:39:54 +0000 (16:39 +0400)]
Correction of testing cases

7 years agoEliminating of warning
bugmaster [Fri, 17 Oct 2014 12:38:33 +0000 (16:38 +0400)]
Eliminating of warning

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

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

Correction of test cases for issue CR25266

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

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

7 years ago0023547: Tests failures in debug mode
nbv [Fri, 26 Sep 2014 11:32:46 +0000 (15:32 +0400)]
0023547: Tests failures in debug mode

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

Test cases were changed.

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

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

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

Test-case for issue #25369

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

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

Test-case for issue #25340

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

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

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

fix theMode -> theOtherMode

7 years ago0025383: Broken vrecord command
san [Wed, 15 Oct 2014 14:06:52 +0000 (18:06 +0400)]
0025383: Broken vrecord command

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

7 years ago0025365: Regressions after changes in IsClosed flag
abv [Mon, 13 Oct 2014 16:44:33 +0000 (20:44 +0400)]
0025365: Regressions after changes in IsClosed flag

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

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

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

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

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

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

Test cases for issue CR25319

Correction of test cases for issue CR25319

7 years ago0025245: General Fuse operation regression
emv [Thu, 16 Oct 2014 11:26:20 +0000 (15:26 +0400)]
0025245: General Fuse operation regression

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

Test cases for the issue.

Correction of test cases for issue CR25245

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

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

Correction of test case for issue CR23753

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

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

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

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

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

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

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

New DRAW commands for visualization level transformations added.

7 years ago0007570: Exception in ShapeFix_Wireframe::FixSmallEdges
pdn [Thu, 16 Oct 2014 10:24:19 +0000 (14:24 +0400)]
0007570: Exception in ShapeFix_Wireframe::FixSmallEdges

Exception fixed by checking if subshape removed completely.

Test-case for issue #7570

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

7 years agoAdding dependencies from tbb
bugmaster [Thu, 16 Oct 2014 09:26:16 +0000 (13:26 +0400)]
Adding dependencies from tbb

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

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

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

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

Draw-command and test case for issue CR25202

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

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

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

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

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

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

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

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

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

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

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

7 years ago0022859: Developers guide with code samples
ysn [Thu, 9 Oct 2014 12:33:21 +0000 (16:33 +0400)]
0022859: Developers guide with code samples

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

quick fix

Minor corrections in documentation syntax

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

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

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

Test cases for issue CR23886

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

Test case for non-regression verification

Correction of test case for issue CR24606

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

Test case for issue CR23400

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

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

Test cases for issue CR22614

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

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

Correction of test case for issue CR24966

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

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

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

Test case for issue #25333

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


Test case for issue CR25329

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

7 years ago0025284: Problems with standard MFC samples
aba [Thu, 9 Oct 2014 11:40:14 +0000 (15:40 +0400)]
0025284: Problems with standard MFC samples

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

Code style changes

Fixed "About" dialog error in release.

Corrected dimension dialogs

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

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

Fix GCC compilation errors.

7 years ago0025234: Implementing LBVH builder
dbp [Wed, 24 Sep 2014 15:32:40 +0000 (19:32 +0400)]
0025234: Implementing LBVH builder

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

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

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

First commit. Update for new IR

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

Test case for issue CR25191

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

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

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

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

Test case for issue CR25251

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

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

Correction of test case for issue CR24717

7 years ago0025267: Implementation of callback before DRAW exit
pdn [Thu, 9 Oct 2014 09:42:09 +0000 (13:42 +0400)]
0025267: Implementation of callback before DRAW exit

Callback mechanism implemented.

Do the same treatment at DRAW exit on UNIX

Add comments to the new methods

Change callback type to be a function pointer

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

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

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

Test cases for issue CR25142

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

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

7 years ago0025261: NCollection, set of improvements
pdn [Thu, 2 Oct 2014 12:00:36 +0000 (16:00 +0400)]
0025261: NCollection, set of improvements

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

Warning fixed

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

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

7 years ago0022484: UNICODE characters support
pdn [Thu, 2 Oct 2014 11:39:25 +0000 (15:39 +0400)]
0022484: UNICODE characters support

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

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

Fixes for set unicode symbols to OCAF and visualization

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

Fix of regressions
Test-case for issue #25272

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Test case for issue CR23745

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

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

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

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

Test case for issue CR25285

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

Correction of test case for issue CR24930

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

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

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

Add file for test case for issue CR25235

7 years ago0025109: Check PolygonOnTriangulation contained in edges
nbv [Thu, 2 Oct 2014 09:54:14 +0000 (13:54 +0400)]
0025109: Check PolygonOnTriangulation contained in edges

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

Test cases were changed.

Test case for issue CR25109

Some test cases were changed according to their new behavior.