occt.git
11 years ago0023778: New Boolean Operation algorithm does not work with same arguments.
emv [Thu, 21 Feb 2013 09:35:40 +0000 (13:35 +0400)]
0023778: New Boolean Operation algorithm does not work with same arguments.
Fix for the bug.

11 years ago0023779: New Boolean Operation algorithm produces incorrect result of CUT operation...
emv [Thu, 21 Feb 2013 10:29:02 +0000 (14:29 +0400)]
0023779: New Boolean Operation algorithm produces incorrect result of CUT operation with the attached shapes.
Fix for the bug.
Modifications:
BOPAlgo_Builder::FillSameDomainFaces():
Added treatment of the case when faces have shared bounds.

11 years agoAdded testing cases from grid CHL
ski [Fri, 22 Feb 2013 10:52:42 +0000 (14:52 +0400)]
Added testing cases from grid CHL
Removing test duplicate

11 years ago0023756: VBO rendering problem (1)
kgv [Wed, 20 Feb 2013 09:58:56 +0000 (13:58 +0400)]
0023756: VBO rendering problem (1)

Fixed asymmetric VBO unbind call in OpenGl_Text::drawText().

11 years ago0023727: Variable 'A' set but not used in Graphic3d_ArrayOfPrimitives::VertexColor
kgv [Sat, 26 Jan 2013 19:35:13 +0000 (23:35 +0400)]
0023727: Variable 'A' set but not used in Graphic3d_ArrayOfPrimitives::VertexColor

11 years ago0023735: Linkage error after patch 23663 on non-Windows platforms
dbv [Fri, 22 Feb 2013 10:22:35 +0000 (14:22 +0400)]
0023735: Linkage error after patch 23663 on non-Windows platforms
Linkage error fix
Description fix

11 years ago0023721: Missing usage hints for vselmode command
aba [Fri, 22 Feb 2013 10:16:58 +0000 (14:16 +0400)]
0023721: Missing usage hints for vselmode command

vselmode help string was modified.
Changed error case message.

11 years ago0022610: The algorithm GeomAPI_ProjectPointOnSurf produces wrong results
skv [Fri, 22 Feb 2013 10:13:06 +0000 (14:13 +0400)]
0022610: The algorithm GeomAPI_ProjectPointOnSurf produces wrong results

11 years ago0023739: Execution of Draw Harness command "test" failed
kgv [Sat, 2 Feb 2013 06:32:07 +0000 (10:32 +0400)]
0023739: Execution of Draw Harness command "test" failed

11 years ago0022323: MakeThickSolid raises Construction exception on cylinder.
omy [Fri, 22 Feb 2013 09:56:00 +0000 (13:56 +0400)]
0022323: MakeThickSolid raises Construction exception on cylinder.

Removed BRepTest/BRepTest_ShellCommands.cxx from OCCT.
Added test case for bug 22323. It is placed in bugs/modalg.

11 years ago0023712: Remove dependency on Aspect_GraphicDevice from Aspect_Window
dbv [Mon, 18 Feb 2013 07:59:36 +0000 (11:59 +0400)]
0023712: Remove dependency on Aspect_GraphicDevice from Aspect_Window

11 years agoCorrection of unstable testing cases
dbv [Sat, 16 Feb 2013 09:55:09 +0000 (13:55 +0400)]
Correction of unstable testing cases

11 years ago0023752: Integration of test grid "vpr" into the new testing system
ski [Tue, 12 Feb 2013 11:24:16 +0000 (15:24 +0400)]
0023752: Integration of test grid "vpr" into the new testing system

11 years ago0023703: Projection algorithm produces incomplete 2D-Curve
nbv [Fri, 15 Feb 2013 13:04:16 +0000 (17:04 +0400)]
0023703: Projection algorithm produces incomplete 2D-Curve

Change compare algorithm.
Adding test case for this fix

11 years ago0023761: Removing FTGL defines from OpenGl_CMPLRS.edl
ibs [Fri, 15 Feb 2013 09:06:00 +0000 (13:06 +0400)]
0023761: Removing FTGL defines from OpenGl_CMPLRS.edl

11 years ago0023733: PCurve for edge on face creation failure
skv [Fri, 15 Feb 2013 12:55:25 +0000 (16:55 +0400)]
0023733: PCurve for edge on face creation failure
Adding test case for this fix

11 years ago0023743: AIS_Triangulation crashes if Poly_Triangulation has no normals
vro [Fri, 15 Feb 2013 12:52:07 +0000 (16:52 +0400)]
0023743: AIS_Triangulation crashes if Poly_Triangulation has no normals
A crash on absent normals is avoided.
AIS_Triangulation::Compute() is corrected so that it is much faster,
Adding test case for this fix

11 years ago0023749: Tests cases boolean bsection M9 N4 work incorrect with new Boolean Operation...
emv [Fri, 15 Feb 2013 12:49:54 +0000 (16:49 +0400)]
0023749: Tests cases boolean bsection M9 N4 work incorrect with new Boolean Operation Algorithm.
Fix for the cases.
Small correction test cases

11 years ago0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algor...
emv [Fri, 15 Feb 2013 12:48:17 +0000 (16:48 +0400)]
0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algorithm.
Fix for the bug.
Added simple condition:
If the map myShapes (map of the parts of the tool that should be in result shape) is not filled then boolean operation of the given type will be performed.
Modified test case bugs/modalg_4/bug6334.
Small correction test cases

11 years agoAdjusting testing cases for current state of OCCT
ski [Mon, 11 Feb 2013 13:27:02 +0000 (17:27 +0400)]
Adjusting testing cases for current state of OCCT

11 years ago0023705: Isoline in the AIS viewer is not trimmed
skv [Fri, 8 Feb 2013 13:53:02 +0000 (17:53 +0400)]
0023705: Isoline in the AIS viewer is not trimmed

11 years ago0021762: Integration of new Boolean Operation algorithm to OCCT.
emv [Fri, 8 Feb 2013 13:42:05 +0000 (17:42 +0400)]
0021762: Integration of new Boolean Operation algorithm to OCCT.

Modifications:
- BRepOffset/BRepOffset_Tool.cxx, Features and Fillets algorithms have been ported on new BO algorithm.
- Old BO algorithm, that was implemented in BOP, BooleanOperations and BOPTools packages, has - been deleted.
- Porting SALOME algorithms to new BOP algorithm.
- Fixing regressions. Rebased on current master.
- Corrections in post treatment of section edges;
- Corrections in the accordance with the bug 0023293;
- Small corrections in the bopcheck and bopargcheck commands.
- NCollection maps have been replaced by NCollection indexed maps to guarantee the constant order of sub-shapes in the result of boolean operation.
- Test case feat featprism M9 has been fixed.
- Test cases chl 902 E3 H3 have been fixed (corrections in the treatment of section edges).
- Test cases caf driver B6 B7, caf named_shape F6 F7 have been modified according to the new order of sub-shapes in the result of boolean operation.
- Test cases blend buildevol G1, blend simple K4, bcommon_complex C7, feat featprism L6 have been modified as they are improvements.
- Test case boolean bsection A3 has been modified according to the new syntax of the bsection command.
- Test cases boolean bfuse_complex J1 P9 have been fixed (the function IsInternalFace has been modified to use the function GetFaceOff);
- Test case chl 902 H3 has been fixed (changes in the treatment of section edges);
- Test case boolean bsection D8 has been modified (removed TODO statement);
- Test case boolean bsection A3 has been modified (as the shapes have been changed).
- Added correction of the tolerance values of the shapes according to the bug 0023610.
- test cases:
    boolean bcommon_complex C3,
    boolean bcut_complex F2 O7,
    boolean bfuse_complex C4 C5 E4,
    boolean bsection B6 M8 M9 N4 N5 N7,
    boolean bfuse_simple ZP6,
    draft angle G8,
    feat featprism S2
have been marked as invalid according to the bug 0022033;
- New value of result has been set in the test cases :
    boolean bopsection D4
    boolean bsection R8
as it is correct.
- test case bugs modalg bug23472 has been rewritten according to the new format of bsection command.
- The classes IntTools_Context and IntTools_ShrunkRange have been replaced by BOPInt_Context and BOPInt_ShrunkRange accordingly.
- The new class BRepAlgoAPI_Check has been added according to the bug 0023648.
- Some regressions have been fixed.
- The following test cases have been marked as invalid or rewritten
    bugs modalg buc60462_2, 60531_2, 60776_1, bug472_1, bug472_2, bug472_3, bug497_3, bug62
    bugs moddata bug26_1, bug26_2,
- The test case bugs modalg buc60533 has been rewritten to use the general fuse algorithm for building the result.
- The new value of the result has been set in the test case bugs modalg 60776_2.
- The following test cases have been rewritten according to the new format of the bsection command
    bugs modlag fra62369, pro18892
    bugs moddata bug75_1, bug75_2
- Corrected BRepAlgoAPI_Check.
- Removed package BOPTColStd.
- Rewritten test cases caf named_shape F8 F9.
- Removed unnecessary comments.
- Corrected the following test scripts :
    boolean bcut_complex(012) O3 O4 O5 O6 O8
    boolean bfuse_complex(013) O5 O6 P8
    boolean bopcommon_complex(021) D8 D9
    boolean bopfuse_complex(022) H1 J6
    boolean boptuc_complex(024) D5
    bugs modalg(006) bug399 bug497_1
    feat featprism(003) C4
- Corrections in the treatment of section edges (putting paves on the curves);
- Corrections in BRepOffset_Tool;
- The following test cases have been rewritten according to the new format of the bsection command
   bugs modalg bug6502, bug6554, bug6766_1, bug6766_3
- The new value of the result has been set in the following test cases
   bugs modalg bug1255, bug1255_1
- The following test cases have been marked as invalid or rewritten
   bugs modalg bug472_2, bug472_3, bug825_2
   bugs moddata bug10603, bug152_1, bug152_2, bug3721_1, bug3721_2, bug3721_3
- The following test cases have been rewritten as improvements
   bugs modalg bug693, bug693_1, bug817_1
   bugs moddata bug3721_5, bug3721_6, bug6862_3, bug6862_4, bug6862_6
- Test cases bugs modlag buc60787_1, buc60787_2, buc60788_2, buc60788_3 have been corrected.
- Fixed some SALOME regressions (modifications in the treatment of the section edges);
- Fixed test case bugs modalg bug23100;
- Test cases bugs modalg bug21754, bug22990 have been corrected according to the new format of the bsection command.
- Test cases bugs modalg bug13116_*, bug23711 have been fixed;
- Test cases bugs modalg bug697_2, bug697_4, bug697_7, bug697_8 have been marked as invalid according to the issue 0022033;
- Test cases bugs modalg bug22109_2, bug22109_3 have been corrected;
- Test case bugs modalg bug18186 has been corrected as it is improvement;
- Test case bugs modalg bug22802 has been deleted as there is no package BOPTColStd.

11 years agoAdding of testing cases from subgroups 937 940 and 941 of CHL group
ski [Fri, 8 Feb 2013 11:16:15 +0000 (15:16 +0400)]
Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case

11 years ago0023457: Slow text rendering
kgv [Fri, 8 Feb 2013 11:05:16 +0000 (15:05 +0400)]
0023457: Slow text rendering

Added class Font_FTFont wrapper over FreeType face

Unify collections methods NCollection_Array1, NCollection_Sequence, NCollection_Vector:
declare Upper, Lower, First, Last, ChangeFirst, ChangeLast methods for all these collections.

Added method NCollection_DataMap::Find() with check key is bound + retrieve value within single call interface.

OpenGl_Context::ReleaseResource() method now supports lazy release of shared resources.

Added class OpenGl_Font which implements textured fonts support.
Added class OpenGl_TextFormatter for text formatting using OpenGl_Font.

OpenGl_Text was redesigned to use OpenGl_FontFormatter.

OpenGl_FontMgr class was removed.
All methods related to text rendered removed from OpenGl_Display class.

OpenGl_Trihedron and OpenGl_GraduatedTrihedron classes were redesigned
to use OpenGl_Text.

OpenGl_PrinterContext instance was moved to OpenGl_GraphicDriver fields
(eliminated usage of global instance).

Added test cases into 3rdparty/fonts grid to check different font styles
and perform FPS tests (no automated results - requires manual analysis
or snapshots comparisons).

Removed unused CSF_FTGL dependency.
OpenGl_Text::setupMatrix - do not apply floor for myWinZ

11 years ago0023722: stack overflow during reading IGES in Test Harness
ika [Fri, 8 Feb 2013 10:56:38 +0000 (14:56 +0400)]
0023722: stack overflow during reading IGES in Test Harness
Add creation a new vertex before replace.
Adding of test cases for CR23722

11 years ago0023738: Boolean Fuse between two faces fails
pkv [Fri, 8 Feb 2013 10:53:51 +0000 (14:53 +0400)]
0023738: Boolean Fuse between two faces fails

11 years ago0023736: Exeption during reading STEP file in Test Harness
ika [Fri, 8 Feb 2013 10:50:50 +0000 (14:50 +0400)]
0023736: Exeption during reading STEP file in Test Harness
Add checking for null name and null id
Adding of test cases for CR23736

11 years agoAdjusting test cases for current state of OCCT
ski [Mon, 4 Feb 2013 10:37:06 +0000 (14:37 +0400)]
Adjusting test cases for current state of OCCT

11 years ago0022898: IGES import fails in german environment
abv [Fri, 1 Feb 2013 14:41:16 +0000 (18:41 +0400)]
0022898: IGES import fails in german environment

Added DRAW command dlocale to set and query current locale of the C subsystem
Equivalents of C functions working with conversions of strings to/from reals added in Standard_CString, providing locale-independent behavior (using always "C" locale)
In DRAW packages, calls to atof() and atoi() are replaced by direct calls to Draw::Atof() and Draw::Atoi(), respectively, instead of substituting by #define
Use of atof(), strtod(), and *scanf() involving floating point conversions in OCCT code replaced by locale-independent Atof() and Strtod()
Calls to sprintf() involving floating point in OCCT code are replaced by call to locale-independent Sprintf(), except a few places where converted strings are used immediately for display in the 3d viewer
Changes of global locale are eliminated throughout OCCT code
Proposed correction for GNU libC where v*printf_l functions are absent
Added test case (bugs xde bug22898) for data exchange operations with non-standard locale
Use xlocale on Mac OS X and within glibc
Corrected strtod_l wrapper
Generate error rather than warning
Introduce Standard_CLocaleSentry replacement for removed OSD_Localizer
Standard_CLocaleSentry - copy locale string
Standard_CLocaleSentry - use _configthreadlocale on Windows
Standard_CLocaleSentry::GetCLocale() - return locale_t rather than void*
Corrected misprint in ~Standard_CLocaleSentry()
Use French locale in bug22898 test case
Mark test case as skipped if locale is unavailable on tested system.
Use fr_FR locale for tests on Mac OS X

11 years agoAdding test cases from chl grid
apn [Fri, 1 Feb 2013 13:32:08 +0000 (17:32 +0400)]
Adding test cases from chl grid

11 years ago0023436: BRepOffsetAPI_ThruSections crashes when lofting through identical profiles
jgv [Fri, 1 Feb 2013 13:22:26 +0000 (17:22 +0400)]
0023436: BRepOffsetAPI_ThruSections crashes when lofting through identical profiles
Adding of test case

11 years ago0023711: Incorrect result done by fuse operation
pkv [Fri, 1 Feb 2013 13:19:18 +0000 (17:19 +0400)]
0023711: Incorrect result done by fuse operation

Correction of misprint
Adding of test case

11 years ago0023732: Exception raised during intersection between two surfaces
pkv [Fri, 1 Feb 2013 13:06:03 +0000 (17:06 +0400)]
0023732: Exception raised during intersection between two surfaces

Adding of test case

11 years ago0023310: No IsEqual function for Handles
omy [Fri, 1 Feb 2013 12:47:50 +0000 (16:47 +0400)]
0023310: No IsEqual function for Handles

IsEqual function for Handle(Standard_Transient) was added to global scope.
Getting rid of compilation errors (removed additional IsEqual functions)

11 years ago0023730: Statement has no effect in DNaming_RevolutionDriver.cxx
kgv [Sat, 26 Jan 2013 19:55:37 +0000 (23:55 +0400)]
0023730: Statement has no effect in DNaming_RevolutionDriver.cxx

11 years ago0023725: C++11 compatibility issues in Image_Color.hxx
kgv [Sat, 26 Jan 2013 18:48:12 +0000 (22:48 +0400)]
0023725: C++11 compatibility issues in Image_Color.hxx

Fixed warning emited by g++ 4.7.2

11 years ago0023728: Unused variables "Tolu" and "Tolv" in Select3D
kgv [Sat, 26 Jan 2013 19:39:56 +0000 (23:39 +0400)]
0023728: Unused variables "Tolu" and "Tolv" in Select3D

11 years ago0023729: Statement has no effect in BinMDataStd_NamedDataDriver::Paste()
kgv [Sat, 26 Jan 2013 19:49:45 +0000 (23:49 +0400)]
0023729: Statement has no effect in BinMDataStd_NamedDataDriver::Paste()

11 years ago0023664: Eliminate linker warnings on import of local symbol
abv [Sun, 23 Dec 2012 06:08:16 +0000 (10:08 +0400)]
0023664: Eliminate linker warnings on import of local symbol

Standard_IMPORT removed or replaced by 'export' where it applies to a symbol defined in the same toolkit

11 years ago0023267: cppcheck warning: Using 'memcpy' on class that contains a virtual method
omy [Fri, 1 Feb 2013 11:39:38 +0000 (15:39 +0400)]
0023267: cppcheck warning: Using 'memcpy' on class that contains a virtual method

Removed class _BaseElement, thus _Element's functions are not virtual now.
Removed redundant Msg() function from _Element class.

11 years ago0023726: Wrong usage of NCollection_StdAllocator<void> in QANColStdAllocator2
kgv [Sat, 26 Jan 2013 18:53:49 +0000 (22:53 +0400)]
0023726: Wrong usage of NCollection_StdAllocator<void> in QANColStdAllocator2

Fixed compilation error within g++ 4.7.2

11 years agoUpdate of testing cases
omy [Mon, 28 Jan 2013 13:02:50 +0000 (17:02 +0400)]
Update of testing cases

11 years agoAdjusting testing cases for current state of OCCT
omy [Mon, 28 Jan 2013 10:00:50 +0000 (14:00 +0400)]
Adjusting testing cases for current state of OCCT

11 years ago0023716: Boolean Fuse between two faces fails
pkv [Mon, 28 Jan 2013 07:51:58 +0000 (11:51 +0400)]
0023716: Boolean Fuse between two faces fails

11 years ago0023699: Exception reaised during intersection between two surfaces
pkv [Mon, 28 Jan 2013 07:42:33 +0000 (11:42 +0400)]
0023699: Exception reaised during intersection between two surfaces

11 years ago0023704: The program hang-up during intersection of two edges.
pkv [Wed, 16 Jan 2013 03:09:59 +0000 (07:09 +0400)]
0023704: The program hang-up during intersection of two edges.

11 years ago0023644: Intersection between coaxial cones produces exception
pkv [Mon, 28 Jan 2013 07:33:22 +0000 (11:33 +0400)]
0023644: Intersection between coaxial cones produces exception

Small correction: one more tolerance variable has been added.
Test case for this fix
Small correction of test case

11 years ago0023530: Error in Draw command "checkshape": invalid face is not recognized
nbv [Mon, 28 Jan 2013 07:30:17 +0000 (11:30 +0400)]
0023530: Error in Draw command "checkshape": invalid face is not recognized

Add function for determinate closure in 2D and 3D
Change ChoixUV(...) function
Small correction of test case

11 years ago0023663: Removing 2D viewer library
aba [Fri, 25 Jan 2013 14:11:16 +0000 (18:11 +0400)]
0023663: Removing 2D viewer library

Deleted TKV2d toolkit and CGM, MFT,FontMFT, PlotMgt, PS packages. Deleted 2d test cases.
Deleted WNT_WDriver and Xw_Driver, edited Aspect_Driver.
Deleted trailing spaces, removed WNT_FontMapEntry, WNT_FontTable, WNT_HFontTable
Deleting tests for 2D viewer

11 years ago0023510: Integration of test grid "vis" into the new testing system
ski [Fri, 25 Jan 2013 08:23:15 +0000 (12:23 +0400)]
0023510: Integration of test grid "vis" into the new testing system

11 years agoAdded test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
apn [Fri, 25 Jan 2013 12:22:41 +0000 (16:22 +0400)]
Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.

Modified TODO in some offset cases.
Deleted the same test cases bug697_* in /bugs/modalg
Deleted test cases which is based on v2d commands
Added test cases to folder bugs

11 years ago0023483: Use appropriate type for handling integer time
omy [Thu, 24 Jan 2013 07:27:45 +0000 (11:27 +0400)]
0023483: Use appropriate type for handling integer time

Introduced new cdl-friendly Standard_Time alias to time_t type.

11 years ago0023720: Call of malloc.h include absence in Image_PixMap.cxx
bugmaster [Thu, 24 Jan 2013 08:44:55 +0000 (12:44 +0400)]
0023720: Call of malloc.h include absence in Image_PixMap.cxx

11 years ago0023715: Generated cmake files should link against Cocoa on Mac OS X
kgv [Tue, 22 Jan 2013 07:42:43 +0000 (11:42 +0400)]
0023715: Generated cmake files should link against Cocoa on Mac OS X

Replace inclusion of GL/glu.h header with OpenGl_GlCore11.hxx wrapper
GL/glu.h doesn't exists on Mac OS X without XQuartz 3rd-party library

11 years ago0023668: OCCT automated testing: Using Mesa3d for 3D visualization on virtual Windows...
kgv [Thu, 24 Jan 2013 10:42:36 +0000 (14:42 +0400)]
0023668: OCCT automated testing: Using Mesa3d for 3D visualization on virtual Windows machines

Added advanced Draw Harness environment variable CSF_UserDllPath
to prepend DLL search path for system libraries like "opengl32.dll".

Added new Draw Harness command vglinfo to print OpenGL self info.

11 years ago0023525: Disappearing of highlight in screenshot
kgv [Fri, 25 Jan 2013 10:52:59 +0000 (14:52 +0400)]
0023525: Disappearing of highlight in screenshot

OpenGl immediate mode - get rid from GL display lists

Visual3d_TransientManager, Graphic3d_GraphicDriver:
removed outdated unused methods to draw primitives in immediate mode.
New Draw Harness command to swith rendering mode in immediate mode.

When set to false scene will be always redrawn in back buffer.
V3d_View::ToPixMap - temporarily switch immediate mode to draw into back buffer

Make happy immediate mode dump on OpenGL without FBO (like ms software implementation).
OpenGl_Workspace::RedrawImmediatMode - invalidate back buffer when immediate mode drawn into it
Added more detailed description for Graphic3d_GraphicDriver::SetImmediateModeDrawToFront method

Adding of test case

11 years ago0023062: Incorrect display of edge in draw axo viewer
ika [Fri, 25 Jan 2013 10:49:08 +0000 (14:49 +0400)]
0023062: Incorrect display of edge in draw axo viewer

Update first and last parameters of intervals, because they should be at same period like other values.

11 years ago0023701: Add Cocoa support to Qt samples
dbv [Fri, 25 Jan 2013 10:41:33 +0000 (14:41 +0400)]
0023701: Add Cocoa support to Qt samples
Adapted Qt samples for using Cocoa on Mac OS X

11 years agoAdjusting testing cases for current state of OCCT
apn [Mon, 21 Jan 2013 14:27:00 +0000 (18:27 +0400)]
Adjusting testing cases for current state of OCCT

11 years agoAdded subgroup Specific in group Pipe (chl 930-932). Small correction in boolean...
apn [Tue, 15 Jan 2013 10:56:44 +0000 (14:56 +0400)]
Added subgroup Specific in group Pipe (chl 930-932). Small correction in boolean/bopfuse_simple/ZP6

11 years ago0023682: Implement Draw_Window with Cocoa framework
dbv [Fri, 18 Jan 2013 11:04:50 +0000 (15:04 +0400)]
0023682: Implement Draw_Window with Cocoa framework

Implemented most Draw_Window functions with Cocoa. Still should be implemented: drawing rectangle when zooming, window screenshot function in QAxwd
Added workaround for drawing rectangle when zooming
Added small fixes

11 years ago0023607: Spelling corrections in OCCT tests
ysn [Fri, 18 Jan 2013 10:28:47 +0000 (14:28 +0400)]
0023607: Spelling corrections in OCCT tests

11 years ago0023539: QASelect and QAShiftSelect commands
aba [Fri, 18 Jan 2013 10:22:14 +0000 (14:22 +0400)]
0023539: QASelect and QAShiftSelect commands

Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect
Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx
Replaced  QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto.
Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests.
QACommands in tests were replaced with ViewerTest commands.
QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest.
Help for ViewerTest commands was edited
Small corrections. Added test cases for polygonal selection.
Small correction of test cases

11 years agoCR23684: TCollection_HExtendedString::String() returns a copy instead of const reference
Roman Lygin [Fri, 18 Jan 2013 09:50:27 +0000 (13:50 +0400)]
CR23684: TCollection_HExtendedString::String() returns a copy instead of const reference

Update TCollection_HExtendedString::String() implementation as well

11 years ago0023690: Miscellaneous minor enhancements in OCAF/XDE
Roman Lygin [Fri, 18 Jan 2013 09:47:00 +0000 (13:47 +0400)]
0023690: Miscellaneous minor enhancements in OCAF/XDE

11 years ago0023651: Exception on fillet construction between NURBS and surface of revolution
jgv [Fri, 18 Jan 2013 09:42:52 +0000 (13:42 +0400)]
0023651: Exception on fillet construction between NURBS and surface of revolution

Adding test cases for this fix

11 years ago0023552: Projection algorithm produces wrong results with default tolerance value.
pkv [Fri, 18 Jan 2013 09:39:21 +0000 (13:39 +0400)]
0023552: Projection algorithm produces wrong results with default tolerance value.
Add TKShHealing to TKFillet/EXTERNLIB
Adding test case

11 years ago0023634: Eliminate Polyline and Polygon usage in drawers
kgv [Fri, 18 Jan 2013 09:36:18 +0000 (13:36 +0400)]
0023634: Eliminate Polyline and Polygon usage in drawers

Polylines and polygons removed, now everything is based on PrimitiveArrays.
Added use of Graphic3d_ArrayOfSegments, some additional clean up in Graphic3d_Group.
Dead code elimination in AIS and V3d
Corrected compilation errors
Fixed grid presentation
Adding test case correction

11 years agoTest for 0022778: Bug in BRepMesh
abv [Mon, 3 Dec 2012 18:51:30 +0000 (22:51 +0400)]
Test for 0022778: Bug in BRepMesh

Test case bugs mesh bug22778 added.
Test case bugs mesh bug23473 moved to systematic grid (mesh standard* X5)

11 years ago0023678: Compiler warning in BRepFill_Pipe::ShareFaces()
abv [Fri, 18 Jan 2013 08:16:43 +0000 (12:16 +0400)]
0023678: Compiler warning in BRepFill_Pipe::ShareFaces()

11 years ago0023673: Static method Image_PixMap::SizePixelBytes is not exported
san [Thu, 27 Dec 2012 06:43:05 +0000 (10:43 +0400)]
0023673: Static method Image_PixMap::SizePixelBytes is not exported

Static method Standard_Size SizePixelBytes (const Image_PixMap::ImgFormat thePixelFormat)
exported under Windows to prevent link error in the user code.

11 years ago0023676: Intersection between edge and a face produces extra vertex
pkv [Fri, 18 Jan 2013 08:10:48 +0000 (12:10 +0400)]
0023676: Intersection between edge and a face produces extra vertex

11 years ago0023687: Two opposite conditions. The second condition is always false in ifselect_sh...
Pawel [Fri, 4 Jan 2013 14:18:34 +0000 (15:18 +0100)]
0023687: Two opposite conditions. The second condition is always false in ifselect_shareout.cxx

Deleted if-condition that was always false.

11 years ago0023686: The call to 'Precision::Angular()' is pointless in the Release build
Pawel [Fri, 4 Jan 2013 11:04:50 +0000 (12:04 +0100)]
0023686: The call to 'Precision::Angular()' is pointless in the Release build

Calling 'Precision::Angular()' inky if 'DEB' is defined.

11 years agoAdjusting testing cases
apn [Mon, 14 Jan 2013 12:38:44 +0000 (16:38 +0400)]
Adjusting testing cases

11 years agoAdjusting bugs group for current state of OCCT
apn [Fri, 11 Jan 2013 11:30:11 +0000 (15:30 +0400)]
Adjusting bugs group for current state of OCCT

11 years ago0023652: Non zoomable text with alignment slides away when zooming view
apl [Wed, 19 Dec 2012 14:11:33 +0000 (18:11 +0400)]
0023652: Non zoomable text with alignment slides away when zooming view

Alignment is applied after zoom persistence scaling

11 years agoAdjusting testing cases
apn [Fri, 4 Jan 2013 07:41:58 +0000 (11:41 +0400)]
Adjusting testing cases

11 years agoAdding testing cases from chl group
apn [Fri, 28 Dec 2012 14:50:48 +0000 (18:50 +0400)]
Adding testing cases from chl group

Modified END file of all group bugs. Command nbshape moved to END file. Add begin with variable subgroup
Small correction in END file
Replaced test case bug726_3 from moddata to modalg

11 years ago0023657: Fails compilation with WOK after patch 22980
dbv [Fri, 28 Dec 2012 14:46:36 +0000 (18:46 +0400)]
0023657: Fails compilation with WOK after patch 22980
Key -I added to CSF_TCL_INCLUDE variable

11 years ago0023652: Non zoomable text with alignment slides away when zooming view
apl [Fri, 28 Dec 2012 14:38:00 +0000 (18:38 +0400)]
0023652: Non zoomable text with alignment slides away when zooming view
alignment is applied after zoom persistence scaling
Adding test case for this fix

11 years ago0023636: Problems initialising errorStream
abv [Fri, 21 Dec 2012 09:56:44 +0000 (13:56 +0400)]
0023636: Problems initialising errorStream
OSD_Error.cxx is protected for the case if errorStream is NULL

11 years ago0022820: OCCT IGES writer loses plane information
ika [Fri, 28 Dec 2012 14:30:58 +0000 (18:30 +0400)]
0022820: OCCT IGES writer loses plane information

added writing planes in Type 108 not like BSplines
pcurves for planes not writing
add parameter for choice between writing planes in BSplines and Planes
0022820: OCCT IGES writer loses plane information

pcurves were prohibited also for BRep mode
Adding test case for this fix

11 years ago0023632: Add support for NPOT mipmap textures in TKOpenGl
kgv [Tue, 18 Dec 2012 12:32:37 +0000 (16:32 +0400)]
0023632: Add support for NPOT mipmap textures in TKOpenGl

Use glGenerateMipmap instead of gluBuild2DMipmaps when available.

11 years ago0021357: Transform persistence bug
kgv [Fri, 28 Dec 2012 14:20:27 +0000 (18:20 +0400)]
0021357: Transform persistence bug

Resurrection of lost patch
scale depth size in zoom persistent mode to avoid z-fighting conflicts

11 years ago0023627: Standard_OutOfRange in TopOpeBRep_FacesIntersector
abv [Mon, 10 Dec 2012 20:32:11 +0000 (00:32 +0400)]
0023627: Standard_OutOfRange in TopOpeBRep_FacesIntersector

Number of iterations corrected in static function GetArc()

11 years ago0023622: IGES import produces invalid shape with parameter read.iges.bspline.continuity=0
Roman Lygin [Fri, 28 Dec 2012 14:11:58 +0000 (18:11 +0400)]
0023622: IGES import produces invalid shape with parameter read.iges.bspline.continuity=0
Adding test cases for this fix

11 years ago0023628: Snapshots have wrong dimension when OCCT is built by VC++ 11
kgv [Mon, 17 Dec 2012 08:44:37 +0000 (12:44 +0400)]
0023628: Snapshots have wrong dimension when OCCT is built by VC++ 11

Use AdjustWindowRect() function to adjust window rectangle instead of
manual GetSystemMetrics().

11 years ago0023595: XCAFDoc_ShapeTool extended with two methods - SetAutoNaming() and AutoNaming()
Roman Lygin [Fri, 28 Dec 2012 14:02:51 +0000 (18:02 +0400)]
0023595: XCAFDoc_ShapeTool extended with two methods - SetAutoNaming() and AutoNaming()
Adding new draw command
Adding test case for this fix
Small correction
Small correction

11 years ago0022715: Incorrect faces of the filleted cube after import from iges file
ika [Fri, 28 Dec 2012 13:59:09 +0000 (17:59 +0400)]
0022715: Incorrect faces of the filleted cube after import from iges file

Writing and reading tabulated cylinders in IGES were changed in accordance of Type 122 (parametrization [0,1]x[0,1]

some cosmetic changes
Adding test cases for this fix

11 years ago0023562: nbshapes command works incorrect with the attached shapes
emv [Fri, 28 Dec 2012 13:55:30 +0000 (17:55 +0400)]
0023562: nbshapes command works incorrect with the attached shapes
This option allows to see the number of sub-shapes counting the same sub-shapes with different location as different sub-shapes.
Adding test cases for this fix

11 years agoPrepared branch for raising to master
apn [Mon, 24 Dec 2012 13:16:41 +0000 (17:16 +0400)]
Prepared branch for raising to master

11 years ago0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X
bugmaster [Mon, 24 Dec 2012 13:46:07 +0000 (17:46 +0400)]
0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X

Cocoa_Window draft
OpenGl_Context and OpenGl_Window - added support for Cocoa OpenGL context
TKV3d - accept Cocoa_Window
Draft version of ViewerInit method for Mac OS X
Added ViewerTest_CocoaEventManagerView
ViewerTest - attach events to Cocoa window
Cocoa_Window - disable autorelease on close
Fix for OpenGl_Context::Init method
Cocoa_Window - convert top-left coordinates to bottom-left
Added selection with rubber band (rubber band drawing still should be implemented)
Fixed OpenGl_Display initialization on Mac OS X
Fixed OpenGl includes

11 years agoAdding test cases for chl grid
apn [Fri, 21 Dec 2012 12:39:38 +0000 (16:39 +0400)]
Adding test cases for chl grid

Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal

11 years ago0023576: Intersection algorithm produces trimmed circle with illegal parametric range.
pkv [Fri, 21 Dec 2012 12:35:19 +0000 (16:35 +0400)]
0023576: Intersection algorithm produces trimmed circle with illegal parametric range.

11 years ago0023603: Boolean operation between two edges fails
pkv [Fri, 21 Dec 2012 12:25:15 +0000 (16:25 +0400)]
0023603: Boolean operation between two edges fails

11 years ago0023606: Invalid result of pipe operation
skv [Fri, 21 Dec 2012 12:16:21 +0000 (16:16 +0400)]
0023606: Invalid result of pipe operation

11 years ago0023643: Intersection algorithm produces B-Spline curve in case of coaxial cones
pkv [Fri, 21 Dec 2012 12:05:58 +0000 (16:05 +0400)]
0023643: Intersection algorithm produces B-Spline curve in case of coaxial cones

11 years ago0023203: STEP import produces wrong surface of revolution on ellipse
bugmaster [Fri, 21 Dec 2012 12:01:04 +0000 (16:01 +0400)]
0023203: STEP import produces wrong surface of revolution on ellipse

Checking of XAsis for ellipses was added.
Adding test case for this fix

11 years ago0023529: Uninitialized variable: aSurfType - AIS_DiameterDimension.cxx , line 339
Pawel [Fri, 9 Nov 2012 09:24:50 +0000 (10:24 +0100)]
0023529: Uninitialized variable: aSurfType - AIS_DiameterDimension.cxx , line 339

Initialized the variable 'aSurfType'.