View Issue Details

IDProjectCategoryView StatusLast Update
0022847Open CASCADEOCCT:DRAWpublic2012-03-29 17:26
ReporterssvAssigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Target Version6.5.3Fixed in Version6.5.3 
Summary0022847: DrawTrSurf: provide interface for configuring visualization properties in axonometric viewer
DescriptionDrawTrSurf 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
and documentation updates
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.
TagsNo tags attached.
Test case numberchl 934 N3

Attached Files

  • SSVDraw.zip (1,054 bytes)
  • ssv_test_1.png (11,428 bytes)
  • N3 (1,214 bytes)

Activities

ssv

2011-12-15 13:53

developer  

SSVDraw.zip (1,054 bytes)

ssv

2011-12-15 13:54

developer  

ssv_test_1.png (11,428 bytes)

ssv

2011-12-15 13:55

developer   ~0018859

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?

epa

2011-12-15 16:09

developer   ~0018863

Dear Sergey,
Please append the new draw commands for your new interface

ssv

2011-12-15 17:26

developer   ~0018869

Dear Kate,

New commands added:

setpointcolor
changepointcolor
setpointmarker
changepointmarker

Could you please review again?

epa

2011-12-15 17:48

developer   ~0018870

I have no remarks; please test

apn

2011-12-16 16:16

administrator  

N3 (1,214 bytes)

mkv

2011-12-16 17:31

tester   ~0018896

Dear BugMaster,
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

bugmaster

2011-12-23 10:22

administrator   ~0018955

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

Related Changesets

occt: master 445f3267

2011-12-23 06:18:20

ssv


Committer: bugmaster Details Diff
0022847: DrawTrSurf: provide interface for configuring visualization properties in axonometric viewer Affected Issues
0022847
mod - src/DrawTrSurf/DrawTrSurf.cdl Diff File
mod - src/DrawTrSurf/DrawTrSurf.cxx Diff File

Issue History

Date Modified Username Field Change
2011-12-15 13:25 ssv New Issue
2011-12-15 13:25 ssv Assigned To => mkv
2011-12-15 13:29 ssv Assigned To mkv => ssv
2011-12-15 13:29 ssv Status new => assigned
2011-12-15 13:53 ssv File Added: SSVDraw.zip
2011-12-15 13:54 ssv File Added: ssv_test_1.png
2011-12-15 13:55 ssv Note Added: 0018859
2011-12-15 13:55 ssv Assigned To ssv => epa
2011-12-15 13:55 ssv Status assigned => resolved
2011-12-15 16:09 epa Note Added: 0018863
2011-12-15 16:09 epa Assigned To epa => ssv
2011-12-15 16:09 epa Status resolved => assigned
2011-12-15 17:26 ssv Note Added: 0018869
2011-12-15 17:26 ssv Assigned To ssv => epa
2011-12-15 17:26 ssv Status assigned => resolved
2011-12-15 17:29 ssv Additional Information Updated
2011-12-15 17:48 epa Note Added: 0018870
2011-12-15 17:48 epa Assigned To epa => ssv
2011-12-15 17:48 epa Status resolved => reviewed
2011-12-16 16:15 apn Test case number => chl 934 N3
2011-12-16 16:16 apn File Added: N3
2011-12-16 17:31 mkv Note Added: 0018896
2011-12-16 17:31 mkv Status reviewed => tested
2011-12-23 10:22 bugmaster Note Added: 0018955
2011-12-23 10:22 bugmaster Status tested => verified
2011-12-23 10:22 bugmaster Resolution open => fixed
2011-12-23 11:16 bugmaster Target Version => 6.5.3
2012-03-29 17:26 bugmaster Changeset attached => occt master 445f3267