Class Avogadro::Rendering::Cylinder#

class Cylinder : public Primitive#

Public Functions

inline Cylinder(const Vector3f &position_, const Vector3f &direction_, float length_, float radius_, Primitive::Identifier id, const Vector3ub &color_)#

Direction must be normalized.

inline const Vector3f &position() const#
inline void setPosition(const Vector3f &pos)#
inline const Vector3f &direction() const#
inline void setDirection(const Vector3f &dir)#
inline float length() const#
inline void setLength(float l)#
inline float radius() const#
inline void setRadius(float r)#