![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
  | 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Closed REQ 5717]: bounding box, labelling
 
You can't do much with the bounding box; it's simply an axis-aligned
box, just big enough to enclose the object.  You certainly could
turn off bounding-box display (see the Appearance panel, or
use a GCL command like
	(merge-ap World { -bbox })
), and then add your own box to the world.  This might be
as simple as
   appearance { -face +edge  material { edgecolor 1 0 0 } }
   INST transform {
	10  0  0  0
	0  10  0  0
	0   0 10  0
	5   5  5  1
   } geom < cube
Since Geomview/data/geom/cube is a unit cube centered
on the origin, this creates a 10-unit cube centered on (5,5,5),
with edges in red (edgecolor 1 0 0).
As for labelling, there's a simple example in Geomview/data/geom/xyz.vect.
Or, see the perl script "priv/slevy/vectext.pl", up for anonymous FTP
from geom.umn.edu.  This script uses a simple, capital-letters-and-digits
vector text font designed by Ed Chi.  A nicer, though lower-performance
text generator is "labeler", also on geom.umn.edu as
    pub/software/geomview/newpieces/sgi/labeler-sgi.tar.Z
  | 
  ||
| 
      Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors  | 
  |||
| 
      site hosted by | 
  |||