0028107: Visualization - provide a flexible interface to set custom hatch styles
authorvpa <vpa@opencascade.com>
Tue, 15 Nov 2016 18:05:52 +0000 (21:05 +0300)
committerapn <apn@opencascade.com>
Thu, 15 Dec 2016 13:28:58 +0000 (16:28 +0300)
commit640d5fe2190539737a6f3d453016fc7368c01835
tree2640a7bff84204c8cde9ec10505bf3b65454986c
parentdbe54d10f96a315b8a8736d3a7ba9c54fbc5bd83
0028107: Visualization - provide a flexible interface to set custom hatch styles

- class Graphic3d_HatchStyle is added to provide a possibility to set up custom and predefined hatching;
- added the ability to set custom hatch patterns through bitmaps;
- test case for issue #28107
16 files changed:
src/Aspect/Aspect_HatchStyle.hxx
src/Graphic3d/FILES
src/Graphic3d/Graphic3d_AspectFillArea3d.cxx
src/Graphic3d/Graphic3d_AspectFillArea3d.hxx
src/Graphic3d/Graphic3d_ClipPlane.cxx
src/Graphic3d/Graphic3d_ClipPlane.hxx
src/Graphic3d/Graphic3d_HatchStyle.cxx [new file with mode: 0644]
src/Graphic3d/Graphic3d_HatchStyle.hxx [new file with mode: 0644]
src/OpenGl/OpenGl_AspectFace.cxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_LineAttributes.cxx
src/OpenGl/OpenGl_LineAttributes.hxx
src/V3d/V3d_Plane.cxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug28107 [new file with mode: 0644]