Avogadro::Rendering::Primitive#
-
class Primitive#
Subclassed by Cylinder, Sphere
Public Types
Public Functions
-
inline Primitive(Identifier id, const Vector3ub &color_)#
-
inline Identifier identifier() const#
-
inline void setIdentifier(Identifier id)#
-
inline const Vector3ub &color() const#
-
inline void setColor(const Vector3ub &c)#
-
struct Identifier#
Used to identify the primitive during picking.
Public Functions
-
inline Identifier()#
-
inline bool operator==(const Identifier &other) const#
-
inline bool operator!=(const Identifier &other) const#
-
inline bool isValid() const#
-
inline Identifier()#
-
inline Primitive(Identifier id, const Vector3ub &color_)#