1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

59 Commits

Author SHA1 Message Date
bugmaster
d3d42376d5 Correction of compilation problem
0022332: Fix for Visual3d_Layer (linetype, linewidth and transparency)
2012-03-21 12:42:55 +04:00
bugmaster
20637bd27c 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].
2012-03-20 18:11:09 +04:00
apl
25289ec1e1 0022879: Possible bug in Opengl_togl_begin_layer_mode.cxx 2012-03-15 11:20:53 +04:00
kgv
59f45b7cef 0022795: Make possible to display some presentable objects in overlay of others, groupped by display priority 2012-03-06 15:18:23 +04:00
vsr
f8b2ed3650 0023000: Improve the way the gradient and textured background is managed in 3d viewer 2012-03-06 15:15:50 +04:00
KGV
5cedc27f81 0022649: Export to EMF not available 2012-03-05 19:30:50 +04:00
APL
7edf74fd3d 0022337: V3d_View::Print crashes in OCCT 6.5.0 2012-03-05 19:30:00 +04:00
SZV
13a224570c 0022149: Strings with Japanese characters can not be displayed in 3D viewer 2012-03-05 19:29:52 +04:00
bugmaster
7fd59977df Integration of OCCT 6.5.0 from SVN 2012-03-05 19:23:40 +04:00