![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
A data type for the descripton of arbitrary shapes composed of spheres approximated by gaussian functions. More...
Inheritance diagram for CDPL.Shape.GaussianShape:Classes | |
| class | Element |
Public Member Functions | |
| None | __init__ () |
| Initializes the GaussianShape instance. | |
| None | __init__ (GaussianShape shape) |
| Initializes a copy of the GaussianShape instance shape. More... | |
| GaussianShape | assign (GaussianShape shape) |
Replaces the current state of self with a copy of the state of the GaussianShape instance shape. More... | |
| None | clear () |
| int | getNumElements () |
| None | addElement (Math.Vector3D pos, float radius, int color=0, float hardness=2.7) |
| None | addElement (Element elem) |
| None | removeElement (int idx) |
| Element | getElement (int idx) |
| Base.Any | __getitem__ (Base.LookupKey key) |
| Element | __getitem__ (int idx) |
| bool | __contains__ (Base.LookupKey key) |
Returns the result of the membership test operation key in self. More... | |
| None | __setitem__ (Base.LookupKey key, Base.Any value) |
| bool | __delitem__ (Base.LookupKey key) |
| None | __delitem__ (int idx) |
| int | __len__ () |
Public Member Functions inherited from CDPL.Base.PropertyContainer | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| int | getNumProperties () |
| Returns the number of property entries. More... | |
| Any | getPropertyOrDefault (LookupKey key, Any def_value) |
| list | getPropertyKeys () |
| list | getPropertyValues () |
| list | getProperties () |
| Returns a reference to itself. More... | |
| None | setProperty (LookupKey key, Any value) |
| bool | removeProperty (LookupKey key) |
| Clears the value of the property specified by key. More... | |
| Any | getProperty (LookupKey key, bool throw_=False) |
| Returns the value of the property specified by key. More... | |
| bool | isPropertySet (LookupKey key) |
| Tells whether or not a value has been assigned to the property specified by key. More... | |
| None | clearProperties () |
| Clears all property values. | |
| None | addProperties (PropertyContainer cntnr) |
Adds the property value entries in the PropertyContainer instance cntnr. More... | |
| None | copyProperties (PropertyContainer cntnr) |
| Replaces the current set of properties by a copy of the entries in cntnr. More... | |
| None | swap (PropertyContainer cntnr) |
| Exchanges the properties of this container with the properties of the container cntnr. More... | |
| Any | __getitem__ (LookupKey key) |
| bool | __contains__ (LookupKey key) |
Returns the result of the membership test operation key in self. More... | |
| None | __setitem__ (LookupKey key, Any value) |
| bool | __delitem__ (LookupKey key) |
Additional Inherited Members | |
Properties inherited from CDPL.Base.PropertyContainer | |
| objectID = property(getObjectID) | |
| propertyKeys = property(getPropertyKeys) | |
| propertyValues = property(getPropertyValues) | |
| properties = property(getProperties) | |
| numProperties = property(getNumProperties) | |
A data type for the descripton of arbitrary shapes composed of spheres approximated by gaussian functions.
| None CDPL.Shape.GaussianShape.__init__ | ( | GaussianShape | shape | ) |
Initializes a copy of the GaussianShape instance shape.
| shape | The GaussianShape instance to copy. |
| GaussianShape CDPL.Shape.GaussianShape.assign | ( | GaussianShape | shape | ) |
Replaces the current state of self with a copy of the state of the GaussianShape instance shape.
| shape | The GaussianShape instance to copy. |
| int CDPL.Shape.GaussianShape.getNumElements | ( | ) |
| None CDPL.Shape.GaussianShape.addElement | ( | Math.Vector3D | pos, |
| float | radius, | ||
| int | color = 0, |
||
| float | hardness = 2.7 |
||
| ) |
| pos | |
| radius | |
| color | |
| hardness |
| None CDPL.Shape.GaussianShape.addElement | ( | Element | elem | ) |
| elem |
| None CDPL.Shape.GaussianShape.removeElement | ( | int | idx | ) |
| idx |
| Element CDPL.Shape.GaussianShape.getElement | ( | int | idx | ) |
| idx |
| Base.Any CDPL.Shape.GaussianShape.__getitem__ | ( | Base.LookupKey | key | ) |
| key |
| Element CDPL.Shape.GaussianShape.__getitem__ | ( | int | idx | ) |
| idx |
| bool CDPL.Shape.GaussianShape.__contains__ | ( | Base.LookupKey | key | ) |
Returns the result of the membership test operation key in self.
| key | The value to test for membership. |
| None CDPL.Shape.GaussianShape.__setitem__ | ( | Base.LookupKey | key, |
| Base.Any | value | ||
| ) |
| key | |
| value |
| bool CDPL.Shape.GaussianShape.__delitem__ | ( | Base.LookupKey | key | ) |
| key |
| None CDPL.Shape.GaussianShape.__delitem__ | ( | int | idx | ) |
| idx |
| int CDPL.Shape.GaussianShape.__len__ | ( | ) |
Reimplemented from CDPL.Base.PropertyContainer.