Vector objects are used to store 1-dimensional data. More...


Public Member Functions | |
| EC24Vector () | |
| Constructs a vector. | |
| EC24Vector (uint maxNumberOfElements) | |
| Constructs a vector. | |
| EC24Vector (eVision.EC24Vector other) | |
| Constructs a vector. | |
| void | AddElement (eVision.EC24 element) |
| Appends (adds at the tail) an element to the vector. | |
| eVision.EC24 | GetElement (int index) |
| Returns the vector element at the given index. | |
| void | SetElement (int index, eVision.EC24 value) |
| Modifies the vector element at the given index by the given value. | |
| void | SetYRange (int n32YMin, uint un32YMax) |
| void | SetYRange (int n32YMin) |
| void | SetYRange () |
| void | Draw (eVision.EDrawAdapter graphicContext, float width, float height) |
| Draws a plot of the vector element values. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float width, float height, float originX, float originY) |
| Draws a plot of the vector element values. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float width, float height, float originX, float originY, eVision.ERGBColor color0, eVision.ERGBColor color1, eVision.ERGBColor color2) |
| Draws a plot of the vector element values. | |
| void | Draw (eVision.EDrawAdapter graphicContext, float width, float height, eVision.ERGBColor color0, eVision.ERGBColor color1, eVision.ERGBColor color2) |
| Draws a plot of the vector element values. | |
| void | Draw (IntPtr graphicContext, float width, float height) |
| Draws a plot of the vector element values. | |
| void | Draw (IntPtr graphicContext, float width, float height, float originX, float originY) |
| Draws a plot of the vector element values. | |
| void | Draw (IntPtr graphicContext, float width, float height, float originX, float originY, eVision.ERGBColor color0, eVision.ERGBColor color1, eVision.ERGBColor color2) |
| Draws a plot of the vector element values. | |
| void | Draw (IntPtr graphicContext, float width, float height, eVision.ERGBColor color0, eVision.ERGBColor color1, eVision.ERGBColor color2) |
| Draws a plot of the vector element values. | |
| void | Draw (System.Drawing.Graphics graphicContext, float width, float height) |
| Draws a plot of the vector element values. | |
| void | Draw (System.Drawing.Graphics graphicContext, float width, float height, float originX, float originY) |
| Draws a plot of the vector element values. | |
| void | Draw (System.Drawing.Graphics graphicContext, float width, float height, float originX, float originY, eVision.ERGBColor color0, eVision.ERGBColor color1, eVision.ERGBColor color2) |
| Draws a plot of the vector element values. | |
| void | Draw (System.Drawing.Graphics graphicContext, float width, float height, eVision.ERGBColor color0, eVision.ERGBColor color1, eVision.ERGBColor color2) |
| Draws a plot of the vector element values. | |
| Public Member Functions inherited from eVision.EVector | |
| void | Empty () |
| Resets the number of elements to 0. | |
| virtual void | RemoveElement (uint index) |
| Removes the element at the specified position. | |
| void | Save (string path) |
| Saves the EVector object with all its attributes. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the EVector object with all its attributes. | |
| void | Save (string path, uint un32Version) |
| Saves the EVector object with all its attributes. | |
| void | Save (eVision.ESerializer serializer, uint un32Version) |
| Saves the EVector object with all its attributes. | |
| void | Load (string path) |
| Loads the EVector object with all its attributes. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the EVector object with all its attributes. | |
| void | Load (string path, uint un32Version) |
| Loads the EVector object with all its attributes. | |
| void | Load (eVision.ESerializer serializer, uint un32Version) |
| Loads the EVector object with all its attributes. | |
Properties | |
| eVision.EC24 | this[uint index] [get, set] |
| Gives access to the vector element at the given index. | |
| IntPtr | RawDataPtr [get] |
| Pointer to the vector data. | |
| Properties inherited from eVision.EVector | |
| uint | NumElements [get, set] |
| Number of elements in the vector. | |
Vector objects are used to store 1-dimensional data.
Using vectors is very similar to using 1-dimensional arrays, except that the size can vary at runtime. Memory allocation is handled internally.
License(s): BasicTypes
| eVision.EC24Vector.EC24Vector | ( | ) |
Constructs a vector.
| eVision.EC24Vector.EC24Vector | ( | uint | maxNumberOfElements | ) |
Constructs a vector.
| maxNumberOfElements | Optionally, memory can be pre-allocated to accommodate a given number of elements. |
| eVision.EC24Vector.EC24Vector | ( | eVision.EC24Vector | other | ) |
Constructs a vector.
| other | EC24Vector object to be copied |
| void eVision.EC24Vector.AddElement | ( | eVision.EC24 | element | ) |
Appends (adds at the tail) an element to the vector.
| element | The element to be added. |
| void eVision.EC24Vector.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | width, | ||
| float | height ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
| void eVision.EC24Vector.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | width, | ||
| float | height, | ||
| eVision.ERGBColor | color0, | ||
| eVision.ERGBColor | color1, | ||
| eVision.ERGBColor | color2 ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| color0 | The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color1 | The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color2 | The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
| void eVision.EC24Vector.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| originX | Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| originY | Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
| void eVision.EC24Vector.Draw | ( | eVision.EDrawAdapter | graphicContext, |
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY, | ||
| eVision.ERGBColor | color0, | ||
| eVision.ERGBColor | color1, | ||
| eVision.ERGBColor | color2 ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| originX | Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| originY | Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| color0 | The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color1 | The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color2 | The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
| void eVision.EC24Vector.Draw | ( | IntPtr | graphicContext, |
| float | width, | ||
| float | height ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | IntPtr | graphicContext, |
| float | width, | ||
| float | height, | ||
| eVision.ERGBColor | color0, | ||
| eVision.ERGBColor | color1, | ||
| eVision.ERGBColor | color2 ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| color0 | The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color1 | The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color2 | The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | IntPtr | graphicContext, |
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| originX | Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| originY | Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | IntPtr | graphicContext, |
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY, | ||
| eVision.ERGBColor | color0, | ||
| eVision.ERGBColor | color1, | ||
| eVision.ERGBColor | color2 ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| originX | Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| originY | Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| color0 | The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color1 | The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color2 | The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | width, | ||
| float | height ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | width, | ||
| float | height, | ||
| eVision.ERGBColor | color0, | ||
| eVision.ERGBColor | color1, | ||
| eVision.ERGBColor | color2 ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| color0 | The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color1 | The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color2 | The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| originX | Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| originY | Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| void eVision.EC24Vector.Draw | ( | System.Drawing.Graphics | graphicContext, |
| float | width, | ||
| float | height, | ||
| float | originX, | ||
| float | originY, | ||
| eVision.ERGBColor | color0, | ||
| eVision.ERGBColor | color1, | ||
| eVision.ERGBColor | color2 ) |
Draws a plot of the vector element values.
| graphicContext | Handle of the device context on which to draw. |
| width | Outermost horizontal size, in pixels. |
| height | Outermost vertical size, in pixels. |
| originX | Abscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| originY | Ordinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used. |
| color0 | The color to be used when drawing the curve of the first color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color1 | The color to be used when drawing the curve of the second color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
| color2 | The color to be used when drawing the curve of the third color component of the vector, as an RGB color. By default, the current pen is used to draw the curve. |
A vector is able to draw itself in a window. The vector plots the element values as a function of the element indices. The drawing appears on a neutral background.
In the special case of the EC24Vector, three curves are drawn instead of one, each corresponding to a color component. Three pen objects must be provided to draw the curves with appropriate attributes.
Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.
Deprecated in version 23.12. Scheduled to be removed in version 27.6.
| eVision.EC24 eVision.EC24Vector.GetElement | ( | int | index | ) |
Returns the vector element at the given index.
| index | Index, between 0 and EVector.NumElements (excluded) of the element to be accessed. |
If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.
| void eVision.EC24Vector.SetElement | ( | int | index, |
| eVision.EC24 | value ) |
Modifies the vector element at the given index by the given value.
| index | Index, between 0 and EVector.NumElements (excluded), of the element to be modified. |
| value | The new value for the element. |
If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.
| void eVision.EC24Vector.SetYRange | ( | ) |
| void eVision.EC24Vector.SetYRange | ( | int | n32YMin | ) |
| void eVision.EC24Vector.SetYRange | ( | int | n32YMin, |
| uint | un32YMax ) |
|
get |
Pointer to the vector data.
|
getset |
Gives access to the vector element at the given index.
| index | Index, between 0 and EVector.NumElements (excluded) of the element to be accessed. |