Added keystone file handling

This commit is contained in:
Robert Osfield
2013-05-10 16:06:10 +00:00
parent 9eb5465ff5
commit 5dd07e4d1c
3 changed files with 92 additions and 18 deletions

View File

@@ -68,6 +68,12 @@ public:
osg::Geode* createKeystoneDistortionMesh();
osg::Node* createGrid();
/** Write the file specified by the "filename" user value field. Return true if file successfully written. */
bool writeToFile();
/** convinience function that loads and assigns any keystone files specified in the DisplaySettings::KeystoneFileNames list, return true if Keystone's assigned to DisplaySettings.*/
static bool loadKeystoneFiles(osg::DisplaySettings* ds);
protected: