| |
|
|
|
BoundingBox November 2001
|
An Open Inventor subclass of SoShape used to draw a wire frame box
based on the input fields:
In addition, 2D text labels can be placed at the box vertices by toggling the
input field textOn.
The implementation is not that complicated. I just use an
SoIndexedLineSet to create the box. Then place an SoText2
node at each vertice if textOn is true. Below are a couple
screenshots and the source code.
|
|
|
|