|
AvogadroLibs 1.103.0
|
Public Member Functions | |
| Cylinder (const Vector3f &position_, const Vector3f &direction_, float length_, float radius_, Primitive::Identifier id, const Vector3ub &color_) | |
| Direction must be normalized. | |
| const Vector3f & | position () const |
| void | setPosition (const Vector3f &pos) |
| const Vector3f & | direction () const |
| void | setDirection (const Vector3f &dir) |
| float | length () const |
| void | setLength (float l) |
| float | radius () const |
| void | setRadius (float r) |
| Public Member Functions inherited from Primitive | |
| Primitive (Identifier id, const Vector3ub &color_) | |
| Identifier | identifier () const |
| void | setIdentifier (Identifier id) |
| const Vector3ub & | color () const |
| void | setColor (const Vector3ub &c) |
Additional Inherited Members | |
| Public Types inherited from Primitive | |
| enum | Type { Invalid = -1 , Atom , Bond } |