gz/rendering/base/BaseCapsule.hh
Base implementation of a Capsule Geometry.
Definition: gz/rendering/base/BaseCapsule.hh:34
virtual double Length() const override
Get the length of the capsule.
Definition: gz/rendering/base/BaseCapsule.hh:108
bool capsuleDirty
Flag to indicate capsule properties have changed.
Definition: gz/rendering/base/BaseCapsule.hh:66
double length
Length of the capsule.
Definition: gz/rendering/base/BaseCapsule.hh:63
virtual CapsulePtr CreateCapsule()=0
Create new capsule geometry.
virtual ~BaseCapsule()
Definition: gz/rendering/base/BaseCapsule.hh:79
#define ignerr
Manages a single scene-graph. This class updates scene-wide properties and holds the root scene node....
Definition: gz/rendering/Scene.hh:49
virtual void SetRadius(double _radius) override
Set the radius of the capsule.
Definition: gz/rendering/base/BaseCapsule.hh:85
virtual double Radius() const override
Get the radius of the capsule.
Definition: gz/rendering/base/BaseCapsule.hh:93
BaseCapsule()
Definition: gz/rendering/base/BaseCapsule.hh:73
virtual GeometryPtr Clone() const override
Clone the geometry.
Definition: gz/rendering/base/BaseCapsule.hh:115
double radius
Radius of the capsule.
Definition: gz/rendering/base/BaseCapsule.hh:60
Represents a surface material of a Geometry.
Definition: gz/rendering/Material.hh:47
virtual void SetLength(double _length) override
Set the length of the capsule.
Definition: gz/rendering/base/BaseCapsule.hh:100