32 #ifndef Bond_INCLUDE_ONCE 33 #define Bond_INCLUDE_ONCE 67 Bond():
mColor( 1.0f,1.0f,1.0f,1.0f ),
mRadius(0.10f),
mAtom1(
NULL),
mAtom2(
NULL),
mType(
BT_Single),
mId(0),
mVisible(true),
mUseAtomColors(true)
69 VL_DEBUG_SET_OBJECT_NAME()
75 unsigned int id()
const {
return mId; }
void setVisible(bool visible)
void setAtom1(Atom *atom)
void setBondType(EBondType type)
void setId(unsigned int id)
bool useAtomColors() const
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
void setColor(const fvec4 &color)
Visualization Library main namespace.
void setUseAtomColors(bool use_atom_color)
EBondType bondType() const
The base class for all the reference counted objects.
void setAtom2(Atom *atom)
void setRadius(float radius)
The Bond class represents a bond to be used with the Molecule class.
The Atom class represents an atom to be used with the Molecule class.
const fvec4 & color() const
Bond & operator=(const Bond &other)=default