gk::MeshIO Class Reference

manager pour importer des maillages. More...

#include <MeshIO.h>

Inheritance diagram for gk::MeshIO:
gk::IOManager< Mesh >

List of all members.

Public Member Functions

Mesh * insert (Mesh *object, const std::string &filename, const std::string &name="")
 reference un nouvel 'objet' par son nom et le nom du fichier d'import.
Mesh * find (const std::string &filename, const std::string &name="")
 recherche un 'objet' deja importe.
const IOName * find (Mesh *object)
 recherche le nom et le nom du fichier d'un 'objet' deja importe.

Static Public Member Functions

static Mesh * read (const std::string &filename, const std::string &name="")
 importe l'objet 'name' du fichier 'filename'
static int write (const Mesh *mesh, const std::string &filename)
 ecrit un mesh dans le fichier nomme 'filename'.
static MeshIO & manager ()

Protected Types

typedef std::map< IOName, Mesh * > names_map_type
typedef std::map< Mesh *, IOName > objects_map_type

Protected Attributes

names_map_type m_names_map
objects_map_type m_objects_map

Detailed Description

manager pour importer des maillages.


Member Function Documentation

static int gk::MeshIO::write ( const Mesh *  mesh,
const std::string &  filename 
) [inline, static]

ecrit un mesh dans le fichier nomme 'filename'.

format .gkmesh uniquement, pour l'instant.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Friends
Generated on Thu Sep 22 16:34:00 2011 for gKitGL by  doxygen 1.6.3