Creates a new point at the given position with full and inner sizes.
The sizes in pixels and the colors of the point are set by the user.
The point is assigned a positive id that will represent this point from now on. 0 is an invalid point id. Please note that this id
will be reused if the point is removed and another created again.
Before creating a point, materials to render this point must be created in the primitive manager.
A newly created point is visible.
The id of the created point.
Gets the position of the given point.
If found, pPositionOut is updated with the 3d position of the point.
Returns true if the point exists and pPositionOut is updated.
true if pPosition was updated.
Tells if the given point is visible.
Returns false if the point does not exists or is setPointVisible with false has been called.
true if the point exists and is visible.
Updates the rendering of the given point, by changing its inner and outer colors.
Returns true if the point was updated.
primitive material id of the inner circle color.primitive material id of the outer circle color.true if the point was found and therefore the point rendering is updated.
Sets the position of the given point.
If found, pPointPositionOut is updated.
Returns true if the point is found and therefore pPointPositionOut is updated.
true if the position was updated.
Updates the rendering of the given point, by changing the pixel size of the inner and outer circles.
Returns true if the point was updated.
true if the point exists, pPointSize > 0 and pPointSize >= pInnerSize >= 0. If true, the point is updated.
Updates the rendering of the given point, by changing its visibility.
Returns true if the point was updated.
true if the point exists.
The PrimitiveManagerPointInterface is used to display 3D points on top of the DMU, with a rendering hint depending on the relative depth between the 3D points and the geometries.
The PrimitiveManagerPointInterface is accessed through the PrimitiveManagerInterface.getPointManager function (the PrimitiveManagerInterface is accessed through InfiniteEngineInterface.getPrimitiveManager).
A 3D point is defined as a 3D position, an full size in pixels, an inner size in pixels. Rendered 3D points are manipulated through their ids (and not a dedicated object), indeed each point is assigned a strictly positive integer id that will represent it. 0 is an invalid point id.
The color of the 3D point is handled by the PrimitiveManagerMaterialInterface, accessed through PrimitiveManagerInterface.getPrimitiveMaterialManager. Materials are accessed by their ids, and modified by their ids. 3D primitives are rendered colored with their
primitive material id, and not directly from a color.WARNING : do not confuse the PrimitiveManagerMaterialInterface and the MaterialManagerInterface, these two interfaces are separated, do not use MaterialManagerInterface ids to draw points !!!
Creating a 3D point may be done with the following :
You may create also boxes, lines, etc with PrimitiveManagerBoxInterface, PrimitiveManagerLineInterface, etc.
See