71 #ifndef __vtkMolecule_h
72 #define __vtkMolecule_h
112 vtkAtom AppendAtom(
unsigned short atomicNumber,
double x,
double y,
double z)
114 return this->AppendAtom(atomicNumber,
vtkVector3f(x, y, z));
129 unsigned short order = 1);
131 unsigned short order = 1)
133 return this->AppendBond(atom1.
Id, atom2.
Id,
order);
147 unsigned short GetAtomAtomicNumber(
vtkIdType atomId);
151 void SetAtomAtomicNumber(
vtkIdType atomId,
152 unsigned short atomicNum);
158 void SetAtomPosition(
vtkIdType atomId,
double x,
double y,
double z);
164 void GetAtomPosition(
vtkIdType atomId,
float pos[3]);
170 unsigned short GetBondOrder(
vtkIdType bondId);
209 virtual void ShallowCopyAttributes(
vtkMolecule *m);
231 static bool GetPlaneFromBond(
const vtkAtom &atom1,
const vtkAtom &atom2,
240 virtual void CopyStructureInternal(
vtkMolecule *m,
bool deep);
243 virtual void CopyAttributesInternal(
vtkMolecule *m,
bool deep);
252 void UpdateBondList();