v_sim.GlExtShade¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
min / max range to normalise data  | 
||
r/w  | 
colorization scheme  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
||
priv  | 
r  | 
Class Details¶
- class v_sim.GlExtShade(**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_SHADE_ID).- Returns:
 a pointer to the
v_sim.GlExtit created orNoneotherwise.- Return type:
 
Creates a new
v_sim.GlExtto draw a shade.New in version 3.7.
- setMarks(marks)¶
 - Parameters:
 marks ([
float]) – a list of float values in [0;1].- Returns:
 Trueif value is actually changed.- Return type:
 
The legend can draw additional marks in the shade. Setup these marks with this routine. The first and the last marks of the list will be rendered bigger than the next ones.
New in version 3.7.
- setMinMax(minV, maxV)¶
 - Parameters:
 - Returns:
 Trueif value is actually changed.- Return type:
 
Change the minimum and maximum values used on the legend.
New in version 3.7.
- setScaling(scaling)¶
 - Parameters:
 scaling (
v_sim.MatrixScalingFlag) – av_sim.MatrixScalingFlagvalue.- Returns:
 Trueif value is actually changed.- Return type:
 
Change the scaling variation of the shade between the minimum and the maximum values, see
v_sim.GlExtShade.setMinMax().New in version 3.7.
- setShade(shade)¶
 - Parameters:
 shade (
v_sim.Shade) – the shade to get the color of.- Returns:
 Trueif internal shade is changed.- Return type:
 
Attach an
v_sim.GlViewto render to and setup the shade.New in version 3.7.
Property Details¶
- v_sim.GlExtShade.props.range_min_max¶
 - Name:
 range-min-max- Type:
 - Default Value:
 - Flags:
 
min / max range to normalise data
- v_sim.GlExtShade.props.shade¶
 - Name:
 shade- Type:
 - Default Value:
 - Flags:
 
colorization scheme