19 #ifndef OST_GFX_EXPORTER_HH
20 #define OST_GFX_EXPORTER_HH
29 namespace ost {
namespace gfx {
51 virtual void NodeEnd(
const std::string& name) {}
55 virtual void WriteVertexData(
const float* v,
const float* n,
const float* c,
const float* t,
56 size_t stride,
size_t count) {}
59 virtual void WriteTriData(
const unsigned int* ijk,
size_t count) {}
void SetupTransform(const Scene *scene)
virtual void WriteLineData(const unsigned int *ij, size_t count)
void TransformNormal(float *n) const
virtual void WriteVertexData(const float *v, const float *n, const float *c, const float *t, size_t stride, size_t count)
virtual void WriteQuadData(const unsigned int *ijkl, size_t count)
virtual void SceneEnd(const Scene *scene)
void TransformPosition(float *p) const
virtual void WritePointData(const unsigned int *i, size_t count)
virtual void SceneStart(const Scene *scene)
virtual void NodeStart(const std::string &name, NodeType t)
virtual void WriteTriData(const unsigned int *ijk, size_t count)
virtual void NodeEnd(const std::string &name)
main class for organization and root for the graphical display
#define DLLEXPORT_OST_GFX