class ExpressionNS::ExpMeshAdapter |
This class is the abstract interface that allows expression to talk to a mesh without knowing the way that it is layed out in memory.
virtual Vertex | GetVertTrans (int i) get untransformed vertex |
virtual Vertex | GetVertUnTrans (int i) get transformed vertex |
virtual int | NumVerts () get number of verts |
virtual void | SetVertTrans (int i, Vertex* input) set transformed vertex |
virtual Vertex | GetVertNorm (int i) get vert norm |
virtual std::vector<int> | GetPointAdjacencyList (int point) get topology info |
virtual void | SetRotX (float x) sets root X rotation of mesh |
virtual void | SetRotY (float y) sets root Y rotation of mesh |
virtual void | SetRotZ (float z) sets root Z rotation of mesh |
virtual void | SetRot (float x, float y, float z) sets all three |
virtual float | GetRotX () gets root X rotation of mesh |
virtual float | GetRotY () gets root Y rotation of mesh |
virtual float | GetRotZ () gets root Z rotation of mesh |
virtual Vertex* | GetRot () gets all three |
virtual void | Reset () resets the geom to base mesh |
virtual Vertex* | GetRoot () gets xyz root of mesh |
virtual void | SetRoot (Vertex input) sets xyz root of mesh |
This class is the abstract interface that allows expression to talk to a mesh without knowing the way that it is layed out in memory. The conventional way to use it is to have your mesh inherit from ExpMeshAdapter and implement all the functionallity.
Alphabetic index HTML hierarchy of classes or Java