OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
ColladaExporter Class Reference

#include <collada_exporter.hh>

Inherits Exporter.

Public Member Functions

 ColladaExporter (const std::string &collada_file)
 
virtual ~ColladaExporter ()
 
virtual void SceneStart (const Scene *scene)
 
virtual void SceneEnd (const Scene *scene)
 
virtual void NodeStart (const std::string &name, NodeType t)
 
virtual void NodeEnd (const std::string &name)
 
virtual void WriteVertexData (const float *v, const float *n, const float *c, const float *t, size_t stride, size_t count)
 
virtual void WritePointData (const unsigned int *i, size_t count)
 
virtual void WriteLineData (const unsigned int *ij, size_t count)
 
virtual void WriteTriData (const unsigned int *ijk, size_t count)
 
virtual void WriteQuadData (const unsigned int *ijkl, size_t count)
 
- Public Member Functions inherited from Exporter
 Exporter ()
 
virtual ~Exporter ()
 
void SetScale (float s)
 
float GetScale () const
 
void SetToOrigin (bool b)
 
bool GetToOrigin () const
 
void SetupTransform (const Scene *scene)
 
void TransformPosition (float *p) const
 
void TransformNormal (float *n) const
 

Additional Inherited Members

- Public Types inherited from Exporter
enum  NodeType { ROOT =1, GROUP =2, OBJ =3 }
 

Detailed Description

Definition at line 35 of file collada_exporter.hh.

Constructor & Destructor Documentation

ColladaExporter ( const std::string &  collada_file)
virtual ~ColladaExporter ( )
virtual

Member Function Documentation

virtual void NodeEnd ( const std::string &  name)
virtual

Reimplemented from Exporter.

virtual void NodeStart ( const std::string &  name,
NodeType  t 
)
virtual

Reimplemented from Exporter.

virtual void SceneEnd ( const Scene scene)
virtual

Reimplemented from Exporter.

virtual void SceneStart ( const Scene scene)
virtual

Reimplemented from Exporter.

virtual void WriteLineData ( const unsigned int *  ij,
size_t  count 
)
virtual

Reimplemented from Exporter.

virtual void WritePointData ( const unsigned int *  i,
size_t  count 
)
virtual

Reimplemented from Exporter.

virtual void WriteQuadData ( const unsigned int *  ijkl,
size_t  count 
)
virtual

Reimplemented from Exporter.

virtual void WriteTriData ( const unsigned int *  ijk,
size_t  count 
)
virtual

Reimplemented from Exporter.

virtual void WriteVertexData ( const float *  v,
const float *  n,
const float *  c,
const float *  t,
size_t  stride,
size_t  count 
)
virtual

Reimplemented from Exporter.


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