PLearn 0.1
|
#include <plearn/math/TMat_maths.h>
#include <plearn/math/random.h>
#include "SurfaceMesh.h"
#include <plearn_learners/nearest_neighbors/BallTreeNearestNeighbors.h>
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Enumerations | |
enum | PLearn::TriType { PLearn::FACE, PLearn::VERTEX1, PLearn::VERTEX2, PLearn::VERTEX3, PLearn::EDGE1, PLearn::EDGE2, PLearn::EDGE3 } |
Functions | |
Vec | PLearn::fixedAnglesFromRotation (const Mat &m) |
Mat | PLearn::rotationFromFixedAngles (real rx, real ry, real rz) |
Mat | PLearn::rotationFromAxisAngle (Vec &K, real th) |
void | PLearn::transformPoints (const Mat &rot, const Vec &trans, const Mat &points_in, Mat &points_out) |
void | PLearn::transformMesh (const Mat &rot, const Vec &trans, SurfMesh &sm) |
void | PLearn::weightedTransformationFromMatchedPoints (const Mat &mp, const Mat &sp, const Vec &weights, Mat &rot, Vec &trans, real &error) |
Vec | PLearn::weightedCentroid (const Mat &pts, const Vec &weights) |
Mat | PLearn::weightedRotationFromMatchedPoints (const Mat &mp, const Mat &sp, const Vec &weights, real &error) |
int | PLearn::jacobi (Mat &a, Vec &d, Mat &v, int &nrot) |
void | PLearn::rotate (Mat &a, int i, int j, int k, int l, const real &s, const real &tau) |
void | PLearn::eigsrt (Vec &d, Mat &v, int n) |
real | PLearn::maxPointMotion (const Mat &old_points, const Mat &new_points) |
real | PLearn::calcNormal (graph &mesh, const vertex_descriptor &vtx, Vec &norm) |
Vec | PLearn::calcNormal (const Vec &v1, const Vec &v2, const Vec &v3, const Vec &n1, const Vec &n2, const Vec &n3, const Vec &target) |
void | PLearn::findSumsFromPts (const graph &mesh, const set< vertex_descriptor > &points, Vec &sums) |
void | PLearn::calcPlaneParams (const Vec &sums, Vec &norm, real &d, real &err) |
int | PLearn::getNormFromEigVecs (const Vec &ev, const Mat &e, Vec &norm) |
Vec | PLearn::cross (const Vec &v1, const Vec &v2) |
Mat | PLearn::randomRotation (real max_angle) |
void | PLearn::randomTransformation (real max_angle, real max_dist, Mat &rot, Vec &trans) |
Mat | PLearn::boundingBoxToVertices (const Mat &bbox) |
void | PLearn::getNearestVertex (const Vec &test_pt, const SurfMesh &mesh2, const GenericNN &btl, int &closest_vertex, Vec &closest_pt, real &closest_dist) |
bool | PLearn::isOverlapping (Vec &test_pt, Vec &test_normal, const SurfMesh &mesh2, const TVec< set< int > > &face_cache, GenericNN &btl, const real init_dist_t, const real normal_t, int &closest_vertex, Vec &closest_pt, real &closest_dist) |
bool | PLearn::pointIsInterior (const TriType tri_type, const int m2face, const SurfMesh &mesh2) |
bool | PLearn::closestFacePoint (const Vec &m1pt, const set< int > &m2faces, const SurfMesh &mesh2, const real dist_t, Vec &closest_pt, real &closest_dist, int &closest_face, TriType &closest_tri_type) |
bool | PLearn::closestPointOnTriangle (const Vec &p, const Vec &v1, const Vec &v2, const Vec &v3, const real dist_t, Vec &closest, TriType &tri_type, real &dist) |
int | PLearn::region1ClosestPoint (const Vec &planep, const Vec &va, const Vec &vb, const Vec &ea, Vec &closest) |
int | PLearn::region2ClosestPoint (const Vec &planep, const Vec &va, const Vec &vb, const Vec &vc, const Vec &ea, const Vec &eb, Vec closest) |
Definition in file geometry.h.