Namespace for CPE classes. More...
Classes | |
class | matrix1x4 |
Matrix 1x4. More... | |
class | matrix2 |
Matrix 2x2. More... | |
class | matrix3 |
Matrix 3x3. More... | |
class | matrix4 |
Matrix 4x4. More... | |
class | matrix4x1 |
Matrix 1x4. More... | |
class | quaternion |
Quaternion class. More... | |
class | vec2 |
Vectors/Points 2D. More... | |
class | vec3 |
Vectors/Points 3D. More... | |
class | vec4 |
Vectors/Points 4D. More... | |
class | exception_cpe |
General exception class. More... | |
class | gui_interface |
class | intersection_helper |
class | navigator_tool |
(Dirty) Container class for camera, mouse and fps manipulation More... | |
class | opengl_drawer |
class | picking_data |
Helper class to store picking parameters. More... | |
class | string_converter |
A helper class to manipulate string (token, convert, ...) More... | |
class | string_tokenizer |
Helper class to tokenize easily a string. More... | |
class | file_helper |
helper class with files More... | |
class | trackball |
A container class to deal with a trackball, use ArcBall paradigm. More... | |
class | mesh |
Container class for a generic mesh with normal, color, texture, ... More... | |
class | mesh_io |
Helper class for I/O mesh. More... | |
class | evaluator_spline |
class | grid |
class | patch4 |
class | quad_index |
class | surface_param |
class | surface_param_drawable |
Wrapper class to help drawing a surface_param class. More... | |
Functions | |
matrix1x4 | operator+ (float s, const matrix1x4 &m) |
| |
matrix1x4 | operator- (float s, const matrix1x4 &m) |
| |
matrix1x4 | operator* (float s, const matrix1x4 &m) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const matrix1x4 &m) |
output the vector in ostream More... | |
matrix2 | operator+ (float s, const matrix2 &m) |
| |
matrix2 | operator- (float s, const matrix2 &m) |
| |
matrix2 | operator* (float s, const matrix2 &m) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const matrix2 &m) |
output the vector in ostream More... | |
matrix3 | operator+ (float s, const matrix3 &m) |
| |
matrix3 | operator- (float s, const matrix3 &m) |
| |
matrix3 | operator* (float s, const matrix3 &m) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const matrix3 &m) |
output the vector in ostream More... | |
matrix4 | operator+ (float s, const matrix4 &m) |
| |
matrix4 | operator- (float s, const matrix4 &m) |
| |
matrix4 | operator* (float s, const matrix4 &m) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const matrix4 &m) |
output the vector in ostream More... | |
matrix4x1 | operator+ (float s, const matrix4x1 &m) |
| |
matrix4x1 | operator- (float s, const matrix4x1 &m) |
| |
matrix4x1 | operator* (float s, const matrix4x1 &m) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const matrix4x1 &m) |
output the vector in ostream More... | |
matrix4x1 | operator* (const matrix4 &m1, const matrix4x1 &m2) |
multiply with a matrix4 More... | |
quaternion | operator* (float s, const quaternion &q) |
multiplication with scalar More... | |
vec2 | operator+ (float s, const vec2 &p) |
| |
vec2 | operator- (float s, const vec2 &p) |
| |
vec2 | operator* (float s, const vec2 &p) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const vec2 &p) |
output the vector in ostream as (x,y,z) More... | |
vec3 | operator+ (float s, const vec3 &p) |
| |
vec3 | operator- (float s, const vec3 &p) |
| |
vec3 | operator* (float s, const vec3 &p) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const vec3 &p) |
output the vector in ostream as (x,y,z) More... | |
vec4 | operator+ (float s, const vec4 &p) |
| |
vec4 | operator- (float s, const vec4 &p) |
| |
vec4 | operator* (float s, const vec4 &p) |
multiply by a scalar operator More... | |
std::ostream & | operator<< (std::ostream &stream, const vec4 &p) |
output the vector in ostream as (x,y,z) More... | |
std::string | get_backtrace (int skip) |
mesh | operator+ (const vec3 &x, const mesh &m) |
mesh | operator+ (const mesh &m, const vec3 &x) |
mesh | operator- (const mesh &m, const vec3 &x) |
mesh | operator* (const double &s, const mesh &m) |
mesh | operator* (const mesh &m, const double &s) |
grid | operator* (float s, const grid &g) |
grid | operator* (const grid &g, float s) |
grid | operator+ (const grid &g, const vec3 &t) |
grid | operator+ (const vec3 &t, const grid &g) |
grid | operator- (const grid &g, const vec3 &t) |
grid | operator- (const vec3 &t, const grid &g) |
Namespace for CPE classes.
Method copied from https://gist.github.com/fmela/591333
std::string cpe::get_backtrace | ( | int | skip | ) |
mesh cpe::operator* | ( | const double & | s, |
const mesh & | m | ||
) |
mesh cpe::operator* | ( | const mesh & | m, |
const double & | s | ||
) |
matrix1x4 cpe::operator* | ( | float | s, |
const matrix1x4 & | m | ||
) |
multiply by a scalar operator
matrix4x1 cpe::operator* | ( | float | s, |
const matrix4x1 & | m | ||
) |
multiply by a scalar operator
grid cpe::operator* | ( | float | s, |
const grid & | g | ||
) |
grid cpe::operator* | ( | const grid & | g, |
float | s | ||
) |
matrix2 cpe::operator* | ( | float | s, |
const matrix2 & | m | ||
) |
multiply by a scalar operator
matrix3 cpe::operator* | ( | float | s, |
const matrix3 & | m | ||
) |
multiply by a scalar operator
vec2 cpe::operator* | ( | float | s, |
const vec2 & | p | ||
) |
multiply by a scalar operator
References cpe::vec2::x(), and cpe::vec2::y().
vec3 cpe::operator* | ( | float | s, |
const vec3 & | p | ||
) |
multiply by a scalar operator
References cpe::vec3::x(), cpe::vec3::y(), and cpe::vec3::z().
vec4 cpe::operator* | ( | float | s, |
const vec4 & | p | ||
) |
multiply by a scalar operator
References cpe::vec4::w(), cpe::vec4::x(), cpe::vec4::y(), and cpe::vec4::z().
matrix4 cpe::operator* | ( | float | s, |
const matrix4 & | m | ||
) |
multiply by a scalar operator
References cpe::matrix4::pointer().
quaternion cpe::operator* | ( | float | s, |
const quaternion & | q | ||
) |
multiplication with scalar
matrix4x1 cpe::operator* | ( | const matrix4 & | m1, |
const matrix4x1 & | m2 | ||
) |
multiply with a matrix4
References cpe::matrix4x1::pointer(), and cpe::matrix4::pointer().
matrix1x4 cpe::operator+ | ( | float | s, |
const matrix1x4 & | m | ||
) |
matrix4x1 cpe::operator+ | ( | float | s, |
const matrix4x1 & | m | ||
) |
mesh cpe::operator+ | ( | const vec3 & | x, |
const mesh & | m | ||
) |
mesh cpe::operator+ | ( | const mesh & | m, |
const vec3 & | x | ||
) |
matrix2 cpe::operator+ | ( | float | s, |
const matrix2 & | m | ||
) |
matrix3 cpe::operator+ | ( | float | s, |
const matrix3 & | m | ||
) |
vec2 cpe::operator+ | ( | float | s, |
const vec2 & | p | ||
) |
matrix4 cpe::operator+ | ( | float | s, |
const matrix4 & | m | ||
) |
vec3 cpe::operator+ | ( | float | s, |
const vec3 & | p | ||
) |
References cpe::vec3::x(), cpe::vec3::y(), and cpe::vec3::z().
grid cpe::operator+ | ( | const grid & | g, |
const vec3 & | t | ||
) |
vec4 cpe::operator+ | ( | float | s, |
const vec4 & | p | ||
) |
References cpe::vec4::w(), cpe::vec4::x(), cpe::vec4::y(), and cpe::vec4::z().
grid cpe::operator+ | ( | const vec3 & | t, |
const grid & | g | ||
) |
mesh cpe::operator- | ( | const mesh & | m, |
const vec3 & | x | ||
) |
matrix1x4 cpe::operator- | ( | float | s, |
const matrix1x4 & | m | ||
) |
matrix4x1 cpe::operator- | ( | float | s, |
const matrix4x1 & | m | ||
) |
matrix2 cpe::operator- | ( | float | s, |
const matrix2 & | m | ||
) |
matrix3 cpe::operator- | ( | float | s, |
const matrix3 & | m | ||
) |
vec2 cpe::operator- | ( | float | s, |
const vec2 & | p | ||
) |
grid cpe::operator- | ( | const grid & | g, |
const vec3 & | t | ||
) |
vec3 cpe::operator- | ( | float | s, |
const vec3 & | p | ||
) |
References cpe::vec3::x(), cpe::vec3::y(), and cpe::vec3::z().
matrix4 cpe::operator- | ( | float | s, |
const matrix4 & | m | ||
) |
grid cpe::operator- | ( | const vec3 & | t, |
const grid & | g | ||
) |
vec4 cpe::operator- | ( | float | s, |
const vec4 & | p | ||
) |
References cpe::vec4::w(), cpe::vec4::x(), cpe::vec4::y(), and cpe::vec4::z().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix1x4 & | _m | ||
) |
output the vector in ostream
References cpe::matrix1x4::pointer().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix4x1 & | _m | ||
) |
output the vector in ostream
References cpe::matrix4x1::pointer().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const vec2 & | p | ||
) |
output the vector in ostream as (x,y,z)
References cpe::vec2::to_string().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix2 & | _m | ||
) |
output the vector in ostream
References cpe::matrix2::pointer().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix3 & | _m | ||
) |
output the vector in ostream
References cpe::matrix3::pointer().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const vec3 & | p | ||
) |
output the vector in ostream as (x,y,z)
References cpe::vec3::to_string().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const vec4 & | p | ||
) |
output the vector in ostream as (x,y,z)
References cpe::vec4::to_string().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix4 & | _m | ||
) |
output the vector in ostream
References cpe::matrix4::pointer().