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

use AIS_PointCloud display

cao zhenzhen's picture


  I want to display a colored cylinder(points cloud) section by section. I used AIS_PointCloud to show the clound,but cann't show, who tell me or share code to me ,thanks.

Handle_AIS_ InteractiveContext m_ AISContext;
Handle(Graphic3d_ArrayOfPoints) aPoints = new Graphic3d_ArrayOfPoints (2000, Standard_True);
aPoints->AddVertex(gp_Pnt(-40.0, -40.0, 0), Quantity_Color(Quantity_NOC_BLUE1));
aPoints->AddVertex(gp_Pnt(40.0, 40.0, 0), Quantity_Color(Quantity_NOC_BLUE2));
Handle(AIS_PointCloud) aPntCloud = new AIS_PointCloud();

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.