Inheritance diagram for osg::Shape:
Public Member Functions | |
Shape () | |
Shape (const Shape &sa, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
virtual Object * | cloneType () const=0 |
Clone the type of an attribute, with Object* return type. | |
virtual Object * | clone (const CopyOp &) const=0 |
Clone an attribute, with Object* return type. | |
virtual bool | isSameKindAs (const Object *obj) const |
return true if this and obj are of the same kind of object. | |
virtual const char * | libraryName () const |
return the name of the attribute's library. | |
virtual const char * | className () const |
return the name of the attribute's class type. | |
virtual void | accept (ShapeVisitor &)=0 |
accept a non const shape visitor which can be used on non const shape objects. | |
virtual void | accept (ConstShapeVisitor &) const=0 |
accept a const shape visitor which can be used on const shape objects. | |
Protected Member Functions | |
virtual | ~Shape () |
Shapes are used to either for culling and collision detection or to define the geometric shape of procedurally generate Geometry.
|
|
|
|
|
|
|
accept a const shape visitor which can be used on const shape objects. Must be defined by derived classes. |
|
accept a non const shape visitor which can be used on non const shape objects. Must be defined by derived classes. |
|
return the name of the attribute's class type.
Implements osg::Object. |
|
Clone an attribute, with Object* return type. Must be defined by derived classes. Implements osg::Object. |
|
Clone the type of an attribute, with Object* return type. Must be defined by derived classes. Implements osg::Object. |
|
return true if this and obj are of the same kind of object.
Reimplemented from osg::Object. |
|
return the name of the attribute's library.
Implements osg::Object. |