Main Page | Class Hierarchy | Class List | File List | Class Members

PLib::BoundingBoxGL Class Reference

Holds a bounding box. More...

#include <nurbsGL.h>

Inheritance diagram for PLib::BoundingBoxGL:

PLib::ObjectGL List of all members.

Public Member Functions

 BoundingBoxGL ()
void glObject () const
void setColorXYZ (const Color &colX, const Color &colY, const Color &colZ)

Public Attributes

Point3Df minP
Point3Df maxP

Protected Attributes

Color colorX
Color colorY
Color colorZ

Detailed Description

Holds a bounding box.

Author:
Philippe Lavoie
Date:
23 September 1997


Constructor & Destructor Documentation

PLib::BoundingBoxGL::BoundingBoxGL  ) 
 

an object to represent a bounding box

This will set the colors for the X,Y and Z axis to the value specified by the axisXColorDefault, axisYColorDefault and axisZColorDefault global variables. Use setColorXYZ() if you want to change this default.

Author:
Philippe Lavoie
Date:
23 September 1997


Member Function Documentation

void PLib::BoundingBoxGL::glObject  )  const [virtual]
 

generates a bounding box

This function generates a bounding box around the NURBS object.

Author:
Philippe Lavoie
Date:
23 September 1997

Implements PLib::ObjectGL.


The documentation for this class was generated from the following files:
Generated on Sat Jan 3 20:02:12 2004 for NURBS++ by doxygen 1.3.4