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) {}
75 void TransformPosition(
float* p)
const;
76 void TransformNormal(
float* n)
const;
virtual void WriteLineData(const unsigned int *ij, size_t count)
virtual void WriteVertexData(const float *v, const float *n, const float *c, const float *t, size_t stride, size_t count)
main class for organization and root for the graphical display
virtual void WritePointData(const unsigned int *i, size_t count)
#define DLLEXPORT_OST_GFX
virtual void SceneEnd(const Scene *scene)
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)
virtual void WriteQuadData(const unsigned int *ijkl, size_t count)