occt.git
11 years ago0022884: The attached face cannot be displayed in shading mode
oan [Fri, 25 May 2012 12:17:12 +0000 (16:17 +0400)]
0022884: The attached face cannot be displayed in shading mode

BRepMesh_Delaun class has been corrected
Extended checking of segments intersection
SquareModulus is used
Detail checking of intersection
Zero division checking
Right segment intersection in MeshPolygon + coding standard
eliminating the test variable
Cleaning up the polygon from internal triangles

11 years ago0023158: ApproxInt_PrmPrmSvSurfaces raises FPE (division by zero) signal
vsr [Thu, 17 May 2012 06:24:01 +0000 (10:24 +0400)]
0023158: ApproxInt_PrmPrmSvSurfaces raises FPE (division by zero) signal

Prevent division by zero in ApproxInt_PrmPrmSvSurfaces::Compute

11 years ago0023160: Cut operation with the attached shapes produces a not correct result.
emv [Fri, 18 May 2012 08:31:31 +0000 (12:31 +0400)]
0023160: Cut operation with the attached shapes produces a not correct result.

11 years ago0023021: MeshVS_DataSource::GetNormalsByElement returns Standard_False and gives...
Pawel [Fri, 13 Apr 2012 11:38:52 +0000 (13:38 +0200)]
0023021: MeshVS_DataSource::GetNormalsByElement returns Standard_False and gives no result even when all normals are OK

If all normals are correctly computed using GetNodeNormal the variable 'res' is never set to Standard_True and the normals are not passed to the variable 'Normals' that is supposed to hold the result of the computation.

11 years ago0023047: Behaviour of XDE sample is non-stable
dbv [Fri, 25 May 2012 11:00:08 +0000 (15:00 +0400)]
0023047: Behaviour of XDE sample is non-stable
Changed behavior of XCAFDoc_ShapeTool::RemoveShape(const TDF_Label& L) function. Now if L is a location for a shape then function will also removes the label with a shape.
Added Boolean argument to the XCAFDoc_ShapeTool::RemoveShape function which allow to choose either to delete an instance or a complete shape. (Standard_True by default, removes complete shape).

11 years agoCorrection of compilation error
bugmaster [Mon, 21 May 2012 07:20:39 +0000 (11:20 +0400)]
Correction of compilation error

11 years ago0023136: Increase visibility of DRAW samples
abv [Fri, 18 May 2012 11:05:29 +0000 (15:05 +0400)]
0023136: Increase visibility of DRAW samples

Tcl samples moved from src/DrawResources to samples/tcl.
Scripts VisualisationDemo.tcl and ModelingDemo.tcl fixed to work on Windows.
File wing.brep moved from src/DrawResources to data/occ, and DataExchangeDemo.tcl corrected.
OCAFDemo.tcl removed, as it has little sense and referred data files are lost
Added sample Tcl script creating a model defined on the 'Open CASCADE challenge' web page

11 years ago0023148: Error in stepstrcmp
gka [Fri, 11 May 2012 12:59:04 +0000 (16:59 +0400)]
0023148: Error in stepstrcmp

Fix for reading complex entities in STEP reader

11 years ago0022903: DeviationAngle from AIS_InteractiveContext returns constant value
Pawel [Mon, 16 Apr 2012 13:12:07 +0000 (15:12 +0200)]
0022903: DeviationAngle from AIS_InteractiveContext returns constant value
Returning myDefaultDrawer->DeviationAngle() instead of a constant value

11 years ago0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last...
jgv [Sat, 12 May 2012 11:28:11 +0000 (15:28 +0400)]
0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve

11 years ago0023151: Add command line option to DRAWEXE to execute specified command
abv [Fri, 11 May 2012 10:29:52 +0000 (14:29 +0400)]
0023151: Add command line option to DRAWEXE to execute specified command

New command line option -c added to DRAWEXE: if it is given, the following arguments are considered as commands to be executed by DRAW after start.
When options -f or -c are used, DRAW exits after completion of the script unless option -i is given.
Option -l is removed as obsolete (not needed anymore due to appearance of option -v).
Option -h (or --help) is added, giving help on command options.
Reporting of unrecognized options added.
On Windows, when run in interactive mode, extended error reporting in case of DLL loading problems activated.

11 years ago0023100: Wrong adjustment of p-curves on a cylinder
pkv [Thu, 12 Apr 2012 04:20:32 +0000 (08:20 +0400)]
0023100: Wrong adjustment of p-curves on a cylinder

11 years ago0022939: Make B-Spline internal cache thread-safe to be used in multy-threaded mode
abv [Fri, 4 May 2012 11:51:20 +0000 (15:51 +0400)]
0022939: Make B-Spline internal cache thread-safe to be used in multy-threaded mode

Internal cache in classes implementing b-spline curves and surface in Geom and Geom2d packages is protected from possible concurrency by mutex (added as a class field in each instance).

11 years ago0023131: Unhandled case in void CSLib::Normal(...)
abv [Fri, 4 May 2012 08:18:10 +0000 (12:18 +0400)]
0023131: Unhandled case in void CSLib::Normal(...)

Case of extrema failure is handled together with case of no solutions found.
Local variable Vsuiv is initialized by zero to avoid compiler warning.

11 years ago0023114: Extrema algorithm throws the exception.
pkv [Tue, 17 Apr 2012 07:15:26 +0000 (11:15 +0400)]
0023114: Extrema algorithm throws the exception.

11 years ago0022826: Increasiong of perfomance of fixes applied during translation of STEP files.
ama [Mon, 16 Apr 2012 08:17:31 +0000 (12:17 +0400)]
0022826: Increasiong of perfomance of fixes applied during translation of STEP files.
Modification draw command "proj" and class GeomAPI_ProjectPointOnSurf: adding the ability to use UBTree algorithm to find projection in Extrema_GenExtPS.

11 years ago0022883: Extrema can not find projection of 3D point on surface.
ama [Sat, 5 May 2012 13:04:19 +0000 (17:04 +0400)]
0022883: Extrema can not find projection of 3D point on surface.

Optimization of process of surface discretization: increase the number of parametric points in case of a complex surface geometry (BSpline and Bezier surfaces).
Small correction process of building subgrid in Extrema_GenExtPS::FindSolution().
Minor corrections (formatting, duplicate statements)

11 years ago0023103: Regression in bsection
pkv [Fri, 20 Apr 2012 04:00:49 +0000 (08:00 +0400)]
0023103: Regression in bsection

11 years ago0023029: split shape algorithm works incorrectly in some cases
epa [Sat, 5 May 2012 12:32:03 +0000 (16:32 +0400)]
0023029: split shape algorithm works incorrectly in some cases

Correct handling of periodic bsplines in extrema. If range of edge is out of the period, interval boundaries should be recomputed
Face orientation is changed to forward for simplification of wires collection regressions were fixed
Bounding box for periodic splines is corrected

11 years ago0023071: Comparison of file extension is case sensitive
szy [Sat, 5 May 2012 12:26:50 +0000 (16:26 +0400)]
0023071: Comparison of file extension is case sensitive

Fix makes a temporary copy of the filename and its extension and converts both to lowercase for comparison.

11 years ago0023124: Porting products samples on OCCT 6.5.3
bugmaster [Mon, 30 Apr 2012 10:12:13 +0000 (14:12 +0400)]
0023124: Porting products samples on OCCT 6.5.3
Removed redundant scripts from samples/qt/Common and samples/qt/Interface folders
Fixed Linux scripts for Tutorial and ImportExport samples

11 years agoAdding missing EOL at the end of file
bugmaster [Wed, 25 Apr 2012 13:33:13 +0000 (17:33 +0400)]
Adding missing EOL at the end of file

11 years ago0023095: Porting demo and samples on OCCT 6.5.3 V6_5_3
bugmaster [Tue, 24 Apr 2012 13:47:31 +0000 (17:47 +0400)]
0023095: Porting demo and samples on OCCT 6.5.3

Fix for paths in *.vcproj files in MFC sample
Fixed scripts for QT samples on Linux platform

11 years agoCorrection of files of qt samples for generation VS projects
dbv [Mon, 23 Apr 2012 07:57:19 +0000 (11:57 +0400)]
Correction of files of qt samples for generation VS projects

11 years ago0023095: Porting demo and samples on OCCT 6.5.3
dbv [Sat, 21 Apr 2012 09:47:03 +0000 (13:47 +0400)]
0023095: Porting demo and samples on OCCT 6.5.3

11 years ago0023115: Polygon offset doesn't applied in Viewer3D sample
san [Fri, 20 Apr 2012 06:27:13 +0000 (10:27 +0400)]
0023115: Polygon offset doesn't applied in Viewer3D sample

Graphic3d_AspectFillArea3d: use Aspect_POM_Fill polygon offset mode by default

Graphic3d_Group: disable texture mapping if invalid texture ID is specified

AIS_InteractiveObject: remove Fill() method, polygon offset parameters
should be applied explicitly in Compute() method or by SetPolygonOffsets()

AIS_TexturedShape: Compute() now takes polygon offsets into account

12 years ago0023115: Polygon offset doesn't applied in Viewer3D sample
san [Wed, 18 Apr 2012 17:15:49 +0000 (21:15 +0400)]
0023115: Polygon offset doesn't applied in Viewer3D sample

- AIS_InteractiveObject::SetPolygonOffsets() patched to update all object's groups that has AspectFillArea3d set.
- vpolygonoffset DRAW command added.

12 years agoUpdate Standard_Version.hxx file for OCCT 6.5.3
bugmaster [Thu, 19 Apr 2012 14:13:03 +0000 (18:13 +0400)]
Update Standard_Version.hxx file for OCCT 6.5.3

12 years agoUpdate of service files for WOK
bugmaster [Thu, 19 Apr 2012 14:06:04 +0000 (18:06 +0400)]
Update of service files for WOK

12 years ago0023097: MFC Samples do not compile after redesigning the TKOpenGl driver
Pawel [Wed, 11 Apr 2012 10:53:28 +0000 (12:53 +0200)]
0023097: MFC Samples do not compile after redesigning the TKOpenGl driver
Replaced the obsolete 'TriangleSet' rendering primitive with 'Graphic3d_ArrayOfTriangles'

12 years agoCorrection of compilation problem with WOK
bugmaster [Wed, 18 Apr 2012 14:45:09 +0000 (18:45 +0400)]
Correction of compilation problem with WOK

12 years agoCorrection of compilation errors
bugmaster [Fri, 13 Apr 2012 12:34:10 +0000 (16:34 +0400)]
Correction of compilation errors

12 years ago0023102: Change the algorithm of rendering the 3d viewer background using tiled texture
ouv [Fri, 13 Apr 2012 10:58:31 +0000 (14:58 +0400)]
0023102: Change the algorithm of rendering the 3d viewer background using tiled texture

12 years ago0023107: Update of OCCT service files for generation of Makefile files by WOK
bugmaster [Fri, 13 Apr 2012 06:57:15 +0000 (10:57 +0400)]
0023107: Update of OCCT service files for generation of Makefile files by WOK

12 years ago0023110: Hotfix: dependency of ViewerTest on OpenGL libs should be recorded in EXTERNLIB
abv [Fri, 13 Apr 2012 08:20:45 +0000 (12:20 +0400)]
0023110: Hotfix: dependency of ViewerTest on OpenGL libs should be recorded in EXTERNLIB

12 years ago0023002: empty delete operator in TDF_LabelNode
abv [Thu, 12 Apr 2012 06:25:59 +0000 (10:25 +0400)]
0023002: empty delete operator in TDF_LabelNode

Destruction of TDF_LabelNode class corrected so as to use consistently defined new/delete operators

12 years ago0023064: MSVC compiler warnings when Freeimage is not used
abv [Tue, 3 Apr 2012 14:54:06 +0000 (18:54 +0400)]
0023064: MSVC compiler warnings when Freeimage is not used

Compiler warning on conversion of BOOL to bool (C4800, VC++ 8.0) generated by code active when HAVE_FREEIMAGE is not defined is avoided in OpenGl_Workspace.cxx

12 years ago0023101: TKOpenGl possible glext header conflicts
kgv [Thu, 12 Apr 2012 04:55:12 +0000 (08:55 +0400)]
0023101: TKOpenGl possible glext header conflicts

12 years ago0023092: Error in BRepProj_Projection algorithm: some edges of resulting projected...
jgv [Tue, 10 Apr 2012 13:43:01 +0000 (17:43 +0400)]
0023092: Error in BRepProj_Projection algorithm: some edges of resulting projected wire are duplicated

12 years ago0023089: Wrong result done by solid classifier algorithm
pkv [Tue, 10 Apr 2012 05:08:37 +0000 (09:08 +0400)]
0023089: Wrong result done by solid classifier algorithm

12 years ago0023067: OpenGl package API needed by UserDraw feature is not exported
san [Thu, 12 Apr 2012 10:04:59 +0000 (14:04 +0400)]
0023067: OpenGl package API needed by UserDraw feature is not exported

Windows: Exporting non-inline methods that provide info about the current state of OCCT renderer.
Minor tweak: fixing incomplete handle/dynamic type for OpenGl_Resource
vuserdraw command added to test UserDraw basic operation
Separate source file ViewerTest_OpenGlCommands.cxx added for commands testing low-level TKOpenGl functionality

12 years ago0023085: Call of tcl DFBrowser leads to error message
szy [Thu, 12 Apr 2012 09:54:51 +0000 (13:54 +0400)]
0023085: Call of tcl DFBrowser leads to error message

Fix the problem of bug ID 23085. Now dftree.tcl script is loaded (if found) inside the command.
Compilation problem fixed (missing include), redundant comments removed, code simplified, error messages added

12 years ago0023081: This is desirable to retrieve GPU memory information from graphic driver
kgv [Thu, 12 Apr 2012 08:49:54 +0000 (12:49 +0400)]
0023081: This is desirable to retrieve GPU memory information from graphic driver

Added Graphic3d_GraphicDriver::MemoryInfo() function.
Added vfps command to estimate average frame rate of 3D Viewer
Simplified vdrawsphere command
Removed turnVbo and performance measurements from vdrawsphere.
Added vvbo command to control VBO usage flag.
Added vmemgpu command to display GPU memory info from graphic driver

12 years ago0023076: Empty result done by intersection algorithm for a curve and a surface
pkv [Fri, 6 Apr 2012 07:16:24 +0000 (11:16 +0400)]
0023076: Empty result done by intersection algorithm for a curve and a surface

12 years ago0023069: Cache GL_FEEDBACK mode per frame in TKOpenGl calls
kgv [Thu, 12 Apr 2012 08:25:07 +0000 (12:25 +0400)]
0023069: Cache GL_FEEDBACK mode per frame in TKOpenGl calls

12 years ago0023000: Improve the way the gradient and textured background is managed in 3d viewer
ouv [Thu, 5 Apr 2012 15:31:19 +0000 (19:31 +0400)]
0023000: Improve the way the gradient and textured background is managed in 3d viewer

12 years ago0023043: Wrong results of BRepExtrema_DistShapeShape: non-null minimum distance betwe...
jgv [Fri, 6 Apr 2012 10:25:44 +0000 (14:25 +0400)]
0023043: Wrong results of BRepExtrema_DistShapeShape: non-null minimum distance between intersecting line and cylinder

12 years ago0022682: Draw options -v and -f do not influent to AISInitViewer command
kgv [Mon, 2 Apr 2012 08:28:54 +0000 (12:28 +0400)]
0022682: Draw options -v and -f do not influent to AISInitViewer command

Corrected ViewerTest_Tool::MakeViewer() - window
was mapped before virtual flag was set.

12 years ago0023065: This is desirable to add general DRAW command to estimate visualization...
kgv [Fri, 6 Apr 2012 08:33:47 +0000 (12:33 +0400)]
0023065: This is desirable to add general DRAW command to estimate visualization performance

Added vfps command to estimate average frame rate of 3D Viewer
Simplified vdrawsphere command

Removed turnVbo and performance measurements from vdrawsphere.
Added vvbo command to control VBO usage flag.

12 years ago0023060: Exception is raised during intersection of two edges.
pkv [Tue, 3 Apr 2012 04:09:49 +0000 (08:09 +0400)]
0023060: Exception is raised during intersection of two edges.

12 years ago0023051: Bug in BRepExtrema_DistShapeShape (through BRepExtrema_DistanceSS)
abv [Mon, 2 Apr 2012 08:55:25 +0000 (12:55 +0400)]
0023051: Bug in BRepExtrema_DistShapeShape (through BRepExtrema_DistanceSS)

Fixed problem of returning swapped solution points for extrema between face and vertex.

12 years ago0022946: BRepFeat_SplitShape crashes on splitting a face by two edges
jgv [Fri, 6 Apr 2012 07:52:38 +0000 (11:52 +0400)]
0022946: BRepFeat_SplitShape crashes on splitting a face by two edges

null check for pcurve added to avoid exceptions
Correction to avoid the regression: check after PutPCurve(edg,fac)

12 years ago0022698: Add OCC_VERSION_DEVELOPMENT definition in Standard_Version.hxx V6_5_3_beta1
abv [Mon, 2 Apr 2012 11:00:32 +0000 (15:00 +0400)]
0022698: Add OCC_VERSION_DEVELOPMENT definition in Standard_Version.hxx

New macros added to Standard_Version.hxx to identify OCC version more precisely:

- OCC_VERSION_DEVELOPMENT is to be defined as string in any version different from official release, to indicate that it is modified

- OCC_VERSION_COMPLETE is string form of the complete version number major.minor.maintenance

- OCC_VERSION_STRING_EXT is extended string for of the version equal to OCC_VERSION_COMPLETE and adding OCC_VERSION_DEVELOPMENT as suffix if it is defined

Version promoted to 6.5.3.beta1

12 years ago0023044: Regression: 3D views are not invalidated by some modifications of OpenGl_Str...
san [Fri, 30 Mar 2012 13:29:19 +0000 (17:29 +0400)]
0023044: Regression: 3D views are not invalidated by some modifications of OpenGl_Structure

myIsUpdated flag and Invalidate() method removed from OpenGl_Workspace class.
View redrawing is made unconditional.
V3d_View::Update() becomes deprecated and should be replaced with V3d_View::Redraw().
V3d_Viewer::Update() becomes deprecated and equivalent to Redraw()

12 years ago0022971: TKOpenGl clean up obsolete functionality
kgv [Fri, 30 Mar 2012 13:25:28 +0000 (17:25 +0400)]
0022971: TKOpenGl clean up obsolete functionality

Added native handles to OpenGl_Context
Removed unused and unimplemented PolygonHoles
Removed unimplemented Polygon functions
Removed unused QuadrangleMesh functions
Removed unused TriangleMesh functions
Removed dead Bezier function declarations
Redirect Graphic3d_Group::Polyline() to primitives array

Move Prs3d_ShadedShape template code to StdPrs_ShadedShape
where it is only used before.

Remove TriangleSet usage from AIS_TexturedShape

Texture coordinates functionality added StdPrs_ShadedShape
to eliminate code duplication.

Eliminated usage of TriangleSet from  QABugs_PresentableObject
Eliminated usage of TriangleMesh from StdPrs_ShadedSurface

Removed TriangleMesh and TriangleSet support
OpenGl_PrimitiveArray - render Edges only for primitives > GL_LINE_STRIP
Added vgrid command to show grid in 3D Viewer

12 years ago0023009: Request of a new feature for units management during step import
gka [Thu, 29 Mar 2012 12:36:15 +0000 (16:36 +0400)]
0023009: Request of a new feature for units management during step import

Added method to get units from STEP file

12 years ago0022913: Clean up source repository from unused files
dbv [Thu, 29 Mar 2012 15:32:30 +0000 (19:32 +0400)]
0022913: Clean up source repository from unused files

Changes
Removed unused files. Files in QAResources have been moved to DrawResources
Removing unused files from NCollection (see #23041)

12 years ago0022734: Memory allocation error in OpenGl
dbv [Thu, 29 Mar 2012 15:29:26 +0000 (19:29 +0400)]
0022734: Memory allocation error in OpenGl

12 years ago0023012: Detection gives incorrect results
ouv [Mon, 26 Mar 2012 15:50:04 +0000 (19:50 +0400)]
0023012: Detection gives incorrect results

12 years ago0022523: DRAWEXE randomly crashed on smooth navigation in 3D-Viewer
kgv [Tue, 27 Mar 2012 07:58:50 +0000 (11:58 +0400)]
0022523: DRAWEXE randomly crashed on smooth navigation in 3D-Viewer

Check vector modulus to avoid possible exceptions.

12 years ago0022786: 64bit issue in AdvApp2Var
Roman Lygin [Tue, 27 Mar 2012 16:04:46 +0000 (20:04 +0400)]
0022786: 64bit issue in AdvApp2Var

12 years ago0023045: Add Readme file to OCCT sources
abv [Thu, 29 Mar 2012 11:02:06 +0000 (15:02 +0400)]
0023045: Add Readme file to OCCT sources

12 years ago0023038: QA command OCC361 gives an exception
vro [Wed, 28 Mar 2012 08:33:22 +0000 (12:33 +0400)]
0023038: QA command OCC361 gives an exception

12 years ago0022752: Fix compilation on Unix with FreeImage and GL2PS support
dbv [Fri, 23 Mar 2012 11:11:14 +0000 (15:11 +0400)]
0022752: Fix compilation on Unix with FreeImage and GL2PS support

Added missed includes config.h

12 years ago0022483: ZBufferTrihedron loses user-defined color
dln [Fri, 23 Mar 2012 09:01:14 +0000 (13:01 +0400)]
0022483: ZBufferTrihedron loses user-defined color

12 years ago0023036: Incorrect initialization of Poly_MakeLoops::Link
szv [Thu, 22 Mar 2012 14:35:22 +0000 (18:35 +0400)]
0023036: Incorrect initialization of Poly_MakeLoops::Link

12 years ago0022828: Fuse on simple shapes with conical surfaces crashes
pkv [Mon, 26 Mar 2012 12:03:35 +0000 (16:03 +0400)]
0022828: Fuse on simple shapes with conical surfaces crashes

The treatment the cases when apices of cones are coinsided.
The misprint for empty solution has been corrected.

12 years ago0023030: Collect all DRAW commands created for testing bugs into one package
dbv [Mon, 26 Mar 2012 11:59:41 +0000 (15:59 +0400)]
0023030: Collect all DRAW commands created for testing bugs into one package

QA* packages have been collected in one QABugs package.

12 years ago0023035: TKOpenGl redesign regression caused by destruction of global OpenGl_Display...
kgv [Thu, 22 Mar 2012 10:30:31 +0000 (14:30 +0400)]
0023035: TKOpenGl redesign regression caused by destruction of global OpenGl_Display instance

Do not destroy global openglDisplay instance

12 years ago0023032: A crash of a draw-command voxeloctboolds on MMGT_OPT=0, MMGT_REENTRANT=1
vro [Thu, 22 Mar 2012 12:22:26 +0000 (16:22 +0400)]
0023032: A crash of a draw-command voxeloctboolds on MMGT_OPT=0, MMGT_REENTRANT=1

12 years ago0023023: VRML reader fails on attempt to read an attached WRL file
vro [Thu, 22 Mar 2012 05:06:16 +0000 (09:06 +0400)]
0023023: VRML reader fails on attempt to read an attached WRL file

12 years ago0023031: Empty result for the extrema between a circle and a line.
pkv [Wed, 21 Mar 2012 09:56:34 +0000 (13:56 +0400)]
0023031: Empty result for the extrema between a circle and a line.

12 years ago0022867: Avoid performing mesh of a singled face model in parallel mode when flag...
azn [Fri, 23 Mar 2012 11:31:00 +0000 (15:31 +0400)]
0022867: Avoid performing mesh of a singled face model in parallel mode when flag IsParallel is set to true.

12 years ago0023033: Standard_MMgrOpt::Reallocate behavior must be similar to "realloc"
dbv [Wed, 21 Mar 2012 11:16:30 +0000 (15:16 +0400)]
0023033: Standard_MMgrOpt::Reallocate behavior must be similar to "realloc"

Changes :
Standard_MMgrOpt::Reallocate has been modified to allocate new memory block if NULL pointer has been passed.

12 years ago0023027: Move TopAbs out of TKG2d
szv [Wed, 21 Mar 2012 11:35:43 +0000 (15:35 +0400)]
0023027: Move TopAbs out of TKG2d

12 years agoCorrection compilation problem on Linux platform
bugmaster [Thu, 22 Mar 2012 09:59:51 +0000 (13:59 +0400)]
Correction compilation problem on Linux platform

0023015: TKOpenGl redesign regression in text printing

12 years agoCorrection of compilation errors
bugmaster [Thu, 22 Mar 2012 06:29:17 +0000 (10:29 +0400)]
Correction of compilation errors

0023015: TKOpenGl redesign regression in text printing

12 years ago0023024: Update headers of OCCT files
bugmaster [Wed, 21 Mar 2012 15:43:04 +0000 (19:43 +0400)]
0023024: Update headers of OCCT files

Added appropriate copyright and license information in source files

12 years ago0022627: Change OCCT memory management defaults
kgv [Wed, 21 Mar 2012 14:10:41 +0000 (18:10 +0400)]
0022627: Change OCCT memory management defaults

12 years ago0022809: BRepIntCS does not find intersections of an ellipsoid and a line passing...
jgv [Mon, 19 Mar 2012 12:12:21 +0000 (16:12 +0400)]
0022809: BRepIntCS does not find intersections of an ellipsoid and a line passing through it's apex (and near it)

12 years ago0023013: Fails to build with gcc 4.6.3
dbv [Wed, 21 Mar 2012 06:28:01 +0000 (10:28 +0400)]
0023013: Fails to build with gcc 4.6.3

Changes:
Removed unnecessary cast in BRepClass3d_SClassifier::PerformInfinitePoint function

12 years ago0023001: Mistake in OpenGl_FrameBuffer::IsValidDepthBuffer
apl [Wed, 21 Mar 2012 11:59:42 +0000 (15:59 +0400)]
0023001: Mistake in OpenGl_FrameBuffer::IsValidDepthBuffer

12 years ago0023015: TKOpenGl redesign regression in text printing
apl [Fri, 16 Mar 2012 09:12:26 +0000 (13:12 +0400)]
0023015: TKOpenGl redesign regression in text printing

Changes:
- the lost code block for scaling text restored;
- the color attributes fixed.

12 years agoCorrection of compilation problem
bugmaster [Wed, 21 Mar 2012 08:42:55 +0000 (12:42 +0400)]
Correction of compilation problem

0022332: Fix for Visual3d_Layer (linetype, linewidth and transparency)

12 years ago0022796: Possibility to display multi-line text in 3D
kgv [Wed, 7 Mar 2012 11:44:30 +0000 (15:44 +0400)]
0022796: Possibility to display multi-line text in 3D

Changes:

Text rendering in OCCT 3D view can now display multi-line text correctly. In addition to '\n' and '\r' characters, '\t' is also treated specially, i.e. replaced by a fixed number of spaces. Other control characters (like '\b' or '\a') are simply ignored by text rendering code.

Also standard GL2PS's alignment isn't used because it's doesn't works correctly for all formats, therefore alignment is calculated manually now.

12 years ago0023004: Boolean operation cut produces incorrect result.
pkv [Mon, 12 Mar 2012 16:13:09 +0000 (20:13 +0400)]
0023004: Boolean operation cut produces incorrect result.

12 years ago0022543: Attempt to fix some errors reported by valgrind at Draw execution
dbv [Fri, 16 Mar 2012 14:02:18 +0000 (18:02 +0400)]
0022543: Attempt to fix some errors reported by valgrind at Draw execution

Changes:
Added delete for a_string in src/Draw/Draw_Interpretor.cxx

12 years ago0023016: Elimination of dependency of Tcl OCAF Browser from Tix product
szv [Thu, 15 Mar 2012 06:41:15 +0000 (10:41 +0400)]
0023016: Elimination of dependency of Tcl OCAF Browser from Tix product

12 years ago0022332: Fix for Visual3d_Layer (linetype, linewidth and transparency)
bugmaster [Tue, 20 Mar 2012 14:11:09 +0000 (18:11 +0400)]
0022332: Fix for Visual3d_Layer (linetype, linewidth and transparency)

Changes:
There are following changes in packages:
OpenGl package:
  1) The method that sets the line attributes in layer mode
     call_togl_set_line_attributes has been modified. Now it doesn't depends
     on static flag variables, instead of it method tries to acquire the
     current OpenGl attribute flags.
  2) The layer begin/end methods call_togl_begin_layer2d / call_togl_end_layer2d
     has been modified to keep the OpenGl attribute flags unchanged.
  3) The maximum count of predefined line styles for OpenGl driver has been
     defined as TEL_LS_MAX in InterfaceGraphic.hxx, this value is used during
     the line style list creation in TsmInitAttributes.

InterfaceGraphic package:
  1) The maximum count of default line styles has been defined as TEL_LS_MAX
     in InterfaceGraphic.hxx

ViewerTest package:
  1) DRAW command "vlayerline" has been added to test linewidth, linetype and
     transparency of the Visual3d_Layer class.
     The command draws a line and has the following arguments:
     >> vlayerline x1 y1 x2 y2 [linewidth=0.5] [linetype=0] [transparency=1.0]
     Linewidth in pixels, Transparency in range [0.0-1.0].

12 years ago0022989: BSplCLib::Reparametrize() fails on near knots
abv [Thu, 15 Mar 2012 04:50:00 +0000 (08:50 +0400)]
0022989: BSplCLib::Reparametrize() fails on near knots

12 years ago0022887: Request to make Intf_InterferencePolygon2d class thread-safe.
azn [Mon, 12 Mar 2012 14:31:11 +0000 (18:31 +0400)]
0022887: Request to make Intf_InterferencePolygon2d class thread-safe.

12 years ago0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
bugmaster [Fri, 16 Mar 2012 06:39:06 +0000 (10:39 +0400)]
0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one place

Correction of compilation errors

12 years ago0022795: Make possible to display some presentable objects in overlay of others,...
apl [Thu, 15 Mar 2012 11:56:58 +0000 (15:56 +0400)]
0022795: Make possible to display some presentable objects in overlay of others, groupped by display priority

12 years ago0023019: OSD_Chronometer fails to compile due to lack of clock_gettime() on Mac OS X
kgv [Tue, 13 Mar 2012 06:18:47 +0000 (10:18 +0400)]
0023019: OSD_Chronometer fails to compile due to lack of clock_gettime() on Mac OS X

Usage of task_info() system function in OSD_Chronometer::GetThreadCPU() to retrieve process info.

12 years ago0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
kgv [Thu, 15 Mar 2012 09:58:13 +0000 (13:58 +0400)]
0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one place

Extend OpenGl_Context to provide GL2.0 core functionality

Added 'glext.h' header provided by Khronos group with definitions
and GL functions' types.
Added OpenGl_GlCoreXX structures with function list
to appropriate GL core functionality.
Fixed memory leak in OpenGl_Context destructor.
Eliminate inclusions of gl.h header
Use OpenGl_GlCore11.hxx instead.
Removed obsolote M_PI redefinitions.
Slightly cleaned up included headers.
Reuse definitions from glext.h
OpenGl_ArbVBO and OpenGl_ExtFBO originally provide own definitions
for OpenGL extensions.

12 years ago0023006: Improvement to debug memory leaks and insufficient memory growths.
skv [Mon, 12 Mar 2012 15:05:53 +0000 (19:05 +0400)]
0023006: Improvement to debug memory leaks and insufficient memory growths.

12 years ago0023005: Unjustified memory grow during undo/redo operation
skv [Mon, 12 Mar 2012 15:28:31 +0000 (19:28 +0400)]
0023005: Unjustified memory grow during undo/redo operation

12 years ago0022961: Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it) (cppcheck...
dbv [Wed, 7 Mar 2012 11:34:08 +0000 (15:34 +0400)]
0022961: Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it) (cppcheck report)

12 years ago0022959: Accessing uninitialized variable (pointer): aCurElement
mpv [Mon, 12 Mar 2012 08:49:34 +0000 (12:49 +0400)]
0022959: Accessing uninitialized variable (pointer): aCurElement

12 years ago0022922: Clean up warnings on uninitialized / unused variables
dbv@opencascade.com [Wed, 7 Mar 2012 13:00:48 +0000 (17:00 +0400)]
0022922: Clean up warnings on uninitialized / unused variables