v_sim.ElementAtomic¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
Elipsoid angle phi |
||
r/w |
Elipsoid angle theta |
||
r/w |
Elipsoid ratio |
||
r/w |
atomic radius |
||
r/w |
atomic shape |
||
r/w |
radius units |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class v_sim.ElementAtomic(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Structure used to define
v_sim.ElementAtomicobjects.New in version 3.8.
- classmethod getShapeNames(asLabel)¶
- Parameters:
asLabel (
bool) – a boolean.- Returns:
strings representing
v_sim.ElementAtomicShapeId.- Return type:
[
str]
Get the string defining
v_sim.ElementAtomicShapeId. If asLabel isTrue, then the string are translated and stored in UTF8.New in version 3.8.
- classmethod new(element)¶
- Parameters:
element (
v_sim.Element) – av_sim.Elementobject.- Returns:
a newly created
v_sim.ElementAtomicobject.- Return type:
Creates a new
v_sim.ElementAtomicobject used to render element.New in version 3.8.
- bindToPool()¶
Bind all properties of self to the
v_sim.ElementAtomicobject corresponding to the samev_sim.Elementfrom the pool. The binding is bidirectional. This method is usefull to create a pool of objects inheriting fromv_sim.ElementAtomic.New in version 3.8.
- getElipsoidPhi()¶
- Returns:
the phi angle.
- Return type:
Retrieve the phi angle used to draw elipsoid shape with this renderer.
New in version 3.8.
- getElipsoidRatio()¶
- Returns:
a ratio value.
- Return type:
When self is used to draw constant elipsoid or torus, this value is used to adjust the ratio between the two angles.
New in version 3.8.
- getElipsoidTheta()¶
- Returns:
a theta value.
- Return type:
Retrieve the theta angle used to draw elipsoid shape with this renderer.
New in version 3.8.
- getRadius()¶
- Returns:
a radius value.
- Return type:
Retrieve the radius used to draw self. The unit of the value is given by
v_sim.ElementAtomic.getUnits().New in version 3.8.
- getShape()¶
- Returns:
the shape used by self.
- Return type:
Retrieve the
v_sim.ElementAtomicShapeIdthat self is using for representation.New in version 3.8.
- getUnits()¶
- Returns:
a unit.
- Return type:
The units in which the radius value is given.
New in version 3.8.
- setElipsoidPhi(val)¶
-
Change the phi angle of the representation for shapes that are not isotropic.
New in version 3.8.
- setElipsoidRatio(val)¶
- Parameters:
val (
float) – a positive float value.- Returns:
Trueif value is actually changed.- Return type:
Change the ratio between the long axe and the short axe of the representation for shapes that are not isotropic.
New in version 3.8.
- setElipsoidTheta(val)¶
-
Change the theta angle of the representation for shapes that are not isotropic.
New in version 3.8.
- setRadius(val)¶
- Parameters:
val (
float) – a positive float value.- Returns:
Trueif value is actually changed.- Return type:
Change the radius (or long axe) of the representation of self.
New in version 3.8.
- setShape(val)¶
- Parameters:
val (
v_sim.ElementAtomicShapeId) – av_sim.ElementAtomicShapeIdvalue.- Returns:
Trueif value is actually changed.- Return type:
Change the representation shape of self.
New in version 3.8.
- setUnits(val)¶
- Parameters:
val (
v_sim.Units) – av_sim.Unitsvalue.- Returns:
Trueif value is actually changed.- Return type:
Change the unit in wich the radius is given, see
v_sim.ElementAtomic.setRadius().New in version 3.8.
Property Details¶
- v_sim.ElementAtomic.props.elipsoid_angle_phi¶
-
Elipsoid angle phi
- v_sim.ElementAtomic.props.elipsoid_angle_theta¶
-
Elipsoid angle theta
- v_sim.ElementAtomic.props.elipsoid_ratio¶
-
Elipsoid ratio
- v_sim.ElementAtomic.props.radius¶
-
atomic radius
- v_sim.ElementAtomic.props.shape¶
-
atomic shape