31 #include <libxml/parser.h>
32 #include <libxml/parserInternals.h>
33 #include <libxml/xmlmemory.h>
66 Atom (
int Z,
double x,
double y,
double z);
88 void SetColor (
float red,
float green,
float blue,
float alpha);
106 void GetColor (
double *red,
double *green,
double *blue,
double *alpha);
136 double ScalProd (
int h,
int k,
int l);
149 double Distance (
double x,
double y,
double z,
bool bFixed);
172 virtual bool SaveNode (xmlDocPtr xml, xmlNodePtr node)
const;
178 virtual bool LoadNode (xmlNodePtr node);
219 bool SetProperty (
unsigned property,
char const *value);
229 GCU_PROP (
double, EffectiveRadiusRatio);
void SetColor(float red, float green, float blue, float alpha)
GcuDimensionalValue value
std::string GetProperty(unsigned property) const
double ScalProd(int h, int k, int l)
void SetRadius(const GcuAtomicRadius &r)
bool operator==(Atom &caAtom)
const GcuAtomicRadius & GetRadius()
void GetColor(double *red, double *green, double *blue, double *alpha)
bool SetProperty(unsigned property, char const *value)
virtual bool SaveNode(xmlDocPtr xml, xmlNodePtr node) const
#define GCU_PROP(type, member)
virtual bool LoadNode(xmlNodePtr node)
double Distance(double x, double y, double z, bool bFixed)
std::list< Atom * > AtomList