fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
Loading...
Searching...
No Matches
fplot_core::tri_surface_plot_data Type Reference

Provides a three-dimensional surface plot data set constructed of triangulated points. More...

Inheritance diagram for fplot_core::tri_surface_plot_data:
fplot_core::plot_data fplot_core::plot_object

Public Member Functions

procedure, public get_data_string tspd_get_data_cmd
 Gets the GNUPLOT command string containing the actual data to plot.
 
procedure, public get_command_string tspd_get_cmd
 Returns the appropriate GNUPLOT command string to define the plot object properties.
 
procedure, public get_use_wireframe tspd_get_wireframe
 Gets a value determining if a wireframe mesh should be displayed.
 
procedure, public set_use_wireframe tspd_set_wireframe
 Sets a value determining if a wireframe mesh should be displayed.
 
procedure, public define_data tspd_define_data
 Defines the data to plot.
 
- Public Member Functions inherited from fplot_core::plot_data
procedure, public get_name pd_get_name
 Gets the name to associate with this data set.
 
procedure, public set_name pd_set_name
 Sets the name to associate with this data set.
 

Public Attributes

real(real64), dimension(:), allocatable m_y
 An array of the y-coordinates of each point.
 
real(real64), dimension(:), allocatable m_z
 An array of the z-coordinates of each point.
 
integer(int32), dimension(:,:), allocatable m_indices
 A 3-column matrix containing the indices of each triangle's vertex.
 
logical m_wireframe = .true.
 Determines if the surface should be drawn as a wireframe.
 

Private Attributes

real(real64), dimension(:), allocatable m_x
 An array of the x-coordinates of each point.
 

Detailed Description

Provides a three-dimensional surface plot data set constructed of triangulated points.

Definition at line 7123 of file fplot_core.f90.

Member Function/Subroutine Documentation

◆ define_data()

procedure, public fplot_core::tri_surface_plot_data::define_data

Defines the data to plot.

Syntax
subroutine define_data(class(tri_surface_plot_data) this, class(delaunay_tri_surface) tri)
Parameters
[in,out]thisThe tri_surface_plot_data object.
[in]triThe triangulation to plot.

Definition at line 7172 of file fplot_core.f90.

◆ get_command_string()

procedure, public fplot_core::tri_surface_plot_data::get_command_string
virtual

Returns the appropriate GNUPLOT command string to define the plot object properties.

Implements fplot_core::plot_object.

Definition at line 7138 of file fplot_core.f90.

◆ get_data_string()

procedure, public fplot_core::tri_surface_plot_data::get_data_string
virtual

Gets the GNUPLOT command string containing the actual data to plot.

Implements fplot_core::plot_data.

Definition at line 7137 of file fplot_core.f90.

◆ get_use_wireframe()

procedure, public fplot_core::tri_surface_plot_data::get_use_wireframe

Gets a value determining if a wireframe mesh should be displayed.

Syntax
logical function get_use_wireframe(class(tri_surface_plot_data) this)
Parameters
[in]thisThe tri_surface_plot_data object.
Returns
Returns true if the plot is to be drawn as a wireframe; else, false to draw as a surface.

Definition at line 7150 of file fplot_core.f90.

◆ set_use_wireframe()

procedure, public fplot_core::tri_surface_plot_data::set_use_wireframe

Sets a value determining if a wireframe mesh should be displayed.

Syntax
subroutine set_use_wireframe(class(tri_surface_plot_data) this, logical x)
Parameters
[in,out]thisThe tri_surface_plot_data object.
[in]xSet to true if the plot is to be drawn as a wireframe; else, set to false to draw as a surface.

Definition at line 7162 of file fplot_core.f90.

Member Data Documentation

◆ m_indices

integer(int32), dimension(:,:), allocatable fplot_core::tri_surface_plot_data::m_indices

A 3-column matrix containing the indices of each triangle's vertex.

Definition at line 7133 of file fplot_core.f90.

◆ m_wireframe

logical fplot_core::tri_surface_plot_data::m_wireframe = .true.

Determines if the surface should be drawn as a wireframe.

Definition at line 7135 of file fplot_core.f90.

◆ m_x

real(real64), dimension(:), allocatable fplot_core::tri_surface_plot_data::m_x
private

An array of the x-coordinates of each point.

Definition at line 7126 of file fplot_core.f90.

◆ m_y

real(real64), dimension(:), allocatable fplot_core::tri_surface_plot_data::m_y

An array of the y-coordinates of each point.

Definition at line 7128 of file fplot_core.f90.

◆ m_z

real(real64), dimension(:), allocatable fplot_core::tri_surface_plot_data::m_z

An array of the z-coordinates of each point.

Definition at line 7130 of file fplot_core.f90.


The documentation for this type was generated from the following file: