Jive reference manual
List of all members | Public Member Functions
jem::gl::Box Class Reference

#include <jem/gl/Box.h>

Public Member Functions

 Box ()
 
 Box (GLdouble a, GLdouble b)
 
 Box (const Vertex2d &a, const Vertex2d &b)
 
 Box (const Vertex3d &a, const Vertex3d &b)
 
 Box (const Box &rhs)
 
 ~Box ()
 
Boxoperator= (const Box &rhs)
 
void swap (Box &rhs)
 
int rank () const
 
bool isEmpty () const
 
double size () const
 
Vertex3d center () const
 
void drawEdges () const
 
void drawFaces () const
 
void align ()
 
void makeEmpty ()
 
void getCorners (Vertex3d &a, Vertex3d &b) const
 
void setCorners (const Vertex2d &a, const Vertex2d &b)
 
void setCorners (const Vertex3d &a, const Vertex3d &b)
 
void setCorners1D (GLdouble a, GLdouble b)
 
void setCorners2D (const GLfloat *a, const GLfloat *b)
 
void setCorners2D (const GLdouble *a, const GLdouble *b)
 
void setCorners3D (const GLfloat *a, const GLfloat *b)
 
void setCorners3D (const GLdouble *a, const GLdouble *b)
 
void scale (GLdouble s)
 
void enlargeWith (const Box &box)
 
void transform (const Transform &tr)
 
void transform2D (const Transform &tr)
 
void project (const Transform &p)
 
void project (const Transform &p, const Rect &vport)
 

Constructor & Destructor Documentation

jem::gl::Box::Box ( )
jem::gl::Box::Box ( GLdouble  a,
GLdouble  b 
)
jem::gl::Box::Box ( const Vertex2d a,
const Vertex2d b 
)
jem::gl::Box::Box ( const Vertex3d a,
const Vertex3d b 
)
jem::gl::Box::Box ( const Box rhs)
jem::gl::Box::~Box ( )

Member Function Documentation

Box& jem::gl::Box::operator= ( const Box rhs)
void jem::gl::Box::swap ( Box rhs)
int jem::gl::Box::rank ( ) const
bool jem::gl::Box::isEmpty ( ) const
double jem::gl::Box::size ( ) const
Vertex3d jem::gl::Box::center ( ) const
void jem::gl::Box::drawEdges ( ) const
void jem::gl::Box::drawFaces ( ) const
void jem::gl::Box::align ( )
void jem::gl::Box::makeEmpty ( )
void jem::gl::Box::getCorners ( Vertex3d a,
Vertex3d b 
) const
void jem::gl::Box::setCorners ( const Vertex2d a,
const Vertex2d b 
)
void jem::gl::Box::setCorners ( const Vertex3d a,
const Vertex3d b 
)
void jem::gl::Box::setCorners1D ( GLdouble  a,
GLdouble  b 
)
void jem::gl::Box::setCorners2D ( const GLfloat *  a,
const GLfloat *  b 
)
void jem::gl::Box::setCorners2D ( const GLdouble *  a,
const GLdouble *  b 
)
void jem::gl::Box::setCorners3D ( const GLfloat *  a,
const GLfloat *  b 
)
void jem::gl::Box::setCorners3D ( const GLdouble *  a,
const GLdouble *  b 
)
void jem::gl::Box::scale ( GLdouble  s)
void jem::gl::Box::enlargeWith ( const Box box)
void jem::gl::Box::transform ( const Transform tr)
void jem::gl::Box::transform2D ( const Transform tr)
void jem::gl::Box::project ( const Transform p)
void jem::gl::Box::project ( const Transform p,
const Rect vport 
)