Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Vitelotte::MVGWithCurvesWriter< _Mesh > Class Template Reference

Inherits Vitelotte::MVGWriter< _Mesh >.

Public Types

typedef Vitelotte::MVGWriter
< _Mesh > 
Base
 
typedef _Mesh Mesh
 
typedef Mesh::Vector Vector
 
typedef Mesh::Value Value
 
typedef Mesh::ValueFunction ValueFunction
 
typedef Mesh::Vertex Vertex
 
typedef Mesh::Halfedge Halfedge
 
typedef Mesh::PointConstraint PointConstraint
 
typedef Mesh::Curve Curve
 
typedef Base::Version Version
 
- Public Types inherited from Vitelotte::MVGWriter< _Mesh >
enum  Version { VERSION_1_0 = 0x100, LATEST_VERSION = VERSION_1_0 }
 
typedef _Mesh Mesh
 
typedef Mesh::Vertex Vertex
 
typedef Mesh::Node Node
 
typedef std::vector< int > IndexMap
 

Public Member Functions

 MVGWithCurvesWriter (Version version=Base::LATEST_VERSION)
 
void write (std::ostream &_out, const Mesh &mesh)
 
- Public Member Functions inherited from Vitelotte::MVGWriter< _Mesh >
 MVGWriter (Version version=LATEST_VERSION)
 Constructor.
 
void write (std::ostream &out, const Mesh &mesh)
 Write mesh in the stream out as a .mvg file.
 

Protected Member Functions

void writeValueFunction (std::ostream &out, const ValueFunction &vg) const
 
- Protected Member Functions inherited from Vitelotte::MVGWriter< _Mesh >
int vertexIndex (Vertex vx) const
 
int nodeIndex (Node node) const
 
void printNode (std::ostream &_out, Node n) const
 

Additional Inherited Members

- Protected Attributes inherited from Vitelotte::MVGWriter< _Mesh >
Version m_version
 
Eigen::IOFormat m_format
 
IndexMap m_vxMap
 
IndexMap m_nodeMap