synfig-core  1.0.3
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
synfig::Mesh Class Reference

#include <mesh.h>

Classes

class  Triangle
class  Vertex

Public Types

typedef std::vector< VertexVertexList
typedef std::vector< TriangleTriangleList

Public Member Functions

void clear ()
bool transform_coord_world_to_texture (const Vector &src, Vector &dest) const
bool transform_coord_texture_to_world (const Vector &src, Vector &dest) const

Static Public Member Functions

static bool transform_coord_world_to_texture (const Vector &src, Vector &dest, const Vector &p0, const Vector &t0, const Vector &p1, const Vector &t1, const Vector &p2, const Vector &t2)
static bool transform_coord_texture_to_world (const Vector &src, Vector &dest, const Vector &p0, const Vector &t0, const Vector &p1, const Vector &t1, const Vector &p2, const Vector &t2)

Public Attributes

VertexList vertices
TriangleList triangles

Member Typedef Documentation

typedef std::vector<Vertex> synfig::Mesh::VertexList
typedef std::vector<Triangle> synfig::Mesh::TriangleList

Member Function Documentation

void synfig::Mesh::clear ( )
inline
bool Mesh::transform_coord_world_to_texture ( const Vector src,
Vector dest 
) const
bool Mesh::transform_coord_texture_to_world ( const Vector src,
Vector dest 
) const
bool Mesh::transform_coord_world_to_texture ( const Vector src,
Vector dest,
const Vector p0,
const Vector t0,
const Vector p1,
const Vector t1,
const Vector p2,
const Vector t2 
)
static
static bool synfig::Mesh::transform_coord_texture_to_world ( const Vector src,
Vector dest,
const Vector p0,
const Vector t0,
const Vector p1,
const Vector t1,
const Vector p2,
const Vector t2 
)
inlinestatic

Member Data Documentation

VertexList synfig::Mesh::vertices
TriangleList synfig::Mesh::triangles

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