The official mesh class. More...
#include <base.h>
The official mesh class.
As explained in basic_concepts, this class is templated over a list of container of simplexes (like vertex, face, edges)
Definition at line 148 of file vcg/complex/base.h.
typedef Box3<ScalarType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::BoxType |
Definition at line 189 of file vcg/complex/base.h.
typedef TriMesh::ConstEdgeIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ConstEdgeIterator |
Definition at line 169 of file vcg/complex/base.h.
typedef TriMesh::ConstFaceIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ConstFaceIterator |
Definition at line 173 of file vcg/complex/base.h.
typedef TriMesh::ConstFacePointer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ConstFacePointer |
Definition at line 176 of file vcg/complex/base.h.
typedef TriMesh::ConstHEdgeIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ConstHEdgeIterator |
Definition at line 183 of file vcg/complex/base.h.
typedef TriMesh::ConstVertexIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ConstVertexIterator |
Definition at line 163 of file vcg/complex/base.h.
typedef TriMesh::ConstVertexPointer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ConstVertexPointer |
Definition at line 160 of file vcg/complex/base.h.
typedef TriMesh::CoordType vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::CoordType |
Definition at line 161 of file vcg/complex/base.h.
typedef TriMesh::EdgeContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::EdgeContainer |
Definition at line 154 of file vcg/complex/base.h.
typedef TriMesh::EdgeIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::EdgeIterator |
Definition at line 168 of file vcg/complex/base.h.
typedef TriMesh::EdgePointer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::EdgePointer |
Definition at line 167 of file vcg/complex/base.h.
typedef TriMesh::EdgeType vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::EdgeType |
Definition at line 166 of file vcg/complex/base.h.
typedef TriMesh::FaceContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::FaceContainer |
Definition at line 155 of file vcg/complex/base.h.
typedef TriMesh::FaceIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::FaceIterator |
Definition at line 174 of file vcg/complex/base.h.
typedef TriMesh::FacePointer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::FacePointer |
Definition at line 175 of file vcg/complex/base.h.
typedef TriMesh::FaceType vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::FaceType |
Definition at line 172 of file vcg/complex/base.h.
typedef TriMesh::HEdgeContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::HEdgeContainer |
Definition at line 182 of file vcg/complex/base.h.
typedef TriMesh::HEdgeIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::HEdgeIterator |
Definition at line 181 of file vcg/complex/base.h.
typedef TriMesh::HEdgePointer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::HEdgePointer |
Definition at line 180 of file vcg/complex/base.h.
typedef TriMesh::HEdgeType vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::HEdgeType |
Definition at line 179 of file vcg/complex/base.h.
typedef TriMesh<Container0, Container1,Container2,Container3> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::MeshType |
Definition at line 187 of file vcg/complex/base.h.
typedef MeshType::template PerFaceAttributeHandle<bool> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerFaceBoolHandle |
Definition at line 307 of file vcg/complex/base.h.
typedef MeshType::template PerFaceAttributeHandle<CoordType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerFaceCoordHandle |
Definition at line 308 of file vcg/complex/base.h.
typedef MeshType::template PerFaceAttributeHandle<int> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerFaceIntHandle |
Definition at line 306 of file vcg/complex/base.h.
typedef MeshType::template PerFaceAttributeHandle<ScalarType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerFaceScalarHandle |
Definition at line 305 of file vcg/complex/base.h.
typedef MeshType::template PerVertexAttributeHandle<bool> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerVertexBoolHandle |
Definition at line 302 of file vcg/complex/base.h.
typedef MeshType::template PerVertexAttributeHandle<CoordType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerVertexCoordHandle |
Definition at line 303 of file vcg/complex/base.h.
typedef MeshType::template PerVertexAttributeHandle<int> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerVertexIntHandle |
Definition at line 301 of file vcg/complex/base.h.
typedef MeshType::template PerVertexAttributeHandle<ScalarType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PerVertexScalarHandle |
Definition at line 300 of file vcg/complex/base.h.
typedef vcg::PointerToAttribute vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::PointerToAttribute |
Definition at line 185 of file vcg/complex/base.h.
typedef TriMesh::ScalarType vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ScalarType |
Definition at line 152 of file vcg/complex/base.h.
typedef TriMesh::VertContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::VertContainer |
Definition at line 153 of file vcg/complex/base.h.
typedef TriMesh::VertexIterator vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::VertexIterator |
Definition at line 162 of file vcg/complex/base.h.
typedef TriMesh::VertexPointer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::VertexPointer |
Definition at line 159 of file vcg/complex/base.h.
typedef TriMesh::VertexType vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::VertexType |
Definition at line 158 of file vcg/complex/base.h.
vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::TriMesh | ( | ) | [inline] |
Default constructor.
Definition at line 325 of file vcg/complex/base.h.
vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::~TriMesh | ( | ) | [inline] |
destructor
Definition at line 331 of file vcg/complex/base.h.
vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::TriMesh | ( | const TriMesh< Container0, Container1, Container2, Container3 > & | ) | [inline, private] |
Definition at line 412 of file vcg/complex/base.h.
const Color4b& vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::C | ( | ) | const [inline] |
Definition at line 320 of file vcg/complex/base.h.
Color4b& vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::C | ( | ) | [inline] |
Definition at line 321 of file vcg/complex/base.h.
Color4b vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::cC | ( | ) | const [inline] |
Definition at line 322 of file vcg/complex/base.h.
void vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::Clear | ( | ) | [inline] |
Function to destroy the mesh.
Definition at line 358 of file vcg/complex/base.h.
void vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::ClearAttributes | ( | ) | [inline] |
Definition at line 376 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::EN | ( | ) | const [inline] |
Current number of edges.
Definition at line 203 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::FN | ( | ) | const [inline] |
Current number of faces.
Definition at line 210 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::HN | ( | ) | const [inline] |
Current number of halfedges;.
Definition at line 217 of file vcg/complex/base.h.
bool vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::IsEmpty | ( | ) | const [inline] |
Definition at line 398 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::Mem | ( | const int & | nv, |
const int & | nf | ||
) | const [inline] |
Definition at line 336 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::MemNeeded | ( | ) | const [inline] |
Definition at line 353 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::MemUsed | ( | ) | const [inline] |
Definition at line 352 of file vcg/complex/base.h.
TriMesh vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::operator= | ( | const TriMesh< Container0, Container1, Container2, Container3 > & | ) | [inline, private] |
Definition at line 411 of file vcg/complex/base.h.
int& vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::SimplexNumber | ( | ) | [inline] |
Definition at line 403 of file vcg/complex/base.h.
int& vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::VertexNumber | ( | ) | [inline] |
Definition at line 404 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::VN | ( | ) | const [inline] |
Current number of vertices.
Definition at line 196 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::attrn |
Definition at line 228 of file vcg/complex/base.h.
Box3<typename TriMesh::VertexType::CoordType::ScalarType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::bbox |
Bounding box of the mesh.
Reimplemented in CMeshO.
Definition at line 220 of file vcg/complex/base.h.
Color4b vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::c [private] |
The per-mesh color. Not very useful and meaningful...
Definition at line 317 of file vcg/complex/base.h.
EdgeContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::edge |
Container of edges, usually a vector.
Definition at line 199 of file vcg/complex/base.h.
std::set< PointerToAttribute > vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::edge_attr |
Definition at line 232 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::en |
Current number of edges; this member is for internal use only. You should always use the EN() member.
Definition at line 201 of file vcg/complex/base.h.
FaceContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::face |
Container of faces, usually a vector.
Definition at line 206 of file vcg/complex/base.h.
std::set< PointerToAttribute > vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::face_attr |
Definition at line 233 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::fn |
Current number of faces; this member is for internal use only. You should always use the FN() member.
Definition at line 208 of file vcg/complex/base.h.
HEdgeContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::hedge |
Container of half edges, usually a vector.
Definition at line 213 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::hn |
Current number of halfedges; this member is for internal use only. You should always use the HN() member.
Definition at line 215 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::imark |
The incremental mark.
Definition at line 407 of file vcg/complex/base.h.
std::set< PointerToAttribute > vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::mesh_attr |
Definition at line 234 of file vcg/complex/base.h.
std::vector<std::string> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::normalmaps |
Definition at line 226 of file vcg/complex/base.h.
Shot<ScalarType> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::shot |
Definition at line 313 of file vcg/complex/base.h.
std::vector<std::string> vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::textures |
Nomi di textures.
Definition at line 224 of file vcg/complex/base.h.
VertContainer vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::vert |
Container of vertices, usually a vector.
Definition at line 192 of file vcg/complex/base.h.
std::set< PointerToAttribute > vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::vert_attr |
Definition at line 231 of file vcg/complex/base.h.
int vcg::tri::TriMesh< Container0, Container1, Container2, Container3 >::vn |
Current number of vertices; this member is for internal use only. You should always use the VN() member.
Definition at line 194 of file vcg/complex/base.h.