class osg::Sphere


Inheritance:


Public Methods

[more] Sphere()
[more] Sphere(const osg::Vec3& center, float radius)
[more] Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]META_Shape (osg, Sphere)() const
[more]inline void set(const Vec3& center, float radius)
[more]inline void setCenter(const Vec3& center)
[more]inline const Vec3& getCenter() const
[more]inline void setRadius(float radius)
[more]inline float getRadius() const

Protected Fields

[more]Vec3 _center
[more]float _radius

Protected Methods

[more]virtual ~Sphere()


Inherited from Shape:

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* libraryName() const
ovirtual const char* className() const
ovirtual void accept(ShapeVisitor&)
ovirtual void accept(ConstShapeVisitor&) const


Inherited from Object:

Public Methods

oinline void setDataVariance(DataVariance dv)
oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable int _refCount


Documentation

o Sphere()

o Sphere(const osg::Vec3& center, float radius)

o Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

oMETA_Shape (osg, Sphere)() const

oinline void set(const Vec3& center, float radius)

oinline void setCenter(const Vec3& center)

oinline const Vec3& getCenter() const

oinline void setRadius(float radius)

oinline float getRadius() const

ovirtual ~Sphere()

oVec3 _center

ofloat _radius


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.