25 #ifndef WGEPROJECTFILEIO_H
26 #define WGEPROJECTFILEIO_H
31 #include <osg/Matrixd>
33 #include "../common/WProjectFileIO.h"
62 virtual bool parse( std::string line,
unsigned int lineNumber );
75 virtual void save( std::ostream& output );
91 typedef std::map< unsigned int, std::string >
CameraList;
IO class for writing the graphics engine state to a project file.
std::map< unsigned int, osg::Matrixd > m_manipulatorMatrices
All view's manipulator matrices.
std::map< unsigned int, osg::Vec3d > m_homeCenterVectors
The home position center point.
WGEProjectFileIO()
Default constructor.
virtual ~WGEProjectFileIO()
Destructor.
std::map< unsigned int, std::string > CameraList
All Cameras parsed.
std::map< unsigned int, osg::Vec3d > m_homeEyeVectors
The home position eye point.
virtual void done()
Called whenever the end of the project file has been reached.
virtual SPtr clone(WProjectFile *project) const
Create a clone of the IO.
virtual bool parse(std::string line, unsigned int lineNumber)
This method parses the specified line and interprets it.
std::map< unsigned int, osg::Vec3d > m_homeUpVectors
The home position up vector.
virtual void save(std::ostream &output)
Saves the state to the specified stream.
CameraList m_cameras
Camera map.
A base class for all parts of OpenWalnut which can be serialized to a project file.
std::shared_ptr< WProjectFileIO > SPtr
Abbreviation for a shared pointer.
Class loading project files.