|
Public Member Functions |
| | ADBaseMesh (std::string path, std::string filename) |
| | ADBaseMesh () |
| void | clearArrays () |
| const Box & | getBoundingBox (AnimationData *=NULL) const |
| const Sphere & | getBoundingSphere (AnimationData *=NULL) const |
| const MeshAlg::Geometry & | getGeometry (AnimationData *=NULL) |
| const ModelTopology & | getModelTopology () |
| std::string | getName () const |
| const Array< int > & | getTriangleIndices () |
| virtual void | init () |
| void | initInstance (ADMeshInstance *i) |
| | used by newInstance
|
| void | newInstance (Model *&m, Animateable *&a) |
| | creates a model instance
|
| void | setName (std::string n) |
Static Public Member Functions |
| static void | computeWeld (const Array< Vector3 > &oldVertexArray, void *userData, CheckFunc checkFunc, Array< int > &toNew, Array< int > &toOld, double radius) |
Protected Member Functions |
| void | createTangentSpace (const Array< Vector2 > &texcoordArray, Array< Vector3 > &normalArray, Array< Vector3 > &tangentArray, Array< Vector3 > &bitangentArray) |
| bool | loadTangentSpace (std::string filename, Array< Vector3 > &normalArray, Array< Vector3 > &tangentArray, Array< Vector3 > &bitangentArray) |
| virtual bool | loadWeld (std::string modelname) |
| void | parseConfig (string path, string linestr) |
| void | saveTangentSpace (std::string filename, Array< Vector3 > &normalArray, Array< Vector3 > &tangentArray, Array< Vector3 > &bitangentArray) |
| virtual void | saveWeld (std::string modelname) |
Protected Attributes |
| Array< Vector3 > | bitangentArray |
| VAR | bitangentVAR |
| TextureRef | detailnormaltex |
| int | detailscale |
| TextureRef | detailtex |
| Array< int > | indexArray |
| std::string | name |
| Array< Vector3 > | normalArray |
| TextureRef | normalMap |
| VAR | normalVAR |
| long | numTri |
| Array< ScaledVertices * > | scaledVertexArray |
| Array< Vector3 > | scales |
| TextureRef | simpledetailtex |
| Array< Vector3 > | tangentArray |
| VAR | tangentVAR |
| Array< Vector2 > | texcoordArray |
| VAR | texcoordVAR |
| VAR | texcoordVAR2 |
| TextureRef | texture |
| GImage | textureImage |
| VARAreaRef | varArea |
| Array< Vector3 > | vertexArray |
| VAR | vertexVAR |
Friends |
| class | ADMeshInstance |
| class | ADModelInstance |
| class | Welder |
Classes |
| struct | ScaledVertices |