module::collada::io Namespace Reference

Classes

class  collada_obj
class  document_exporter
class  document_importer
class  intGeometry
class  intCamera
class  intLight
class  Node
class  daeParser
class  mesh_reader
class  mesh_writer

Enumerations

enum  { IMPORTER, READER }

Functions

std::string makeUriRef (const std::string &id)
std::string removeSpaces (std::string str)
void addSource (daeElement *mesh, const std::string &srcID, const std::string &paramNames, domFloat values[], int valueCount)
void addInput (daeElement *triangles, const std::string &semantic, const std::string &srcID, int offset)
void addGeometry (daeElement *library_geometries, const std::string &name, k3d::mesh *mesh)
void addMeshInstance (daeElement *visualScene, k3d::inode *inode)
void addCameraInstance (daeElement *visualScene, k3d::inode *inode)
k3d::mesh to_k3d_mesh (domGeometry &geom)
template<typename T >
daeTArray< T > rawArrayToDaeArray (T rawArray[], size_t count)
template<class T >
std::string to_string (T &t)
k3d::iplugin_factorydocument_exporter_factory ()
k3d::matrix4 getTransformation (domNode &node)
collada_obj lookcollada (std::vector< collada_obj > &collada_objs, std::string id)
void node_recursion (k3d::idocument &Document, std::vector< collada_obj > &collada_objs, domNode &node)
k3d::iplugin_factorydocument_importer_factory ()
k3d::inodecreate_frozen_mesh (k3d::idocument &Document, const std::string &Name, k3d::mesh *Mesh)
 Creates a new FrozenMesh using the given name, and returns a pointer to the MeshInstance of the new node.
k3d::inodecreate_light (k3d::idocument &Document, const std::string &Name)
 Creates a new Light using the given name, and returns a pointer to the Node of the new node.
k3d::inodecreate_camera (k3d::idocument &Document, const std::string &Name)
 Creates a new Camera using the given name, and returns a pointer to the Node of the new node.
template<typename MyType , typename DomType >
MyType & lookup (DomType &domObject, const k3d::matrix4 &mat)
template<typename MyType , typename DomType >
void freeConversionObjects (DAE &dae)
k3d::iplugin_factorymesh_reader_factory ()
k3d::iplugin_factorymesh_writer_factory ()

Enumeration Type Documentation

anonymous enum
Enumerator:
IMPORTER 
READER 

Function Documentation

void module::collada::io::addCameraInstance ( daeElement *  visualScene,
k3d::inode inode 
)
void module::collada::io::addGeometry ( daeElement *  library_geometries,
const std::string &  name,
k3d::mesh mesh 
)
void module::collada::io::addInput ( daeElement *  triangles,
const std::string &  semantic,
const std::string &  srcID,
int  offset 
)
void module::collada::io::addMeshInstance ( daeElement *  visualScene,
k3d::inode inode 
)
void module::collada::io::addSource ( daeElement *  mesh,
const std::string &  srcID,
const std::string &  paramNames,
domFloat  values[],
int  valueCount 
)
k3d::inode* module::collada::io::create_camera ( k3d::idocument Document,
const std::string &  Name 
)

Creates a new Camera using the given name, and returns a pointer to the Node of the new node.

References k3d::classes::Camera(), k3d::idocument::nodes(), and k3d::unique_name().

Referenced by module::collada::io::daeParser::daeParser().

k3d::inode* module::collada::io::create_frozen_mesh ( k3d::idocument Document,
const std::string &  Name,
k3d::mesh Mesh 
)
k3d::inode* module::collada::io::create_light ( k3d::idocument Document,
const std::string &  Name 
)

Creates a new Light using the given name, and returns a pointer to the Node of the new node.

References k3d::idocument::nodes(), and k3d::unique_name().

Referenced by module::collada::io::daeParser::daeParser().

k3d::iplugin_factory & module::collada::io::document_exporter_factory (  ) 
k3d::iplugin_factory & module::collada::io::document_importer_factory (  ) 
template<typename MyType , typename DomType >
void module::collada::io::freeConversionObjects ( DAE &  dae  )  [inline]
k3d::matrix4 module::collada::io::getTransformation ( domNode &  node  ) 
collada_obj module::collada::io::lookcollada ( std::vector< collada_obj > &  collada_objs,
std::string  id 
)

References k3d::identity3().

template<typename MyType , typename DomType >
MyType& module::collada::io::lookup ( DomType &  domObject,
const k3d::matrix4 mat 
) [inline]
std::string module::collada::io::makeUriRef ( const std::string &  id  ) 
k3d::iplugin_factory & module::collada::io::mesh_reader_factory (  ) 
k3d::iplugin_factory & module::collada::io::mesh_writer_factory (  ) 
void module::collada::io::node_recursion ( k3d::idocument Document,
std::vector< collada_obj > &  collada_objs,
domNode &  node 
)
template<typename T >
daeTArray<T> module::collada::io::rawArrayToDaeArray ( rawArray[],
size_t  count 
) [inline]

References modifier::result.

std::string module::collada::io::removeSpaces ( std::string  str  ) 
k3d::mesh module::collada::io::to_k3d_mesh ( domGeometry &  geom  ) 
template<class T >
std::string module::collada::io::to_string ( T &  t  )  [inline]

Generated on Mon Mar 21 07:43:13 2011 for K-3D by doxygen 1.6.3