class osg::Box


Inheritance:


Public Methods

[more] Box()
[more] Box(const osg::Vec3& center, float width)
[more] Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ)
[more] Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]META_Shape (osg, Box)() const
[more]inline void set(const Vec3& center, const Vec3& halfLengths)
[more]inline void setCenter(const Vec3& center)
[more]inline const Vec3& getCenter() const
[more]inline void setHalfLengths(const Vec3& halfLengths)
[more]inline const Vec3& getHalfLengths() const
[more]inline void setRotation(const Quat& quat)
[more]inline const Quat& getRotation() const
[more]inline Matrix getRotationMatrix() const
[more]inline bool zeroRotation() const

Protected Fields

[more]Vec3 _center
[more]Vec3 _halfLengths
[more]Quat _rotation

Protected Methods

[more]virtual ~Box()


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 Box()

o Box(const osg::Vec3& center, float width)

o Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ)

o Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

oMETA_Shape (osg, Box)() const

oinline void set(const Vec3& center, const Vec3& halfLengths)

oinline void setCenter(const Vec3& center)

oinline const Vec3& getCenter() const

oinline void setHalfLengths(const Vec3& halfLengths)

oinline const Vec3& getHalfLengths() const

oinline void setRotation(const Quat& quat)

oinline const Quat& getRotation() const

oinline Matrix getRotationMatrix() const

oinline bool zeroRotation() const

ovirtual ~Box()

oVec3 _center

oVec3 _halfLengths

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