occt.git
5 years ago0024704: Visualization - inherit OpenGl_Structure from Graphic3d_CStructure
kgv [Thu, 13 Mar 2014 10:35:13 +0000]
0024704: Visualization - inherit OpenGl_Structure from Graphic3d_CStructure

Graphic3d_Structure - store Graphic3d_CStructure as handle.
Graphic3d_Structure class implementation clean up.
Graphic3d_Structure::SetManager() - remove unused method.
Graphic3d_GraphicDriver - move structure-related methods to Graphic3d_CStructure interface.

Remove unsupported Aspect_TOHM_BLINK value.

Remove field-duplicate OpenGl_Structure::myClipPlanes

Fixing warnings

5 years ago0024714: Camera integration - difference in behavior of V3d_View::SetSize
apl [Wed, 12 Mar 2014 10:59:26 +0000]
0024714: Camera integration - difference in behavior of V3d_View::SetSize

Restored behavior of SetSize method

5 years ago0024688: Draw Harness - vdump command makes snapshot only for the first view
kgv [Thu, 13 Mar 2014 10:27:13 +0000]
0024688: Draw Harness - vdump command makes snapshot only for the first view

5 years ago0024667: BRepOffsetAPI_MakePipe::FirstShape() and LastShape() return shapes not from...
skv [Thu, 13 Mar 2014 10:24:28 +0000]
0024667: BRepOffsetAPI_MakePipe::FirstShape() and LastShape() return shapes not from result

Test case for issue CR24667

5 years ago0024710: Avoid including Handle_Class.hxx headers except where necessary
abv [Thu, 13 Mar 2014 10:21:41 +0000]
0024710: Avoid including Handle_Class.hxx headers except where necessary

Includes of Handle*.hxx headers replaced by include of corresponding class (where possible without redesign of the classes).

Minor correction against compiler warning (vc10 64-bit) in BOPAlgo

Remove double header inclusions

Correction of minor mistake

5 years ago0024705: Draw Harness - add -noupdate option to vdisplay command
kgv [Sun, 9 Mar 2014 07:17:30 +0000]
0024705: Draw Harness - add -noupdate option to vdisplay command

Add option to suppress viewer redraw to the following commands:
vdisplay, vdonly, verase, vremove

5 years ago0024342: Create non-constant methods ChangeCoord with index parameter in classes...
abk [Mon, 11 Nov 2013 09:04:25 +0000]
0024342: Create non-constant methods ChangeCoord with index parameter in classes gp_XY and gp_XYZ

The methods were created.

5 years ago0024701: TKernel - drop redundant headers Standard_ctype.hxx and Standard_inverse.h
kgv [Fri, 7 Mar 2014 11:16:22 +0000]
0024701: TKernel - drop redundant headers Standard_ctype.hxx and Standard_inverse.h

5 years ago0024431: Using svg-images in the documentation
abv [Thu, 13 Mar 2014 09:20:08 +0000]
0024431: Using svg-images in the documentation

Documentation generator improved to automatically convert SVG images to PDF when PDF documents are generated. This is done with Inkscape thus it becomes necessary for generation of PDF documents.

Doxygen alias "figure" added for easy insertion of images with single command for both HTML and PDF output.

Documentation is updated.

Reviewed documentation.md and added more recommendations on Document Syntax.
Introduced existing svg images in the documentation.

Description of formatting of plain text, code blocks, and references revised.
Snapshot of structure of dox folder is updated.
Copyright year is corrected in PDF documents to be always the current one.

Some grammar corrections.

5 years ago0024719: Snapshots for bugs/vis/bug6145 are unstable
kgv [Thu, 13 Mar 2014 05:36:02 +0000]
0024719: Snapshots for bugs/vis/bug6145 are unstable

Use "new" Boolean operation instead of "old" one.

5 years ago0024685: Coding Rules - "Draw:Atoi" misprints in the document
kgv [Tue, 4 Mar 2014 15:40:03 +0000]
0024685: Coding Rules - "Draw:Atoi" misprints in the document

5 years ago0024413: Visualization - get rid of projection shift from orthographic camera definition
apl [Thu, 6 Mar 2014 11:15:53 +0000]
0024413: Visualization - get rid of projection shift from orthographic camera definition

From now on, the panning behavior of V3d_View completely corresponds to equal operations with camera. There is no more confusing "Center" property and "ProjectionShift" which were used to introduce composite panning, while respecting view referential points: At, Eye unchanged. The V3d_View::FitAll approach has been rewritten to do "fit all" geometrically, operating with frustum, to make it working for both orthographic and perspective projections.

1) Getting rid of ProjectionShift and Center property:
- Removed ProjectionShift property of Graphic3d_Camera.
- Removed confusing Center property of V3d_View (related to projection shift).
- Removed redundant code related to the Center property of V3d_View.
- Removed WindowLimit method of Graphic3d_Camera - no more used.

2) Improvements of fit all and selector:
- Improved FitAll operation of V3d_View and reused it in NIS_View - the perspective projection is now handled correctly.
- Revised code of Select3D_Projector class - can be defined with any given projection and model-view matrices.
- Modified StdSelect_ViewerSelector3d and ensured that panning, zooming and going into the view do not lead to unwanted re-projection of sensitives. The handling of perspective selection is revised.
- Take into account graphical boundaries of infinite structure on ZFitAll.

3) Improvements of camera:
- Introduced new z range scale parameter for V3d_View::AutoZFit. See, V3d_View::AutoZFitMode.
- Allow negative ZNear, ZFar for orthographic camera to avoid clipping of viewed model.
- Moved camera ZNear, ZFar validity checks to V3d_View level.
- Use more meaningful Standard_ShortReal relative precision for ZNear, ZFar ranges computed by ZFitAll.
- Use Standard_Real type for camera projection and orientation matrices.
- Extended camera to generate both Standard_Real and Standard_ShortReal transformation matrices using the same matrix evaluation methods and converted input parameters.

Correcting picking tests for perspective view

Modify v3d face test cases for 1px changes in face picking

Modified test cases for new arguments of vviewparams DRAWEXE command

5 years ago0024650: Wrong intersection curves obtained for a surface of revolution and a plane.
ifv [Thu, 6 Mar 2014 11:11:23 +0000]
0024650: Wrong intersection curves obtained for a surface of revolution and a plane.

Test case for issue CR24650

5 years ago0024679: test command doesn't work with tmp path containing white spaces
ibs [Tue, 4 Mar 2014 08:06:46 +0000]
0024679: test command doesn't work with tmp path containing white spaces

5 years ago0024639: Parallelization FillDS part of BO
pkv [Thu, 6 Mar 2014 11:05:58 +0000]
0024639: Parallelization FillDS part of BO

Edge/Edge Interferences

Changes:
1. class BOPAlgo_PaveFiller
  - method:
void BOPAlgo_PaveFiller::PerformEE()
the chages provides the parallel computations of
Edge/Edge interferences.

   - auxiliary classes:
    BOPAlgo_EdgeEdge
    BOPAlgo_EdgeEdgeFunctor
    BOPAlgo_EdgeEdgeCnt
have been added.
The classes are auxiliary classes to provide the parallel computations
of Edge/Edge interferences.

2. class BOPTest
-method:
void BOPTest::PartitionCommands(Draw_Interpretor& theCommands)
- static function:
Standard_Integer bfillds(Draw_Interpretor& di,
                         Standard_Integer n,
                         const char** a)
The syntax of the command "bfillds" has been changed.
> bfillds [-s -t]
options:
-s - launch the algorithm in sequential mode
-t - display CPU time

Test case for issue CR24639

5 years ago0024628: Intersection result is unfixed
emv [Thu, 6 Mar 2014 11:02:08 +0000]
0024628: Intersection result is unfixed

The map for collecting pave blocks of two faces has been replaced with indexed map
to ensure the constant order of pave blocks when checking section curves for existents.

Test case for issue CR24628

5 years ago0024612: Wrong pcurve of the section curve
nbv [Wed, 5 Mar 2014 12:54:38 +0000]
0024612: Wrong pcurve of the section curve

Main changes are in "IntWalk_IWalking::TestDeflection(...)" function (IntWalk_IWalking_5.gxx).

Some test cases were corrected according to their new behavior.

5 years ago0024673: Test cases for the new Edge/Edge intersection algorithm
emv [Thu, 6 Mar 2014 10:55:02 +0000]
0024673: Test cases for the new Edge/Edge intersection algorithm

New test cases for 0024673
Corrected names of shapes in test cases bugs/modalg_5/bug24208_1 - bug24208_14.

5 years ago0024675: Crash reading a VRML file
vro [Thu, 6 Mar 2014 10:48:36 +0000]
0024675: Crash reading a VRML file

A node index for a normal is passed through a map of corrected references to node indices.

Test case for issue CR24675

5 years ago0024662: Removing unused "generic" classes. Part 3
dln [Wed, 19 Feb 2014 07:29:13 +0000]
0024662: Removing unused "generic" classes. Part 3

In scope of this issue next unused generic class will be removed:

- IntImp_CSCurveTool
- IntImp_CSFunction
- IntImp_CurveTool
- IntImp_ISurfaceTool
- IntImp_PSurfaceTool
- IntStart_ArcTool
- IntStart_PSurfaceTool
- IntStart_SIFunction
- IntStart_SITool
- IntStart_SOBFunction
- IntStart_SOBTool
- IntStart_TopolTool
- IntWalk_IWFunction
- IntWalk_Iterator
- IntWalk_LoopPointTool
- IntWalk_PSurfaceTool
- IntWalk_PathPointTool
- Intf_ToolPolyhedron
- LProp_CurveTool
- LProp_SurfaceTool
- LibCtl_ProtocolTemplate
- MAT_Tool
- Primitives_Builder
- Sweep_Builder
- Sweep_Iterator
- Sweep_Tool
- TopClass_FaceExplorer
- TopClass_Intersection2d
- HatchGen_Intersector
- IFSelect_SelectList
- IntCurveSurface_CurveTool
- IntImp_COnSCurveTool
- IntImpParGen_ParTool

5 years ago0024672: Visualization - AIS_TexturedShape does not activate back face culling aspect
kgv [Thu, 6 Mar 2014 10:40:36 +0000]
0024672: Visualization - AIS_TexturedShape does not activate back face culling aspect

5 years ago0024622: Add method to AIS_TexturedShape class to assign texture data directly from...
apl [Thu, 6 Mar 2014 10:15:39 +0000]
0024622: Add method to AIS_TexturedShape class to assign texture data directly from byte stream

Added methods to specify Image_PixMap as texture source to AIS_TexturedShape and Graphic3d_TextureRoot.
Modified internal class MeshVS_ImageTexture2D, originally used for the purpose of sourcing texture as Image_PixMap.

AIS_TexturedShape class:
- Get rid from cdl declaration.
- Remove unused and uninitialized field myDeflection / method Deflection().
- Improve class documentation.
- Use Graphic3d_NOT_2D_UNKNOWN instead of -1.
- Use myIsCustomOrigin and myToScale flags to use/ignore custom values.

5 years ago0022912: After calling AIS_InteractiveContext::UnsetColor objects are drawn with...
apn [Tue, 4 Mar 2014 12:59:43 +0000]
0022912: After calling AIS_InteractiveContext::UnsetColor objects are drawn with the same color when transparency is changed

Added test case bugs/vis/bug22912

5 years ago0024663: Removing unused "generic" classes. Part 4
dln [Thu, 20 Feb 2014 05:28:46 +0000]
0024663: Removing unused "generic" classes. Part 4

In scope of this issue next unused generic class will be removed:

- TCollection_AVLBaseNode
- TCollection_AVLIterator
- TCollection_AVLList
- TCollection_AVLNode
- TCollection_AVLSearchTree

- PCollection_ATInOrderIterator
- PCollection_ATPostOrderIterator
- PCollection_ATPreOrderIterator
- PCollection_AVLIterator
- PCollection_AVLNode
- PCollection_AdjacentVerticesIterator
- PCollection_BackEdgesIterator
- PCollection_BreadthFirstIterator
- PCollection_DepthFirstIterator
- PCollection_DoubleMapIterator
- PCollection_DoubleMapNode
- PCollection_Edge
- PCollection_EdgesIterator
- PCollection_FrontEdgesIterator
- PCollection_HAVLSearchTree
- PCollection_HArbitraryTree
- PCollection_HDirectedGraph
- PCollection_HDoubleMap
- PCollection_HQueue
- PCollection_HSet
- PCollection_HStack
- PCollection_LeavesIterator
- PCollection_QueueIterator
- PCollection_RootsIterator
- PCollection_SetIterator
- PCollection_StackIterator
- PCollection_Vertex
- PCollection_VerticesIterator
- PCollection_HDataMap
- PCollection_HIndexedDataMap
- PCollection_IndexedDataMapNode
- PCollection_MapIterator
- PCollection_MapNode

5 years ago0024645: Pointer to the last is wrong for a tree node
vro [Thu, 6 Mar 2014 09:31:59 +0000]
0024645: Pointer to the last is wrong for a tree node

- An extra call to DownCast() is removed for a performance reason.
- Information on last child is added to the Dump() method + fixed a problem of lost last child tree node on removal (detach) operation.
- Test case for issue CR24645

5 years ago0024671: TKOpenGl, OpenGl_Context - glGetPointerv might be called without GL context
osa [Fri, 28 Feb 2014 06:17:21 +0000]
0024671: TKOpenGl, OpenGl_Context - glGetPointerv might be called without GL context

5 years ago0024599: Tools for interacting with DRAW from Visual Studio debugger
abv [Mon, 3 Mar 2014 09:52:33 +0000]
0024599: Tools for interacting with DRAW from Visual Studio debugger

Minor correction of #include to avoid dependency of package Draw on DBRep (problem building by WOK).
License statements in new files corrected for licensecheck command.
Non-ascii en-dash symbol repleced by Ascii hyphen in debug.md.

5 years ago0024654: Result of Boolean operation is invalid for bopargcheck if rotated
pkv [Thu, 27 Feb 2014 14:50:42 +0000]
0024654: Result of Boolean operation is invalid for bopargcheck if rotated

class  BndLib
   - method:
void BndLib::Add(const gp_Hypr& H,
                 const Standard_Real P1,
                 const Standard_Real P2,
                 const Standard_Real Tol,
                 Bnd_Box& B)
  - static function:
Standard_Integer ComputeBox(const gp_Hypr& aHypr,
                            const Standard_Real aT1,
                            const Standard_Real aT2,
                            Bnd_Box& aBox)
The function computes bounding box for bounded hyperbola

Test case for issue CR24654

5 years ago0024666: Removal of output information in debug mode in Ocaf
vro [Thu, 27 Feb 2014 14:48:52 +0000]
0024666: Removal of output information in debug mode in Ocaf

DEB_BUILDER replaces DEB pre-processor directive to eliminate extra output on setting a shape to a label.
Small correction of test case

5 years ago0024660: Removing unused "generic" classes. Part 1
dln [Tue, 18 Feb 2014 08:44:54 +0000]
0024660: Removing unused "generic" classes. Part 1

In scope of this issue next unused generic classes will be removed:

1) AppBlend_Line

2) AppBlend_SectionGenerator

3) AppCont_SurfLeastSquare

4) AppCont_TheLineTool

5) AppCont_TheSurfTool

6) AppParCurves_MLineToo

7) AppParCurves_Projection

8) ApproxInt_WLine

9) Approx_ComputeCSurface

10) Approx_TheLineTool

11) Blend_Iterator

12) Contap_ArcTool

13) Contap_SurfaceTool

14) Contap_TopolTool

15) Dynamic_EnumerationParameter

16) Dynamic_MethodInstance

17) Extrema_ExtPSOfRev

18) GProp_CurveTool

19) GProp_DomainTool

20) GProp_FaceTool

5 years ago0024575: Exception is raised during 'checkshape' operation.
nbv [Thu, 27 Feb 2014 14:45:27 +0000]
0024575: Exception is raised during 'checkshape' operation.

Recursion calling of "Propagate(...)" function is replaced with cycle.
Test case for issue CR24575

5 years ago0024645: Pointer to the last is wrong for a tree node
vro [Thu, 27 Feb 2014 14:43:38 +0000]
0024645: Pointer to the last is wrong for a tree node

Information on last child is added to the Dump() method + fixed a problem of lost last child tree node on removal (detach) operation.
Test case for issue CR24645

5 years ago0024636: Coding Rules - define rules for development of Draw Harness commands
kgv [Thu, 27 Feb 2014 14:39:32 +0000]
0024636: Coding Rules - define rules for development of Draw Harness commands

.md file corrected grammar, style and logic. Removed redundancies.

5 years ago0024659: misprints in draw documentation
ibs [Tue, 25 Feb 2014 06:53:32 +0000]
0024659: misprints in draw documentation

5 years ago0024364: Document system should use local MathJax also
ibs [Thu, 27 Feb 2014 14:33:30 +0000]
0024364: Document system should use local MathJax also

the new ability choosing of the location of MathJax was introduced
new argument was added to gendoc.bat script
MathJax choice was updated for CHM articles
Minor corrections of documentation

5 years ago0024599: Tools for interacting with DRAW from Visual Studio debugger
abv [Thu, 27 Feb 2014 14:22:52 +0000]
0024599: Tools for interacting with DRAW from Visual Studio debugger

Global functions are added to allow a user performing DRAW commands from VS Command Window when DRAW is interrupted on a breakpoint.
Previously existing functions are adapted to work with Visual Studio debugger (Command Window).
A manual describing use of these functions and other debugging facilities and some hints is added to Developer Guides.
Minor corrections and refinement of debug.md.

5 years ago0024655: Boolean common produces incorrect result
pkv [Thu, 27 Feb 2014 14:15:55 +0000]
0024655: Boolean common produces incorrect result

class BOPAlgo_WireSplitter
   - method:
void BOPAlgo_WireSplitter::SplitBlock
                 (const TopoDS_Face& myFace,
                   BOPTools_ConnexityBlock& aCB);

 - static functions:
void RefineAngles(const TopoDS_Face& myFace,
                  const BOPCol_ListOfShape& myEdges,
                  BOPAlgo_IndexedDataMapOfShapeListOfEdgeInfo& mySmartMap);

void RefineAngles(const TopoDS_Vertex& aV,
                  const TopoDS_Face& myFace,
                  const BOPCol_MapOfShape& aMBE,
                  BOPAlgo_ListOfEdgeInfo& aLEI);

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 treatment p-curves convergent in node.
The refining the angles of p-curves taking into account
bounging curves if exist.

Test case for issue CR24655

5 years agoDeleted TODO which is not reproduced in Debug mode.
apn [Fri, 21 Feb 2014 07:50:37 +0000]
Deleted TODO which is not reproduced in Debug mode.

5 years ago0024648: Different types of intersection curves between Cone and Torus with a differe...
emv [Thu, 20 Feb 2014 13:14:04 +0000]
0024648: Different types of intersection curves between Cone and Torus with a different order of arguments

Correct treatment of the cases with Cone and Torus.
Test cases for issue CR24648

5 years ago0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the sourc...
pkv [Thu, 20 Feb 2014 13:07:51 +0000]
0024620: BOPAlgo_CheckerSI returns interferences that are not sub-shapes of the source shape

void BOPAlgo_CheckerSI::PrepareCopy()
has been added.
Purpose:
   - provides the copy of the argument
   - provides links between the copy and the original
- protected method:
void BOPAlgo_CheckerSI::PostTreatCopy()
has been added.
Purpose: provides post treat actions wit the copy.

void BOPAlgo_PaveFiller::Perform()
The try/catch mechanism is used inside the method

Standard_Integer bopcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

Standard_Integer bopargcheck
  (Draw_Interpretor& di, Standard_Integer n,  const char** a )
The redundant copying is removed.

packages:
BOPAlgo
BOPTest

Test cases for issue CR24620
Small correction of text case for issue CR24620

5 years ago0024627: Extrema 2d between an arc of circle and an ellipse crashes
ifv [Thu, 20 Feb 2014 12:59:35 +0000]
0024627: Extrema 2d between an arc of circle and an ellipse crashes

Test case for issue CR24627

5 years ago0024618: Embedding vertex in BOP depends on the order of arguments
pkv [Thu, 20 Feb 2014 12:53:03 +0000]
0024618: Embedding vertex in BOP depends on the order of arguments

Changes: class BOPDS_DS
   - method:
void BOPDS_DS::AloneVertices(const Standard_Integer theI,
                             BOPCol_ListOfInteger& theLI)const
The condition for DS-index of a vertex has been corrected

class BOPTools_AlgoTools3D
   - static function:
Standard_Boolean HasGeometry(const TopoDS_Shape& aS)
The returnig value  has been corrected for shapes of vertex type

Modified entities:
packages:
BOPDS
BOPTools

Test cases for issue CR24618

5 years ago0024635: Eliminate trivial compiler warnings by GCC in Debug mode
abv [Fri, 14 Feb 2014 12:03:01 +0000]
0024635: Eliminate trivial compiler warnings by GCC in Debug mode

5 years ago0024642: TKOpenGl, OpenGl_Text - rotation angle is ignored in case of 2D text
osa [Wed, 19 Feb 2014 10:27:15 +0000]
0024642: TKOpenGl, OpenGl_Text - rotation angle is ignored in case of 2D text

5 years ago0024641: TKOpenGl - public methods of OpenGl_Text and OpenGl_AspectText classes are...
osa [Wed, 19 Feb 2014 10:17:48 +0000]
0024641: TKOpenGl - public methods of OpenGl_Text and OpenGl_AspectText classes are not exported

5 years ago0024640: Broken logic of check of variable for zero in IntCurvesFace_Intersector...
abv [Wed, 19 Feb 2014 04:54:49 +0000]
0024640: Broken logic of check of variable for zero in IntCurvesFace_Intersector constructor

The check is fixed to avoid FPE division by zero

5 years ago0024558: Boolean operation can not create all results solids which should be built.
emv [Wed, 12 Feb 2014 11:40:05 +0000]
0024558: Boolean operation can not create all results solids which should be built.
Corrections in checking 2d distances when splitting wires.
Test case for the issue.

5 years ago0024624: Lost word in license statement in source files
abv [Thu, 20 Feb 2014 12:06:26 +0000]
0024624: Lost word in license statement in source files

License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.

5 years ago0024530: TKMesh - remove unused package IntPoly
aml [Thu, 13 Feb 2014 05:39:50 +0000]
0024530: TKMesh - remove unused package IntPoly

Deletion of package IntPoly.

5 years agoUpdate testing case for issue 0024499
apn [Fri, 14 Feb 2014 07:56:57 +0000]
Update testing case for issue 0024499
Added XSDRAW instead of XDE

5 years agoAdded QA command OCC24086 and test case bugs/modalg_5/bug24086 for issue 24086.
apn [Thu, 13 Feb 2014 09:44:30 +0000]
Added QA command OCC24086 and test case bugs/modalg_5/bug24086 for issue 24086.

5 years agoAdded test case bugs/modalg_5/bug24074 for issue 24074.
apn [Thu, 13 Feb 2014 09:40:26 +0000]
Added test case bugs/modalg_5/bug24074 for issue 24074.

5 years agoAdded test case bugs/step/bug24055 for issue 24055.
apn [Thu, 13 Feb 2014 09:37:55 +0000]
Added test case bugs/step/bug24055 for issue 24055.

5 years agoAdded QA command OCC24051 and test case bugs/vis/bug24051 for issue 24051.
apn [Thu, 13 Feb 2014 09:25:57 +0000]
Added QA command OCC24051 and test case bugs/vis/bug24051 for issue 24051.

5 years agoAdded QA command OCC24012 and test case bugs/modalg_5/bug24012 for issue 24012.
apn [Thu, 13 Feb 2014 09:22:06 +0000]
Added QA command OCC24012 and test case bugs/modalg_5/bug24012 for issue 24012.

5 years agoAdded test case bugs/vis/bug23984 for issue 23984.
apn [Thu, 13 Feb 2014 09:17:37 +0000]
Added test case bugs/vis/bug23984 for issue 23984.

5 years ago0024585: Wrong pcurve of the section curve
nbv [Wed, 12 Feb 2014 10:21:54 +0000]
0024585: Wrong pcurve of the section curve

PCurve is extended to surface boundary forcefully.
It is made by finding some additional points (if it is possibly).
"bopcurves" DRAW-command returns number of found 3D-curves and (as an option) 2D-curve (see help for more detail information).

Test cases for issue CR24585

5 years ago0024358: TKV3d - connected structures are not re-computed on device lost
aba [Thu, 13 Feb 2014 09:09:42 +0000]
0024358: TKV3d - connected structures are not re-computed on device lost

Graphic3d_StructureManager::ReComputeStructures() method was corrected to consider all child (connected) structures.
Corrected remarks: added image dump in test case; corrected method name.

5 years ago0024402: TKOpenGl - Implement clipping planes in Phong GLSL program
duv [Thu, 13 Feb 2014 09:06:51 +0000]
0024402: TKOpenGl - Implement clipping planes in Phong GLSL program

Limit number of lights (breaks compatibility with old hardware).

5 years ago0024323: TKOpenGl - spot light sources are not handled in Phong GLSL program
duv [Wed, 12 Feb 2014 10:42:27 +0000]
0024323: TKOpenGl - spot light sources are not handled in Phong GLSL program

Limit number of lights (breaks compatibility with old hardware).

5 years ago0024499: fixshape produces inverted solid
apn [Thu, 13 Feb 2014 09:00:05 +0000]
0024499: fixshape produces inverted solid

Bug is not reproduced in current master IR-2014-02-06.
Test bugs/modalg_5/bug24499 was added.

5 years ago0024586: Pipe construction is failed
jgv [Thu, 13 Feb 2014 08:46:57 +0000]
0024586: Pipe construction is failed

Test case for issue CR24586

5 years ago0024412: TKV3d, Dimensions - Possibility to customize text position was lost:
aba [Thu, 13 Feb 2014 08:43:56 +0000]
0024412: TKV3d, Dimensions - Possibility to customize text position was lost:

AIS_Dimension::GetTextPosition() and AIS_Dimension::SetTextPosition() methods were added.
Added possibility to set and unset text label alignment respectively to the attach points after text position changed.
Added test cases to check text positioning with dimension parameters and with setting 3D point.
Corrected DRAW commands vmovedim, vangledim, vdistdim, vradiusdim.
Corrections of AIS_Dimension::SetTextPosition(): aspect parameters are not changed inside it.
Layout mode was removed; test cases and vdimparams, vdimension  commands were corrected.
remarks: coding style, removing redundant code of LayoutMode enumeration.

5 years ago0024547: Convertation of the generic classes to the non-generic (math).
dln [Tue, 21 Jan 2014 08:15:53 +0000]
0024547: Convertation of the generic classes to the non-generic (math).

- class "math_DoubleTab" was converted to the non-generic class. Some changes were made in the class "math_Matrix". And some stylish changes were made.

- class "math_SingleTab" was converted to the non-generic template class. And classes "math_Vector" and "math_IntegerVector" converted to the non-cdl, because they use template class "math_Vector". Some stylish changes were made.

5 years ago0024607: Fix some GCC compiler warnings
abv [Sat, 8 Feb 2014 13:26:06 +0000]
0024607: Fix some GCC compiler warnings

- enumeration value not handled in switch in Aspect_ColorScale.cxx, TNaming_DeltaOnModification.cxx
- comparison between signed and unsigned integer expressions in NIS_Triangulated.cxx, OSD_MAllocHook.cxx, RWStl.cxx
- static function defined or declared but not used in OpenGl_Workspace_2.cxx, ProjLib_ComputeApprox.cxx

5 years ago0024603: The code in TCollection_AsciiString::Search* methods can be simplified
szv [Thu, 28 Mar 2013 08:13:26 +0000]
0024603: The code in TCollection_AsciiString::Search* methods can be simplified

Small improvement in TCollection_AsciiString::Search.

5 years ago0023427: Unused C-sources in OSD package
mmv [Wed, 5 Feb 2014 13:20:39 +0000]
0023427: Unused C-sources in OSD package

Deleted unused sources in OSD package

5 years agoAdded test case demo/samples/raytrace that show raytrace mode.
apn [Fri, 7 Feb 2014 10:47:38 +0000]
Added test case demo/samples/raytrace that show raytrace mode.

5 years agoAdded TODO in test case bugs/modalg_3/bug615 in Debug mode (test case is bad, but...
apn [Fri, 7 Feb 2014 10:45:05 +0000]
Added TODO in test case bugs/modalg_3/bug615 in Debug mode (test case is bad, but behavior changes).

5 years agoReturn cpulimit TODOs because test case doesn't execute always (it crashes by cpulimi...
apn [Fri, 7 Feb 2014 10:42:56 +0000]
Return cpulimit TODOs because test case doesn't execute always (it crashes by cpulimit in Debug mode).

5 years ago0024597: Missing internal vertex in the result of General Fuse Operation
pkv [Thu, 6 Feb 2014 07:21:47 +0000]
0024597: Missing internal vertex in the result of General Fuse Operation

Changes:
class BOPDS_DS
   - method:
void BOPDS_DS::Init()
   - method:
void BOPDS_DS::FaceInfoIn
  (const Standard_Integer theF,
   BOPDS_IndexedMapOfPaveBlock& theMPB,
   BOPCol_MapOfInteger& theMI)
Add the information about internal vertices on faces to the Data Structure

Test case for issue CR24597

5 years ago0023884: Boolean Fuse between two faces fails
pkv [Thu, 6 Feb 2014 07:18:55 +0000]
0023884: Boolean Fuse between two faces fails

fix for the bug v1
fix for the bug v1.1
Test case for issue CR23884

5 years ago0024202: Support class methods as callbacks for Draw Harness commands
kgv [Wed, 5 Feb 2014 09:17:29 +0000]
0024202: Support class methods as callbacks for Draw Harness commands

5 years ago0024591: Modification of tests in group "sewing"
ama [Mon, 3 Feb 2014 13:11:17 +0000]
0024591: Modification of tests in group "sewing"

Proper use of "freebounds" command in sewing testgrid: pload XSDRAW, reference data for checking free edges were added.

5 years ago0024472: Wrong section curves
nbv [Thu, 6 Feb 2014 07:12:09 +0000]
0024472: Wrong section curves

1. Checking, if intersection curve is collapsed, is added. (file GeomInt_LineConstructor.cxx)
2. Earlier, intersection line was considered as valid if only mid-point of every interval of this line is into two intersected surfaces (with given tolerance). That's no good because after inserting of new points, old points, which is considered as valid only because they are into beginning or into end of interval (therefore, they was not checked), moved to mid of interval and became invalid. Therefore, checking for first and last points was added. (file GeomInt_LineConstructor.cxx)
3. Intersection line became valid (see bug description) after adding of new additional points into it (file IntPatch_PrmPrmIntersection.cxx). Methods for finding and adding of new points were added. (file IntWalk_PWalking_1.gxx)
Some test cases were changed.
Test cases for issue CR24472

5 years ago0024208: Optimization of the edge-edge and edge-face intersection algorithms
emv [Thu, 6 Feb 2014 07:07:02 +0000]
0024208: Optimization of the edge-edge and edge-face intersection algorithms

New Edge/Edge intersection algorithm (based on the intersection between edges bounding boxes).
Small correction.

5 years ago0024590: Crash when processing OpenGl_BndBoxPrs objects
kgv [Thu, 6 Feb 2014 07:01:00 +0000]
0024590: Crash when processing OpenGl_BndBoxPrs objects

Eliminate TelType enumeration
Cosmetics, warnings

5 years ago0024588: Fix some ICC warning fixes
abv [Thu, 6 Feb 2014 06:57:56 +0000]
0024588: Fix some ICC warning fixes

Some of ICC warning fixes reported in 0024574 are fixed
Remove redundant ifdef

5 years ago0024587: Separate TCL samples for ray tracing and creation of bottle
abv [Mon, 3 Feb 2014 06:21:23 +0000]
0024587: Separate TCL samples for ray tracing and creation of bottle

New sample created for ray tracing in DRAW: samples/tcl/raytrace.tcl, rendering OCCT bottle with glass on a rectangular table, with shadows and reflections (if OpenCL is available). Sample bottle.tcl retains only modeling part.

5 years agoModified test case (increase cpulimit in Debug mode)
bugmaster [Fri, 31 Jan 2014 08:56:09 +0000]
Modified test case (increase cpulimit in Debug mode)

5 years agoAdjusting of testing case for current state of OCCT
bugmaster [Fri, 31 Jan 2014 08:53:56 +0000]
Adjusting of testing case for current state of OCCT

5 years ago0024523: Colors and layers are lost during loopback test (read-write-read)
szv [Thu, 9 Jan 2014 11:49:16 +0000]
0024523: Colors and layers are lost during loopback test (read-write-read)

Command XGetShapeColor corrected to return generic color

5 years ago0024573: Wrong result of 2d-offset algorithm on customer's shape
jgv [Thu, 30 Jan 2014 12:07:12 +0000]
0024573: Wrong result of 2d-offset algorithm on customer's shape

Test cases for issue CR24573

5 years ago0024024: Slow import of specific STEP data
apn [Thu, 30 Jan 2014 08:33:15 +0000]
0024024: Slow import of specific STEP data

Added test case bugs/step/bug24024

5 years ago0024555: Visualization - the same text is rendered with shift at second time
kgv [Thu, 30 Jan 2014 10:19:28 +0000]
0024555: Visualization - the same text is rendered with shift at second time

Font_FTFont::loadGlyph() - use the same flags as RenderGlyph(), FT_LOAD_NO_HINTING has been missed.

Test cases for issue CR24555

5 years ago0024580: CMake doesn't unset becoming unused variables when 3rdparty's usage is switc...
ibs [Tue, 28 Jan 2014 15:17:50 +0000]
0024580: CMake doesn't unset becoming unused variables when 3rdparty's usage is switched off

unset becoming unused variables when freeimage, opencl, tbb and gl2ps are switched off

5 years ago0002793: BinOcaf: low performance saving documents with large attributes
apn [Wed, 29 Jan 2014 12:08:13 +0000]
0002793: BinOcaf: low performance saving documents with large attributes

Testing case bugs/caf/bug2793 was created.

5 years ago0024157: Parallelization of assembly part of BO
pkv [Tue, 28 Jan 2014 07:09:54 +0000]
0024157: Parallelization of assembly part of BO

I. New features:
I.1 class BOPAlgo_ShellSplitter
The new class BOPAlgo_ShellSplitter has been added.
Purpose:  The class provides the splitting of the set of connected faces
on separate loops

II. Changes:
II.1. class BOPAlgo_BuilderSolid
- method:
void BOPAlgo_BuilderSolid::PerformLoops()
the changes that provide parallel run the ShellSplitter algorithm have been done.

- method:
void BOPAlgo_BuilderSolid::PerformAreas()
the classification the grows and holes has been done using
the algorithm of unbalanced binary tree of overlapped bounding boxes

5 years ago0024564: Select3D_SensitiveFace gives inaccurate picking depth for AIS_Plane (interio...
apl [Fri, 24 Jan 2014 07:01:42 +0000]
0024564: Select3D_SensitiveFace gives inaccurate picking depth for AIS_Plane (interior selection)

1) Used more accurate Select3D_SensitiveTriangulation instead of Select3D_SensitiveFace for rectangular sensitives in AIS_Plane::ComputeSelection, AIS_Dimension::ComputeSelection
2) Test case for CR24564

5 years ago0024481: Test "Perform Infinite Point" provides wrong result for a solid
jgv [Thu, 30 Jan 2014 09:37:12 +0000]
0024481: Test "Perform Infinite Point" provides wrong result for a solid

Test cases for issue CR24481

5 years ago0024569: AIS_InteractiveContext::Update(...) does not updates selection when changing...
apl [Thu, 30 Jan 2014 09:03:48 +0000]
0024569: AIS_InteractiveContext::Update(...) does not updates selection when changing AIS_Plane

1) Allow AIS_InteractiveContext::Update to check, re-project and recompute selection structures even if presentations are not "to be updated".
2) Test case bugs vis bug24569.

Small correction of test case for issue CR24569

5 years ago0024203: Command "sameparameter" in DRAW on attached edge set tolerance equal to...
nbv [Mon, 20 Jan 2014 10:56:15 +0000]
0024203: Command "sameparameter" in DRAW on attached edge set tolerance equal to 116.

Main problem:
Algorithm of locale extrema, which is called by "sameparameter" command, cannot find extrema because extremal point is far from initial point. Therefore, reparametrization of edge's curve (for same-parameter) cannot be made properly.

Solve:
Using of global extrema (see Approx_SameParameter.cxx).

As the given edge contains two 2d-curves and the second from them is problem, for select needed curve, an interface of "mk2dcurve" DRAW-command is changed. Now there can be used an index of curve (by default, index = 1, as earlier), see help for more detail information.

Test "heal advanced Z3":
Now checkshape finds only two invalid subshapes. Earlier, it found four subshapes. I think it is not regression. Therefore, test case was changed.

Tolerance reducing.

test

5 years ago0023855: Old BOPs fail on Win7 64bit when using TBB
Roman Lygin [Thu, 30 Jan 2014 08:58:31 +0000]
0023855: Old BOPs fail on Win7 64bit when using TBB

Minor code refactoring (readability)

Test case for issue CR23855

5 years ago0024503: TKOpenGl - Porting ray-tracing component on BVH package
dbp [Thu, 30 Jan 2014 08:53:54 +0000]
0024503: TKOpenGl - Porting ray-tracing component on BVH package

Updated test case v3d/raytrace/bug24130. The new version checks correctness of shadows.

5 years agoDraw command and test case for testing issue CR24533
mkv [Fri, 24 Jan 2014 10:34:34 +0000]
Draw command and test case for testing issue CR24533

5 years agoDeleted TODO in unstable test case in Debug mode.
bugmaster [Fri, 24 Jan 2014 09:57:48 +0000]
Deleted TODO in unstable test case in Debug mode.

5 years ago0024001: Stereographic rendering support
duv [Thu, 23 Jan 2014 10:44:31 +0000]
0024001: Stereographic rendering support

Deleted TODOs which were used when branch was built without OpenCL.
Modified test case bugs/vis/bug23747_2 (changed textured shape)

5 years ago0024552: Convertation of the generic classes to the non-generic (BndLib).
dln [Thu, 23 Jan 2014 09:50:42 +0000]
0024552: Convertation of the generic classes to the non-generic (BndLib).

Package "BndLib":
Functionality of the files "BndLib_Compute.gxx", "BndLib_Compute2d.cxx" and "BndLib_Compute3d.cxx" (methods Compute(...) for 2d and 3d cases) moved to BndLib.cxx (to the template method Compute(...)). For that had to edit work with points and coordinates a little i.e. method Compute(...) was updated and some methods where Compute(..) is called in "BndLib.cxx".

5 years ago0024533: Use 0 to check null handle instead of UndefinedHandleAccess
Roman Lygin [Thu, 23 Jan 2014 09:37:50 +0000]
0024533: Use 0 to check null handle instead of UndefinedHandleAccess

Handle classes now use 0 as invalid value for pointer instead of custom (and platform-dependent) value like 0xfefd0000.
Compiler macros UndefinedHandleAddress and _OCC64 are eliminated.

5 years ago0024517: Crash at StepToTopoDS_TranslateEdge::Init()
gka [Thu, 23 Jan 2014 07:44:07 +0000]
0024517: Crash at StepToTopoDS_TranslateEdge::Init()

Fixed crash at StepToTopoDS_TranslateEdge::Init() for case when curve is absent)

Corrected error message for case of absence geom curve in edge curve