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.
24 lines
623 B
Plaintext
24 lines
623 B
Plaintext
//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_READCAMERACONDIGFILE
|
|
#define OSGDB_READCAMERACONDIGFILE 1
|
|
|
|
#include <Producer/CameraConfig>
|
|
|
|
#include <osgProducer/Export>
|
|
|
|
#include <string>
|
|
|
|
namespace osgProducer {
|
|
|
|
/** Read a Producer::CameraConfig from file.
|
|
* Return valid Producer::CameraConfig on success,
|
|
* return NULL on failure.*/
|
|
extern OSGPRODUCER_EXPORT Producer::CameraConfig* readCameraConfigFile(const std::string& filename);
|
|
|
|
}
|
|
|
|
#endif
|