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

MeshVS_Mesh and OCAF

walter steffe's picture


I would like to associate the presentation of a MeshVS_Mesh object
(which is also an AIS_InteractiveObject) with an OCAF label.
I hoped to do that using the TPrsStd_AISPresentation class.
At the beginning of the TPrsStd_AISPresentation.hxx file there
is a comment which suggests that this class is intended to perform this kind of association. Nevertheless I can not figure out how to do it.

The final goal is to put the presentation of submeshes of a CAD model under the same labels which store the presentation of the related subshapes.

Any idea ?