liborigin 2.0.0

/tmp/slackdce/slackrepo.5NA6jZ/build_liborigin/liborigin/OriginObj.h
Go to the documentation of this file.
1/***************************************************************************
2 File : OriginObj.h
3 --------------------------------------------------------------------
4 Copyright : (C) 2005-2007 Stefan Gerlach
5 (C) 2007-2008 Alex Kargovsky, Ion Vasilief
6 Email (use @ for *) : kargovsky*yumr.phys.msu.su, ion_vasilief*yahoo.fr
7 Description : Origin internal object classes
8
9 ***************************************************************************/
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 * This program is distributed in the hope that it will be useful, *
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
21 * GNU General Public License for more details. *
22 * *
23 * You should have received a copy of the GNU General Public License *
24 * along with this program; if not, write to the Free Software *
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
26 * Boston, MA 02110-1301 USA *
27 * *
28 ***************************************************************************/
29
30
31#ifndef ORIGIN_OBJ_H
32#define ORIGIN_OBJ_H
33
34#include <cstring>
35#include <ctime>
36#include <vector>
37#include "boost/variant.hpp"
38
39 using namespace std;
40
41#define _ONAN (-1.23456789E-300)
42
43 namespace Origin
44{
45 enum ValueType {Numeric = 0, Text = 1, Time = 2, Date = 3, Month = 4, Day = 5, ColumnHeading = 6, TickIndexedDataset = 7, TextNumeric = 9, Categorical = 10};
46 enum NumericDisplayType {DefaultDecimalDigits = 0, DecimalPlaces = 1, SignificantDigits = 2};
47 enum Attach {Frame = 0, Page = 1, Scale = 2};
48 enum BorderType {BlackLine = 0, Shadow = 1, DarkMarble = 2, WhiteOut = 3, BlackOut = 4, None = -1};
49 enum FillPattern {NoFill, BDiagDense, BDiagMedium, BDiagSparse, FDiagDense, FDiagMedium, FDiagSparse,
50 DiagCrossDense, DiagCrossMedium, DiagCrossSparse, HorizontalDense, HorizontalMedium, HorizontalSparse,
51 VerticalDense, VerticalMedium, VerticalSparse, CrossDense, CrossMedium, CrossSparse};
52
53 struct Color
54 {
55 enum ColorType {None, Automatic, Regular, Custom, Increment, Indexing, RGB, Mapping};
56 enum RegularColor {Black = 0, Red = 1, Green = 2, Blue = 3, Cyan = 4, Magenta = 5, Yellow = 6, DarkYellow = 7, Navy = 8,
57 Purple = 9, Wine = 10, Olive = 11, DarkCyan = 12, Royal= 13, Orange = 14, Violet = 15, Pink = 16, White = 17,
58 LightGray = 18, Gray = 19, LTYellow = 20, LTCyan = 21, LTMagenta = 22, DarkGray = 23/*, Custom = 255*/};
59
60 ColorType type;
61 union
62 {
63 unsigned char regular;
64 unsigned char custom[3];
65 unsigned char starting;
66 unsigned char column;
67 };
68 };
69
70 struct Rect
71 {
72 short left;
73 short top;
74 short right;
75 short bottom;
76
77 Rect(short width = 0, short height = 0)
78 : left(0)
79 , top(0)
80 , right(width)
81 , bottom(height)
82 {
83 };
84
85 int height() const
86 {
87 return bottom - top;
88 };
89
90 int width() const
91 {
92 return right - left;
93 };
94
95 bool isValid() const
96 {
97 return height() > 0 && width() > 0;
98 }
99 };
100
101 struct ColorMapLevel
102 {
103 Color fillColor;
104 unsigned char fillPattern;
105 Color fillPatternColor;
106 double fillPatternLineWidth;
107
108 bool lineVisible;
109 Color lineColor;
110 unsigned char lineStyle;
111 double lineWidth;
112
113 bool labelVisible;
114 };
115
116 typedef vector<pair<double, ColorMapLevel> > ColorMapVector;
117
118 struct ColorMap
119 {
120 bool fillEnabled;
121 ColorMapVector levels;
122 };
123
124 struct Window
125 {
126 enum State {Normal, Minimized, Maximized};
127 enum Title {Name, Label, Both};
128
129 string name;
130 string label;
131 int objectID;
132 bool hidden;
133 State state;
134 Title title;
135 Rect frameRect;
136 time_t creationDate;
137 time_t modificationDate;
138
139 Window(const string& _name= "", const string& _label = "", bool _hidden = false)
140 : name(_name)
141 , label(_label)
142 , objectID(-1)
143 , hidden(_hidden)
144 , state(Normal)
145 , title(Both)
146 {};
147 };
148
149 typedef boost::variant<double, string> variant;
150
151 struct SpreadColumn
152 {
153 enum ColumnType {X, Y, Z, XErr, YErr, Label, NONE};
154
155 string name;
156 ColumnType type;
157 ValueType valueType;
158 int valueTypeSpecification;
159 int significantDigits;
160 int decimalPlaces;
161 NumericDisplayType numericDisplayType;
162 string command;
163 string comment;
164 int width;
165 unsigned int index;
166 unsigned int sheet;
167 vector<variant> data;
168
169 SpreadColumn(const string& _name = "", unsigned int _index = 0)
170 : name(_name)
171 , valueType(Numeric)
172 , valueTypeSpecification(0)
173 , significantDigits(6)
174 , decimalPlaces(6)
175 , numericDisplayType(DefaultDecimalDigits)
176 , command("")
177 , comment("")
178 , width(8)
179 , index(_index)
180 , sheet(0)
181 {};
182 };
183
184 struct SpreadSheet : public Window
185 {
186 unsigned int maxRows;
187 bool loose;
188 bool multisheet;
189 unsigned int sheets;
190 vector<SpreadColumn> columns;
191
192 SpreadSheet(const string& _name = "")
193 : Window(_name)
194 , loose(true)
195 , multisheet(false)
196 , sheets(1)
197 {};
198 };
199
200 struct Excel : public Window
201 {
202 unsigned int maxRows;
203 bool loose;
204 vector<SpreadSheet> sheets;
205
206 Excel(const string& _name = "", const string& _label = "", int _maxRows = 0, bool _hidden = false, bool _loose = true)
207 : Window(_name, _label, _hidden)
208 , maxRows(_maxRows)
209 , loose(_loose)
210 {
211 };
212 };
213
214 struct Matrix : public Window
215 {
216 enum ViewType {DataView, ImageView};
217 enum HeaderViewType {ColumnRow, XY};
218
219 unsigned short rowCount;
220 unsigned short columnCount;
221 int valueTypeSpecification;
222 int significantDigits;
223 int decimalPlaces;
224 NumericDisplayType numericDisplayType;
225 string command;
226 int width;
227 unsigned int index;
228 unsigned int sheets;
229 ViewType view;
230 HeaderViewType header;
231 ColorMap colorMap;
232 vector<double> data;
233 vector<double> coordinates;
234
235 Matrix(const string& _name = "", unsigned int _index = 0)
236 : Window(_name)
237 , valueTypeSpecification(0)
238 , significantDigits(6)
239 , decimalPlaces(6)
240 , numericDisplayType(DefaultDecimalDigits)
241 , command("")
242 , width(8)
243 , index(_index)
244 , sheets(1)
245 , view(DataView)
246 , header(ColumnRow)
247 {coordinates.push_back(10.0);coordinates.push_back(10.0);coordinates.push_back(1.0);coordinates.push_back(1.0);};
248 };
249
250 struct Function
251 {
252 enum FunctionType {Normal, Polar};
253
254 string name;
255 FunctionType type;
256 string formula;
257 double begin;
258 double end;
259 int totalPoints;
260 unsigned int index;
261
262 Function(const string& _name = "", unsigned int _index = 0)
263 : name(_name)
264 , type(Normal)
265 , formula("")
266 , begin(0.0)
267 , end(0.0)
268 , totalPoints(0)
269 , index(_index)
270 {};
271 };
272
273
274 struct TextBox
275 {
276 string text;
277 Rect clientRect;
278 Color color;
279 unsigned short fontSize;
280 int rotation;
281 int tab;
282 BorderType borderType;
283 Attach attach;
284
285 TextBox(const string& _text = "")
286 : text(_text)
287 {};
288
289 TextBox(const string& _text, const Rect& _clientRect, const Color& _color, unsigned short _fontSize, int _rotation, int _tab, BorderType _borderType, Attach _attach)
290 : text(_text)
291 , clientRect(_clientRect)
292 , color(_color)
293 , fontSize(_fontSize)
294 , rotation(_rotation)
295 , tab(_tab)
296 , borderType(_borderType)
297 , attach(_attach)
298 {};
299 };
300
301 struct PieProperties
302 {
303 unsigned char viewAngle;
304 unsigned char thickness;
305 bool clockwiseRotation;
306 short rotation;
307 unsigned short radius;
308 unsigned short horizontalOffset;
309 unsigned long displacedSectionCount; // maximum - 32 sections
310 unsigned short displacement;
311
312 //labels
313 bool formatAutomatic;
314 bool formatValues;
315 bool formatPercentages;
316 bool formatCategories;
317 bool positionAssociate;
318 unsigned short distance;
319
320 PieProperties()
321 : clockwiseRotation(false)
322 , formatAutomatic(false)
323 , formatValues(false)
324 , formatPercentages(false)
325 , formatCategories(false)
326 , positionAssociate(false)
327 {};
328 };
329
330 struct VectorProperties
331 {
332 enum VectorPosition {Tail, Midpoint, Head};
333
334 Color color;
335 double width;
336 unsigned short arrowLenght;
337 unsigned char arrowAngle;
338 bool arrowClosed;
339 string endXColumnName;
340 string endYColumnName;
341
342 VectorPosition position;
343 string angleColumnName;
344 string magnitudeColumnName;
345 float multiplier;
346 int constAngle;
347 int constMagnitude;
348
349 VectorProperties()
350 : arrowClosed(false)
351 , position(Tail)
352 , multiplier(1.0)
353 , constAngle(0)
354 , constMagnitude(0)
355 {};
356 };
357
358 struct TextProperties
359 {
360 enum Justify {Left, Center, Right};
361
362 Color color;
363 bool fontBold;
364 bool fontItalic;
365 bool fontUnderline;
366 bool whiteOut;
367 Justify justify;
368
369 short rotation;
370 short xOffset;
371 short yOffset;
372 unsigned short fontSize;
373 };
374
375 struct SurfaceProperties
376 {
377 struct SurfaceColoration
378 {
379 bool fill;
380 bool contour;
381 Color lineColor;
382 double lineWidth;
383 };
384
385 enum Type {ColorMap3D, ColorFill, WireFrame, Bars};
386 enum Grids {None, X, Y, XY};
387
388 unsigned char type;
389 Grids grids;
390 double gridLineWidth;
391 Color gridColor;
392
393 bool backColorEnabled;
394 Color frontColor;
395 Color backColor;
396
397 bool sideWallEnabled;
398 Color xSideWallColor;
399 Color ySideWallColor;
400
401 SurfaceColoration surface;
402 SurfaceColoration topContour;
403 SurfaceColoration bottomContour;
404
405 ColorMap colorMap;
406 };
407
408 struct PercentileProperties
409 {
410 unsigned char maxSymbolType;
411 unsigned char p99SymbolType;
412 unsigned char meanSymbolType;
413 unsigned char p1SymbolType;
414 unsigned char minSymbolType;
415 Color symbolColor;
416 Color symbolFillColor;
417 unsigned short symbolSize;
418 unsigned char boxRange;
419 unsigned char whiskersRange;
420 double boxCoeff;
421 double whiskersCoeff;
422 bool diamondBox;
423 };
424
425 struct GraphCurve
426 {
427 enum Plot {Line = 200, Scatter=201, LineSymbol=202, Column = 203, Area = 204, HiLoClose = 205, Box = 206,
428 ColumnFloat = 207, Vector = 208, PlotDot = 209, Wall3D = 210, Ribbon3D = 211, Bar3D = 212, ColumnStack = 213,
429 AreaStack = 214, Bar = 215, BarStack = 216, FlowVector = 218, Histogram = 219, MatrixImage = 220, Pie = 225,
430 Contour = 226, Unknown = 230, ErrorBar = 231, TextPlot = 232, XErrorBar = 233, SurfaceColorMap = 236,
431 SurfaceColorFill = 237, SurfaceWireframe = 238, SurfaceBars = 239, Line3D = 240, Text3D = 241, Mesh3D = 242,
432 XYZContour = 243, XYZTriangular = 245, LineSeries = 246, YErrorBar = 254, XYErrorBar = 255, GraphScatter3D = 0x8AF0,
433 GraphTrajectory3D = 0x8AF1, Polar = 0x00020000, SmithChart = 0x00040000, FillArea = 0x00800000};
434 enum LineStyle {Solid = 0, Dash = 1, Dot = 2, DashDot = 3, DashDotDot = 4, ShortDash = 5, ShortDot = 6, ShortDashDot = 7};
435 enum LineConnect {NoLine = 0, Straight = 1, TwoPointSegment = 2, ThreePointSegment = 3, BSpline = 8, Spline = 9, StepHorizontal = 11, StepVertical = 12, StepHCenter = 13, StepVCenter = 14, Bezier = 15};
436
437 unsigned char type;
438 string dataName;
439 string xColumnName;
440 string yColumnName;
441 string zColumnName;
442 Color lineColor;
443 unsigned char lineStyle;
444 unsigned char lineConnect;
445 unsigned char boxWidth;
446 double lineWidth;
447
448 bool fillArea;
449 unsigned char fillAreaType;
450 unsigned char fillAreaPattern;
451 Color fillAreaColor;
452 Color fillAreaPatternColor;
453 double fillAreaPatternWidth;
454 unsigned char fillAreaPatternBorderStyle;
455 Color fillAreaPatternBorderColor;
456 double fillAreaPatternBorderWidth;
457
458 unsigned short symbolType;
459 Color symbolColor;
460 Color symbolFillColor;
461 double symbolSize;
462 unsigned char symbolThickness;
463 unsigned char pointOffset;
464
465 bool connectSymbols;
466
467 //pie
468 PieProperties pie;
469
470 //vector
471 VectorProperties vector;
472
473 //text
474 TextProperties text;
475
476 //surface
477 SurfaceProperties surface;
478
479 //contour
480 ColorMap colorMap;
481 };
482
483 struct GraphAxisBreak
484 {
485 bool show;
486
487 bool log10;
488 double from;
489 double to;
490 double position;
491
492 double scaleIncrementBefore;
493 double scaleIncrementAfter;
494
495 unsigned char minorTicksBefore;
496 unsigned char minorTicksAfter;
497
498 GraphAxisBreak()
499 : show(false)
500 {};
501 };
502
503 struct GraphGrid
504 {
505 bool hidden;
506 unsigned char color;
507 unsigned char style;
508 double width;
509 };
510
511 struct GraphAxisFormat
512 {
513 bool hidden;
514 unsigned char color;
515 double thickness;
516 double majorTickLength;
517 int majorTicksType;
518 int minorTicksType;
519 int axisPosition;
520 double axisPositionValue;
521 TextBox label;
522 string prefix;
523 string suffix;
524 };
525
526 struct GraphAxisTick
527 {
528 bool hidden;
529 unsigned char color;
530 ValueType valueType;
531 int valueTypeSpecification;
532 int decimalPlaces;
533 unsigned short fontSize;
534 bool fontBold;
535 string dataName;
536 string columnName;
537 int rotation;
538 };
539
540 struct GraphAxis
541 {
542 enum AxisPosition {Left = 0, Bottom, Right, Top, Front, Back};
543 enum Scale {Linear = 0, Log10 = 1, Probability = 2, Probit = 3, Reciprocal = 4, OffsetReciprocal = 5, Logit = 6, Ln = 7, Log2 = 8};
544
545 AxisPosition position;
546 double min;
547 double max;
548 double step;
549 unsigned char majorTicks;
550 unsigned char minorTicks;
551 unsigned char scale;
552 GraphGrid majorGrid;
553 GraphGrid minorGrid;
554 GraphAxisFormat formatAxis[2];
555 GraphAxisTick tickAxis[2]; //bottom-top, left-right
556 };
557
558 struct Figure
559 {
560 enum FigureType {Rectangle, Circle};
561
562 FigureType type;
563 Rect clientRect;
564 Attach attach;
565 Color color;
566 unsigned char style;
567 double width;
568 Color fillAreaColor;
569 unsigned char fillAreaPattern;
570 Color fillAreaPatternColor;
571 double fillAreaPatternWidth;
572 bool useBorderColor;
573
574 Figure(FigureType _type = Rectangle)
575 : type(_type)
576 {
577 };
578 };
579
580 struct LineVertex
581 {
582 unsigned char shapeType;
583 double shapeWidth;
584 double shapeLength;
585 double x;
586 double y;
587
588 LineVertex()
589 : shapeType(0)
590 , shapeWidth(0.0)
591 , shapeLength(0.0)
592 , x(0.0)
593 , y(0.0)
594 {};
595 };
596
597 struct Line
598 {
599 Rect clientRect;
600 Color color;
601 Attach attach;
602 double width;
603 unsigned char style;
604 LineVertex begin;
605 LineVertex end;
606 };
607
608 struct Bitmap
609 {
610 Rect clientRect;
611 Attach attach;
612 unsigned long size;
613 string windowName;
614 BorderType borderType;
615 unsigned char* data;
616
617 Bitmap(const string& _name = "")
618 : size(0)
619 , windowName(_name)
620 , borderType(Origin::None)
621 , data(0)
622 {
623 };
624
625 Bitmap(const Bitmap& bitmap)
626 : clientRect(bitmap.clientRect)
627 , attach(bitmap.attach)
628 , size(bitmap.size)
629 , windowName(bitmap.windowName)
630 , borderType(bitmap.borderType)
631 {
632 if(size > 0)
633 {
634 data = new unsigned char[size];
635 memcpy(data, bitmap.data, size);
636 }
637 };
638
639 ~Bitmap()
640 {
641 if(size > 0)
642 delete data;
643 };
644 };
645
646 struct ColorScale
647 {
648 bool reverseOrder;
649 unsigned short labelGap;
650 unsigned short colorBarThickness;
651 Color labelsColor;
652 };
653
654 struct GraphLayer
655 {
656 Rect clientRect;
657 TextBox legend;
658 Color backgroundColor;
659 BorderType borderType;
660
661 GraphAxis xAxis;
662 GraphAxis yAxis;
663 GraphAxis zAxis;
664
665 GraphAxisBreak xAxisBreak;
666 GraphAxisBreak yAxisBreak;
667 GraphAxisBreak zAxisBreak;
668
669 double histogramBin;
670 double histogramBegin;
671 double histogramEnd;
672
673 PercentileProperties percentile;
674 ColorScale colorScale;
675
676 vector<TextBox> texts;
677 vector<TextBox> pieTexts;
678 vector<Line> lines;
679 vector<Figure> figures;
680 vector<Bitmap> bitmaps;
681 vector<GraphCurve> curves;
682
683 float xLength;
684 float yLength;
685 float zLength;
686
687 bool imageProfileTool;
688 double vLine;
689 double hLine;
690
691 bool isXYY3D;
692
693 GraphLayer()
694 : imageProfileTool(false)
695 , isXYY3D(false)
696 {};
697
698 //bool threeDimensional;
699 bool is3D() const
700 {
701 for (vector<GraphCurve>::const_iterator it = curves.begin(); it != curves.end(); ++it)
702 {
703 if (it->type == GraphCurve::Line3D) return true;
704 if (it->type == GraphCurve::Mesh3D) return true;
705 }
706 return false;
707 }
708 };
709
710 struct GraphLayerRange
711 {
712 double min;
713 double max;
714 double step;
715
716 GraphLayerRange(double _min = 0.0, double _max = 0.0, double _step = 0.0)
717 : min(_min)
718 , max(_max)
719 , step(_step)
720 {};
721 };
722
723 struct Graph : public Window
724 {
725 vector<GraphLayer> layers;
726 unsigned short width;
727 unsigned short height;
728 bool is3D;
729 bool isLayout;
730
731 Graph(const string& _name = "")
732 : Window(_name)
733 , is3D(false)
734 , isLayout(false)
735 {};
736 };
737
738 struct Note : public Window
739 {
740 string text;
741 Note(const string& _name = "")
742 : Window(_name)
743 {};
744 };
745
746 struct ProjectNode
747 {
748 enum NodeType {SpreadSheet, Matrix, Excel, Graph, Graph3D, Note, Folder};
749
750 NodeType type;
751 string name;
752 time_t creationDate;
753 time_t modificationDate;
754
755 ProjectNode(const string& _name = "", NodeType _type = Folder, const time_t _creationDate = time(NULL), const time_t _modificationDate = time(NULL))
756 : type(_type)
757 , name(_name)
758 , creationDate(_creationDate)
759 , modificationDate(_modificationDate)
760 {};
761 };
762}
763
764
765
766#endif // ORIGIN_OBJ_H
Origin
Definition: OriginObj.h:44
Origin::ColorMapVector
vector< pair< double, ColorMapLevel > > ColorMapVector
Definition: OriginObj.h:116
Origin::Attach
Attach
Definition: OriginObj.h:47
Origin::Page
@ Page
Definition: OriginObj.h:47
Origin::Scale
@ Scale
Definition: OriginObj.h:47
Origin::Frame
@ Frame
Definition: OriginObj.h:47
Origin::variant
boost::variant< double, string > variant
Definition: OriginObj.h:149
Origin::BorderType
BorderType
Definition: OriginObj.h:48
Origin::None
@ None
Definition: OriginObj.h:48
Origin::BlackLine
@ BlackLine
Definition: OriginObj.h:48
Origin::WhiteOut
@ WhiteOut
Definition: OriginObj.h:48
Origin::Shadow
@ Shadow
Definition: OriginObj.h:48
Origin::BlackOut
@ BlackOut
Definition: OriginObj.h:48
Origin::DarkMarble
@ DarkMarble
Definition: OriginObj.h:48
Origin::FillPattern
FillPattern
Definition: OriginObj.h:49
Origin::CrossDense
@ CrossDense
Definition: OriginObj.h:51
Origin::FDiagSparse
@ FDiagSparse
Definition: OriginObj.h:49
Origin::BDiagDense
@ BDiagDense
Definition: OriginObj.h:49
Origin::FDiagMedium
@ FDiagMedium
Definition: OriginObj.h:49
Origin::DiagCrossMedium
@ DiagCrossMedium
Definition: OriginObj.h:50
Origin::BDiagMedium
@ BDiagMedium
Definition: OriginObj.h:49
Origin::CrossMedium
@ CrossMedium
Definition: OriginObj.h:51
Origin::HorizontalDense
@ HorizontalDense
Definition: OriginObj.h:50
Origin::HorizontalSparse
@ HorizontalSparse
Definition: OriginObj.h:50
Origin::VerticalMedium
@ VerticalMedium
Definition: OriginObj.h:51
Origin::BDiagSparse
@ BDiagSparse
Definition: OriginObj.h:49
Origin::HorizontalMedium
@ HorizontalMedium
Definition: OriginObj.h:50
Origin::FDiagDense
@ FDiagDense
Definition: OriginObj.h:49
Origin::DiagCrossDense
@ DiagCrossDense
Definition: OriginObj.h:50
Origin::VerticalSparse
@ VerticalSparse
Definition: OriginObj.h:51
Origin::NoFill
@ NoFill
Definition: OriginObj.h:49
Origin::DiagCrossSparse
@ DiagCrossSparse
Definition: OriginObj.h:50
Origin::CrossSparse
@ CrossSparse
Definition: OriginObj.h:51
Origin::VerticalDense
@ VerticalDense
Definition: OriginObj.h:51
Origin::ValueType
ValueType
Definition: OriginObj.h:45
Origin::TickIndexedDataset
@ TickIndexedDataset
Definition: OriginObj.h:45
Origin::Month
@ Month
Definition: OriginObj.h:45
Origin::ColumnHeading
@ ColumnHeading
Definition: OriginObj.h:45
Origin::Categorical
@ Categorical
Definition: OriginObj.h:45
Origin::TextNumeric
@ TextNumeric
Definition: OriginObj.h:45
Origin::Date
@ Date
Definition: OriginObj.h:45
Origin::Time
@ Time
Definition: OriginObj.h:45
Origin::Numeric
@ Numeric
Definition: OriginObj.h:45
Origin::Text
@ Text
Definition: OriginObj.h:45
Origin::Day
@ Day
Definition: OriginObj.h:45
Origin::NumericDisplayType
NumericDisplayType
Definition: OriginObj.h:46
Origin::DecimalPlaces
@ DecimalPlaces
Definition: OriginObj.h:46
Origin::SignificantDigits
@ SignificantDigits
Definition: OriginObj.h:46
Origin::DefaultDecimalDigits
@ DefaultDecimalDigits
Definition: OriginObj.h:46
std
Definition: endianfstream.hh:36
Origin::Bitmap
Definition: OriginObj.h:609
Origin::Bitmap::borderType
BorderType borderType
Definition: OriginObj.h:614
Origin::Bitmap::clientRect
Rect clientRect
Definition: OriginObj.h:610
Origin::Bitmap::data
unsigned char * data
Definition: OriginObj.h:615
Origin::Bitmap::Bitmap
Bitmap(const string &_name="")
Definition: OriginObj.h:617
Origin::Bitmap::~Bitmap
~Bitmap()
Definition: OriginObj.h:639
Origin::Bitmap::Bitmap
Bitmap(const Bitmap &bitmap)
Definition: OriginObj.h:625
Origin::Bitmap::size
unsigned long size
Definition: OriginObj.h:612
Origin::Bitmap::windowName
string windowName
Definition: OriginObj.h:613
Origin::Bitmap::attach
Attach attach
Definition: OriginObj.h:611
Origin::ColorMapLevel
Definition: OriginObj.h:102
Origin::ColorMapLevel::lineColor
Color lineColor
Definition: OriginObj.h:109
Origin::ColorMapLevel::fillPatternColor
Color fillPatternColor
Definition: OriginObj.h:105
Origin::ColorMapLevel::labelVisible
bool labelVisible
Definition: OriginObj.h:113
Origin::ColorMapLevel::lineVisible
bool lineVisible
Definition: OriginObj.h:108
Origin::ColorMapLevel::fillColor
Color fillColor
Definition: OriginObj.h:103
Origin::ColorMapLevel::lineStyle
unsigned char lineStyle
Definition: OriginObj.h:110
Origin::ColorMapLevel::fillPattern
unsigned char fillPattern
Definition: OriginObj.h:104
Origin::ColorMapLevel::lineWidth
double lineWidth
Definition: OriginObj.h:111
Origin::ColorMapLevel::fillPatternLineWidth
double fillPatternLineWidth
Definition: OriginObj.h:106
Origin::ColorMap
Definition: OriginObj.h:119
Origin::ColorMap::levels
ColorMapVector levels
Definition: OriginObj.h:121
Origin::ColorMap::fillEnabled
bool fillEnabled
Definition: OriginObj.h:120
Origin::ColorScale
Definition: OriginObj.h:647
Origin::ColorScale::reverseOrder
bool reverseOrder
Definition: OriginObj.h:648
Origin::ColorScale::colorBarThickness
unsigned short colorBarThickness
Definition: OriginObj.h:650
Origin::ColorScale::labelGap
unsigned short labelGap
Definition: OriginObj.h:649
Origin::ColorScale::labelsColor
Color labelsColor
Definition: OriginObj.h:651
Origin::Color
Definition: OriginObj.h:54
Origin::Color::starting
unsigned char starting
Definition: OriginObj.h:65
Origin::Color::type
ColorType type
Definition: OriginObj.h:60
Origin::Color::custom
unsigned char custom[3]
Definition: OriginObj.h:64
Origin::Color::regular
unsigned char regular
Definition: OriginObj.h:63
Origin::Color::column
unsigned char column
Definition: OriginObj.h:66
Origin::Color::RegularColor
RegularColor
Definition: OriginObj.h:56
Origin::Color::DarkCyan
@ DarkCyan
Definition: OriginObj.h:57
Origin::Color::Pink
@ Pink
Definition: OriginObj.h:57
Origin::Color::Olive
@ Olive
Definition: OriginObj.h:57
Origin::Color::Orange
@ Orange
Definition: OriginObj.h:57
Origin::Color::Royal
@ Royal
Definition: OriginObj.h:57
Origin::Color::Black
@ Black
Definition: OriginObj.h:56
Origin::Color::Violet
@ Violet
Definition: OriginObj.h:57
Origin::Color::LTYellow
@ LTYellow
Definition: OriginObj.h:58
Origin::Color::Purple
@ Purple
Definition: OriginObj.h:57
Origin::Color::Gray
@ Gray
Definition: OriginObj.h:58
Origin::Color::DarkGray
@ DarkGray
Definition: OriginObj.h:58
Origin::Color::Magenta
@ Magenta
Definition: OriginObj.h:56
Origin::Color::DarkYellow
@ DarkYellow
Definition: OriginObj.h:56
Origin::Color::Red
@ Red
Definition: OriginObj.h:56
Origin::Color::Wine
@ Wine
Definition: OriginObj.h:57
Origin::Color::LTCyan
@ LTCyan
Definition: OriginObj.h:58
Origin::Color::Cyan
@ Cyan
Definition: OriginObj.h:56
Origin::Color::White
@ White
Definition: OriginObj.h:57
Origin::Color::Navy
@ Navy
Definition: OriginObj.h:56
Origin::Color::LTMagenta
@ LTMagenta
Definition: OriginObj.h:58
Origin::Color::Blue
@ Blue
Definition: OriginObj.h:56
Origin::Color::Yellow
@ Yellow
Definition: OriginObj.h:56
Origin::Color::LightGray
@ LightGray
Definition: OriginObj.h:58
Origin::Color::Green
@ Green
Definition: OriginObj.h:56
Origin::Color::ColorType
ColorType
Definition: OriginObj.h:55
Origin::Color::RGB
@ RGB
Definition: OriginObj.h:55
Origin::Color::Custom
@ Custom
Definition: OriginObj.h:55
Origin::Color::Regular
@ Regular
Definition: OriginObj.h:55
Origin::Color::Mapping
@ Mapping
Definition: OriginObj.h:55
Origin::Color::Increment
@ Increment
Definition: OriginObj.h:55
Origin::Color::Indexing
@ Indexing
Definition: OriginObj.h:55
Origin::Color::None
@ None
Definition: OriginObj.h:55
Origin::Color::Automatic
@ Automatic
Definition: OriginObj.h:55
Origin::Excel
Definition: OriginObj.h:201
Origin::Excel::maxRows
unsigned int maxRows
Definition: OriginObj.h:202
Origin::Excel::Excel
Excel(const string &_name="", const string &_label="", int _maxRows=0, bool _hidden=false, bool _loose=true)
Definition: OriginObj.h:206
Origin::Excel::loose
bool loose
Definition: OriginObj.h:203
Origin::Excel::sheets
vector< SpreadSheet > sheets
Definition: OriginObj.h:204
Origin::Figure
Definition: OriginObj.h:559
Origin::Figure::fillAreaPatternColor
Color fillAreaPatternColor
Definition: OriginObj.h:570
Origin::Figure::fillAreaPattern
unsigned char fillAreaPattern
Definition: OriginObj.h:569
Origin::Figure::color
Color color
Definition: OriginObj.h:565
Origin::Figure::type
FigureType type
Definition: OriginObj.h:562
Origin::Figure::width
double width
Definition: OriginObj.h:567
Origin::Figure::useBorderColor
bool useBorderColor
Definition: OriginObj.h:572
Origin::Figure::clientRect
Rect clientRect
Definition: OriginObj.h:563
Origin::Figure::attach
Attach attach
Definition: OriginObj.h:564
Origin::Figure::fillAreaPatternWidth
double fillAreaPatternWidth
Definition: OriginObj.h:571
Origin::Figure::style
unsigned char style
Definition: OriginObj.h:566
Origin::Figure::FigureType
FigureType
Definition: OriginObj.h:560
Origin::Figure::Circle
@ Circle
Definition: OriginObj.h:560
Origin::Figure::Rectangle
@ Rectangle
Definition: OriginObj.h:560
Origin::Figure::Figure
Figure(FigureType _type=Rectangle)
Definition: OriginObj.h:574
Origin::Figure::fillAreaColor
Color fillAreaColor
Definition: OriginObj.h:568
Origin::Function
Definition: OriginObj.h:251
Origin::Function::type
FunctionType type
Definition: OriginObj.h:255
Origin::Function::Function
Function(const string &_name="", unsigned int _index=0)
Definition: OriginObj.h:262
Origin::Function::formula
string formula
Definition: OriginObj.h:256
Origin::Function::begin
double begin
Definition: OriginObj.h:257
Origin::Function::FunctionType
FunctionType
Definition: OriginObj.h:252
Origin::Function::Polar
@ Polar
Definition: OriginObj.h:252
Origin::Function::Normal
@ Normal
Definition: OriginObj.h:252
Origin::Function::name
string name
Definition: OriginObj.h:254
Origin::Function::end
double end
Definition: OriginObj.h:258
Origin::Function::totalPoints
int totalPoints
Definition: OriginObj.h:259
Origin::Function::index
unsigned int index
Definition: OriginObj.h:260
Origin::GraphAxisBreak
Definition: OriginObj.h:484
Origin::GraphAxisBreak::position
double position
Definition: OriginObj.h:490
Origin::GraphAxisBreak::scaleIncrementBefore
double scaleIncrementBefore
Definition: OriginObj.h:492
Origin::GraphAxisBreak::to
double to
Definition: OriginObj.h:489
Origin::GraphAxisBreak::log10
bool log10
Definition: OriginObj.h:487
Origin::GraphAxisBreak::show
bool show
Definition: OriginObj.h:485
Origin::GraphAxisBreak::from
double from
Definition: OriginObj.h:488
Origin::GraphAxisBreak::minorTicksBefore
unsigned char minorTicksBefore
Definition: OriginObj.h:495
Origin::GraphAxisBreak::minorTicksAfter
unsigned char minorTicksAfter
Definition: OriginObj.h:496
Origin::GraphAxisBreak::scaleIncrementAfter
double scaleIncrementAfter
Definition: OriginObj.h:493
Origin::GraphAxisBreak::GraphAxisBreak
GraphAxisBreak()
Definition: OriginObj.h:498
Origin::GraphAxisFormat
Definition: OriginObj.h:512
Origin::GraphAxisFormat::color
unsigned char color
Definition: OriginObj.h:514
Origin::GraphAxisFormat::axisPositionValue
double axisPositionValue
Definition: OriginObj.h:520
Origin::GraphAxisFormat::hidden
bool hidden
Definition: OriginObj.h:513
Origin::GraphAxisFormat::suffix
string suffix
Definition: OriginObj.h:523
Origin::GraphAxisFormat::axisPosition
int axisPosition
Definition: OriginObj.h:519
Origin::GraphAxisFormat::prefix
string prefix
Definition: OriginObj.h:522
Origin::GraphAxisFormat::label
TextBox label
Definition: OriginObj.h:521
Origin::GraphAxisFormat::thickness
double thickness
Definition: OriginObj.h:515
Origin::GraphAxisFormat::majorTickLength
double majorTickLength
Definition: OriginObj.h:516
Origin::GraphAxisFormat::minorTicksType
int minorTicksType
Definition: OriginObj.h:518
Origin::GraphAxisFormat::majorTicksType
int majorTicksType
Definition: OriginObj.h:517
Origin::GraphAxisTick
Definition: OriginObj.h:527
Origin::GraphAxisTick::rotation
int rotation
Definition: OriginObj.h:537
Origin::GraphAxisTick::color
unsigned char color
Definition: OriginObj.h:529
Origin::GraphAxisTick::decimalPlaces
int decimalPlaces
Definition: OriginObj.h:532
Origin::GraphAxisTick::columnName
string columnName
Definition: OriginObj.h:536
Origin::GraphAxisTick::valueType
ValueType valueType
Definition: OriginObj.h:530
Origin::GraphAxisTick::fontSize
unsigned short fontSize
Definition: OriginObj.h:533
Origin::GraphAxisTick::valueTypeSpecification
int valueTypeSpecification
Definition: OriginObj.h:531
Origin::GraphAxisTick::dataName
string dataName
Definition: OriginObj.h:535
Origin::GraphAxisTick::hidden
bool hidden
Definition: OriginObj.h:528
Origin::GraphAxisTick::fontBold
bool fontBold
Definition: OriginObj.h:534
Origin::GraphAxis
Definition: OriginObj.h:541
Origin::GraphAxis::Scale
Scale
Definition: OriginObj.h:543
Origin::GraphAxis::Reciprocal
@ Reciprocal
Definition: OriginObj.h:543
Origin::GraphAxis::Probit
@ Probit
Definition: OriginObj.h:543
Origin::GraphAxis::Log10
@ Log10
Definition: OriginObj.h:543
Origin::GraphAxis::Ln
@ Ln
Definition: OriginObj.h:543
Origin::GraphAxis::OffsetReciprocal
@ OffsetReciprocal
Definition: OriginObj.h:543
Origin::GraphAxis::Probability
@ Probability
Definition: OriginObj.h:543
Origin::GraphAxis::Linear
@ Linear
Definition: OriginObj.h:543
Origin::GraphAxis::Log2
@ Log2
Definition: OriginObj.h:543
Origin::GraphAxis::Logit
@ Logit
Definition: OriginObj.h:543
Origin::GraphAxis::majorGrid
GraphGrid majorGrid
Definition: OriginObj.h:552
Origin::GraphAxis::minorTicks
unsigned char minorTicks
Definition: OriginObj.h:550
Origin::GraphAxis::AxisPosition
AxisPosition
Definition: OriginObj.h:542
Origin::GraphAxis::Right
@ Right
Definition: OriginObj.h:542
Origin::GraphAxis::Bottom
@ Bottom
Definition: OriginObj.h:542
Origin::GraphAxis::Left
@ Left
Definition: OriginObj.h:542
Origin::GraphAxis::Back
@ Back
Definition: OriginObj.h:542
Origin::GraphAxis::Front
@ Front
Definition: OriginObj.h:542
Origin::GraphAxis::Top
@ Top
Definition: OriginObj.h:542
Origin::GraphAxis::position
AxisPosition position
Definition: OriginObj.h:545
Origin::GraphAxis::max
double max
Definition: OriginObj.h:547
Origin::GraphAxis::tickAxis
GraphAxisTick tickAxis[2]
Definition: OriginObj.h:555
Origin::GraphAxis::majorTicks
unsigned char majorTicks
Definition: OriginObj.h:549
Origin::GraphAxis::min
double min
Definition: OriginObj.h:546
Origin::GraphAxis::minorGrid
GraphGrid minorGrid
Definition: OriginObj.h:553
Origin::GraphAxis::formatAxis
GraphAxisFormat formatAxis[2]
Definition: OriginObj.h:554
Origin::GraphAxis::step
double step
Definition: OriginObj.h:548
Origin::GraphAxis::scale
unsigned char scale
Definition: OriginObj.h:551
Origin::GraphCurve
Definition: OriginObj.h:426
Origin::GraphCurve::fillAreaPattern
unsigned char fillAreaPattern
Definition: OriginObj.h:450
Origin::GraphCurve::symbolThickness
unsigned char symbolThickness
Definition: OriginObj.h:462
Origin::GraphCurve::pie
PieProperties pie
Definition: OriginObj.h:468
Origin::GraphCurve::symbolFillColor
Color symbolFillColor
Definition: OriginObj.h:460
Origin::GraphCurve::connectSymbols
bool connectSymbols
Definition: OriginObj.h:465
Origin::GraphCurve::fillAreaPatternBorderStyle
unsigned char fillAreaPatternBorderStyle
Definition: OriginObj.h:454
Origin::GraphCurve::text
TextProperties text
Definition: OriginObj.h:474
Origin::GraphCurve::symbolColor
Color symbolColor
Definition: OriginObj.h:459
Origin::GraphCurve::lineConnect
unsigned char lineConnect
Definition: OriginObj.h:444
Origin::GraphCurve::dataName
string dataName
Definition: OriginObj.h:438
Origin::GraphCurve::fillAreaPatternColor
Color fillAreaPatternColor
Definition: OriginObj.h:452
Origin::GraphCurve::lineColor
Color lineColor
Definition: OriginObj.h:442
Origin::GraphCurve::zColumnName
string zColumnName
Definition: OriginObj.h:441
Origin::GraphCurve::Plot
Plot
Definition: OriginObj.h:427
Origin::GraphCurve::Scatter
@ Scatter
Definition: OriginObj.h:427
Origin::GraphCurve::Wall3D
@ Wall3D
Definition: OriginObj.h:428
Origin::GraphCurve::Histogram
@ Histogram
Definition: OriginObj.h:429
Origin::GraphCurve::PlotDot
@ PlotDot
Definition: OriginObj.h:428
Origin::GraphCurve::Unknown
@ Unknown
Definition: OriginObj.h:430
Origin::GraphCurve::Box
@ Box
Definition: OriginObj.h:427
Origin::GraphCurve::TextPlot
@ TextPlot
Definition: OriginObj.h:430
Origin::GraphCurve::Pie
@ Pie
Definition: OriginObj.h:429
Origin::GraphCurve::SurfaceColorFill
@ SurfaceColorFill
Definition: OriginObj.h:431
Origin::GraphCurve::XYZContour
@ XYZContour
Definition: OriginObj.h:432
Origin::GraphCurve::BarStack
@ BarStack
Definition: OriginObj.h:429
Origin::GraphCurve::ColumnStack
@ ColumnStack
Definition: OriginObj.h:428
Origin::GraphCurve::SurfaceWireframe
@ SurfaceWireframe
Definition: OriginObj.h:431
Origin::GraphCurve::Bar
@ Bar
Definition: OriginObj.h:429
Origin::GraphCurve::Contour
@ Contour
Definition: OriginObj.h:430
Origin::GraphCurve::Area
@ Area
Definition: OriginObj.h:427
Origin::GraphCurve::SurfaceColorMap
@ SurfaceColorMap
Definition: OriginObj.h:430
Origin::GraphCurve::LineSymbol
@ LineSymbol
Definition: OriginObj.h:427
Origin::GraphCurve::Column
@ Column
Definition: OriginObj.h:427
Origin::GraphCurve::Polar
@ Polar
Definition: OriginObj.h:433
Origin::GraphCurve::Bar3D
@ Bar3D
Definition: OriginObj.h:428
Origin::GraphCurve::Text3D
@ Text3D
Definition: OriginObj.h:431
Origin::GraphCurve::XErrorBar
@ XErrorBar
Definition: OriginObj.h:430
Origin::GraphCurve::FillArea
@ FillArea
Definition: OriginObj.h:433
Origin::GraphCurve::LineSeries
@ LineSeries
Definition: OriginObj.h:432
Origin::GraphCurve::ColumnFloat
@ ColumnFloat
Definition: OriginObj.h:428
Origin::GraphCurve::Line3D
@ Line3D
Definition: OriginObj.h:431
Origin::GraphCurve::HiLoClose
@ HiLoClose
Definition: OriginObj.h:427
Origin::GraphCurve::AreaStack
@ AreaStack
Definition: OriginObj.h:429
Origin::GraphCurve::MatrixImage
@ MatrixImage
Definition: OriginObj.h:429
Origin::GraphCurve::SurfaceBars
@ SurfaceBars
Definition: OriginObj.h:431
Origin::GraphCurve::ErrorBar
@ ErrorBar
Definition: OriginObj.h:430
Origin::GraphCurve::FlowVector
@ FlowVector
Definition: OriginObj.h:429
Origin::GraphCurve::Vector
@ Vector
Definition: OriginObj.h:428
Origin::GraphCurve::SmithChart
@ SmithChart
Definition: OriginObj.h:433
Origin::GraphCurve::GraphScatter3D
@ GraphScatter3D
Definition: OriginObj.h:432
Origin::GraphCurve::GraphTrajectory3D
@ GraphTrajectory3D
Definition: OriginObj.h:433
Origin::GraphCurve::YErrorBar
@ YErrorBar
Definition: OriginObj.h:432
Origin::GraphCurve::Mesh3D
@ Mesh3D
Definition: OriginObj.h:431
Origin::GraphCurve::Ribbon3D
@ Ribbon3D
Definition: OriginObj.h:428
Origin::GraphCurve::XYErrorBar
@ XYErrorBar
Definition: OriginObj.h:432
Origin::GraphCurve::XYZTriangular
@ XYZTriangular
Definition: OriginObj.h:432
Origin::GraphCurve::xColumnName
string xColumnName
Definition: OriginObj.h:439
Origin::GraphCurve::lineStyle
unsigned char lineStyle
Definition: OriginObj.h:443
Origin::GraphCurve::fillArea
bool fillArea
Definition: OriginObj.h:448
Origin::GraphCurve::vector
VectorProperties vector
Definition: OriginObj.h:471
Origin::GraphCurve::surface
SurfaceProperties surface
Definition: OriginObj.h:477
Origin::GraphCurve::pointOffset
unsigned char pointOffset
Definition: OriginObj.h:463
Origin::GraphCurve::LineConnect
LineConnect
Definition: OriginObj.h:435
Origin::GraphCurve::Straight
@ Straight
Definition: OriginObj.h:435
Origin::GraphCurve::TwoPointSegment
@ TwoPointSegment
Definition: OriginObj.h:435
Origin::GraphCurve::Spline
@ Spline
Definition: OriginObj.h:435
Origin::GraphCurve::StepHCenter
@ StepHCenter
Definition: OriginObj.h:435
Origin::GraphCurve::Bezier
@ Bezier
Definition: OriginObj.h:435
Origin::GraphCurve::StepHorizontal
@ StepHorizontal
Definition: OriginObj.h:435
Origin::GraphCurve::BSpline
@ BSpline
Definition: OriginObj.h:435
Origin::GraphCurve::ThreePointSegment
@ ThreePointSegment
Definition: OriginObj.h:435
Origin::GraphCurve::StepVCenter
@ StepVCenter
Definition: OriginObj.h:435
Origin::GraphCurve::StepVertical
@ StepVertical
Definition: OriginObj.h:435
Origin::GraphCurve::NoLine
@ NoLine
Definition: OriginObj.h:435
Origin::GraphCurve::boxWidth
unsigned char boxWidth
Definition: OriginObj.h:445
Origin::GraphCurve::yColumnName
string yColumnName
Definition: OriginObj.h:440
Origin::GraphCurve::LineStyle
LineStyle
Definition: OriginObj.h:434
Origin::GraphCurve::DashDot
@ DashDot
Definition: OriginObj.h:434
Origin::GraphCurve::DashDotDot
@ DashDotDot
Definition: OriginObj.h:434
Origin::GraphCurve::ShortDash
@ ShortDash
Definition: OriginObj.h:434
Origin::GraphCurve::Dash
@ Dash
Definition: OriginObj.h:434
Origin::GraphCurve::Solid
@ Solid
Definition: OriginObj.h:434
Origin::GraphCurve::ShortDot
@ ShortDot
Definition: OriginObj.h:434
Origin::GraphCurve::Dot
@ Dot
Definition: OriginObj.h:434
Origin::GraphCurve::ShortDashDot
@ ShortDashDot
Definition: OriginObj.h:434
Origin::GraphCurve::type
unsigned char type
Definition: OriginObj.h:437
Origin::GraphCurve::fillAreaType
unsigned char fillAreaType
Definition: OriginObj.h:449
Origin::GraphCurve::lineWidth
double lineWidth
Definition: OriginObj.h:446
Origin::GraphCurve::symbolSize
double symbolSize
Definition: OriginObj.h:461
Origin::GraphCurve::fillAreaPatternWidth
double fillAreaPatternWidth
Definition: OriginObj.h:453
Origin::GraphCurve::fillAreaPatternBorderColor
Color fillAreaPatternBorderColor
Definition: OriginObj.h:455
Origin::GraphCurve::colorMap
ColorMap colorMap
Definition: OriginObj.h:480
Origin::GraphCurve::fillAreaPatternBorderWidth
double fillAreaPatternBorderWidth
Definition: OriginObj.h:456
Origin::GraphCurve::symbolType
unsigned short symbolType
Definition: OriginObj.h:458
Origin::GraphCurve::fillAreaColor
Color fillAreaColor
Definition: OriginObj.h:451
Origin::GraphGrid
Definition: OriginObj.h:504
Origin::GraphGrid::width
double width
Definition: OriginObj.h:508
Origin::GraphGrid::style
unsigned char style
Definition: OriginObj.h:507
Origin::GraphGrid::hidden
bool hidden
Definition: OriginObj.h:505
Origin::GraphGrid::color
unsigned char color
Definition: OriginObj.h:506
Origin::GraphLayerRange
Definition: OriginObj.h:711
Origin::GraphLayerRange::step
double step
Definition: OriginObj.h:714
Origin::GraphLayerRange::GraphLayerRange
GraphLayerRange(double _min=0.0, double _max=0.0, double _step=0.0)
Definition: OriginObj.h:716
Origin::GraphLayerRange::max
double max
Definition: OriginObj.h:713
Origin::GraphLayerRange::min
double min
Definition: OriginObj.h:712
Origin::GraphLayer
Definition: OriginObj.h:655
Origin::GraphLayer::curves
vector< GraphCurve > curves
Definition: OriginObj.h:681
Origin::GraphLayer::is3D
bool is3D() const
Definition: OriginObj.h:699
Origin::GraphLayer::histogramBegin
double histogramBegin
Definition: OriginObj.h:670
Origin::GraphLayer::histogramBin
double histogramBin
Definition: OriginObj.h:669
Origin::GraphLayer::colorScale
ColorScale colorScale
Definition: OriginObj.h:674
Origin::GraphLayer::legend
TextBox legend
Definition: OriginObj.h:657
Origin::GraphLayer::pieTexts
vector< TextBox > pieTexts
Definition: OriginObj.h:677
Origin::GraphLayer::figures
vector< Figure > figures
Definition: OriginObj.h:679
Origin::GraphLayer::zAxisBreak
GraphAxisBreak zAxisBreak
Definition: OriginObj.h:667
Origin::GraphLayer::percentile
PercentileProperties percentile
Definition: OriginObj.h:673
Origin::GraphLayer::hLine
double hLine
Definition: OriginObj.h:689
Origin::GraphLayer::yLength
float yLength
Definition: OriginObj.h:684
Origin::GraphLayer::bitmaps
vector< Bitmap > bitmaps
Definition: OriginObj.h:680
Origin::GraphLayer::GraphLayer
GraphLayer()
Definition: OriginObj.h:693
Origin::GraphLayer::backgroundColor
Color backgroundColor
Definition: OriginObj.h:658
Origin::GraphLayer::texts
vector< TextBox > texts
Definition: OriginObj.h:676
Origin::GraphLayer::vLine
double vLine
Definition: OriginObj.h:688
Origin::GraphLayer::zLength
float zLength
Definition: OriginObj.h:685
Origin::GraphLayer::isXYY3D
bool isXYY3D
Definition: OriginObj.h:691
Origin::GraphLayer::xAxisBreak
GraphAxisBreak xAxisBreak
Definition: OriginObj.h:665
Origin::GraphLayer::clientRect
Rect clientRect
Definition: OriginObj.h:656
Origin::GraphLayer::histogramEnd
double histogramEnd
Definition: OriginObj.h:671
Origin::GraphLayer::imageProfileTool
bool imageProfileTool
Definition: OriginObj.h:687
Origin::GraphLayer::xAxis
GraphAxis xAxis
Definition: OriginObj.h:661
Origin::GraphLayer::lines
vector< Line > lines
Definition: OriginObj.h:678
Origin::GraphLayer::xLength
float xLength
Definition: OriginObj.h:683
Origin::GraphLayer::borderType
BorderType borderType
Definition: OriginObj.h:659
Origin::GraphLayer::yAxis
GraphAxis yAxis
Definition: OriginObj.h:662
Origin::GraphLayer::yAxisBreak
GraphAxisBreak yAxisBreak
Definition: OriginObj.h:666
Origin::GraphLayer::zAxis
GraphAxis zAxis
Definition: OriginObj.h:663
Origin::Graph
Definition: OriginObj.h:724
Origin::Graph::Graph
Graph(const string &_name="")
Definition: OriginObj.h:731
Origin::Graph::height
unsigned short height
Definition: OriginObj.h:727
Origin::Graph::width
unsigned short width
Definition: OriginObj.h:726
Origin::Graph::is3D
bool is3D
Definition: OriginObj.h:728
Origin::Graph::isLayout
bool isLayout
Definition: OriginObj.h:729
Origin::Graph::layers
vector< GraphLayer > layers
Definition: OriginObj.h:725
Origin::LineVertex
Definition: OriginObj.h:581
Origin::LineVertex::shapeLength
double shapeLength
Definition: OriginObj.h:584
Origin::LineVertex::shapeType
unsigned char shapeType
Definition: OriginObj.h:582
Origin::LineVertex::LineVertex
LineVertex()
Definition: OriginObj.h:588
Origin::LineVertex::x
double x
Definition: OriginObj.h:585
Origin::LineVertex::shapeWidth
double shapeWidth
Definition: OriginObj.h:583
Origin::LineVertex::y
double y
Definition: OriginObj.h:586
Origin::Line
Definition: OriginObj.h:598
Origin::Line::color
Color color
Definition: OriginObj.h:600
Origin::Line::width
double width
Definition: OriginObj.h:602
Origin::Line::clientRect
Rect clientRect
Definition: OriginObj.h:599
Origin::Line::style
unsigned char style
Definition: OriginObj.h:603
Origin::Line::end
LineVertex end
Definition: OriginObj.h:605
Origin::Line::attach
Attach attach
Definition: OriginObj.h:601
Origin::Line::begin
LineVertex begin
Definition: OriginObj.h:604
Origin::Matrix
Definition: OriginObj.h:215
Origin::Matrix::Matrix
Matrix(const string &_name="", unsigned int _index=0)
Definition: OriginObj.h:235
Origin::Matrix::rowCount
unsigned short rowCount
Definition: OriginObj.h:219
Origin::Matrix::header
HeaderViewType header
Definition: OriginObj.h:230
Origin::Matrix::HeaderViewType
HeaderViewType
Definition: OriginObj.h:217
Origin::Matrix::ColumnRow
@ ColumnRow
Definition: OriginObj.h:217
Origin::Matrix::XY
@ XY
Definition: OriginObj.h:217
Origin::Matrix::decimalPlaces
int decimalPlaces
Definition: OriginObj.h:223
Origin::Matrix::colorMap
ColorMap colorMap
Definition: OriginObj.h:231
Origin::Matrix::coordinates
vector< double > coordinates
Definition: OriginObj.h:233
Origin::Matrix::width
int width
Definition: OriginObj.h:226
Origin::Matrix::valueTypeSpecification
int valueTypeSpecification
Definition: OriginObj.h:221
Origin::Matrix::significantDigits
int significantDigits
Definition: OriginObj.h:222
Origin::Matrix::numericDisplayType
NumericDisplayType numericDisplayType
Definition: OriginObj.h:224
Origin::Matrix::index
unsigned int index
Definition: OriginObj.h:227
Origin::Matrix::ViewType
ViewType
Definition: OriginObj.h:216
Origin::Matrix::DataView
@ DataView
Definition: OriginObj.h:216
Origin::Matrix::ImageView
@ ImageView
Definition: OriginObj.h:216
Origin::Matrix::sheets
unsigned int sheets
Definition: OriginObj.h:228
Origin::Matrix::data
vector< double > data
Definition: OriginObj.h:232
Origin::Matrix::command
string command
Definition: OriginObj.h:225
Origin::Matrix::view
ViewType view
Definition: OriginObj.h:229
Origin::Matrix::columnCount
unsigned short columnCount
Definition: OriginObj.h:220
Origin::Note
Definition: OriginObj.h:739
Origin::Note::text
string text
Definition: OriginObj.h:740
Origin::Note::Note
Note(const string &_name="")
Definition: OriginObj.h:741
Origin::PercentileProperties
Definition: OriginObj.h:409
Origin::PercentileProperties::boxCoeff
double boxCoeff
Definition: OriginObj.h:420
Origin::PercentileProperties::meanSymbolType
unsigned char meanSymbolType
Definition: OriginObj.h:412
Origin::PercentileProperties::symbolSize
unsigned short symbolSize
Definition: OriginObj.h:417
Origin::PercentileProperties::symbolFillColor
Color symbolFillColor
Definition: OriginObj.h:416
Origin::PercentileProperties::boxRange
unsigned char boxRange
Definition: OriginObj.h:418
Origin::PercentileProperties::symbolColor
Color symbolColor
Definition: OriginObj.h:415
Origin::PercentileProperties::p99SymbolType
unsigned char p99SymbolType
Definition: OriginObj.h:411
Origin::PercentileProperties::whiskersRange
unsigned char whiskersRange
Definition: OriginObj.h:419
Origin::PercentileProperties::maxSymbolType
unsigned char maxSymbolType
Definition: OriginObj.h:410
Origin::PercentileProperties::p1SymbolType
unsigned char p1SymbolType
Definition: OriginObj.h:413
Origin::PercentileProperties::whiskersCoeff
double whiskersCoeff
Definition: OriginObj.h:421
Origin::PercentileProperties::minSymbolType
unsigned char minSymbolType
Definition: OriginObj.h:414
Origin::PercentileProperties::diamondBox
bool diamondBox
Definition: OriginObj.h:422
Origin::PieProperties
Definition: OriginObj.h:302
Origin::PieProperties::formatAutomatic
bool formatAutomatic
Definition: OriginObj.h:313
Origin::PieProperties::radius
unsigned short radius
Definition: OriginObj.h:307
Origin::PieProperties::clockwiseRotation
bool clockwiseRotation
Definition: OriginObj.h:305
Origin::PieProperties::formatPercentages
bool formatPercentages
Definition: OriginObj.h:315
Origin::PieProperties::formatCategories
bool formatCategories
Definition: OriginObj.h:316
Origin::PieProperties::rotation
short rotation
Definition: OriginObj.h:306
Origin::PieProperties::displacement
unsigned short displacement
Definition: OriginObj.h:310
Origin::PieProperties::viewAngle
unsigned char viewAngle
Definition: OriginObj.h:303
Origin::PieProperties::distance
unsigned short distance
Definition: OriginObj.h:318
Origin::PieProperties::thickness
unsigned char thickness
Definition: OriginObj.h:304
Origin::PieProperties::displacedSectionCount
unsigned long displacedSectionCount
Definition: OriginObj.h:309
Origin::PieProperties::horizontalOffset
unsigned short horizontalOffset
Definition: OriginObj.h:308
Origin::PieProperties::positionAssociate
bool positionAssociate
Definition: OriginObj.h:317
Origin::PieProperties::PieProperties
PieProperties()
Definition: OriginObj.h:320
Origin::PieProperties::formatValues
bool formatValues
Definition: OriginObj.h:314
Origin::ProjectNode
Definition: OriginObj.h:747
Origin::ProjectNode::NodeType
NodeType
Definition: OriginObj.h:748
Origin::ProjectNode::Graph
@ Graph
Definition: OriginObj.h:748
Origin::ProjectNode::Matrix
@ Matrix
Definition: OriginObj.h:748
Origin::ProjectNode::Excel
@ Excel
Definition: OriginObj.h:748
Origin::ProjectNode::SpreadSheet
@ SpreadSheet
Definition: OriginObj.h:748
Origin::ProjectNode::Note
@ Note
Definition: OriginObj.h:748
Origin::ProjectNode::Graph3D
@ Graph3D
Definition: OriginObj.h:748
Origin::ProjectNode::Folder
@ Folder
Definition: OriginObj.h:748
Origin::ProjectNode::type
NodeType type
Definition: OriginObj.h:750
Origin::ProjectNode::creationDate
time_t creationDate
Definition: OriginObj.h:752
Origin::ProjectNode::modificationDate
time_t modificationDate
Definition: OriginObj.h:753
Origin::ProjectNode::ProjectNode
ProjectNode(const string &_name="", NodeType _type=Folder, const time_t _creationDate=time(NULL), const time_t _modificationDate=time(NULL))
Definition: OriginObj.h:755
Origin::ProjectNode::name
string name
Definition: OriginObj.h:751
Origin::Rect
Definition: OriginObj.h:71
Origin::Rect::right
short right
Definition: OriginObj.h:74
Origin::Rect::bottom
short bottom
Definition: OriginObj.h:75
Origin::Rect::Rect
Rect(short width=0, short height=0)
Definition: OriginObj.h:77
Origin::Rect::height
int height() const
Definition: OriginObj.h:85
Origin::Rect::left
short left
Definition: OriginObj.h:72
Origin::Rect::isValid
bool isValid() const
Definition: OriginObj.h:95
Origin::Rect::top
short top
Definition: OriginObj.h:73
Origin::Rect::width
int width() const
Definition: OriginObj.h:90
Origin::SpreadColumn
Definition: OriginObj.h:152
Origin::SpreadColumn::SpreadColumn
SpreadColumn(const string &_name="", unsigned int _index=0)
Definition: OriginObj.h:169
Origin::SpreadColumn::command
string command
Definition: OriginObj.h:162
Origin::SpreadColumn::data
vector< variant > data
Definition: OriginObj.h:167
Origin::SpreadColumn::decimalPlaces
int decimalPlaces
Definition: OriginObj.h:160
Origin::SpreadColumn::sheet
unsigned int sheet
Definition: OriginObj.h:166
Origin::SpreadColumn::ColumnType
ColumnType
Definition: OriginObj.h:153
Origin::SpreadColumn::NONE
@ NONE
Definition: OriginObj.h:153
Origin::SpreadColumn::Y
@ Y
Definition: OriginObj.h:153
Origin::SpreadColumn::X
@ X
Definition: OriginObj.h:153
Origin::SpreadColumn::XErr
@ XErr
Definition: OriginObj.h:153
Origin::SpreadColumn::YErr
@ YErr
Definition: OriginObj.h:153
Origin::SpreadColumn::Z
@ Z
Definition: OriginObj.h:153
Origin::SpreadColumn::Label
@ Label
Definition: OriginObj.h:153
Origin::SpreadColumn::name
string name
Definition: OriginObj.h:155
Origin::SpreadColumn::index
unsigned int index
Definition: OriginObj.h:165
Origin::SpreadColumn::significantDigits
int significantDigits
Definition: OriginObj.h:159
Origin::SpreadColumn::width
int width
Definition: OriginObj.h:164
Origin::SpreadColumn::valueTypeSpecification
int valueTypeSpecification
Definition: OriginObj.h:158
Origin::SpreadColumn::type
ColumnType type
Definition: OriginObj.h:156
Origin::SpreadColumn::comment
string comment
Definition: OriginObj.h:163
Origin::SpreadColumn::valueType
ValueType valueType
Definition: OriginObj.h:157
Origin::SpreadColumn::numericDisplayType
NumericDisplayType numericDisplayType
Definition: OriginObj.h:161
Origin::SpreadSheet
Definition: OriginObj.h:185
Origin::SpreadSheet::SpreadSheet
SpreadSheet(const string &_name="")
Definition: OriginObj.h:192
Origin::SpreadSheet::maxRows
unsigned int maxRows
Definition: OriginObj.h:186
Origin::SpreadSheet::loose
bool loose
Definition: OriginObj.h:187
Origin::SpreadSheet::sheets
unsigned int sheets
Definition: OriginObj.h:189
Origin::SpreadSheet::multisheet
bool multisheet
Definition: OriginObj.h:188
Origin::SpreadSheet::columns
vector< SpreadColumn > columns
Definition: OriginObj.h:190
Origin::SurfaceProperties::SurfaceColoration
Definition: OriginObj.h:378
Origin::SurfaceProperties::SurfaceColoration::lineWidth
double lineWidth
Definition: OriginObj.h:382
Origin::SurfaceProperties::SurfaceColoration::fill
bool fill
Definition: OriginObj.h:379
Origin::SurfaceProperties::SurfaceColoration::lineColor
Color lineColor
Definition: OriginObj.h:381
Origin::SurfaceProperties::SurfaceColoration::contour
bool contour
Definition: OriginObj.h:380
Origin::SurfaceProperties
Definition: OriginObj.h:376
Origin::SurfaceProperties::grids
Grids grids
Definition: OriginObj.h:389
Origin::SurfaceProperties::backColorEnabled
bool backColorEnabled
Definition: OriginObj.h:393
Origin::SurfaceProperties::colorMap
ColorMap colorMap
Definition: OriginObj.h:405
Origin::SurfaceProperties::Type
Type
Definition: OriginObj.h:385
Origin::SurfaceProperties::ColorMap3D
@ ColorMap3D
Definition: OriginObj.h:385
Origin::SurfaceProperties::WireFrame
@ WireFrame
Definition: OriginObj.h:385
Origin::SurfaceProperties::Bars
@ Bars
Definition: OriginObj.h:385
Origin::SurfaceProperties::ColorFill
@ ColorFill
Definition: OriginObj.h:385
Origin::SurfaceProperties::ySideWallColor
Color ySideWallColor
Definition: OriginObj.h:399
Origin::SurfaceProperties::bottomContour
SurfaceColoration bottomContour
Definition: OriginObj.h:403
Origin::SurfaceProperties::gridLineWidth
double gridLineWidth
Definition: OriginObj.h:390
Origin::SurfaceProperties::xSideWallColor
Color xSideWallColor
Definition: OriginObj.h:398
Origin::SurfaceProperties::sideWallEnabled
bool sideWallEnabled
Definition: OriginObj.h:397
Origin::SurfaceProperties::frontColor
Color frontColor
Definition: OriginObj.h:394
Origin::SurfaceProperties::type
unsigned char type
Definition: OriginObj.h:388
Origin::SurfaceProperties::Grids
Grids
Definition: OriginObj.h:386
Origin::SurfaceProperties::X
@ X
Definition: OriginObj.h:386
Origin::SurfaceProperties::XY
@ XY
Definition: OriginObj.h:386
Origin::SurfaceProperties::None
@ None
Definition: OriginObj.h:386
Origin::SurfaceProperties::Y
@ Y
Definition: OriginObj.h:386
Origin::SurfaceProperties::surface
SurfaceColoration surface
Definition: OriginObj.h:401
Origin::SurfaceProperties::topContour
SurfaceColoration topContour
Definition: OriginObj.h:402
Origin::SurfaceProperties::backColor
Color backColor
Definition: OriginObj.h:395
Origin::SurfaceProperties::gridColor
Color gridColor
Definition: OriginObj.h:391
Origin::TextBox
Definition: OriginObj.h:275
Origin::TextBox::clientRect
Rect clientRect
Definition: OriginObj.h:277
Origin::TextBox::color
Color color
Definition: OriginObj.h:278
Origin::TextBox::borderType
BorderType borderType
Definition: OriginObj.h:282
Origin::TextBox::tab
int tab
Definition: OriginObj.h:281
Origin::TextBox::text
string text
Definition: OriginObj.h:276
Origin::TextBox::TextBox
TextBox(const string &_text="")
Definition: OriginObj.h:285
Origin::TextBox::fontSize
unsigned short fontSize
Definition: OriginObj.h:279
Origin::TextBox::rotation
int rotation
Definition: OriginObj.h:280
Origin::TextBox::TextBox
TextBox(const string &_text, const Rect &_clientRect, const Color &_color, unsigned short _fontSize, int _rotation, int _tab, BorderType _borderType, Attach _attach)
Definition: OriginObj.h:289
Origin::TextBox::attach
Attach attach
Definition: OriginObj.h:283
Origin::TextProperties
Definition: OriginObj.h:359
Origin::TextProperties::whiteOut
bool whiteOut
Definition: OriginObj.h:366
Origin::TextProperties::yOffset
short yOffset
Definition: OriginObj.h:371
Origin::TextProperties::fontItalic
bool fontItalic
Definition: OriginObj.h:364
Origin::TextProperties::rotation
short rotation
Definition: OriginObj.h:369
Origin::TextProperties::fontUnderline
bool fontUnderline
Definition: OriginObj.h:365
Origin::TextProperties::justify
Justify justify
Definition: OriginObj.h:367
Origin::TextProperties::fontSize
unsigned short fontSize
Definition: OriginObj.h:372
Origin::TextProperties::Justify
Justify
Definition: OriginObj.h:360
Origin::TextProperties::Center
@ Center
Definition: OriginObj.h:360
Origin::TextProperties::Right
@ Right
Definition: OriginObj.h:360
Origin::TextProperties::Left
@ Left
Definition: OriginObj.h:360
Origin::TextProperties::fontBold
bool fontBold
Definition: OriginObj.h:363
Origin::TextProperties::xOffset
short xOffset
Definition: OriginObj.h:370
Origin::TextProperties::color
Color color
Definition: OriginObj.h:362
Origin::VectorProperties
Definition: OriginObj.h:331
Origin::VectorProperties::width
double width
Definition: OriginObj.h:335
Origin::VectorProperties::constMagnitude
int constMagnitude
Definition: OriginObj.h:347
Origin::VectorProperties::multiplier
float multiplier
Definition: OriginObj.h:345
Origin::VectorProperties::constAngle
int constAngle
Definition: OriginObj.h:346
Origin::VectorProperties::angleColumnName
string angleColumnName
Definition: OriginObj.h:343
Origin::VectorProperties::magnitudeColumnName
string magnitudeColumnName
Definition: OriginObj.h:344
Origin::VectorProperties::position
VectorPosition position
Definition: OriginObj.h:342
Origin::VectorProperties::arrowAngle
unsigned char arrowAngle
Definition: OriginObj.h:337
Origin::VectorProperties::endYColumnName
string endYColumnName
Definition: OriginObj.h:340
Origin::VectorProperties::endXColumnName
string endXColumnName
Definition: OriginObj.h:339
Origin::VectorProperties::arrowLenght
unsigned short arrowLenght
Definition: OriginObj.h:336
Origin::VectorProperties::color
Color color
Definition: OriginObj.h:334
Origin::VectorProperties::arrowClosed
bool arrowClosed
Definition: OriginObj.h:338
Origin::VectorProperties::VectorPosition
VectorPosition
Definition: OriginObj.h:332
Origin::VectorProperties::Tail
@ Tail
Definition: OriginObj.h:332
Origin::VectorProperties::Midpoint
@ Midpoint
Definition: OriginObj.h:332
Origin::VectorProperties::Head
@ Head
Definition: OriginObj.h:332
Origin::VectorProperties::VectorProperties
VectorProperties()
Definition: OriginObj.h:349
Origin::Window
Definition: OriginObj.h:125
Origin::Window::creationDate
time_t creationDate
Definition: OriginObj.h:136
Origin::Window::label
string label
Definition: OriginObj.h:130
Origin::Window::objectID
int objectID
Definition: OriginObj.h:131
Origin::Window::frameRect
Rect frameRect
Definition: OriginObj.h:135
Origin::Window::State
State
Definition: OriginObj.h:126
Origin::Window::Normal
@ Normal
Definition: OriginObj.h:126
Origin::Window::Maximized
@ Maximized
Definition: OriginObj.h:126
Origin::Window::Minimized
@ Minimized
Definition: OriginObj.h:126
Origin::Window::Window
Window(const string &_name="", const string &_label="", bool _hidden=false)
Definition: OriginObj.h:139
Origin::Window::name
string name
Definition: OriginObj.h:129
Origin::Window::state
State state
Definition: OriginObj.h:133
Origin::Window::modificationDate
time_t modificationDate
Definition: OriginObj.h:137
Origin::Window::title
Title title
Definition: OriginObj.h:134
Origin::Window::hidden
bool hidden
Definition: OriginObj.h:132
Origin::Window::Title
Title
Definition: OriginObj.h:127
Origin::Window::Label
@ Label
Definition: OriginObj.h:127
Origin::Window::Both
@ Both
Definition: OriginObj.h:127
Origin::Window::Name
@ Name
Definition: OriginObj.h:127