Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
PoHighLowClose.h
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23
24#ifndef _PO_HIGH_LOW_CLOSE_
25#define _PO_HIGH_LOW_CLOSE_
26
27#include <MeshViz/graph/PoGraphMaster.h>
28
29
30#include <Inventor/fields/SoSFEnum.h>
31#include <Inventor/fields/SoMFFloat.h>
32
33
58
59 SO_KIT_HEADER(PoHighLowClose) ;
60
61 /* Define fields for new parts */
62 SO_KIT_CATALOG_ENTRY_HEADER(highLowClose) ;
63
64
65 public:
66
67
68
86
87
88
89 /* Fields */
90
95
100
105
110
115
116
117
118 /* Methods */
119
124 { init(TRUE) ; }
125
129 PoHighLowClose(int numValues, const float *x, const float *high,
130 const float *low, const float *close)
131 { init(FALSE, numValues, x, high, low, close) ; }
132
136 virtual void rebuild() ;
137
138 /*----------------------------------------------------------------------------*/
139 private:
140 static void initClass() ;
141 static void exitClass() ;
142
143 private:
144 // Methods
145 // Destructor
146 virtual ~PoHighLowClose() ;
147 virtual void setDefaultOnNonWritingFields() ;
148 virtual SbBool setUpConnections(SbBool onOff, SbBool doItAlways = FALSE) ;
149
150 private:
151 // Init method
152 void init(SbBool isDefault, int numValues=0, const float *x=NULL,
153 const float *high=NULL, const float *low=NULL, const float *close=NULL) ;
154
155 // Sensors
156 FieldSensorList fieldSensorList ;
157
158 // List of fields defined in this class
159 SoFieldList fieldList ;
160
161
162
163} ;
164
165/*----------------------------------------------------------------------------*/
166
167#endif /* _PO_HIGH_LOW_CLOSE_ */
168
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract base class for ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to build a high lo...
virtual void rebuild()
Forces node-kit rebuilding.
PoHighLowClose(int numValues, const float *x, const float *high, const float *low, const float *close)
Constructor.
SoMFFloat valuesClose
List of close values.
SoMFFloat valuesLow
List of low values.
HorCloseBarPosition
Position of the horizontal close bar.
@ LEFT
The horizontal close bar is on the left of the vertical close bar.
@ RIGHT
The horizontal close bar is on the right of the vertical close bar.
@ MIDDLE
The horizontal close bar is on the middle of the vertical close bar.
PoHighLowClose()
Default constructor.
SoMFFloat valuesHigh
List of high values.
SoMFFloat valuesX
List of abscissas.
SoSFEnum horCloseBarPosition
Position of the horizontal close bar in relation to the vertical line.
Maintains a list of pointers to fields.
Definition SoFieldList.h:72
Multiple-value field containing any number of floating point values.
Definition SoMFFloat.h:90
Field containing an enumerated value.
Definition SoSFEnum.h:89
int SbBool
Boolean type.
Definition SbBase.h:87