v_sim.PairCylinder¶
- Implementations:
Methods¶
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
cylinder color type |
||
r/w |
cylinder radius |
||
r/w |
cylinder radius type |
Signals¶
None
Fields¶
None
Class Details¶
- class v_sim.PairCylinder¶
- Bases:
- Structure:
Interface object.
New in version 3.8.
- classmethod getDefaultColorType()¶
- Returns:
an integer corresponding to the color scheme.
- Return type:
Get the color scheme.
- classmethod getDefaultRadius()¶
- Returns:
the default value for cylinder radius.
- Return type:
Get the default value for cylinder radius.
- classmethod getDefaultRadiusType()¶
- Returns:
an integer corresponding to the radius scheme.
- Return type:
Get the radius scheme.
New in version 3.9.
- getColorType()¶
- Returns:
the color type value.
- Return type:
Get the color type value for the specified pair.
- getRadius()¶
- Returns:
the radius value.
- Return type:
Get the radius value for the specified pair.
- getRadiusType()¶
- Returns:
the radius type value.
- Return type:
Get the radius type value for the specified pair.
New in version 3.9.
- setColorType(val)¶
- Parameters:
val (
v_sim.PairCylinderColorId) – a integer that identify the color scheme.- Returns:
Trueif the value is changed.- Return type:
It sets the color scheme for cylinder pairs.
- setRadius(val)¶
-
This method allows to change the radius value of a specific pair. When a pair is rendered via a cylinder, it first checks if that pairs has a specific radius value set by this method. If not, it uses the default value.
- setRadiusType(val)¶
- Parameters:
val (
v_sim.PairCylinderRadiusId) – a integer that identify the radius scheme.- Returns:
Trueif the value is changed.- Return type:
It sets the radius scheme for cylinder pairs.
New in version 3.9.
- do_get_colorType() virtual¶
- Return type:
a method to get the coloring scheme.
- do_get_radiusType() virtual¶
- Return type:
a method to get the radius scheme.
- do_set_colorType(val) virtual¶
- Parameters:
val (
v_sim.PairCylinderColorId) –- Return type:
a method to change the coloring scheme.
- do_set_radius(val) virtual¶
-
a method to change the radius of drawn cylinder
v_sim.PairLink.
- do_set_radiusType(val) virtual¶
- Parameters:
val (
v_sim.PairCylinderRadiusId) –- Return type:
a method to change the radius scheme.
Property Details¶
- v_sim.PairCylinder.props.color_type¶
-
cylinder color type
- v_sim.PairCylinder.props.radius¶
-
cylinder radius