Forge: plot3.h Source File

Forge

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

plot3.h
Go to the documentation of this file.
1 /*******************************************************
2 * Copyright (c) 2015-2019, ArrayFire
3 * All rights reserved.
4 *
5 * This file is distributed under 3-clause BSD license.
6 * The complete license agreement can be obtained at:
7 * http://arrayfire.com/licenses/BSD-3-Clause
8 ********************************************************/
9
10 #pragma once
11
12 #include <fg/defines.h>
13
14 namespace internal
15 {
16 class _Plot3;
17 }
18
19 namespace fg
20 {
21
27 class Plot3 {
28 private:
29 internal::_Plot3* value;
30
31 public:
42 FGAPI Plot3(unsigned pNumPoints, dtype pDataType, PlotType pPlotType=fg::FG_LINE, MarkerType pMarkerType=fg::FG_NONE);
43
49 FGAPI Plot3(const Plot3& other);
50
54 FGAPI ~Plot3();
55
61 FGAPI void setColor(fg::Color col);
62
70 FGAPI void setColor(float pRed, float pGreen, float pBlue);
71
82 FGAPI void setAxesLimits(float pXmax, float pXmin, float pYmax, float pYmin, float pZmax, float pZmin);
83
91 FGAPI void setAxesTitles(const char* pXTitle, const char* pYTitle, const char* pZTitle);
92
98 FGAPI float xmax() const;
99
105 FGAPI float xmin() const;
106
112 FGAPI float ymax() const;
113
119 FGAPI float ymin() const;
120
126 FGAPI float zmax() const;
127
133 FGAPI float zmin() const;
134
140 FGAPI unsigned vbo() const;
141
147 FGAPI unsigned size() const;
148
152 FGAPI internal::_Plot3* get() const;
153 };
154
155 }
fg::FG_LINE
Definition: defines.h:147
fg
Definition: CPUCopy.hpp:13
fg::Plot3
3d graph to display 3d line plots.
Definition: plot3.h:27
FGAPI
#define FGAPI
Definition: defines.h:32
defines.h
fg::dtype
dtype
Definition: defines.h:136
fg::PlotType
PlotType
Definition: defines.h:146
fg::MarkerType
MarkerType
Definition: defines.h:152
internal
Definition: font.h:13
fg::FG_NONE
Definition: defines.h:153
fg::Color
Color
Definition: defines.h:125