View Issue Details

IDProjectCategoryView StatusLast Update
0029413CommunityOCCT:Visualizationpublic2018-01-09 17:54
ReporterVico Liang Assigned Tokgv  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.3.0 
Target Version7.4.0 
Summary0029413: TransformPers won't work for Aspect_TOTP_LEFT_UPPER
DescriptionAspect_TOTP_LEFT_UPPER won't work when i try to define a 2d point as below. But it works if Aspect_TOTP_LEFT_LOWER is used.

SetTransformPersistence (new Graphic3d_TransformPers(Graphic3d_TMF_2d, Aspect_TOTP_LEFT_UPPER));
SetZLayer (Graphic3d_ZLayerId_TopOSD);
TagsNo tags attached.
Test case number

Relationships

related to 0029372 closedbugmaster Graphic3d_TransformPers - improve description of Local Coordinate system defined by Transformation Persistence 

Activities

kgv

2018-01-07 15:25

developer   ~0073240

Last edited: 2018-01-07 15:25

What do you mean "it won't work"?
This functionality is covered by test cases, and works as expected - see bugs/vis/bug25783_1 for example.

pload VISUALIZATION
vinit View1
vpoint p 50 -50 0
vdisplay p -2d topLeft 0 0 -osd


Beware that Aspect_TypeOfTriedronPosition flag defines only an origin of coordinate system, not it's orientation - it is always OY top and OX right.

Vico Liang

2018-01-08 05:02

developer   ~0073250

Dear KGV,
My understanding is that Aspect_TypeOfTriedronPosition will also change the coordinate system orientation. Thank you for your important information.
Would you please add these information to document? it would be helpful for those who encounter problem in such situation.

kgv

2018-01-09 11:16

developer   ~0073267

The current documentation looks clear from my point of view.
If you thing that it can be improved - the patches are welcome!

Vico Liang

2018-01-09 17:48

developer   ~0073276

OK, please close this issue, it's not so important to improve the document though it might be more clear to clarify the coordinate orientation.

Issue History

Date Modified Username Field Change
2018-01-06 18:25 Vico Liang New Issue
2018-01-06 18:25 Vico Liang Assigned To => kgv
2018-01-06 18:28 Vico Liang Summary Aspect_TOTP_LEFT_UPPER won't work => TransformPers won't work for Aspect_TOTP_LEFT_UPPER
2018-01-07 15:25 kgv Note Added: 0073240
2018-01-07 15:25 kgv Assigned To kgv => Vico Liang
2018-01-07 15:25 kgv Status new => feedback
2018-01-07 15:25 kgv Note Edited: 0073240
2018-01-08 05:02 Vico Liang Note Added: 0073250
2018-01-08 05:03 Vico Liang Assigned To Vico Liang => kgv
2018-01-09 11:16 kgv Note Added: 0073267
2018-01-09 11:16 kgv Assigned To kgv => Vico Liang
2018-01-09 11:16 kgv Resolution open => no change required
2018-01-09 17:48 Vico Liang Note Added: 0073276
2018-01-09 17:50 kgv Assigned To Vico Liang => bugmaster
2018-01-09 17:51 kgv Relationship added related to 0029372
2018-01-09 17:52 Vico Liang Assigned To bugmaster => kgv
2018-01-09 17:54 bugmaster Status feedback => closed