Archived issue #0022847

DrawTrSurf: provide interface for configuring visualization properties in axonometric viewer

Open CASCADEOCCT:DRAWclosed6 public notes

Search issues

Description

DrawTrSurf package can be slightly improved to make the following visualization properties of the drawable entities configurable:

1. Color for points (choose from predefined set, e.g. green, magenta, etc);

2. Rendering markers (glyphs) for points (choose from predefined set, e.g. Square, Losange, etc);

3. Orientation markers (arrows) for curves (render or not);

Having these handy interfaces for controlling the visualization properties, we are able to render more clear and comprehensive scenes in AXO, which is especially valuable for debugging purposes.

Additional information

New DRAW commands are applicable once the patch is applied:

setpointcolor -- sets global color for all consequently created points;
changepointcolor -- sets color for a given point;
setpointmarker -- sets global marker for all consequently created points;
changepointmarker -- sets marker for a given point;

These commands affect axonometrical 2D and 3D viewers.

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Test command and illustrating screenshot attached.

Branch http://svn/svn/occt/branches/DRAW22847 is ready for review.

Dear Kate,

Could you please review the patch?
02Commenter 2
Dear Sergey,
Please append the new draw commands for your new interface
03Commenter 3
Dear Kate,

New commands added:

setpointcolor
changepointcolor
setpointmarker
changepointmarker

Could you please review again?
04Commenter 4
I have no remarks; please test
05Commenter 5
Dear Commenter 1,
Workbench KAS:dev:mkv-22847-occt was created from SVN branch http://svn/svn/occt/branches/DRAW22847
(and mkv-22807-products from trunk) and compiled on Linux platform.

Test case for this bug is chl/934/N3. It is OK.

There are not regressions in mkv-22847-products regarding to KAS:dev:products-20111209-opt

See results in /QADisk/occttests/results/KAS/dev/mkv-22847-products_16122011/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-20111209-opt_10122011/lin
See test cases in /QADisk/occttests/tests/ED
N.B. In order to launch testing case you can make use the following instructions
http://doc/doku.php?id=occt:certification
06Commenter 1
Integrated into trunk of occt repository

Date: 2011-12-23 10:18:20 +0400 (Fri, 23 Dec 2011)
New Revision: 9850

Modified:
   trunk/src/DrawTrSurf/DrawTrSurf.cdl
   trunk/src/DrawTrSurf/DrawTrSurf.cxx