Added DLL export to the internal classes in osgUtil::Optimize so that the internal

classes can be used directly by client applications.
This commit is contained in:
Robert Osfield 2001-11-19 11:52:58 +00:00
parent 82c315dadd
commit bc44b9342b

View File

@ -44,7 +44,7 @@ class OSGUTIL_EXPORT Optimizer
/** Flatten Static Trasform nodes by applying their transform to the
* geometry on the leaves of the scene graph, then removing the
* now redundent transforms.*/
class FlattenStaticTransformsVisitor : public osg::NodeVisitor
class OSGUTIL_EXPORT FlattenStaticTransformsVisitor : public osg::NodeVisitor
{
public:
@ -66,7 +66,7 @@ class OSGUTIL_EXPORT Optimizer
};
/** Remove rendundent nodes, such as groups with one single child.*/
class RemoveRedundentNodesVisitor : public osg::NodeVisitor
class OSGUTIL_EXPORT RemoveRedundentNodesVisitor : public osg::NodeVisitor
{
public:
@ -83,7 +83,7 @@ class OSGUTIL_EXPORT Optimizer
/** Optimize the LOD groups, by combining adjacent LOD's which have
* complementary ranges.*/
class CombineLODsVisitor : public osg::NodeVisitor
class OSGUTIL_EXPORT CombineLODsVisitor : public osg::NodeVisitor
{
public:
@ -101,7 +101,7 @@ class OSGUTIL_EXPORT Optimizer
/** Optimize State in the scene graph by removing duplicate state,
* replacing it with shared instances, both for StateAttributes,
* and whole StateSets.*/
class StateVisitor : public osg::NodeVisitor
class OSGUTIL_EXPORT StateVisitor : public osg::NodeVisitor
{
public: