V3d_View Center is gone

guidovanhilst's picture

I have some questions about visualization changes in OCC690:

1)
in previous version there was SetCenter and Center(getter) in V3d_View.
In version 6.9.0. there is only a SetCenter and no Center (no getter)
What is the reason that there is no "getter" anymore?

2)
PrsMgr_PresentableObject had a function "SetLocation" is this replaced by SetLocalTransformation?

Many thanks,

Guido

abv's picture

See Release Notes of OCCT 6.8.0

Hello Guido,

These changes are described in Release Notes of OCCT 6.8.0, see http://www.opencascade.com/pub/doc/Release_Notes_6.8.0.pdf

Andrey

guidovanhilst's picture

OK yes I see it. Thanks for

OK yes I see it. Thanks for quick reply.

guidovanhilst's picture

AIS_InteractiveObject.SetDisplayMode

I am "porting" our application from older occ version to occ690.

I cannot get AIS_InteractiveObject.SetDisplayMode to work as before.
Since DegenerateModeIsOn is removed from V3d_View.

I cannot display wire ais objects and shaded ais objects in a the view.
AIS_WireFrame = 0,
AIS_Shaded = 1,

If I set V3d_View.SetComputedMode(true) all is shown in HLR.

How can I combine AIS_WireFrame and AIS_Shaded with AIS_InteractiveObject.SetDisplayMode to work as before?

Many thanks,

Guido

guidovanhilst's picture

AIS_TexturedShape

AIS_TexturedShape with Displaymode(3)does not to work as before.
Textures are not shown.

Can someone please explain how to "port" "old" occ code to the new visualization implementation,Specially how to show Textures and Wire-frame ais objects.

Many thanks,

Guido

kgv's picture

Hello Guido,this forum is

Hello Guido,

this forum is for discussions concerning development of OCCT itself.

There is dedicated forum for users where such question are actually expected,
and where you will have more chances to get answers:
http://www.opencascade.org/org/forum/

www.opencascade.com

Copyright 2011-2017
OPEN CASCADE SAS
Contact us