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

#include <exporter.hh>

Inherited by ColladaExporter, and GostExporter.

Public Types

enum  NodeType { ROOT = 1, GROUP = 2, OBJ = 3 }

Public Member Functions

virtual ~Exporter ()
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)

Detailed Description

Definition at line 28 of file exporter.hh.


Member Enumeration Documentation

enum NodeType
Enumerator:
ROOT 
GROUP 
OBJ 

Definition at line 31 of file exporter.hh.


Constructor & Destructor Documentation

virtual ~Exporter ( )
inlinevirtual

Definition at line 37 of file exporter.hh.


Member Function Documentation

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 42 of file exporter.hh.

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 41 of file exporter.hh.

virtual void SceneEnd ( const Scene scene)
inlinevirtual

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 39 of file exporter.hh.

virtual void SceneStart ( const Scene scene)
inlinevirtual

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 38 of file exporter.hh.

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 49 of file exporter.hh.

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 48 of file exporter.hh.

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 51 of file exporter.hh.

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 50 of file exporter.hh.

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

Reimplemented in ColladaExporter, and GostExporter.

Definition at line 46 of file exporter.hh.


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