Sets the rubber band geometry.
This function does not change the previous rubber band visibility. If the Rectangle intersects the bounds of the view, nothing is done, the previous Rectangle is kept.
true if the Rectangle was set.
Sets the rubber band visibility.
This function does not change the previous rubber band geometry.
WARNING : the rubber band will only be visible if pVisible is true and the Rectangle set by setRubberBandRectangle is valid and non empty.
The PrimitiveManagerRubberBandInterface is used to display a unique orange rectangle on top of the DMU.
It is mainly used to select a rectangular area.
The PrimitiveManagerPointInterface is accessed through the PrimitiveManagerInterface.getRubberBandManager function (the PrimitiveManagerInterface is accessed through InfiniteEngineInterface.getPrimitiveManager).
The rectangle is defined with the Rectangle class (with two 3D points).
The color of the rectangle of the PrimitiveManagerRubberBandInterface cannot be changed.
Displaying a Rectangle may be done with the following :
You may create also boxes, lines, etc with PrimitiveManagerBoxInterface, PrimitiveManagerLineInterface, etc.
See