Gets the PrimitiveManagerBoxInterface in charge of drawing 3D boxes.
The PrimitiveManagerBoxInterface.
Gets the PrimitiveManagerLineInterface in charge of drawing 3D lines.
The PrimitiveManagerLineInterface.
Gets the PrimitiveManagerMaterialInterface in charge of the primitive colors.
The PrimitiveManagerMaterialInterface.
Gets the PrimitiveManagerPointInterface in charge of drawing 3D points.
The PrimitiveManagerPointInterface.
Gets the PrimitiveManagerRubberBandInterface in charge of drawing a single 2D rectangle.
The PrimitiveManagerRubberBandInterface.
The PrimitiveManagerInterface interface is the central point used to render primitive elements, such as points, boxes, lines and a rectangle.
This interface holds the primitive elements interfaces and the materials that are used by these primitive elements.
3D Points, 3D lines, 3D boxes and a single 2D rectangle can be rendered on top of the DMU, with a rendering hint depending on the relative depth between the 3D primitives and the geometries. This interface accessed through the getPrimitiveManager function. The colors of the 3D primitive are handled by the PrimitiveManagerMaterialInterface, accessed through getMaterialManager. Materials are accessed by their ids, and modified by their ids. 3D primitives are rendered colored with their material id, and not directly from a color.
3D Points
The rendering can be enriched with 3D points rendered on top of the geometries, with a rendering hint telling if the point is over or under a geometry.
Creating a point may be done with the following :
3D Lines
The rendering can be enriched with 3D lines rendered on top of the geometries.
Creating a line may be done with the following :
3D Boxes
The rendering can be enriched with 3D boxes rendered on top of the geometries, with a rendering hint telling if the edge/face is over or under a geometry.
Creating a box may be done with the following :
2D rectangle (rubber band)
The rendering can be enriched with a single 2D rectangle rendered on top of the geometries. The color cannot be changed.
Rendering a 2D rectangle may be done with the following :
See