Hi, I have rendered a Point cloud succesfully by subclassing AIS_InteractiveObject.
thanks to the guidance in this thread : http://www.opencascade.org/org/forum/thread_1125/
I cant find anywhere, how to assing unique colors to each marker in the MarkerSet.
Any Ideas of how to show unique colors on the points?
I have a ptx file , with the x,y,z,intensity of the range finder point cloud.
i would like to map the intensity from 0 to 1 to a color.
Handle(Graphic3d_Structure) theStructure = Handle(Graphic3d_Structure)::DownCast(aPresentation);
Handle(Graphic3d_Group) theGroup= new Graphic3d_Group(theStructure);
asp = myDrawer->PointAspect()->Aspect();
const Graphic3d_Array1OfVertex& theArray = cloud_data; //your points