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

#include <jem/gl/Transform.h>

Public Member Functions

 Transform ()
 
 Transform (const Transform &rhs)
 
Transformoperator= (const Transform &rhs)
 
void swap (Transform &rhs)
 
GLdouble & operator() (int i, int j)
 
GLdouble operator() (int i, int j) const
 
void setIdentity ()
 
void scale (GLdouble s)
 
void scale (GLdouble sx, GLdouble sy, GLdouble sz=1.0)
 
void setScale (GLdouble s)
 
void setScale (GLdouble sx, GLdouble sy, GLdouble sz=1.0)
 
GLdouble getScale () const
 
void translate (GLdouble dx, GLdouble dy, GLdouble dz=0.0)
 
void setTranslation (GLdouble dx, GLdouble dy, GLdouble dz=0.0)
 
void rotate (GLdouble a)
 
void rotate (GLdouble a, GLdouble x, GLdouble y)
 
void rotate (GLdouble a, GLdouble x, GLdouble y, GLdouble z)
 
void setRotation (GLdouble a)
 
void setRotation (GLdouble a, GLdouble x, GLdouble y)
 
void setRotation (GLdouble a, GLdouble x, GLdouble y, GLdouble z)
 
void transform (const Transform &tr)
 
void configure2D (const Properties &props)
 
void getConfig2D (const Properties &props) const
 
void configure3D (const Properties &props)
 
void getConfig3D (const Properties &props) const
 
GLdouble * addr ()
 
const GLdouble * addr () const
 

Static Public Member Functions

static Transform identity ()
 
static Transform scaling (GLdouble s)
 
static Transform scaling (GLdouble sx, GLdouble sy, GLdouble sz=1.0)
 
static Transform translation (GLdouble dx, GLdouble dy, GLdouble dz=0.0)
 
static Transform rotation (GLdouble a)
 
static Transform rotation (GLdouble a, GLdouble x, GLdouble y)
 
static Transform rotation (GLdouble a, GLdouble x, GLdouble y, GLdouble z)
 
static void listProps2D (const Properties &props)
 
static void listProps3D (const Properties &props)
 

Constructor & Destructor Documentation

jem::gl::Transform::Transform ( )
jem::gl::Transform::Transform ( const Transform rhs)

Member Function Documentation

Transform& jem::gl::Transform::operator= ( const Transform rhs)
void jem::gl::Transform::swap ( Transform rhs)
GLdouble & jem::gl::Transform::operator() ( int  i,
int  j 
)
GLdouble jem::gl::Transform::operator() ( int  i,
int  j 
) const
void jem::gl::Transform::setIdentity ( )
void jem::gl::Transform::scale ( GLdouble  s)
void jem::gl::Transform::scale ( GLdouble  sx,
GLdouble  sy,
GLdouble  sz = 1.0 
)
void jem::gl::Transform::setScale ( GLdouble  s)
void jem::gl::Transform::setScale ( GLdouble  sx,
GLdouble  sy,
GLdouble  sz = 1.0 
)
GLdouble jem::gl::Transform::getScale ( ) const
void jem::gl::Transform::translate ( GLdouble  dx,
GLdouble  dy,
GLdouble  dz = 0.0 
)
void jem::gl::Transform::setTranslation ( GLdouble  dx,
GLdouble  dy,
GLdouble  dz = 0.0 
)
void jem::gl::Transform::rotate ( GLdouble  a)
void jem::gl::Transform::rotate ( GLdouble  a,
GLdouble  x,
GLdouble  y 
)
void jem::gl::Transform::rotate ( GLdouble  a,
GLdouble  x,
GLdouble  y,
GLdouble  z 
)
void jem::gl::Transform::setRotation ( GLdouble  a)
void jem::gl::Transform::setRotation ( GLdouble  a,
GLdouble  x,
GLdouble  y 
)
void jem::gl::Transform::setRotation ( GLdouble  a,
GLdouble  x,
GLdouble  y,
GLdouble  z 
)
void jem::gl::Transform::transform ( const Transform tr)
static Transform jem::gl::Transform::identity ( )
static
static Transform jem::gl::Transform::scaling ( GLdouble  s)
static
static Transform jem::gl::Transform::scaling ( GLdouble  sx,
GLdouble  sy,
GLdouble  sz = 1.0 
)
static
static Transform jem::gl::Transform::translation ( GLdouble  dx,
GLdouble  dy,
GLdouble  dz = 0.0 
)
static
static Transform jem::gl::Transform::rotation ( GLdouble  a)
static
static Transform jem::gl::Transform::rotation ( GLdouble  a,
GLdouble  x,
GLdouble  y 
)
static
static Transform jem::gl::Transform::rotation ( GLdouble  a,
GLdouble  x,
GLdouble  y,
GLdouble  z 
)
static
void jem::gl::Transform::configure2D ( const Properties props)
void jem::gl::Transform::getConfig2D ( const Properties props) const
static void jem::gl::Transform::listProps2D ( const Properties props)
static
void jem::gl::Transform::configure3D ( const Properties props)
void jem::gl::Transform::getConfig3D ( const Properties props) const
static void jem::gl::Transform::listProps3D ( const Properties props)
static
GLdouble * jem::gl::Transform::addr ( )
const GLdouble * jem::gl::Transform::addr ( ) const