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

Display a Graphic3d_ArrayOfTriangles

Manon Jubert's picture


I have a set of triangles with color in a structure Graphic3d_ArrayOfTriangles and would like to display it in an AIS_InteractiveContext.

But my problem is : I don't know how to convert Graphic3d_ArrayOfTriangles into an AIS_InteractiveObject. Is anyone have a solution ?

Thanks in advance,


Kirill Gavrilov's picture

Primitive arrays like Graphic3d_ArrayOfTriangles are expected to be added to Prs3d_Presentation together with attributes.
For this, AIS_InteractiveObject::Compute() should be implemented within sub-class.
You may try looking into existing presentations like AIS_PointCloud or AIS_Point to see how this could be done.

Manon Jubert's picture

Hi Kirill,

Thanks for your answer, I finally choose to use AIS_Triangulation in my implementation and i'ts works fine. 


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.