#include <vcg/math/base.h>
#include <vcg/complex/algorithms/refine.h>
#include <vcg/complex/algorithms/update/flag.h>
#include <vcg/complex/algorithms/update/position.h>
#include <vcg/complex/algorithms/update/topology.h>
#include <vcg/complex/algorithms/update/bounding.h>
#include <vcg/complex/algorithms/clean.h>
#include <vcg/complex/algorithms/polygon_support.h>
#include <vcg/complex/algorithms/smooth.h>
Go to the source code of this file.
Classes | |
class | vcg::tri::_SphFace |
class | vcg::tri::_SphMesh |
struct | vcg::tri::_SphUsedTypes |
class | vcg::tri::_SphVertex |
Namespaces | |
namespace | vcg |
* | |
namespace | vcg::tri |
Functions | |
template<class ScalarType > | |
static ScalarType | vcg::tri::_SQfnC (ScalarType a, ScalarType b) |
template<class ScalarType > | |
static ScalarType | vcg::tri::_SQfnS (ScalarType a, ScalarType b) |
template<class MeshType > | |
void | vcg::tri::Annulus (MeshType &m, float externalRadius, float internalRadius, int slices) |
template<class MeshType > | |
void | vcg::tri::Box (MeshType &in, const typename MeshType::BoxType &bb) |
template<class MeshType > | |
void | vcg::tri::BuildCylinderEdgeShell (MeshType &mIn, MeshType &mOut, float radius=0, int slices=16, int stacks=1) |
template<class MeshType > | |
void | vcg::tri::BuildCylinderVertexShell (MeshType &mIn, MeshType &mOut, float radius=0, float height=0, int slices=16, int stacks=1) |
template<class TriMeshType , class EdgeMeshType > | |
void | vcg::tri::BuildFromNonFaux (TriMeshType &in, EdgeMeshType &out) |
template<class MeshType , class V > | |
void | vcg::tri::BuildMeshFromCoordVector (MeshType &in, const V &v) |
template<class MeshType , class V , class F > | |
void | vcg::tri::BuildMeshFromCoordVectorIndexVector (MeshType &in, const V &v, const F &f) |
template<class MeshType > | |
void | vcg::tri::BuildPrismFaceShell (MeshType &mIn, MeshType &mOut, float height=0, float inset=0, bool smoothFlag=true) |
template<class MeshType > | |
void | vcg::tri::BuildSphereVertexShell (MeshType &mIn, MeshType &mOut, float radius=0, int recDiv=2) |
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, bool capped=false) |
template<class MeshType > | |
void | vcg::tri::Disk (MeshType &m, int slices) |
template<class DodMeshType > | |
void | vcg::tri::Dodecahedron (DodMeshType &in) |
template<class MeshType > | |
void | vcg::tri::FaceGrid (MeshType &in, int w, int h) |
template<class MeshType > | |
void | vcg::tri::FaceGrid (MeshType &in, const std::vector< int > &grid, 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=0) |
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::OrientedAnnulus (MeshType &m, Point3f center, Point3f norm, float externalRadius, float internalRadius, int slices) |
template<class MeshType > | |
void | vcg::tri::OrientedCylinder (MeshType &m, const typename MeshType::CoordType origin, const typename MeshType::CoordType end, float radius, bool capped, int slices=32, int stacks=4) |
template<class MeshType > | |
void | vcg::tri::OrientedDisk (MeshType &m, int slices, typename MeshType::CoordType center, typename MeshType::CoordType norm, float radius) |
template<class MeshType > | |
void | vcg::tri::OrientedEllipticPrism (MeshType &m, const typename MeshType::CoordType origin, const typename MeshType::CoordType end, float radius, float xScale, float yScale, bool capped, int slices=32, int stacks=4) |
template<class MeshType > | |
void | vcg::tri::OrientedRect (MeshType &square, float width, float height, Point3f c, Point3f dir=Point3f(0, 0, 0), float angleDeg=0, Point3f preRotTra=Point3f(0, 0, 0)) |
template<class MeshType > | |
void | vcg::tri::OrientedSquare (MeshType &square, float width, Point3f c, Point3f dir=Point3f(0, 0, 0), float angleDeg=0, Point3f preRotTra=Point3f(0, 0, 0)) |
template<class MeshType > | |
void | vcg::tri::Sphere (MeshType &in, const int subdiv=3) |
template<class MeshType > | |
void | vcg::tri::SphericalCap (MeshType &in, float angleRad, const int subdiv=3) |
template<class MeshType > | |
void | vcg::tri::Square (MeshType &in) |
template<class MeshType > | |
void | vcg::tri::SuperEllipsoid (MeshType &m, float rFeature, float sFeature, float tFeature, int hRingDiv=24, int vRingDiv=12) |
template<class MeshType > | |
void | vcg::tri::SuperToroid (MeshType &m, float hRingRadius, float vRingRadius, float vSquareness, float hSquareness, int hRingDiv=24, int vRingDiv=12) |
template<class TetraMeshType > | |
void | vcg::tri::Tetrahedron (TetraMeshType &in) |
template<class MeshType > | |
void | vcg::tri::Torus (MeshType &m, float hRingRadius, float vRingRadius, int hRingDiv=24, int vRingDiv=12) |