Top | ![]() |
![]() |
![]() |
![]() |
gtk_curveWidgetgtk_curveWidget — A specialised curve widget to draw distance distribution for pairs. |
VisuElement * | filter | Read / Write |
gfloat | integral-in-range | Read |
gchar * | label | Read |
gfloat | maximum | Read / Write |
gfloat | maximum-highlight | Read / Write |
gfloat | mean-in-range | Read |
gfloat | minimum | Read / Write |
gfloat | minimum-highlight | Read / Write |
gfloat | zoom | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkDrawingArea ╰── VisuUiCurveFrame
GtkWidget * visu_ui_curve_frame_new (float distMin
,float distMax
);
It creates a graph that can display distances distribution for
VisuElement pairing. The display span is given by distMin
and distMax
.
Since: 3.6
gboolean visu_ui_curve_frame_setModel (VisuUiCurveFrame *curve
,VisuPairSet *model
);
Bind the VisuPairLink of model
to curve
.
Since: 3.8
gboolean visu_ui_curve_frame_setSpan (VisuUiCurveFrame *curve
,float span[2]
);
Changes the distance range that is displayed on the curve.
Since: 3.6
void visu_ui_curve_frame_getSpan (VisuUiCurveFrame *curve
,float span[2]
);
Retrieves the distances inside which the distribution is displayed.
Since: 3.6
gboolean visu_ui_curve_frame_setZoomFactor (VisuUiCurveFrame *curve
,float zoom
);
Adjusts the zoom factor.
Since: 3.8
gboolean visu_ui_curve_frame_setStyle (VisuUiCurveFrame *curve
,VisuUiCurveFrameStyle style
);
Modify the rendering style of the graph.
Since: 3.5
gboolean visu_ui_curve_frame_setFilter (VisuUiCurveFrame *curve
,VisuElement *filter
);
Modify the filter used to draw all or single VisuElement distribution.
Since: 3.6
gboolean visu_ui_curve_frame_setHighlightRange (VisuUiCurveFrame *curve
,float range[2]
);
Modify the distance span that is used for highlight rendering and
calculation, see visu_ui_curve_frame_getMeanInRange()
.
Since: 3.6
gboolean visu_ui_curve_frame_getHighlightRange (VisuUiCurveFrame *curve
,float range[2]
);
Retrieves the distance span that is used for highlight rendering and
calculation, see visu_ui_curve_frame_setHighlightRange()
.
Since: 3.6
Possible styles for the curve rendering, see visu_ui_curve_frame_setStyle()
.
typedef struct _VisuUiCurveFrame VisuUiCurveFrame;
An opaque structure defining a VisuUiCurveFrame widget.
Since: 3.6
typedef struct _VisuUiCurveFrameClass VisuUiCurveFrameClass;
An opaque structure defining the class of a VisuUiCurveFrame widget.
Since: 3.6
“integral-in-range”
property“integral-in-range” gfloat
integral value in highlight range.
Flags: Read
Allowed values: >= 0
Default value: 0
“maximum”
property“maximum” gfloat
maximum distance.
Flags: Read / Write
Allowed values: >= 0
Default value: 10
“maximum-highlight”
property“maximum-highlight” gfloat
maximum highlight distance.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
“mean-in-range”
property“mean-in-range” gfloat
mean value in highlight range.
Flags: Read
Allowed values: >= 0
Default value: 0
“minimum”
property“minimum” gfloat
minimum distance.
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“minimum-highlight”
property“minimum-highlight” gfloat
minimum highlight distance.
Flags: Read / Write
Allowed values: >= 0
Default value: 1
“zoom”
property“zoom” gfloat
zoom factor.
Flags: Read / Write
Allowed values: >= 1
Default value: 5