OpenStructure
Public Member Functions
GostExporter Class Reference

#include <gost_exporter.hh>

Inherits Exporter.

Public Member Functions

 GostExporter (const std::string &fname)
 
virtual ~GostExporter ()
 
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)
 
void SetFrame (size_t f)
 
- 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 28 of file gost_exporter.hh.

Constructor & Destructor Documentation

◆ GostExporter()

GostExporter ( const std::string &  fname)

◆ ~GostExporter()

virtual ~GostExporter ( )
virtual

Member Function Documentation

◆ NodeEnd()

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

Reimplemented from Exporter.

◆ NodeStart()

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

Reimplemented from Exporter.

◆ SceneEnd()

virtual void SceneEnd ( const Scene scene)
virtual

Reimplemented from Exporter.

◆ SceneStart()

virtual void SceneStart ( const Scene scene)
virtual

Reimplemented from Exporter.

◆ SetFrame()

void SetFrame ( size_t  f)

◆ WriteLineData()

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

Reimplemented from Exporter.

◆ WritePointData()

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

Reimplemented from Exporter.

◆ WriteQuadData()

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

Reimplemented from Exporter.

◆ WriteTriData()

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

Reimplemented from Exporter.

◆ WriteVertexData()

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: