class osg::Cone


Inheritance:


Public Methods

[more] Cone()
[more] Cone(const osg::Vec3& center, float radius, float height)
[more] Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]META_Shape (osg, Cone)() 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]inline bool zeroRotation() const
[more]inline float getBaseOffsetFactor() const
[more]inline float getBaseOffset() const

Protected Fields

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

Protected Methods

[more]virtual ~Cone()


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(const DataVariance dv)
oinline const 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 Cone()

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

o Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

oMETA_Shape (osg, Cone)() 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

oinline bool zeroRotation() const

oinline float getBaseOffsetFactor() const

oinline float getBaseOffset() const

ovirtual ~Cone()

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++.