GtkType |
gtk_plot3d_get_type |
(void); |
GtkWidget* |
gtk_plot3d_new |
(GdkDrawable *drawable); |
GtkWidget* |
gtk_plot3d_new_with_size |
(GdkDrawable *drawable, gdouble width, gdouble height); |
void |
gtk_plot3d_construct |
(GtkPlot3D *plot, GdkDrawable *drawable); |
void |
gtk_plot3d_construct_with_size |
(GtkPlot3D *plot, GdkDrawable *drawable, gdouble width, gdouble height); |
void |
gtk_plot3d_autoscale |
(GtkPlot3D *plot); |
| |
|
|
| |
Rotations around global axes | |
| |
|
|
void |
gtk_plot3d_rotate |
(GtkPlot3D *plot, gdouble angle_x, gdouble angle_y, gdouble angle_z); |
void |
gtk_plot3d_rotate_vector |
(GtkPlot3D *plot, GtkPlotVector *vector, gdouble a1, gdouble a2, gdouble a3); |
| |
|
|
| |
Rotations around local axes | |
| |
|
|
void |
gtk_plot3d_reset_angles |
(GtkPlot3D *plot); |
void |
gtk_plot3d_rotate_x |
(GtkPlot3D *plot, gdouble angle); |
void |
gtk_plot3d_rotate_y |
(GtkPlot3D *plot, gdouble angle); |
void |
gtk_plot3d_rotate_z |
(GtkPlot3D *plot, gdouble angle); |
void |
gtk_plot3d_get_pixel |
(GtkPlot3D *plot, gdouble x, gdouble y, gdouble z, gdouble *px, gdouble *py, gdouble *pz); |
void |
gtk_plot3d_set_xrange |
(GtkPlot3D *plot, gdouble min, gdouble max); |
void |
gtk_plot3d_set_yrange |
(GtkPlot3D *plot, gdouble min, gdouble max); |
void |
gtk_plot3d_set_zrange |
(GtkPlot3D *plot, gdouble min, gdouble max); |
void |
gtk_plot3d_set_xfactor |
(GtkPlot3D *plot, gdouble xfactor); |
void |
gtk_plot3d_set_yfactor |
(GtkPlot3D *plot, gdouble yfactor); |
void |
gtk_plot3d_set_zfactor |
(GtkPlot3D *plot, gdouble zfactor); |
gdouble |
gtk_plot3d_get_xfactor |
(GtkPlot3D *plot); |
gdouble |
gtk_plot3d_get_yfactor |
(GtkPlot3D *plot); |
gdouble |
gtk_plot3d_get_zfactor |
(GtkPlot3D *plot); |
| |
|
|
| |
Axes | |
| |
|
|
GtkPlotAxis * |
gtk_plot3d_get_axis |
(GtkPlot3D *plot, GtkPlotOrientation orientation); |
GtkPlotAxis * |
gtk_plot3d_get_side |
(GtkPlot3D *plot, GtkPlotSide side); |
void |
gtk_plot3d_axis_show_major_ticks |
(GtkPlot3D *plot, GtkPlotSide side, gint ticks_mask); |
void |
gtk_plot3d_axis_show_minor_ticks |
(GtkPlot3D *plot, GtkPlotSide side, gint ticks_mask); |
void |
gtk_plot3d_axis_show_labels |
(GtkPlot3D *plot, GtkPlotSide side, gint label_mask); |
void |
gtk_plot3d_axis_show_title |
(GtkPlot3D *plot, GtkPlotSide side); |
void |
gtk_plot3d_axis_hide_title |
(GtkPlot3D *plot, GtkPlotSide side); |
void |
gtk_plot3d_axis_set_ticks |
(GtkPlot3D *plot, GtkPlotOrientation axis, gdouble major_step, gint nminor); |
void |
gtk_plot3d_axis_set_major_ticks |
(GtkPlot3D *plot, GtkPlotOrientation axis, gdouble major_step); |
void |
gtk_plot3d_axis_set_minor_ticks |
(GtkPlot3D *plot, GtkPlotOrientation axis, gint nminor); |
void |
gtk_plot3d_axis_set_ticks_length |
(GtkPlot3D *plot, GtkPlotOrientation axis, gint length); |
void |
gtk_plot3d_axis_set_ticks_width |
(GtkPlot3D *plot, GtkPlotOrientation axis, gfloat width); |
void |
gtk_plot3d_axis_show_ticks |
(GtkPlot3D *plot, GtkPlotSide side, gint major_mask, gint minor_mask); |
void |
gtk_plot3d_set_titles_offset |
(GtkPlot3D *plot, gint offset); |
void |
gtk_plot3d_get_titles_offset |
(GtkPlot3D *plot); |
| |
|
|
| |
Grids |
|
| |
|
|
void |
gtk_plot3d_major_grids_set_visible |
(GtkPlot3D *plot, gboolean x, gboolean y, gboolean z); |
void |
gtk_plot3d_minor_grids_set_visible |
(GtkPlot3D *plot, gboolean x, gboolean y, gboolean z); |
void |
gtk_plot3d_major_grids_visible |
GtkPlot3D *plot, gboolean *x, gboolean *y, gboolean *z); |
void |
gtk_plot3d_minor_grids_visible |
(GtkPlot3D *plot, gboolean *x, gboolean *y, gboolean *z); |
void |
gtk_plot3d_major_zgrid_set_attributes |
(GtkPlot3D *plot, GtkPlotLineStyle style, |
void |
gtk_plot3d_major_zgrid_get_attributes |
GtkPlot3D *plot, GtkPlotLineStyle *style, gfloat *width, GdkColor *color); |
void |
gtk_plot3d_minor_zgrid_set_attributes |
(GtkPlot3D *plot, GtkPlotLineStyle style, gfloat width, const GdkColor *color); |
void |
gtk_plot3d_minor_zgrid_get_attributes |
(GtkPlot3D *plot,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
|
|
|
|
|
void (* get_pixel) (GtkWidget *widget, gdouble x, gdouble y, gdouble z, gdouble *px, gdouble *py, gdouble *pz); |
struct GtkPlotVector; struct GtkPlotVector; |
GtkWidget* gtk_plot3d_new (GdkDrawable *drawable); |
Create a new GtkPlot3d widget.
| drawable | a GdkDrawable widget |
| Returns | a new GtkPlot3d widget |
GtkWidget* gtk_plot3d_new_with_size (GdkDrawable *drawable,
gdouble width, gdouble height);
|
Create a new GtkPlot3d widget with specified size
| drawable | a GdkDrawable widget |
| width,height | width,height of the widget |
| Returns | a new GtkPlot3d widget |
void gtk_plot3d_construct (GtkPlot3D *plot,
GdkDrawable *drawable);
|
Initialize a GtkPlot3D structure.
| plot | a GtkPlot3d widget |
| drawable | a GdkDrawable widget |
void gtk_plot3d_construct_with_size (GtkPlot3D *plot,
GdkDrawable *drawable,
gdouble width, gdouble height);
|
Initialize a GtkPlot3D structure with certain values.
| plot | a GtkPlot3d widget |
| drawable | a GdkDrawable widget |
| width,height | width,height of the widget |
void gtk_plot3d_autoscale (GtkPlot3D *plot); |
| plot | a GtkPlot3d widget |
void gtk_plot3d_rotate (GtkPlot3D *plot,
gdouble angle_x,
gdouble angle_y,
gdouble angle_z);
|
Rotate the widget with certain angles
| plot | a GtkPlot3d widget |
| angle_x,angle_y,angle_z | angles of rotation on x,y,z directions |
void gtk_plot3d_rotate_vector (GtkPlot3D *plot,
GtkPlotVector *vector,
gdouble a1,
gdouble a2,
gdouble a3);
|
Rotate the specified vector by angles.
| plot | a GtkPlot3d widget |
| vector | GtkPlotVector widget |
| a1,a2,a3 | angles of rotation |
void gtk_plot3d_reset_angles (GtkPlot3D *plot); |
Reset the angle of rotation of the plot
| plot | a GtkPlot3d widget |
void gtk_plot3d_rotate_x (GtkPlot3D *plot,
gdouble angle);
|
Rotate the 3d plot along x axis with a specified angle
| plot | a GtkPlot3d widget |
| angle | angle of rotation |
void gtk_plot3d_rotate_y (GtkPlot3D *plot,
gdouble angle);
|
Rotate the 3d plot along y axis with a specified angle
| plot | a GtkPlot3d widget |
| angle | angle of rotation |
void gtk_plot3d_rotate_z (GtkPlot3D *plot,
gdouble angle);
|
Rotate the 3d plot along z axis with a specified angle
| plot | a GtkPlot3d widget |
| angle | angle of rotation |
void gtk_plot3d_get_pixel (GtkPlot3D *plot,
gdouble x, gdouble y, gdouble z,
gdouble *px, gdouble *py, gdouble *pz);
|
| plot | |
| x,y,z | |
| *px,*py,*pz |
void gtk_plot3d_set_xrange (GtkPlot3D *plot,
gdouble min, gdouble max);
|
| plot | |
| min,max |
void gtk_plot3d_set_yrange (GtkPlot3D *plot,
gdouble min, gdouble max);
|
| plot | |
| min,max |
void gtk_plot3d_set_zrange (GtkPlot3D *plot,
gdouble min, gdouble max);
|
| plot | |
| min,max |
void gtk_plot3d_set_xfactor (GtkPlot3D *plot,
gdouble xfactor);
|
| plot | |
| xfactor |
void gtk_plot3d_set_xfactor (GtkPlot3D *plot,
gdouble yfactor);
|
| plot | |
| yfactor |
void gtk_plot3d_set_zfactor (GtkPlot3D *plot,
gdouble zfactor);
|
| plot | |
| zfactor |
void gtk_plot3d_plane_set_color (GtkPlot3D *plot,
GtkPlotPlane plane,
const GdkColor *color);
|
Set the color of the plane
| plot | a GtkPlot3d widget |
| plane | GtkPlotPlane widget |
| color | the GdkCOlor of the plane |
void gtk_plot3d_plane_set_visible (GtkPlot3D *plot,
GtkPlotPlane plane,
gboolean visible);
|
Set the visibility of the plane.
| plot | a GtkPlot3d widget |
| plane | GtkPlotPlane widget |
| visible | TRUE or FALSE |
gboolean gtk_plot3d_plane_visible (GtkPlot3D *plot,
GtkPlotPlane plane);
|
Get the visibility of the plane
| plot | a GtkPlot3d widget |
| plane | GtkPlotPlane widget |
| Returns | TRUE or FALSE |
void gtk_plot3d_corner_set_visible (GtkPlot3D *plot,
gboolean visible);
|
| plot | a GtkPlot3d widget |
| visible | TRUE or FALSE |
gboolean gtk_plot3d_corner_visible (GtkPlot3D *plot); |
| plot | a GtkPlot3d widget |
| Returns | TRUE or FALSE |
void gtk_plot3d_corner_set_attributes(GtkPlot3D *plot,
GtkPlotLineStyle style, gfloat width,
const GdkColor *color);
|
| plot | a GtkPlot3d widget |
| style | GTK_PLOT_LINE_NONE , GTK_PLOT_LINE_SOLID , GTK_PLOT_LINE_DOTTED , GTK_PLOT_LINE_DASHED , GTK_PLOT_LINE_DOT_DASH , GTK_PLOT_LINE_DOT_DOT_DASH , GTK_PLOT_LINE_DOT_DASH_DASH |
| width | |
| color |
void gtk_plot3d_corner_get_attributes(GtkPlot3D *plot,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
|
| plot | a GtkPlot3d widget |
| style | GTK_PLOT_LINE_NONE , GTK_PLOT_LINE_SOLID , GTK_PLOT_LINE_DOTTED , GTK_PLOT_LINE_DASHED , GTK_PLOT_LINE_DOT_DASH , GTK_PLOT_LINE_DOT_DOT_DASH , GTK_PLOT_LINE_DOT_DASH_DASH |
| width | |
| color |
void gtk_plot3d_frame_set_attributes (GtkPlot3D *plot,
GtkPlotLineStyle style,
gfloat width,
const GdkColor *color);
|
Set the attributes of the frame in the plot
| plot | a GtkPlot3d widget |
| style | GTK_PLOT_LINE_NONE , GTK_PLOT_LINE_SOLID , GTK_PLOT_LINE_DOTTED , GTK_PLOT_LINE_DASHED , GTK_PLOT_LINE_DOT_DASH , GTK_PLOT_LINE_DOT_DOT_DASH , GTK_PLOT_LINE_DOT_DASH_DASH |
| width | width of the frame |
| color | color of the frame |
void gtk_plot3d_frame_get_attributes (GtkPlot3D *plot,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
|
Get the attributes of the frame in a plot
| plot | a GtkPlot3d widget |
| style | GTK_PLOT_LINE_NONE , GTK_PLOT_LINE_SOLID , GTK_PLOT_LINE_DOTTED , GTK_PLOT_LINE_DASHED , GTK_PLOT_LINE_DOT_DASH , GTK_PLOT_LINE_DOT_DOT_DASH , GTK_PLOT_LINE_DOT_DASH_DASH |
| width | width of the frame |
| color | color of the frame |
GtkPlotAxis * gtk_plot3d_get_axis (GtkPlot3D *plot,
GtkPlotOrientation orientation);
|
| plot | a GtkPlot3d widget |
| orientation | GTK_PLOT_AXIS_X , GTK_PLOT_AXIS_Y , GTK_PLOT_AXIS_Z , |
| Return | GTK_PLOT_AXIS_LEFT , GTK_PLOT_AXIS_RIGHT , GTK_PLOT_AXIS_TOP , GTK_PLOT_AXIS_BOTTOM |
GtkPlotAxis * gtk_plot3d_get_side (GtkPlot3D *plot,
GtkPlotSide side);
|
| plot | a GtkPlot3d widget |
| side | GTK_PLOT_SIDE_XY GTK_PLOT_SIDE_XZ GTK_PLOT_SIDE_YX GTK_PLOT_SIDE_YZ GTK_PLOT_SIDE_ZX GTK_PLOT_SIDE_ZY |
| Return | GTK_PLOT_AXIS_LEFT , GTK_PLOT_AXIS_RIGHT , GTK_PLOT_AXIS_TOP , GTK_PLOT_AXIS_BOTTOM |
void gtk_plot3d_axis_show_major_ticks(GtkPlot3D *plot,
GtkPlotSide side,
gint ticks_mask);
|
| plot | a GtkPlot3d widget |
| side | GTK_PLOT_SIDE_XY GTK_PLOT_SIDE_XZ GTK_PLOT_SIDE_YX GTK_PLOT_SIDE_YZ GTK_PLOT_SIDE_ZX GTK_PLOT_SIDE_ZY |
| ticks_mask |
void gtk_plot3d_axis_show_minor_ticks(GtkPlot3D *plot,
GtkPlotSide side,
gint ticks_mask);
|
| plot | a GtkPlot3d widget |
| side | GTK_PLOT_SIDE_XY GTK_PLOT_SIDE_XZ GTK_PLOT_SIDE_YX GTK_PLOT_SIDE_YZ GTK_PLOT_SIDE_ZX GTK_PLOT_SIDE_ZY |
| ticks_mask |
void gtk_plot3d_axis_show_labels (GtkPlot3D *plot,
GtkPlotSide side,
gint label_mask);
|
| plot | a GtkPlot3d widget |
| side | GTK_PLOT_SIDE_XY GTK_PLOT_SIDE_XZ GTK_PLOT_SIDE_YX GTK_PLOT_SIDE_YZ GTK_PLOT_SIDE_ZX GTK_PLOT_SIDE_ZY |
| label_mask |
void gtk_plot3d_axis_show_title (GtkPlot3D *plot,
GtkPlotSide side);
|
Show the axis title.
| plot | a GtkPlot3d widget |
| side | GTK_PLOT_SIDE_XY GTK_PLOT_SIDE_XZ GTK_PLOT_SIDE_YX GTK_PLOT_SIDE_YZ GTK_PLOT_SIDE_ZX GTK_PLOT_SIDE_ZY |
void gtk_plot3d_axis_hide_title (GtkPlot3D *plot,
GtkPlotSide side);
|
Hide the axis title
| plot | a GtkPlot3d widget |
| side | GTK_PLOT_SIDE_XY GTK_PLOT_SIDE_XZ GTK_PLOT_SIDE_YX GTK_PLOT_SIDE_YZ GTK_PLOT_SIDE_ZX GTK_PLOT_SIDE_ZY |
void gtk_plot3d_axis_set_ticks (GtkPlot3D *plot,
GtkPlotOrientation axis,
gdouble major_step,
gint nminor);
|
| plot | |
| axis | |
| major_step | |
| nminor |
void gtk_plot3d_axis_set_major_ticks (GtkPlot3D *plot,
GtkPlotOrientation axis,
gdouble major_step);
|
| plot | |
| axis | |
| major_step |
void gtk_plot3d_axis_set_minor_ticks (GtkPlot3D *plot,
GtkPlotOrientation axis,
gint nminor);
|
| plot | |
| axis | |
| nminor |
void gtk_plot3d_axis_set_ticks_length(GtkPlot3D *plot,
GtkPlotOrientation axis,
gint length);
|
| plot | |
| axis | |
| length |
void gtk_plot3d_axis_set_ticks_width (GtkPlot3D *plot,
GtkPlotOrientation axis,
gfloat width);
|
| plot | |
| axis | |
| width |
void gtk_plot3d_axis_show_ticks (GtkPlot3D *plot,
GtkPlotSide side,
gint major_mask,
gint minor_mask);
|
| plot | |
| side | |
| major_mask,minor_mask |
void gtk_plot3d_set_titles_offset (GtkPlot3D *plot,
gint offset);
|
| plot | |
| offset |
void gtk_plot3d_major_grids_set_visible (GtkPlot3D *plot,
gboolean x,
gboolean y,
gboolean z);
|
| plot | |
| x,y,z |
void gtk_plot3d_minor_grids_set_visible (GtkPlot3D *plot,
gboolean x,
gboolean y,
gboolean z);
|
| plot | |
| x,y,z |
void gtk_plot3d_major_grids_visible (GtkPlot3D *plot,
gboolean *x,
gboolean *y,
gboolean *z);
|
| plot | |
| x,y,z |
void gtk_plot3d_minor_grids_visible (GtkPlot3D *plot,
gboolean *x,
gboolean *y,
gboolean *z);
|
| plot | |
| x,y,z |
void gtk_plot3d_major_zgrid_set_attributes (GtkPlot3D *plot,
GtkPlotLineStyle style, gfloat width,
const GdkColor *color);
|
| plot | |
| style | |
| width | |
| color |
void gtk_plot3d_major_zgrid_get_attributes (GtkPlot3D *plot,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
|
| plot | |
| style | |
| width | |
| color |
void gtk_plot3d_minor_zgrid_set_attributes (GtkPlot3D *plot,
GtkPlotLineStyle style,
gfloat width,
const GdkColor *color);
|
| plot | |
| style | |
| width | |
| color |
void gtk_plot3d_minor_zgrid_get_attributes (GtkPlot3D *plot,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
|
| plot | |
| style | |
| width | |
| color |
void (* get_pixel) (GtkWidget *widget,
gdouble x, gdouble y, gdouble z,
gdouble *px, gdouble *py, gdouble *pz);
|
| widget | |
| x,y,z | |
| px,py,pz |