Added missing osg:: from various references to osg::Objectf
This commit is contained in:
parent
5622b8c48b
commit
83a276a16a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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); }
|
||||
};
|
||||
|
||||
|
||||
|
@ -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.*/
|
||||
|
@ -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.*/
|
||||
|
@ -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.*/
|
||||
|
@ -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); }
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user