class osg::Cylinder


Inheritance:


Public Methods

[more] Cylinder()
[more] Cylinder(const osg::Vec3& center, float radius, float height)
[more] Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]META_Shape (osg, Cylinder)() const
[more]inline void set(const Vec3& center, float radius, float height)
[more]inline void setCenter(const Vec3& center)
[more]inline const Vec3& getCenter() const
[more]inline void setRadius(float radius)
[more]inline float getRadius() const
[more]inline void setHeight(float height)
[more]inline float getHeight() const
[more]inline void setRotation(const Quat& quat)
[more]inline const Quat& getRotation() const
[more]inline Matrix getRotationMatrix() const
[more]bool zeroRotation() const

Protected Fields

[more]Vec3 _center
[more]float _radius
[more]float _height
[more]Quat _rotation

Protected Methods

[more]virtual ~Cylinder()


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&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline static int createdCount()
oinline static int deletedCount()

Protected Fields

omutable int _refCount
ostatic int _createdCount
ostatic int _deletedCount


Documentation

o Cylinder()

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

o Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

oMETA_Shape (osg, Cylinder)() const

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

oinline void setCenter(const Vec3& center)

oinline const Vec3& getCenter() const

oinline void setRadius(float radius)

oinline float getRadius() const

oinline void setHeight(float height)

oinline float getHeight() const

oinline void setRotation(const Quat& quat)

oinline const Quat& getRotation() const

oinline Matrix getRotationMatrix() const

obool zeroRotation() const

ovirtual ~Cylinder()

oVec3 _center

ofloat _radius

ofloat _height

oQuat _rotation


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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