Improvements to the osgProducer lib to better handle Producer's normalized

coord system.

Addition of ReadCameraConfigFile and WriteCameraConfigFile as a tempory
measure for implementing local a C++ read/write of the Producer::CameraConfig, this
will be removed once these implementations or similar have been moved to Producer.
This commit is contained in:
Robert Osfield
2003-01-18 22:07:59 +00:00
parent 13aa469628
commit 762db56a40
9 changed files with 153 additions and 230 deletions

View File

@@ -0,0 +1,23 @@
//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield
//Distributed under the terms of the GNU Library General Public License (LGPL)
//as published by the Free Software Foundation.
#ifndef OSGDB_WRITECAMERACONDIGFILE
#define OSGDB_WRITECAMERACONDIGFILE 1
#include <Producer/CameraConfig>
#include <osgProducer/Export>
#include <string>
namespace osgProducer {
/** Write a Producer::CameraConfig to file.
* Return true on success,
* return false on failure.*/
extern OSGPRODUCER_EXPORT bool writeCameraConfigFile(const Producer::CameraConfig& cameraconfig, const std::string& filename);
}
#endif