For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

rotation about specific plane parallel with screen

yeon cheol Kang's picture
Forums: 

Hi. recently, i work to make a datum plane.

so, i use a AIS_Plane ,mutually perpendicular plane - xy plane, yz plane, zx plane.

and then i want to rotate specific plane which is selected.

i try to change the view for my wants.

first, i use V3d_View::Proj(). in my opinion, V3d_View::At() always returns orientation about axis which is origin for drawing the object. and V3d_View::Eye() returns observer location.

V3d_View::Proj() is unit vector from At() to Eye()

so i think, if axis is normal to plane coincidence with Proj(), i successfully change.

But, i confuse that.

would you help me?? if anyone success this problem, explain for me.

thank!!