Further steps towards reading coniguration files.
This commit is contained in:
@@ -32,10 +32,13 @@ class OSGVIEWER_EXPORT CompositeViewer : public osg::Object
|
||||
|
||||
CompositeViewer(osg::ArgumentParser& arguments);
|
||||
|
||||
META_Object(osg,CompositeViewer);
|
||||
META_Object(osgViewer,CompositeViewer);
|
||||
|
||||
virtual ~CompositeViewer();
|
||||
|
||||
/** read the viewer configuration from a configuration file.*/
|
||||
bool readConfiguration(const std::string& filename);
|
||||
|
||||
void addView(osgViewer::View* view);
|
||||
void removeView(osgViewer::View* view);
|
||||
|
||||
|
||||
@@ -32,8 +32,15 @@ class OSGVIEWER_EXPORT Viewer : public osgViewer::View
|
||||
|
||||
Viewer(osg::ArgumentParser& arguments);
|
||||
|
||||
Viewer(const osgViewer::Viewer& viewer, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
|
||||
|
||||
virtual ~Viewer();
|
||||
|
||||
META_Object(osgViewer,Viewer);
|
||||
|
||||
/** read the viewer configuration from a configuration file.*/
|
||||
bool readConfiguration(const std::string& filename);
|
||||
|
||||
/** Get whether at least of one of this viewers windows are realized.*/
|
||||
bool isRealized() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user