#include <vcg/math/base.h>
#include <vcg/complex/trimesh/allocate.h>
#include <vcg/complex/trimesh/refine.h>
#include <vcg/complex/trimesh/update/flag.h>
Go to the source code of this file.
Namespaces | |
namespace | vcg |
* | |
namespace | vcg::tri |
Functions | |
template<class MeshType > | |
void | vcg::tri::Box (MeshType &in, const typename MeshType::BoxType &bb) |
template<class MeshType , class V , class F > | |
void | vcg::tri::Build (MeshType &in, const V &v, const F &f) |
template<class MeshType > | |
void | vcg::tri::Cone (MeshType &in, const typename MeshType::ScalarType r1, const typename MeshType::ScalarType r2, const typename MeshType::ScalarType h, const int SubDiv=36) |
r1 = raggio 1, r2 = raggio2, h = altezza (asse y) | |
template<class MeshType > | |
void | vcg::tri::Cylinder (int slices, int stacks, MeshType &m) |
template<class DodMeshType > | |
void | vcg::tri::Dodecahedron (DodMeshType &in) |
template<class MeshType > | |
void | vcg::tri::FaceGrid (MeshType &in, const std::vector< int > &grid, int w, int h) |
template<class MeshType > | |
void | vcg::tri::FaceGrid (MeshType &in, int w, int h) |
template<class MeshType > | |
void | vcg::tri::GenerateCameraMesh (MeshType &in) |
template<class MeshType > | |
void | vcg::tri::Grid (MeshType &in, int w, int h, float wl, float hl, float *data) |
template<class MeshType > | |
void | vcg::tri::Hexahedron (MeshType &in) |
template<class IcoMeshType > | |
void | vcg::tri::Icosahedron (IcoMeshType &in) |
template<class OctMeshType > | |
void | vcg::tri::Octahedron (OctMeshType &in) |
template<class MeshType > | |
void | vcg::tri::Sphere (MeshType &in, const int subdiv=3) |
template<class MeshType > | |
void | vcg::tri::Square (MeshType &in) |
template<class TetraMeshType > | |
void | vcg::tri::Tetrahedron (TetraMeshType &in) |