| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::GlBox Class ReferenceGeneral class used to render boxes as GlEntity. More...
Inherits tlp::GlSimpleEntity.
Collaboration diagram for tlp::GlBox:
![]() Public Member Functions
Protected Member Functions
Protected Attributes
Detailed DescriptionGeneral class used to render boxes as GlEntity. This class is a generic class to render boxes as GlEntity. Constructor & Destructor Documentation
The default constructor
Constructor from size
Constructor from points
Constructor from bounding box
Destructor. Member Function Documentation
Function used to compute the GlADQuad from the points of the box.
Function used to compute the points of the box from a center and a size.
Virtual function used to draw the box. Implements tlp::GlSimpleEntity.
Accessor in reading to the size.
Function to export data in XML Implements tlp::GlSimpleEntity.
Accessor in writing to the position.
Accessor in writing to the size.
Function to set data with XML Implements tlp::GlSimpleEntity.
Translate entity Reimplemented from tlp::GlSimpleEntity. Member Data Documentation
The color of the box
Stores a GlPolygon per face
The coordinates of each of the 8 points of the box.
The position of the center of the box
size is the "radius" of the box |
Tulip Software by LaBRI Visualization Team 2001 - 2010 |