#include <TriMesh.h>
List of all members.
Member Function Documentation
void cinder::TriMesh::clear |
( |
|
) |
|
bool cinder::TriMesh::hasNormals |
( |
|
) |
const |
bool cinder::TriMesh::hasTexCoords |
( |
|
) |
const |
void cinder::TriMesh::appendVertex |
( |
const Vec3f & |
v |
) |
|
void cinder::TriMesh::appendVertices |
( |
const Vec4d * |
verts, |
|
|
size_t |
num | |
|
) |
| | |
void cinder::TriMesh::appendNormal |
( |
const Vec3f & |
v |
) |
|
void cinder::TriMesh::appendNormals |
( |
const Vec4d * |
normals, |
|
|
size_t |
num | |
|
) |
| | |
void cinder::TriMesh::appendTexCoord |
( |
const Vec2f & |
v |
) |
|
void cinder::TriMesh::appendTriangle |
( |
size_t |
v0, |
|
|
size_t |
v1, |
|
|
size_t |
v2 | |
|
) |
| | |
size_t cinder::TriMesh::getNumIndices |
( |
|
) |
const |
size_t cinder::TriMesh::getNumTriangles |
( |
|
) |
const |
size_t cinder::TriMesh::getNumVertices |
( |
|
) |
const |
void cinder::TriMesh::getTriangleVertices |
( |
size_t |
idx, |
|
|
Vec3f * |
a, |
|
|
Vec3f * |
b, |
|
|
Vec3f * |
c | |
|
) |
| | const |
Puts the 3 vertices of triangle number idx into a, b and c.
const std::vector<Vec3f>& cinder::TriMesh::getVertices |
( |
|
) |
const |
const std::vector<Vec3f>& cinder::TriMesh::getNormals |
( |
|
) |
const |
const std::vector<Vec2f>& cinder::TriMesh::getTexCoords |
( |
|
) |
const |
const std::vector<size_t>& cinder::TriMesh::getIndices |
( |
|
) |
const |
Calculates the bounding box of all vertices.
Calculates the bounding box of all vertices as transformed by transform.
The documentation for this class was generated from the following files: