GlobeEngine
STLWriter Class Reference

Classes

struct  STLTriangle
 

Public Member Functions

 STLWriter ()
 

Static Public Member Functions

static std::string addHeader (std::string _objectName)
 
static std::string addClosing (std::string _objectName)
 
static std::string addVertex (vmml::Vector3f _p)
 
static std::string addNormal (vmml::Vector3f _normal)
 
static std::string addFacet (vmml::Vector3f _normal, vmml::Vector3f _p1, vmml::Vector3f _p2, vmml::Vector3f _p3)
 
static STLTriangle writeBinaryTriangleToStream (vmml::Vector3f _p1, vmml::Vector3f _p2, vmml::Vector3f _p3)
 
static std::string addQuad (vmml::Vector3f _p1, vmml::Vector3f _p2, vmml::Vector3f _p3, vmml::Vector3f _p4)
 

Public Attributes

std::string path
 

Constructor & Destructor Documentation

STLWriter::STLWriter ( )
inline

Member Function Documentation

static std::string STLWriter::addClosing ( std::string  _objectName)
inlinestatic
static std::string STLWriter::addFacet ( vmml::Vector3f  _normal,
vmml::Vector3f  _p1,
vmml::Vector3f  _p2,
vmml::Vector3f  _p3 
)
inlinestatic
static std::string STLWriter::addHeader ( std::string  _objectName)
inlinestatic
static std::string STLWriter::addNormal ( vmml::Vector3f  _normal)
inlinestatic
static std::string STLWriter::addQuad ( vmml::Vector3f  _p1,
vmml::Vector3f  _p2,
vmml::Vector3f  _p3,
vmml::Vector3f  _p4 
)
inlinestatic
static std::string STLWriter::addVertex ( vmml::Vector3f  _p)
inlinestatic
static STLTriangle STLWriter::writeBinaryTriangleToStream ( vmml::Vector3f  _p1,
vmml::Vector3f  _p2,
vmml::Vector3f  _p3 
)
inlinestatic

Member Data Documentation

std::string STLWriter::path

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