#include <inertia.h>
Public Member Functions | |
Point3< ScalarType > | CenterOfMass () |
void | CompFaceIntegrals (FaceType &f) |
void | compProjectionIntegrals (FaceType &f) |
void | Compute (MeshType &m) |
void | InertiaTensor (Matrix44< ScalarType > &J) |
void | InertiaTensor (Matrix33< ScalarType > &J) |
void | InertiaTensorEigen (Matrix44< ScalarType > &EV, Point4< ScalarType > &ev) |
ScalarType | Mass () |
Static Public Member Functions | |
static void | Covariance (const MeshType &m, vcg::Point3< ScalarType > &bary, vcg::Matrix33< ScalarType > &C) |
Private Types | |
enum | { X = 0, Y = 1, Z = 2 } |
typedef MeshType::ConstFaceIterator | ConstFaceIterator |
typedef MeshType::CoordType | CoordType |
typedef MeshType::FaceContainer | FaceContainer |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FacePointer | FacePointer |
typedef MeshType::FaceType | FaceType |
typedef InertiaMeshType | MeshType |
typedef MeshType::ScalarType | ScalarType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
Private Member Functions | |
ScalarType | CUBE (ScalarType &x) const |
ScalarType | SQR (ScalarType &x) const |
Private Attributes | |
int | A |
int | B |
int | C |
double | Fa |
double | Faa |
double | Faaa |
double | Faab |
double | Fb |
double | Fbb |
double | Fbbb |
double | Fbbc |
double | Fc |
double | Fcc |
double | Fcca |
double | Fccc |
double | P1 |
double | Pa |
double | Paa |
double | Paaa |
double | Paab |
double | Pab |
double | Pabb |
double | Pb |
double | Pbb |
double | Pbbb |
double | T0 |
double | T1 [3] |
double | T2 [3] |
double | TP [3] |
Definition at line 68 of file inertia.h.
typedef MeshType::ConstFaceIterator vcg::tri::Inertia< InertiaMeshType >::ConstFaceIterator [private] |
typedef MeshType::CoordType vcg::tri::Inertia< InertiaMeshType >::CoordType [private] |
typedef MeshType::FaceContainer vcg::tri::Inertia< InertiaMeshType >::FaceContainer [private] |
typedef MeshType::FaceIterator vcg::tri::Inertia< InertiaMeshType >::FaceIterator [private] |
typedef MeshType::FacePointer vcg::tri::Inertia< InertiaMeshType >::FacePointer [private] |
typedef MeshType::FaceType vcg::tri::Inertia< InertiaMeshType >::FaceType [private] |
typedef InertiaMeshType vcg::tri::Inertia< InertiaMeshType >::MeshType [private] |
typedef MeshType::ScalarType vcg::tri::Inertia< InertiaMeshType >::ScalarType [private] |
typedef MeshType::VertexIterator vcg::tri::Inertia< InertiaMeshType >::VertexIterator [private] |
typedef MeshType::VertexPointer vcg::tri::Inertia< InertiaMeshType >::VertexPointer [private] |
typedef MeshType::VertexType vcg::tri::Inertia< InertiaMeshType >::VertexType [private] |
anonymous enum [private] |
Point3<ScalarType> vcg::tri::Inertia< InertiaMeshType >::CenterOfMass | ( | ) | [inline] |
void vcg::tri::Inertia< InertiaMeshType >::CompFaceIntegrals | ( | FaceType & | f | ) | [inline] |
void vcg::tri::Inertia< InertiaMeshType >::compProjectionIntegrals | ( | FaceType & | f | ) | [inline] |
void vcg::tri::Inertia< InertiaMeshType >::Compute | ( | MeshType & | m | ) | [inline] |
static void vcg::tri::Inertia< InertiaMeshType >::Covariance | ( | const MeshType & | m, | |
vcg::Point3< ScalarType > & | bary, | |||
vcg::Matrix33< ScalarType > & | C | |||
) | [inline, static] |
ScalarType vcg::tri::Inertia< InertiaMeshType >::CUBE | ( | ScalarType & | x | ) | const [inline, private] |
void vcg::tri::Inertia< InertiaMeshType >::InertiaTensor | ( | Matrix44< ScalarType > & | J | ) | [inline] |
void vcg::tri::Inertia< InertiaMeshType >::InertiaTensor | ( | Matrix33< ScalarType > & | J | ) | [inline] |
void vcg::tri::Inertia< InertiaMeshType >::InertiaTensorEigen | ( | Matrix44< ScalarType > & | EV, | |
Point4< ScalarType > & | ev | |||
) | [inline] |
ScalarType vcg::tri::Inertia< InertiaMeshType >::Mass | ( | ) | [inline] |
ScalarType vcg::tri::Inertia< InertiaMeshType >::SQR | ( | ScalarType & | x | ) | const [inline, private] |
int vcg::tri::Inertia< InertiaMeshType >::A [private] |
int vcg::tri::Inertia< InertiaMeshType >::B [private] |
int vcg::tri::Inertia< InertiaMeshType >::C [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fa [private] |
double vcg::tri::Inertia< InertiaMeshType >::Faa [private] |
double vcg::tri::Inertia< InertiaMeshType >::Faaa [private] |
double vcg::tri::Inertia< InertiaMeshType >::Faab [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fb [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fbb [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fbbb [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fbbc [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fc [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fcc [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fcca [private] |
double vcg::tri::Inertia< InertiaMeshType >::Fccc [private] |
double vcg::tri::Inertia< InertiaMeshType >::P1 [private] |
double vcg::tri::Inertia< InertiaMeshType >::Pa [private] |
double vcg::tri::Inertia< InertiaMeshType >::Paa [private] |
double vcg::tri::Inertia< InertiaMeshType >::Paaa [private] |
double vcg::tri::Inertia< InertiaMeshType >::Paab [private] |
double vcg::tri::Inertia< InertiaMeshType >::Pab [private] |
double vcg::tri::Inertia< InertiaMeshType >::Pabb [private] |
double vcg::tri::Inertia< InertiaMeshType >::Pb [private] |
double vcg::tri::Inertia< InertiaMeshType >::Pbb [private] |
double vcg::tri::Inertia< InertiaMeshType >::Pbbb [private] |
double vcg::tri::Inertia< InertiaMeshType >::T0 [private] |
double vcg::tri::Inertia< InertiaMeshType >::T1[3] [private] |
double vcg::tri::Inertia< InertiaMeshType >::T2[3] [private] |
double vcg::tri::Inertia< InertiaMeshType >::TP[3] [private] |