occt: master 29e2c6d2

Author Committer Branch Timestamp Parent
isk bugmaster master 2015-05-05 08:06:29 master 2b5097c6
Changeset 0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext

AIS_TextLabel - new public class to display simple text labels (based on MyTextClass private class from Draw Harness).
ViewerTest::Display() - add more reliable replacement for VDisplayAISObject() with no viewer update flag.

vdrawtext command redesign:
- Use new AIS_TextLabel class instead of private MyTextClass.
- Take object name and allow to clear labels from the Viewer.
- Use parameter name + parameter value syntax instead of strict list of mandatory arguments.
- Use [0; 1] range for colors and accept names.
- Drop redundant argument "isMultiByte".
- Support argument -noupdate to skip Viewer update.

Update test cases to new syntax of vdrawtext.
mod - samples/tcl/materials.tcl Diff File
mod - samples/tcl/Penrose.tcl Diff File
add - src/AIS/AIS_TextLabel.cxx Diff File
add - src/AIS/AIS_TextLabel.hxx Diff File
mod - src/AIS/FILES Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest.hxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - tests/3rdparty/export/A2 Diff File
mod - tests/3rdparty/export/A3 Diff File
mod - tests/3rdparty/export/A4 Diff File
mod - tests/3rdparty/export/A5 Diff File
mod - tests/3rdparty/export/A6 Diff File
mod - tests/3rdparty/export/A7 Diff File
mod - tests/3rdparty/fonts/A2 Diff File
mod - tests/3rdparty/fonts/A3 Diff File
mod - tests/3rdparty/fonts/A4 Diff File
mod - tests/3rdparty/fonts/A5 Diff File
mod - tests/3rdparty/fonts/A6 Diff File
mod - tests/3rdparty/fonts/B1 Diff File
mod - tests/3rdparty/fonts/B2 Diff File
mod - tests/bugs/vis/bug21091_4 Diff File
mod - tests/bugs/vis/bug21091_5 Diff File
mod - tests/bugs/vis/bug21091_6 Diff File
mod - tests/bugs/vis/bug21091_7 Diff File
mod - tests/bugs/vis/bug21091_8 Diff File
mod - tests/bugs/vis/bug21091_9 Diff File
mod - tests/bugs/vis/bug22149 Diff File
mod - tests/bugs/vis/bug22796_1 Diff File
mod - tests/bugs/vis/bug22796_2 Diff File
mod - tests/bugs/vis/bug22796_3 Diff File
mod - tests/bugs/vis/bug23652 Diff File
mod - tests/bugs/vis/bug23654_MarkersRecompute Diff File
mod - tests/bugs/vis/bug24131_markers Diff File
mod - tests/bugs/vis/bug24555 Diff File
mod - tests/bugs/vis/bug24837_2 Diff File
mod - tests/bugs/vis/bug25121 Diff File
mod - tests/bugs/vis/bug25369 Diff File
mod - tests/bugs/vis/bug25732_1 Diff File
mod - tests/bugs/vis/bug25732_2 Diff File
mod - tests/demo/draw/bug23745 Diff File
mod - tests/v3d/raytrace/bug24819 Diff File