Added missing osg:: from various references to osg::Objectf

This commit is contained in:
Robert Osfield 2002-07-26 18:46:18 +00:00
parent 5622b8c48b
commit 83a276a16a
7 changed files with 10 additions and 10 deletions

View File

@ -29,7 +29,7 @@ public:
virtual char *type() { return "AtrFloat"; }
float getValue() { return value; }
/** clone the an object of the same type as the node.*/
virtual Object* cloneType() const { return new AtrFloat(name,value); }
virtual osg::Object* cloneType() const { return new AtrFloat(name,value); }
};
#endif

View File

@ -30,7 +30,7 @@ public:
virtual char *type() { return "AtrString"; }
char *getValue() { return value; }
/** clone the an object of the same type as the node.*/
virtual Object* cloneType() const { return new AtrString(name,value); }
virtual osg::Object* cloneType() const { return new AtrString(name,value); }
};
#endif

View File

@ -49,7 +49,7 @@ public:
virtual char *type() { return "AtrVec"; }
/** clone the an object of the same type as the node.*/
virtual Object* cloneType() const { return new AtrVec(name); }
virtual osg::Object* cloneType() const { return new AtrVec(name); }
};

View File

@ -31,9 +31,9 @@ public:
// OSG Object API
/** clone the an object of the same type as the node.*/
virtual Object* cloneType() const =0;
virtual osg::Object* cloneType() const =0;
/** return a clone of a node, with Object* return type.*/
virtual Object* clone(const osg::CopyOp& copyop) const { return cloneType(); }
virtual osg::Object* clone(const osg::CopyOp& copyop) const { return cloneType(); }
/** return the name of the node's library.*/
virtual const char* libraryName() const { return "osgdb_wrl"; }
/** return the name of the node's class type.*/

View File

@ -73,9 +73,9 @@ public:
// OSG Object API
/** clone the an object of the same type as the node.*/
virtual Object* cloneType() const { return new MyNode(); }
virtual osg::Object* cloneType() const { return new MyNode(); }
/** return a clone of a node, with Object* return type.*/
virtual Object* clone(const osg::CopyOp& copyop) const { return new MyNode(this); }
virtual osg::Object* clone(const osg::CopyOp& copyop) const { return new MyNode(this); }
/** return the name of the node's library.*/
virtual const char* libraryName() const { return "osgdb_wrl"; }
/** return the name of the node's class type.*/

View File

@ -45,9 +45,9 @@ public:
virtual void applyTransform(Transform *trans)=0;
/** clone the an object of the same type as the node.*/
virtual Object* cloneType() const = 0;
virtual osg::Object* cloneType() const = 0;
/** return a clone of a node, with Object* return type.*/
virtual Object* clone(const osg::CopyOp& copyop) const { return cloneType(); }
virtual osg::Object* clone(const osg::CopyOp& copyop) const { return cloneType(); }
/** return the name of the node's library.*/
virtual const char* libraryName() const { return "osgdb_wrl"; }
/** return the name of the node's class type.*/

View File

@ -46,7 +46,7 @@ public:
virtual void applyTransform(Transform *trans);
osg::Node* getRoot();
virtual Object* cloneType() const { return new OSGVisitor(0); }
virtual osg::Object* cloneType() const { return new OSGVisitor(0); }
};