Toc Gallery Index Tree Gtk.Extra.Plot_Surface

Hierarchy

Description

A special kind of data set that stores three-dimensional data.

Types

Subprograms

  • procedure Gtk_New (Widget : out Gtk_Plot_Surface; Func : Gtk.Extra.Plot.Plot3D_Function := null);
    Create a new surface. If Func is null, you have to explicitely specify the set of points found in the data set. Otherwise, the points will be generated automatically from Func.
  • procedure Initialize (Widget : access Gtk_Plot_Surface_Record'Class; Func : Gtk.Extra.Plot.Plot3D_Function := null);
    Internal initialization function. See the section "Creating your own widgets" in the documentation.
  • function Get_Type return Gtk.Gtk_Type;
    Return the internal value associated with this widget.
  • function Get_Grid_Visible (Data : access Gtk_Plot_Surface_Record) return Boolean;
    Return True if the grid is currently visible for this data set.
  • procedure Set_Grid_Visible (Data : access Gtk_Plot_Surface_Record; Visible : Boolean);
    Choose whether the grid should be visible
  • function Get_Mesh_Visible (Data : access Gtk_Plot_Surface_Record) return Boolean;
    Return True if the wireframe mesh should be drawn.
  • procedure Set_Mesh_Visible (Data : access Gtk_Plot_Surface_Record; Visible : Boolean);
    Indicate whether the wireframe mesh should be visible.
  • function Get_Nx (Data : access Gtk_Plot_Surface_Record) return Gint;
    function Get_Ny (Data : access Gtk_Plot_Surface_Record) return Gint;
    Return the number of points along each coordinate, when drawing a data set based on a function.
  • procedure Set_Nx (Data : access Gtk_Plot_Surface_Record; Nx : Gint);
    procedure Set_Ny (Data : access Gtk_Plot_Surface_Record; Ny : Gint);
    Set the number of points along each coordinate
  • procedure Set_Points (Data : access Gtk_Plot_Surface_Record; X : Gdouble_Array_Access; Y : Gdouble_Array_Access; Z : Gdouble_Array_Access; Dx : Gdouble_Array_Access; Dy : Gdouble_Array_Access; Dz : Gdouble_Array_Access);
    Set all the values of the data set at once.
  • procedure Get_Points (Data : access Gtk_Plot_Surface_Record; X : out Points_Array; Y : out Points_Array; Z : out Points_Array; Dx : out Points_Array; Dy : out Points_Array; Dz : out Points_Array);
    Return the values contained in the data set.
  • function Get_X (Data : access Gtk_Plot_Surface_Record) return Points_Array;
    function Get_Y (Data : access Gtk_Plot_Surface_Record) return Points_Array;
    function Get_Z (Data : access Gtk_Plot_Surface_Record) return Points_Array;
    Return the values contained in the data set.
  • function Get_Xstep (Data : access Gtk_Plot_Surface_Record) return Gdouble;
    function Get_Ystep (Data : access Gtk_Plot_Surface_Record) return Gdouble;
    Return the step between two points along one of the axis
  • procedure Set_Xstep (Data : access Gtk_Plot_Surface_Record; Step : Gdouble);
    procedure Set_Ystep (Data : access Gtk_Plot_Surface_Record; Step : Gdouble);
    Set the step between two points along one of the axis
  • procedure Set_Color (Data : access Gtk_Plot_Surface_Record; Color : Gdk.Color.Gdk_Color);
    Set the color to use for the surface
  • procedure Set_Shadow (Data : access Gtk_Plot_Surface_Record; Color : Gdk.Color.Gdk_Color);
    Set the color to use for the shadows.
  • procedure Set_Grid_Foreground (Data : access Gtk_Plot_Surface_Record; Foreground : Gdk.Color.Gdk_Color);
    Set the foreground color to use for the grid
  • procedure Set_Grid_Background (Data : access Gtk_Plot_Surface_Record; Background : Gdk.Color.Gdk_Color);
    Set the background color to use for the grid
  • procedure Set_Transparent (Data : access Gtk_Plot_Surface_Record; Transparent : Boolean);
    Whether the plot is transparent. If Transparent is true, all background attributes are ignored
  • procedure Build_Mesh (Data : access Gtk_Plot_Surface_Record);
    ???
  • procedure Recalc_Nodes (Data : access Gtk_Plot_Surface_Record);
    ???
  • Lightning model

  • procedure Set_Ambient (Data : access Gtk_Plot_Surface_Record; Ambient : Gdouble);
    Set the ambient
  • procedure Set_Light (Data : access Gtk_Plot_Surface_Record; X, Y, Z : Gdouble);
    Set the orientation of the light vector
  • procedure Use_Height_Gradient (Data : access Gtk_Plot_Surface_Record; Use_Gradient : Boolean);
    ???
  • procedure Use_Amplitud (Data : access Gtk_Plot_Surface_Record; Amplitud : Boolean);

Signals

Alphabetical Index