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

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

HashCodes() is exported

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

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

7 years ago0025263: Wrong result of cut operation.
pkv [Fri, 26 Sep 2014 13:13:56 +0000 (17:13 +0400)]
0025263: Wrong result of cut operation.

class BOPDS_DS
void BOPDS_DS::InitPaveBlocks(const Standard_Integer theI)

The treatment of internal edges has been added.

Test case for issue CR25263

7 years ago0025232: Functionality to create solids from set of shapes
emv [Fri, 26 Sep 2014 12:41:20 +0000 (16:41 +0400)]
0025232: Functionality to create solids from set of shapes

The algorithm is to build solids from set of shapes.
It uses the BOPAlgo_Builder algorithm to intersect the given shapes and build the images
of faces (if needed) and BOPAlgo_BuilderSolid algorithm to build the solids.
Steps of the algorithm:
1. Collect all faces: intersect the shapes if necessary and collect  the images of faces,
   otherwise just collect the faces to the <myFaces> list.
   All faces on this step added twice, with orientation FORWARD and REVERSED;
2. Create bounding box covering all the faces from <myFaces> and create solid box from corner points
   of that bounding box (myBBox, mySBox). Add faces from that box to <myFaces>;
3. Build solids using faces from <myFaces> using BOPAlgo_BuilderSolid algorithm;
4. Treat the result: Eliminate solid containig faces from <mySBox>;
5. Fill internal shapes: add internal vertices and edges into created solids;
6. Prepare the history.

Fix for regression.
class BOPAlgo_BuilderSolid:
The tolerance value used in BRepClass3d_SolidClassifier has been increased.

Test cases for issue CR25232

Small correction to eliminate the warning.

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

References to MMGT_REENTRANT are removed from docs

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

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

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

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

Fix compilation errors on Linux platform

Squeeze compilation warnings on Linux

Fix regressions

Back RemoveFaceAttribute for further reasons

Fix retrieving of polygon by index

Fix applying of location

Test case for issue CR23106

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

Replace BRepMesh_PDiscretRoot by pure pointer to BRepMesh_DiscretRoot;

Fix IVtkOCC_ShapeMesher.

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

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

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

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

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

Update of reference data

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

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

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

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

Test cases for issue CR24959

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

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

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

All necessary comments are into the program code.

Test case for issue CR25248

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

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

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

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

Correction of test cases for issue CR24589

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

Test case for issue CR25207

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

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

Field f is initialized by zero

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

Expression should use string names for comparing, fixed

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

Optimization and code cleaning of CompBezierCurvesToBSplineCurve::Perform

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

Method to govern writing shape with or without triangles added

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

Check is pcurves are present is implemented.

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

More accurate code of transformation type definition

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

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

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

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

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

Test case for issue #25243

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

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

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

Small correction to eliminate warning.

Test case for issue #25237

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

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

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

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

Small correction of grids.list for v3d tests

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

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

Minor correction

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

Optimization of local function

Test case for issue #24910

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

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

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

2 class BOPAlgo_PaveFiller
protected methods:
void BOPAlgo_PaveFiller::PerformVZ()
void BOPAlgo_PaveFiller::PerformEZ()
void BOPAlgo_PaveFiller::PerformFZ()
void BOPAlgo_PaveFiller::PerformZZ()
has been added.
The methods are to Compute

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

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

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

Test case for issue #25242

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

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

Clean up InterfaceGraphic.hxx

OpenGl_Window - do not use removed macros WINDOW

Small correction of test case for issue CR25216

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

Added test bugs fclasses bug25024

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

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

Test case for issue CR25175

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

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

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

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

Inherit NCollection_Buffer from Standard_Transient, do not use incomplete NCollection_Handle.

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

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

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

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

OpenGl_Text - use OpenGl_VertexBufferCompat, eliminate duplicated code.

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

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

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

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

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

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

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


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

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

0025146: Porting to Android

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

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


hide unused 3rdparty in android case

also messages of freetype search mechanism slightly updated

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

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


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

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


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

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

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

Test cases for issue CR25225

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

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


class BOPTools_AlgoTools3D
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

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

7 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

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

7 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

7 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

7 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
   (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

7 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

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

7 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

7 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

7 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

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

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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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
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

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

7 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

7 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

7 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>

7 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

7 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

7 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