v_sim.PairCylinder¶
- Implementations:
 
Methods¶
class  | 
|
class  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
cylinder color type  | 
||
r/w  | 
cylinder radius  | 
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 (0 or 1).
- Return type:
 
Get the color scheme.
- classmethod getDefaultRadius()¶
 - Returns:
 the default value for cylinder radius.
- Return type:
 
Get the default value for cylinder radius.
- 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.
- setColorType(val)¶
 - Parameters:
 val (
v_sim.PairCylinderColorId) – a integer that identify the color scheme.- Returns:
 Trueif the calling method should take care ofv_sim.GlExtPairsobjects,Falseif not.- Return type:
 
It set the color scheme for cylinder pairs. It can be 0 or 1.
- 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.
 
- do_get_colorType() virtual¶
 - Return type:
 
a method to get the coloring 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. 
Property Details¶
- v_sim.PairCylinder.props.color_type¶
 - 
cylinder color type