Added Audio, Image, Movie, Model and Volume class to osgPresentation.
This commit is contained in:
41
include/osgPresentation/Audio
Normal file
41
include/osgPresentation/Audio
Normal file
@@ -0,0 +1,41 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef OSGPRESENTATION_AUDIO
|
||||
#define OSGPRESENTATION_AUDIO 1
|
||||
|
||||
#include <osgPresentation/Element>
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Audio
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Audio : public osgPresentation::Element
|
||||
{
|
||||
public :
|
||||
|
||||
Audio() {}
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
|
||||
Audio(const Audio& audio,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : osgPresentation::Element(audio,copyop) {}
|
||||
|
||||
META_Node(osgPresentation, Audio);
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Audio() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Group
|
||||
/** osgPresentation::Element
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Element : public osgPresentation::Group
|
||||
{
|
||||
|
||||
41
include/osgPresentation/Image
Normal file
41
include/osgPresentation/Image
Normal file
@@ -0,0 +1,41 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef OSGPRESENTATION_IMAGE
|
||||
#define OSGPRESENTATION_IMAGE 1
|
||||
|
||||
#include <osgPresentation/Element>
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Image
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Image : public osgPresentation::Element
|
||||
{
|
||||
public :
|
||||
|
||||
Image() {}
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
|
||||
Image(const Image& image,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : osgPresentation::Element(image,copyop) {}
|
||||
|
||||
META_Node(osgPresentation, Image);
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Image() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Group
|
||||
/** osgPresentation::Layer
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Layer : public osgPresentation::Group
|
||||
{
|
||||
|
||||
41
include/osgPresentation/Model
Normal file
41
include/osgPresentation/Model
Normal file
@@ -0,0 +1,41 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef OSGPRESENTATION_MODEL
|
||||
#define OSGPRESENTATION_MODEL 1
|
||||
|
||||
#include <osgPresentation/Element>
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Model
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Model : public osgPresentation::Element
|
||||
{
|
||||
public :
|
||||
|
||||
Model() {}
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
|
||||
Model(const Model& model,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : osgPresentation::Element(model,copyop) {}
|
||||
|
||||
META_Node(osgPresentation, Model);
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Model() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
41
include/osgPresentation/Movie
Normal file
41
include/osgPresentation/Movie
Normal file
@@ -0,0 +1,41 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef OSGPRESENTATION_MOVIE
|
||||
#define OSGPRESENTATION_MOVIE 1
|
||||
|
||||
#include <osgPresentation/Element>
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Movie
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Movie : public osgPresentation::Element
|
||||
{
|
||||
public :
|
||||
|
||||
Movie() {}
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
|
||||
Movie(const Movie& movie,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : osgPresentation::Element(movie,copyop) {}
|
||||
|
||||
META_Node(osgPresentation, Movie);
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Movie() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Group
|
||||
/** osgPresentation::Presentation
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Presentation : public osgPresentation::Group
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Group
|
||||
/** osgPresentation::Slide
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Slide : public osgPresentation::Group
|
||||
{
|
||||
|
||||
41
include/osgPresentation/Text
Normal file
41
include/osgPresentation/Text
Normal file
@@ -0,0 +1,41 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef OSGPRESENTATION_TEXT
|
||||
#define OSGPRESENTATION_TEXT 1
|
||||
|
||||
#include <osgPresentation/Element>
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Text
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Text : public osgPresentation::Element
|
||||
{
|
||||
public :
|
||||
|
||||
Text() {}
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
|
||||
Text(const Text& text,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : osgPresentation::Element(text,copyop) {}
|
||||
|
||||
META_Node(osgPresentation, Text);
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Text() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
41
include/osgPresentation/Volume
Normal file
41
include/osgPresentation/Volume
Normal file
@@ -0,0 +1,41 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef OSGPRESENTATION_VOLUME
|
||||
#define OSGPRESENTATION_VOLUME 1
|
||||
|
||||
#include <osgPresentation/Element>
|
||||
|
||||
namespace osgPresentation {
|
||||
|
||||
/** osgPresentation::Volume
|
||||
*/
|
||||
class OSGPRESENTATION_EXPORT Volume : public osgPresentation::Element
|
||||
{
|
||||
public :
|
||||
|
||||
Volume() {}
|
||||
|
||||
/** Copy constructor using CopyOp to manage deep vs shallow copy. */
|
||||
Volume(const Volume& volume,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : osgPresentation::Element(volume,copyop) {}
|
||||
|
||||
META_Node(osgPresentation, Volume);
|
||||
|
||||
protected :
|
||||
|
||||
virtual ~Volume() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user