Resume Biography Gallery Digital Images Projects
Josh Grant
 
Master's Thesis
IVTrace
Creating 2D Images
Filter Functions
3D Elastic Collisions
3D Grapher
Open Inventor
Programming Tools
BoundingBox
ExaminerViewerPlus
MarchingCubes
ScalarArithmitic
SFScalarField
Courses
Photo-Realistic 2002
Visualization 2001
Photo-Realistic Computer Graphics
Intro to Computer Graphics
Scientific Visualization
 
BoundingBox
November 2001

An Open Inventor subclass of SoShape used to draw a wire frame box based on the input fields:
  • minBounds
  • maxBounds
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.


With Text

Without Text

 

Josh Grant > Projects > Open Inventor > BoundingBox

Comments or questions about this page can be addressed to Josh Grant at grant@cs.fsu.edu