Go to the documentation of this file.
133 unsigned short order = 1);
135 unsigned short order = 1)
137 return this->AppendBond(atom1.
Id, atom2.
Id,
order);
156 unsigned short atomicNum);
represent and manipulate 3D points
vtkPoints * GetAtomicPositionArray()
perform various plane computations
#define vtkGetObjectMacro(name, type)
vtkAtom AppendAtom(unsigned short atomicNumber, double x, double y, double z)
virtual void ShallowCopy(vtkDataObject *obj)
virtual void Initialize()
vtkAtom AppendAtom(unsigned short atomicNumber, const vtkVector3f &pos)
GLsizei GLsizei GLuint * obj
dynamic, self-adjusting array of unsigned short
unsigned short GetAtomAtomicNumber(vtkIdType atomId)
void GetAtomPosition(vtkIdType atomId, float pos[3])
#define vtkTypeMacro(thisClass, superclass)
vtkIdType GetNumberOfBonds()
virtual void DeepCopy(vtkDataObject *obj)
GLint GLint GLint GLint GLint x
convenience proxy for vtkMolecule
virtual int GetDataObjectType()
convenience proxy for vtkMolecule
virtual void ShallowCopyStructure(vtkMolecule *m)
vtkBond AppendBond(const vtkAtom &atom1, const vtkAtom &atom2, unsigned short order=1)
virtual void SetElectronicData(vtkAbstractElectronicData *)
virtual void DeepCopyAttributes(vtkMolecule *m)
virtual void ShallowCopyAttributes(vtkMolecule *m)
Provides access to and storage of chemical electronic data.
virtual void CopyStructureInternal(vtkMolecule *m, bool deep)
static bool GetPlaneFromBond(const vtkBond &bond, const vtkVector3f &normal, vtkPlane *plane)
a simple class to control print indentation
virtual void CopyAttributesInternal(vtkMolecule *m, bool deep)
void SetAtomAtomicNumber(vtkIdType atomId, unsigned short atomicNum)
void SetAtomPosition(vtkIdType atomId, double x, double y, double z)
static bool GetPlaneFromBond(const vtkAtom &atom1, const vtkAtom &atom2, const vtkVector3f &normal, vtkPlane *plane)
class describing a molecule
GLuint GLdouble GLdouble GLint GLint order
unsigned short GetBondOrder(vtkIdType bondId)
virtual void DeepCopyStructure(vtkMolecule *m)
vtkBond GetBond(vtkIdType bondId)
vtkUnsignedShortArray * GetAtomicNumberArray()
GLint GLint GLint GLint GLint GLint y
vtkVector3f GetAtomPosition(vtkIdType atomId)
void SetBondOrder(vtkIdType bondId, unsigned short order)
#define VTKCOMMONDATAMODEL_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
void SetAtomPosition(vtkIdType atomId, const vtkVector3f &pos)
general representation of visualization data
vtkAbstractElectronicData * ElectronicData
vtkAtom GetAtom(vtkIdType atomId)
double GetBondLength(vtkIdType bondId)
static vtkMolecule * New()
vtkIdType GetNumberOfAtoms()
vtkBond AppendBond(vtkIdType atom1, vtkIdType atom2, unsigned short order=1)