#include <iostream>
#include <fstream>
#include <algorithm>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <vector>
#include <string>
#include <math.h>
#include <float.h>
类 | |
struct | Simplify::Ref |
class | Simplify::SimplificationObject |
class | SymetricMatrix |
struct | Simplify::Triangle |
struct | vec3f |
struct | vector3 |
struct | Simplify::Vertex |
命名空间 | |
namespace | Simplify |
宏定义 | |
#define | loopi(start_l, end_l) for (int i = start_l; i < end_l; ++i) |
#define | loopi(start_l, end_l) for (int i = start_l; i < end_l; ++i) |
#define | loopj(start_l, end_l) for (int j = start_l; j < end_l; ++j) |
#define | loopk(start_l, end_l) for (int k = start_l; k < end_l; ++k) |
枚举 | |
enum | Simplify::Attributes { Simplify::NONE , Simplify::NORMAL = 2 , Simplify::TEXCOORD = 4 , Simplify::COLOR = 8 } |
函数 | |
vec3f | barycentric (const vec3f &p, const vec3f &a, const vec3f &b, const vec3f &c) |
vec3f | interpolate (const vec3f &p, const vec3f &a, const vec3f &b, const vec3f &c, const vec3f attrs[3]) |
double | min (double v1, double v2) |
#define loopi | ( | start_l, | |
end_l ) for (int i = start_l; i < end_l; ++i) |
在文件 Simplify.h 第 26 行定义.
被这些函数引用 Simplify::SimplificationObject::compact_mesh(), Simplify::SimplificationObject::load_obj(), Simplify::SimplificationObject::simplify_mesh(), Simplify::SimplificationObject::simplify_mesh_lossless(), SymetricMatrix::SymetricMatrix(), Simplify::SimplificationObject::update_mesh() , 以及 Simplify::SimplificationObject::write_obj().
#define loopi | ( | start_l, | |
end_l ) for (int i = start_l; i < end_l; ++i) |
在文件 Simplify.h 第 26 行定义.
#define loopj | ( | start_l, | |
end_l ) for (int j = start_l; j < end_l; ++j) |
#define loopk | ( | start_l, | |
end_l ) for (int k = start_l; k < end_l; ++k) |
vec3f interpolate | ( | const vec3f & | p, |
const vec3f & | a, | ||
const vec3f & | b, | ||
const vec3f & | c, | ||
const vec3f | attrs[3] ) |
在文件 Simplify.h 第 284 行定义.
引用了 barycentric(), vec3f::x, vec3f::y , 以及 vec3f::z.
被这些函数引用 Simplify::SimplificationObject::update_uvs().
double min | ( | double | v1, |
double | v2 ) |
在文件 Simplify.h 第 294 行定义.
被这些函数引用 Simplify::SimplificationObject::calculate_error(), vec3f::clamp(), carla::geom::Math::Clamp(), MapGen::getRotation(), carla::nav::Navigation::GetWalkerTransform(), util::Random::Location(), MeshReconstruction::MarchCube(), util::Random::Uniform(), Simplify::SimplificationObject::update_mesh() , 以及 Simplify::SimplificationObject::update_triangles().