View Issue Details

IDProjectCategoryView StatusLast Update
0021986CommunityOCCT:Visualizationpublic2014-11-12 11:36
ReportersanAssigned Tosan 
PrioritylowSeverityminor 
Status closedResolutionunable to reproduce 
OSAll 
Summary0021986: [OCC Forum] MoveTo() hilighting object in wrong location
DescriptionThis message was sent from www.opencascade.org forum user EricThompson
<ethompson@heidenhain.com>
http://www.opencascade.org/org/forum/thread_19009/
------------------------------------------------------


I'm having a problem with object hilighting in some cases. It works fine in 3 of
my OpenCascade views, but is offset vertically in a 4th view. ( Each view is
viewing a seperate interactive context. ) The amount of offset is proportional
to the view scale.

I find that I can correct the problem by adjusting my y value as follows before
calling MoveTo():

double scale = (*myView).Scale(); // Odd notation because using an arrow does
not post to forum well
y = y - (int)(0.65*scale);

This hack is working, but if anyone can tell me what I'm doing wrong that is
causing the error, I'd prefer to fix it right.

Thanks!
TagsNo tags attached.
Test case number

Relationships

related to 0024623 closedbugmaster Open CASCADE Visualization - improve selection mechanism 

Activities

szy

2012-01-11 16:02

manager   ~0019086

Sergey,
Could you check the problem.

san

2014-10-17 20:29

developer   ~0033300

Dear szy,

Can you please ask the topic starter to check if the problem is still reproduced in his application with OCCT 6.8.0 beta?
In fact, we do not have any information about his application design and thus cannot reproduce the problem ourselves.

szy

2014-11-12 11:32

manager   ~0034354

Sergey,
Author of the post doesn't answer to the request.
Taking into account that the initial post dated by 2010 very probably that the issue is obsolete for him. Therefore I suggest to define the next possible actions in frames of the issue according you own understanding.
szy

Issue History

Date Modified Username Field Change
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2011-12-15 16:29 abv Project Open CASCADE => Community
2012-01-11 16:02 szy Note Added: 0019086
2012-01-11 16:02 szy Assigned To bugmaster => san
2012-01-11 16:02 szy Status new => assigned
2014-02-13 11:11 kgv Priority normal => low
2014-02-13 11:11 kgv Severity trivial => minor
2014-02-13 11:11 kgv Fixed in Version EMPTY =>
2014-02-13 11:11 kgv Description Updated
2014-03-29 13:53 kgv Relationship added related to 0024623
2014-09-12 14:32 abv Status assigned => feedback
2014-09-12 14:32 abv Target Version => Unscheduled
2014-10-17 20:29 san Note Added: 0033300
2014-10-17 20:29 san Assigned To san => szy
2014-11-12 11:32 szy Note Added: 0034354
2014-11-12 11:32 szy Assigned To szy => san
2014-11-12 11:32 szy Status feedback => acknowledged
2014-11-12 11:35 abv Target Version Unscheduled =>
2014-11-12 11:36 abv Status acknowledged => closed
2014-11-12 11:36 abv Resolution open => unable to reproduce