37 #include "boost/variant.hpp"
38 #include "boost/bind.hpp"
44 #define _ONAN (-1.23456789E-300)
59 enum RegularColor {Black = 0, Red = 1, Green = 2, Blue = 3, Cyan = 4, Magenta = 5, Yellow = 6, DarkYellow = 7, Navy = 8,
60 Purple = 9, Wine = 10, Olive = 11, DarkCyan = 12, Royal= 13, Orange = 14, Violet = 15, Pink = 16, White = 17,
61 LightGray = 18, Gray = 19, LTYellow = 20, LTCyan = 21, LTMagenta = 22, DarkGray = 23};
67 unsigned char custom[3];
80 Rect(
short width = 0,
short height = 0)
100 return height() > 0 && width() > 0;
129 enum State {Normal, Minimized, Maximized};
142 Window(
const string& _name=
"",
const string& _label =
"",
bool _hidden =
false)
152 typedef boost::variant<double, string>
variant;
176 , valueTypeSpecification(0)
177 , significantDigits(6)
209 Excel(
const string& _name =
"",
const string& _label =
"",
int _maxRows = 0,
bool _hidden =
false,
bool _loose =
true)
210 :
Window(_name, _label, _hidden)
238 , valueTypeSpecification(0)
239 , significantDigits(6)
246 {coordinates.push_back(10.0);coordinates.push_back(10.0);coordinates.push_back(1.0);coordinates.push_back(1.0);};
276 Function(
const string& _name =
"",
unsigned int _index = 0)
305 , clientRect(_clientRect)
307 , fontSize(_fontSize)
308 , rotation(_rotation)
310 , borderType(_borderType)
335 : clockwiseRotation(false)
336 , formatAutomatic(false)
337 , formatValues(false)
338 , formatPercentages(false)
339 , formatCategories(false)
340 , positionAssociate(false)
442 enum Plot {
Line = 200, Scatter=201, LineSymbol=202, Column = 203, Area = 204, HiLoClose = 205, Box = 206,
443 ColumnFloat = 207, Vector = 208, PlotDot = 209, Wall3D = 210, Ribbon3D = 211, Bar3D = 212, ColumnStack = 213,
444 AreaStack = 214, Bar = 215, BarStack = 216, FlowVector = 218, Histogram = 219, MatrixImage = 220, Pie = 225,
445 Contour = 226, Unknown = 230, ErrorBar = 231, TextPlot = 232, XErrorBar = 233, SurfaceColorMap = 236,
446 SurfaceColorFill = 237, SurfaceWireframe = 238, SurfaceBars = 239, Line3D = 240, Text3D = 241, Mesh3D = 242,
447 XYZContour = 243, XYZTriangular = 245, LineSeries = 246, YErrorBar = 254, XYErrorBar = 255, GraphScatter3D = 0x8AF0,
448 GraphTrajectory3D = 0x8AF1, Polar = 0x00020000, SmithChart = 0x00040000, FillArea = 0x00800000};
449 enum LineStyle {Solid = 0, Dash = 1, Dot = 2, DashDot = 3, DashDotDot = 4, ShortDash = 5, ShortDot = 6, ShortDashDot = 7};
450 enum LineConnect {NoLine = 0, Straight = 1, TwoPointSegment = 2, ThreePointSegment = 3, BSpline = 8, Spline = 9, StepHorizontal = 11, StepVertical = 12, StepHCenter = 13, StepVCenter = 14, Bezier = 15};
565 enum Scale {Linear = 0, Log10 = 1, Probability = 2, Probit = 3, Reciprocal = 4, OffsetReciprocal = 5, Logit = 6, Ln = 7, Log2 = 8};
644 , borderType(Origin::
None)
650 : clientRect(bitmap.clientRect)
651 , attach(bitmap.attach)
653 , windowName(bitmap.windowName)
654 , borderType(bitmap.borderType)
658 data =
new unsigned char[size];
659 memcpy(data, bitmap.
data, size);
730 : imageProfileTool(0)
733 , exchangedAxes(false)
735 , orthographic3D(false)
736 {colorScale.visible =
false;};
741 return curves.end() != find_if(curves.begin(), curves.end(),
742 boost::bind(logical_or<bool>(), boost::bind(&GraphCurve::type, _1) == GraphCurve::Line3D,
743 boost::bind(&GraphCurve::type, _1) == GraphCurve::Mesh3D));
774 , connectMissingData(false)
797 ProjectNode(
const string& _name =
"",
NodeType _type = Folder,
const time_t _creationDate = time(NULL),
const time_t _modificationDate = time(NULL),
bool _active =
false)
800 , creationDate(_creationDate)
801 , modificationDate(_modificationDate)
809 #endif // ORIGIN_OBJ_H