v_sim.GlExtPairs¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Name  | 
Short Description  | 
|---|---|
Gets emitted when the renderer used for link is changed.  | 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
||
priv  | 
r  | 
Class Details¶
- class v_sim.GlExtPairs(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
An opaque structure.
New in version 3.7.
- classmethod new(name)¶
 - Parameters:
 name (
strorNone) – the name to give to the extension (default isv_sim.GL_EXT_PAIRS_ID).- Returns:
 a pointer to the
v_sim.GlExtit created orNoneotherwise.- Return type:
 
Creates a new
v_sim.GlExtto draw a pairs.New in version 3.7.
- getAllLinkRenderer()¶
 - Returns:
 a list of all the known
v_sim.PairLinkRenderer. This list should be considered read-only.- Return type:
 
Useful to know all
v_sim.PairLinkRendererused by self.New in version 3.8.
- getDataRenderer()¶
 - Returns:
 the
v_sim.NodeArrayRendererthis self is using the rendering properties from.- Return type:
 
Retrieve the
v_sim.NodeArrayRendererthis self is using the rendering properties from.New in version 3.8.
- getLinkRenderer(data)¶
 - Parameters:
 data (
v_sim.PairLink) – av_sim.PairLinkobject.- Returns:
 a drawing method.
- Return type:
 
Get the drawing method of a pair.
New in version 3.6.
- getSet()¶
 - Returns:
 the
v_sim.PairSetthis self is based on.- Return type:
 
Retrieve the
v_sim.PairSetthis self is based on.New in version 3.8.
- setData(data)¶
 - Parameters:
 data (
v_sim.Data) – the nodes to get the population of.- Returns:
 Trueif data is actually changed.- Return type:
 
Attach a
v_sim.Datato render to and setup the pairs to get the node population also.New in version 3.7.
- setDataRenderer(renderer)¶
 - Parameters:
 renderer (
v_sim.NodeArrayRenderer) – av_sim.NodeArrayRendererobject.- Returns:
 Trueif value is actually changed.- Return type:
 
Specify the renderer that may be used to draw pairs in the same colour and material than elements.
New in version 3.8.
- setLinkRenderer(data, renderer)¶
 - Parameters:
 data (
v_sim.PairLink) – av_sim.PairLinkobject.renderer (
v_sim.PairLinkRenderer) – av_sim.PairLinkRendererobject.
- Returns:
 Trueif drawing method is changed.- Return type:
 
Set the drawing method of a pair.
New in version 3.6.
Signal Details¶
- v_sim.GlExtPairs.signals.renderer_changed(gl_ext_pairs, link)¶
 - Signal Name:
 renderer-changed- Flags:
 - Parameters:
 gl_ext_pairs (
v_sim.GlExtPairs) – The object which received the signallink (
v_sim.PairLink) – thev_sim.PairLinkwhich is changed.
Gets emitted when the renderer used for link is changed.
New in version 3.8.