ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Formats::MeshObjectTri Class Reference

Inheritance diagram for Stark::Formats::MeshObjectTri:
Collaboration diagram for Stark::Formats::MeshObjectTri:

List of all members.

Classes

struct  KeyFrame
struct  RawFace
struct  Vertex
struct  VertexKey

Public Member Functions

 MeshObjectTri ()
void readData (ArchiveReadStream *stream, uint32 dataLength) override
 Used to read the object data from the stream.
void reindex ()
Math::Matrix4 getTransform (uint keyframeIndex) const
const Common::Array
< BiffMesh::Vertex > & 
getVertices () const
const Common::Array< Face > & getFaces () const

Static Public Attributes

static const uint32 TYPE = kMeshObjectTri

Private Attributes

Common::String _name
Common::Array< KeyFrame_keyFrames
Common::Array< Vertex_rawVertices
Common::Array< RawFace_rawFaces
Common::Array< Math::Vector3d_rawNormals
Common::Array< Math::Vector3d_rawTexturePositions
Common::Array< BiffMesh::Vertex_vertices
Common::Array< Face_faces
bool _hasPhysics

Detailed Description

Definition at line 80 of file biffmesh.cpp.


Constructor & Destructor Documentation

Stark::Formats::MeshObjectTri::MeshObjectTri (  )  [inline]

Definition at line 84 of file biffmesh.cpp.


Member Function Documentation

const Common::Array<Face>& Stark::Formats::MeshObjectTri::getFaces (  )  const [inline]

Definition at line 254 of file biffmesh.cpp.

Math::Matrix4 Stark::Formats::MeshObjectTri::getTransform ( uint  keyframeIndex  )  const [inline]

Definition at line 224 of file biffmesh.cpp.

const Common::Array<BiffMesh::Vertex>& Stark::Formats::MeshObjectTri::getVertices (  )  const [inline]

Definition at line 250 of file biffmesh.cpp.

void Stark::Formats::MeshObjectTri::readData ( ArchiveReadStream stream,
uint32  dataLength 
) [inline, override, virtual]

Used to read the object data from the stream.

Implements Stark::Formats::BiffObject.

Definition at line 116 of file biffmesh.cpp.

void Stark::Formats::MeshObjectTri::reindex (  )  [inline]

Definition at line 182 of file biffmesh.cpp.


Member Data Documentation

Definition at line 297 of file biffmesh.cpp.

const uint32 Stark::Formats::MeshObjectTri::TYPE = kMeshObjectTri [static]

Definition at line 82 of file biffmesh.cpp.


The documentation for this class was generated from the following file:


Generated on Sat Mar 16 2019 05:06:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge