liballofw
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
allofw Namespace Reference

Namespaces

 glutils
 
 internal
 

Classes

class  ByteStream
 
struct  Color
 Color struct. More...
 
class  Configuration
 YAML-based configuration reader. More...
 
class  exception
 Allofw exception class. More...
 
class  GraphicalBackend
 
class  GraphicalContext2D
 
class  GraphicalContext3D
 
class  invalid_argument
 Invalid argument exception. More...
 
class  io_error
 
class  Logger
 
class  LoggerFactory
 
class  LoggerScope
 
struct  Matrix3_
 
struct  Matrix4_
 
class  non_copyable
 Inherit this to make a class non-copyable. More...
 
class  not_implemented_yet
 Not implemented exception. More...
 
class  not_supported
 Not supported exception. More...
 
class  OmniStereo
 Class for Omnistereo rendering. More...
 
class  OpenGLWindow
 
class  Paint2D
 
class  Path2D
 
struct  Pose
 
struct  Quaternion_
 
struct  Rectangle2_
 
struct  Rectangle3_
 
class  ScopedLogger
 
class  Surface2D
 
struct  Vector2_
 
struct  Vector3_
 
struct  Vector4_
 
class  VideoSurface2D
 
class  WarpBlend
 Warp and blend information for a display configuration. More...
 

Typedefs

typedef Vector2_< int > Size2i
 
typedef Vector3_< int > Size3i
 
typedef Vector2_< float > Size2f
 
typedef Vector3_< float > Size3f
 
typedef Vector2_< double > Size2d
 
typedef Vector3_< double > Size3d
 
typedef Rectangle2_< int > Rectangle2i
 
typedef Rectangle2_< float > Rectangle2f
 
typedef Rectangle2_< double > Rectangle2d
 
typedef Rectangle2d Rectangle2
 
typedef Rectangle3_< int > Rectangle3i
 
typedef Rectangle3_< float > Rectangle3f
 
typedef Rectangle3_< double > Rectangle3d
 
typedef Rectangle3d Rectangle3
 
typedef Matrix3_< float > Matrix3f
 
typedef Matrix3_< double > Matrix3d
 
typedef Matrix3d Matrix3
 
typedef Matrix4_< float > Matrix4f
 
typedef Matrix4_< double > Matrix4d
 
typedef Matrix4d Matrix4
 
typedef Quaternion_< float > Quaternionf
 
typedef Quaternion_< double > Quaterniond
 
typedef Quaterniond Quaternion
 
typedef Vector2_< double > Vector2d
 
typedef Vector2_< float > Vector2f
 
typedef Vector2d Vector2
 
typedef Vector3_< double > Vector3d
 
typedef Vector3_< float > Vector3f
 
typedef Vector3d Vector3
 
typedef Vector4_< double > Vector4d
 
typedef Vector4_< float > Vector4f
 
typedef Vector4d Vector4
 
typedef GLuint GLTextureID
 OpenGL texture ID. More...
 

Enumerations

enum  LineCap : short { LineCap::BUTT = 0, LineCap::ROUND = 1, LineCap::SQUARE = 2 }
 
enum  LineJoin : short { LineJoin::BEVEL = 0, LineJoin::MITER = 1, LineJoin::ROUND = 2 }
 
enum  FontStyle : short { FontStyle::NORMAL = 0, FontStyle::BOLD = 1, FontStyle::ITALIC = 2, FontStyle::BOLDITALIC = 3 }
 
enum  TextAlign : short { TextAlign::LEFT = 0, TextAlign::CENTER = 1, TextAlign::RIGHT = 2 }
 
enum  PaintMode : short { PaintMode::STROKE = 0, PaintMode::FILL = 1, PaintMode::STROKEFILL = 2 }
 
enum  TransferMode : short {
  TransferMode::SRC_OVER = 0, TransferMode::DST_OVER = 1, TransferMode::SRC = 2, TransferMode::DST = 3,
  TransferMode::SRC_IN = 4, TransferMode::DST_IN = 5, TransferMode::SRC_OUT = 6, TransferMode::DST_OUT = 7,
  TransferMode::SRC_ATOP = 8, TransferMode::DST_ATOP = 9, TransferMode::XOR = 10, TransferMode::PLUS = 11,
  TransferMode::CLEAR = 12
}
 

Functions

void allofwInit ()
 Initialize the allofw library. More...
 
void allofwExit ()
 De-initialize the allofw library. More...
 
template<typename number_t >
number_t min (number_t a, number_t b)
 Compute minimum. More...
 
template<typename number_t >
number_t max (number_t a, number_t b)
 Compute maximum. More...
 
template<typename number_t >
number_t abs (number_t a)
 Compute absolute value. More...
 
template<typename number_t >
number_t sign (number_t a)
 Compute sign of a number. More...
 
template<typename T1 , typename T2 >
Vector3_< T1 > operator* (const Vector3_< T1 > &v, const Matrix3_< T2 > &m)
 
template<typename T1 , typename T2 >
Quaternion_< T2 > operator* (const Vector3_< T1 > &v, const Quaternion_< T2 > &q)
 
template<typename T >
bool isnan (const Vector2_< T > &v)
 
template<typename T >
bool isnan (const Vector3_< T > &v)
 
template<typename T >
bool isnan (const Vector4_< T > &v)
 
double get_time_seconds ()
 

Variables

const double PI = 3.1415926535897932384626433832795028841971693993751
 
const double E = 2.7182818284590452353602874713526624977572470937000
 
const double NaN = std::numeric_limits<double>::quiet_NaN()
 
const double Infinity = std::numeric_limits<double>::infinity()
 

Typedef Documentation

typedef GLuint allofw::GLTextureID

OpenGL texture ID.

typedef Matrix3_<double> allofw::Matrix3d
typedef Matrix3_<float> allofw::Matrix3f
typedef Matrix4_<double> allofw::Matrix4d
typedef Matrix4_<float> allofw::Matrix4f
typedef Vector2_<double> allofw::Size2d
typedef Vector2_<float> allofw::Size2f
typedef Vector2_<int> allofw::Size2i
typedef Vector3_<double> allofw::Size3d
typedef Vector3_<float> allofw::Size3f
typedef Vector3_<int> allofw::Size3i
typedef Vector2_<double> allofw::Vector2d
typedef Vector2_<float> allofw::Vector2f
typedef Vector3_<double> allofw::Vector3d
typedef Vector3_<float> allofw::Vector3f
typedef Vector4_<double> allofw::Vector4d
typedef Vector4_<float> allofw::Vector4f

Enumeration Type Documentation

enum allofw::FontStyle : short
strong
Enumerator
NORMAL 
BOLD 
ITALIC 
BOLDITALIC 
enum allofw::LineCap : short
strong
Enumerator
BUTT 
ROUND 
SQUARE 
enum allofw::LineJoin : short
strong
Enumerator
BEVEL 
MITER 
ROUND 
enum allofw::PaintMode : short
strong
Enumerator
STROKE 
FILL 
STROKEFILL 
enum allofw::TextAlign : short
strong
Enumerator
LEFT 
CENTER 
RIGHT 
enum allofw::TransferMode : short
strong
Enumerator
SRC_OVER 
DST_OVER 
SRC 
DST 
SRC_IN 
DST_IN 
SRC_OUT 
DST_OUT 
SRC_ATOP 
DST_ATOP 
XOR 
PLUS 
CLEAR 

Function Documentation

template<typename number_t >
number_t allofw::abs ( number_t  a)
inline

Compute absolute value.

void allofw::allofwExit ( )

De-initialize the allofw library.

void allofw::allofwInit ( )

Initialize the allofw library.

double allofw::get_time_seconds ( )
template<typename T >
bool allofw::isnan ( const Vector2_< T > &  v)
template<typename T >
bool allofw::isnan ( const Vector3_< T > &  v)
template<typename T >
bool allofw::isnan ( const Vector4_< T > &  v)
template<typename number_t >
number_t allofw::max ( number_t  a,
number_t  b 
)
inline

Compute maximum.

template<typename number_t >
number_t allofw::min ( number_t  a,
number_t  b 
)
inline

Compute minimum.

template<typename T1 , typename T2 >
Vector3_<T1> allofw::operator* ( const Vector3_< T1 > &  v,
const Matrix3_< T2 > &  m 
)
inline
template<typename T1 , typename T2 >
Quaternion_<T2> allofw::operator* ( const Vector3_< T1 > &  v,
const Quaternion_< T2 > &  q 
)
inline
template<typename number_t >
number_t allofw::sign ( number_t  a)
inline

Compute sign of a number.

Variable Documentation

const double allofw::E = 2.7182818284590452353602874713526624977572470937000
const double allofw::Infinity = std::numeric_limits<double>::infinity()
const double allofw::NaN = std::numeric_limits<double>::quiet_NaN()
const double allofw::PI = 3.1415926535897932384626433832795028841971693993751