$search
Classes | |
class | TriMesh |
Typedefs | |
typedef unsigned char | color [3] |
typedef float | conf |
typedef int | edge [2] |
typedef int | face [3] |
typedef float | point [3] |
typedef float | quat [4] |
typedef float | vec [3] |
Functions | |
template<class T > | |
static void | CrossProd (const T *x, const T *y, T *z) |
template<class T > | |
static void | CrossProd (const T &a, const T &b, const T &c, const T &d, const T &e, const T &f, T &g, T &h, T &i) |
template<class T > | |
static T | cube (const T &x) |
template<class T > | |
static T | Dist (const T *x1, const T *x2) |
template<class T > | |
static T | Dist2 (const T *x1, const T *x2) |
template<class T > | |
static T | Dot (const T *x, const T *y) |
template<class T > | |
static void | FastInvert (T *matrix) |
template<class T > | |
static void | FastProject (const T *F, const T *vert, T *coord) |
template<class T > | |
static void | FastProject (const T *F, T x, T y, T z, T &xout, T &yout, T &zout) |
template<class T > | |
static void | FastProjectNoZ (const T *F, const T *vert, T *coord) |
template<class T > | |
static void | FastProjectNoZ (const T *F, T x, T y, T z, T &xout, T &yout) |
template<class T > | |
static void | FastProjectPrecompute (T *F, const T *P, const T *M, const T *V, T zoffset=0) |
template<class T > | |
static void | FindNormal (const T *p1, const T *p2, const T *p3, T *n) |
template<class T > | |
static T | Len (const T *x) |
template<class T > | |
static T | Len2 (const T *x) |
template<class T > | |
static void | MMult (const T *M1, const T *M2, T *Mout) |
template<class T > | |
static void | Mouse2Q (T x1, T y1, T x2, T y2, T *q) |
template<class T > | |
static void | Mouse2TrackballPos (T x, T y, T *pos) |
template<class T > | |
static void | MVMult (const T *M, const T *V, T *Vout, bool apply_trans=true) |
template<class T > | |
static void | Normalize (T *v) |
template<class T > | |
static void | Project (const T *P, const T *M, const T *V, const T *vert, T *coord, T zoffset=0) |
template<class T > | |
static void | Q2RotAndAxis (const T *q, T &rot, T *rotaxis) |
template<class T > | |
static void | QCompose (const T *q1, const T *q2, T *q3) |
template<class T > | |
static void | QNorm (T *q) |
template<class T > | |
static void | QRotate (T *x, const T *q) |
template<class T > | |
static void | RotAndAxis2Q (T rot, const T *rotaxis, T *q) |
template<class T > | |
static T | sqr (const T &x) |
static void | swap_2 (short &x) |
static void | swap_2 (unsigned short &x) |
static void | swap_4 (int &x) |
static void | swap_4 (unsigned &x) |
static void | swap_float (float &x) |
template<class T > | |
static void | TriBoundingSphere (const T *p1, const T *p2, const T *p3, T *cent, T &r) |
static bool | we_are_big_endian () |
static bool | we_are_little_endian () |
Variables | |
static bool * | done |
static int * | next_tstrip_vert |
static int | numtstrips |
typedef unsigned char trimesh::color |
Definition at line 23 of file include/trimesh/trimesh.h.
typedef float trimesh::conf |
Definition at line 24 of file include/trimesh/trimesh.h.
typedef int trimesh::edge |
Definition at line 29 of file include/trimesh/trimesh.h.
typedef int trimesh::face |
Definition at line 27 of file include/trimesh/trimesh.h.
typedef float trimesh::point |
Definition at line 25 of file include/trimesh/trimesh.h.
typedef float trimesh::quat |
Definition at line 28 of file include/trimesh/trimesh.h.
typedef float trimesh::vec |
Definition at line 26 of file include/trimesh/trimesh.h.
static void trimesh::CrossProd | ( | const T * | x, | |
const T * | y, | |||
T * | z | |||
) | [inline, static] |
Definition at line 102 of file src/triutil.h.
static void trimesh::CrossProd | ( | const T & | a, | |
const T & | b, | |||
const T & | c, | |||
const T & | d, | |||
const T & | e, | |||
const T & | f, | |||
T & | g, | |||
T & | h, | |||
T & | i | |||
) | [inline, static] |
Definition at line 90 of file src/triutil.h.
static T trimesh::cube | ( | const T & | x | ) | [inline, static] |
Definition at line 38 of file src/triutil.h.
static T trimesh::Dist | ( | const T * | x1, | |
const T * | x2 | |||
) | [inline, static] |
Definition at line 82 of file src/triutil.h.
static T trimesh::Dist2 | ( | const T * | x1, | |
const T * | x2 | |||
) | [inline, static] |
Definition at line 70 of file src/triutil.h.
static T trimesh::Dot | ( | const T * | x, | |
const T * | y | |||
) | [inline, static] |
Definition at line 46 of file src/triutil.h.
static void trimesh::FastInvert | ( | T * | matrix | ) | [inline, static] |
Definition at line 297 of file src/triutil.h.
static void trimesh::FastProject | ( | const T * | F, | |
const T * | vert, | |||
T * | coord | |||
) | [inline, static] |
Definition at line 264 of file src/triutil.h.
static void trimesh::FastProject | ( | const T * | F, | |
T | x, | |||
T | y, | |||
T | z, | |||
T & | xout, | |||
T & | yout, | |||
T & | zout | |||
) | [inline, static] |
Definition at line 253 of file src/triutil.h.
static void trimesh::FastProjectNoZ | ( | const T * | F, | |
const T * | vert, | |||
T * | coord | |||
) | [inline, static] |
Definition at line 286 of file src/triutil.h.
static void trimesh::FastProjectNoZ | ( | const T * | F, | |
T | x, | |||
T | y, | |||
T | z, | |||
T & | xout, | |||
T & | yout | |||
) | [inline, static] |
Definition at line 276 of file src/triutil.h.
static void trimesh::FastProjectPrecompute | ( | T * | F, | |
const T * | P, | |||
const T * | M, | |||
const T * | V, | |||
T | zoffset = 0 | |||
) | [inline, static] |
Definition at line 217 of file src/triutil.h.
static void trimesh::FindNormal | ( | const T * | p1, | |
const T * | p2, | |||
const T * | p3, | |||
T * | n | |||
) | [inline, static] |
Definition at line 113 of file src/triutil.h.
static T trimesh::Len | ( | const T * | x | ) | [inline, static] |
Definition at line 62 of file src/triutil.h.
static T trimesh::Len2 | ( | const T * | x | ) | [inline, static] |
Definition at line 54 of file src/triutil.h.
static void trimesh::MMult | ( | const T * | M1, | |
const T * | M2, | |||
T * | Mout | |||
) | [inline, static] |
Definition at line 143 of file src/triutil.h.
static void trimesh::Mouse2Q | ( | T | x1, | |
T | y1, | |||
T | x2, | |||
T | y2, | |||
T * | q | |||
) | [inline, static] |
Definition at line 464 of file src/triutil.h.
static void trimesh::Mouse2TrackballPos | ( | T | x, | |
T | y, | |||
T * | pos | |||
) | [inline, static] |
Definition at line 445 of file src/triutil.h.
static void trimesh::MVMult | ( | const T * | M, | |
const T * | V, | |||
T * | Vout, | |||
bool | apply_trans = true | |||
) | [inline, static] |
Definition at line 168 of file src/triutil.h.
static void trimesh::Normalize | ( | T * | v | ) | [inline, static] |
Definition at line 125 of file src/triutil.h.
static void trimesh::Project | ( | const T * | P, | |
const T * | M, | |||
const T * | V, | |||
const T * | vert, | |||
T * | coord, | |||
T | zoffset = 0 | |||
) | [inline, static] |
Definition at line 186 of file src/triutil.h.
static void trimesh::Q2RotAndAxis | ( | const T * | q, | |
T & | rot, | |||
T * | rotaxis | |||
) | [inline, static] |
Definition at line 426 of file src/triutil.h.
static void trimesh::QCompose | ( | const T * | q1, | |
const T * | q2, | |||
T * | q3 | |||
) | [inline, static] |
Definition at line 393 of file src/triutil.h.
static void trimesh::QNorm | ( | T * | q | ) | [inline, static] |
Definition at line 374 of file src/triutil.h.
static void trimesh::QRotate | ( | T * | x, | |
const T * | q | |||
) | [inline, static] |
Definition at line 488 of file src/triutil.h.
static void trimesh::RotAndAxis2Q | ( | T | rot, | |
const T * | rotaxis, | |||
T * | q | |||
) | [inline, static] |
Definition at line 410 of file src/triutil.h.
static T trimesh::sqr | ( | const T & | x | ) | [inline, static] |
Definition at line 32 of file src/triutil.h.
static void trimesh::swap_2 | ( | short & | x | ) | [inline, static] |
Definition at line 40 of file src/trimesh_endian.h.
static void trimesh::swap_2 | ( | unsigned short & | x | ) | [inline, static] |
Definition at line 35 of file src/trimesh_endian.h.
static void trimesh::swap_4 | ( | int & | x | ) | [inline, static] |
Definition at line 53 of file src/trimesh_endian.h.
static void trimesh::swap_4 | ( | unsigned & | x | ) | [inline, static] |
Definition at line 45 of file src/trimesh_endian.h.
static void trimesh::swap_float | ( | float & | x | ) | [inline, static] |
Definition at line 58 of file src/trimesh_endian.h.
static void trimesh::TriBoundingSphere | ( | const T * | p1, | |
const T * | p2, | |||
const T * | p3, | |||
T * | cent, | |||
T & | r | |||
) | [inline, static] |
Definition at line 317 of file src/triutil.h.
static bool trimesh::we_are_big_endian | ( | ) | [inline, static] |
Definition at line 30 of file src/trimesh_endian.h.
static bool trimesh::we_are_little_endian | ( | ) | [inline, static] |
Definition at line 23 of file src/trimesh_endian.h.
bool* trimesh::done [static] |
Definition at line 15 of file trimesh_tstrips.cc.
int* trimesh::next_tstrip_vert [static] |
Definition at line 16 of file trimesh_tstrips.cc.
int trimesh::numtstrips [static] |
Definition at line 17 of file trimesh_tstrips.cc.