Class diagram for Geometry:
Public Members | |
typedef TArray<Int> | IndexArray |
typedef TArray<Coord> | CoordArray |
typedef TArray<Normal> | NormalArray |
typedef TArray<Surface> | SurfaceArray |
Geometry () | |
const IndexArray& | getIndices () const |
const CoordArray& | getCoords () const |
const NormalArray& | getNormals () const |
const SurfaceArray& | getSurfaces () const |
Material* | getMaterial () const |
Int | addIndex (Int index) |
Int | addCoord (Float x, Float y, Float z) |
Int | addNormal (Float i, Float j, Float k) |
Int | addSurface (const Surface& surface) |
Void | setMaterial (Material* material) |
Void | addVertex (const Point& coord, const Vector& normal) |
Void | addTriangle (Int i1, Int i2, Int i3) |