Fixed usage of META_NodeVisitor so it doesn't include ""

This commit is contained in:
Robert Osfield 2013-01-24 18:48:34 +00:00
parent bada884342
commit 5aa1234fa4
18 changed files with 18 additions and 18 deletions

View File

@ -31,7 +31,7 @@ class OSG_EXPORT CollectOccludersVisitor : public osg::NodeVisitor, public osg::
CollectOccludersVisitor();
virtual ~CollectOccludersVisitor();
META_NodeVisitor("osg","CollectOccludersVisitor")
META_NodeVisitor(osg, CollectOccludersVisitor)
virtual CollectOccludersVisitor* cloneType() const { return new CollectOccludersVisitor(); }

View File

@ -26,7 +26,7 @@ public:
ComputeBoundsVisitor(TraversalMode traversalMode = TRAVERSE_ALL_CHILDREN);
META_NodeVisitor("osg","ComputeBoundsVisitor")
META_NodeVisitor(osg, ComputeBoundsVisitor)
virtual void reset();

View File

@ -175,7 +175,7 @@ class OSG_EXPORT KdTreeBuilder : public osg::NodeVisitor
KdTreeBuilder(const KdTreeBuilder& rhs);
META_NodeVisitor("osg","KdTreeBuilder")
META_NodeVisitor(osg, KdTreeBuilder)
virtual KdTreeBuilder* clone() { return new KdTreeBuilder(*this); }

View File

@ -44,7 +44,7 @@ class CameraView;
const unsigned int UNINITIALIZED_FRAME_NUMBER=0xffffffff;
#define META_NodeVisitor(library,name) \
#define META_NodeVisitor(library, name) \
virtual const char* libraryName() const { return #library; }\
virtual const char* className() const { return #name; }

View File

@ -27,7 +27,7 @@ namespace osgAnimation
class OSGANIMATION_EXPORT BoneMapVisitor : public osg::NodeVisitor
{
public:
META_NodeVisitor("osgAnimation","BoneMapVisitor")
META_NodeVisitor(osgAnimation, BoneMapVisitor)
BoneMapVisitor();
void apply(osg::Node&);

View File

@ -30,7 +30,7 @@ namespace osgAnimation
public:
LinkVisitor();
META_NodeVisitor("osgAnimation","LinkVisitor");
META_NodeVisitor(osgAnimation, LinkVisitor);
void apply(osg::Node& node);
void apply(osg::Geode& node);

View File

@ -48,7 +48,7 @@ namespace osgDB {
SharedStateManager(unsigned int mode = SHARE_ALL);
META_NodeVisitor("osgDB","SharedStateManager")
META_NodeVisitor(osgDB, SharedStateManager)
void setShareMode(unsigned int mode);

View File

@ -43,7 +43,7 @@ class OSGGA_EXPORT EventVisitor : public osg::NodeVisitor
EventVisitor();
virtual ~EventVisitor();
META_NodeVisitor("osgGA","EventVisitor")
META_NodeVisitor(osgGA, EventVisitor)
void setActionAdapter(osgGA::GUIActionAdapter* actionAdapter) { _actionAdapter=actionAdapter; }

View File

@ -29,7 +29,7 @@ class OSGSIM_EXPORT InsertImpostorsVisitor : public osg::NodeVisitor
/** Default to traversing all children. */
InsertImpostorsVisitor();
META_NodeVisitor("osgSim","InsertImpostorsVisitor")
META_NodeVisitor(osgSim, InsertImpostorsVisitor)
void setImpostorThresholdRatio(float ratio) { _impostorThresholdRatio = ratio; }
float getImpostorThresholdRatio() const { return _impostorThresholdRatio; }

View File

@ -57,7 +57,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac
/// Copy constructor that does a shallow copy.
CullVisitor(const CullVisitor&);
META_NodeVisitor("osgUtil","CullVisitor")
META_NodeVisitor(osgUtil, CullVisitor)
/** Create a shallow copy of the CullVisitor, used by CullVisitor::create() to clone the prototype. */
virtual CullVisitor* clone() const { return new CullVisitor(*this); }

View File

@ -36,7 +36,7 @@ class OSGUTIL_EXPORT DisplayRequirementsVisitor : public osg::NodeVisitor
* alpha and stencil off.*/
DisplayRequirementsVisitor();
META_NodeVisitor("osgUtil","DisplayRequirementsVisitor")
META_NodeVisitor(osgUtil, DisplayRequirementsVisitor)
/** Set the DisplaySettings. */
inline void setDisplaySettings(osg::DisplaySettings* ds) { _ds = ds; }

View File

@ -32,7 +32,7 @@ class OSGUTIL_EXPORT DrawElementTypeSimplifierVisitor : public osg::NodeVisitor
{
public:
META_NodeVisitor("osgUtil","DrawElementTypeSimplifierVisitor");
META_NodeVisitor(osgUtil, DrawElementTypeSimplifierVisitor);
void apply(osg::Geode& node);
};

View File

@ -54,7 +54,7 @@ class OSGUTIL_EXPORT GLObjectsVisitor : public osg::NodeVisitor
*/
GLObjectsVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES|CHECK_BLACK_LISTED_MODES);
META_NodeVisitor("osg","GLObjectsVisitor")
META_NodeVisitor(osgUtil, GLObjectsVisitor)
virtual void reset()
{

View File

@ -97,7 +97,7 @@ class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
IntersectVisitor();
virtual ~IntersectVisitor();
META_NodeVisitor("osgUtil","IntersectVisitor")
META_NodeVisitor(osgUtil, IntersectVisitor)
void reset();

View File

@ -152,7 +152,7 @@ class OSGUTIL_EXPORT IntersectionVisitor : public osg::NodeVisitor
IntersectionVisitor(Intersector* intersector=0, ReadCallback* readCallback=0);
META_NodeVisitor("osgUtil","IntersectionVisitor")
META_NodeVisitor(osgUtil, IntersectionVisitor)
virtual void reset();

View File

@ -30,7 +30,7 @@ class OSGUTIL_EXPORT Simplifier : public osg::NodeVisitor
Simplifier(double sampleRatio=1.0, double maximumError=FLT_MAX, double maximumLength=0.0);
META_NodeVisitor("osgUtil","Simplifier")
META_NodeVisitor(osgUtil, Simplifier)
void setSampleRatio(float sampleRatio) { _sampleRatio = sampleRatio; }
float getSampleRatio() const { return _sampleRatio; }

View File

@ -181,7 +181,7 @@ public:
StatsVisitor();
META_NodeVisitor("osgUtil","StatsVisitor")
META_NodeVisitor(osgUtil, StatsVisitor)
virtual void reset();

View File

@ -41,7 +41,7 @@ class OSGUTIL_EXPORT UpdateVisitor : public osg::NodeVisitor
UpdateVisitor();
virtual ~UpdateVisitor();
META_NodeVisitor("osgUtil","UpdateVisitor")
META_NodeVisitor(osgUtil, UpdateVisitor)
virtual void reset();