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.

Public Methods

[more]virtual Vertex GetVertTrans (int i)
get untransformed vertex
[more]virtual Vertex GetVertUnTrans (int i)
get transformed vertex
[more]virtual int NumVerts ()
get number of verts
[more]virtual void SetVertTrans (int i, Vertex* input)
set transformed vertex
[more]virtual Vertex GetVertNorm (int i)
get vert norm
[more]virtual std::vector<int> GetPointAdjacencyList (int point)
get topology info
[more]virtual void SetRotX (float x)
sets root X rotation of mesh
[more]virtual void SetRotY (float y)
sets root Y rotation of mesh
[more]virtual void SetRotZ (float z)
sets root Z rotation of mesh
[more]virtual void SetRot (float x, float y, float z)
sets all three
[more]virtual float GetRotX ()
gets root X rotation of mesh
[more]virtual float GetRotY ()
gets root Y rotation of mesh
[more]virtual float GetRotZ ()
gets root Z rotation of mesh
[more]virtual Vertex* GetRot ()
gets all three
[more]virtual void Reset ()
resets the geom to base mesh
[more]virtual Vertex* GetRoot ()
gets xyz root of mesh
[more]virtual void SetRoot (Vertex input)
sets xyz root of mesh


Documentation

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.
ovirtual Vertex GetVertTrans(int i)
get untransformed vertex

ovirtual Vertex GetVertUnTrans(int i)
get transformed vertex

ovirtual int NumVerts()
get number of verts

ovirtual void SetVertTrans(int i, Vertex* input)
set transformed vertex

ovirtual Vertex GetVertNorm(int i)
get vert norm

ovirtual std::vector<int> GetPointAdjacencyList(int point)
get topology info

ovirtual void SetRotX(float x)
sets root X rotation of mesh

ovirtual void SetRotY(float y)
sets root Y rotation of mesh

ovirtual void SetRotZ(float z)
sets root Z rotation of mesh

ovirtual void SetRot(float x, float y, float z)
sets all three

ovirtual float GetRotX()
gets root X rotation of mesh

ovirtual float GetRotY()
gets root Y rotation of mesh

ovirtual float GetRotZ()
gets root Z rotation of mesh

ovirtual Vertex* GetRot()
gets all three

ovirtual void Reset()
resets the geom to base mesh

ovirtual Vertex* GetRoot()
gets xyz root of mesh

ovirtual void SetRoot(Vertex input)
sets xyz root of mesh


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.