eVision .NET API
Loading...
Searching...
No Matches
eVision.EBWHistogramVector Class Reference

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

Inheritance diagram for eVision.EBWHistogramVector:
Collaboration diagram for eVision.EBWHistogramVector:

Public Member Functions

 EBWHistogramVector ()
 Constructs a vector.
 EBWHistogramVector (eVision.EBWHistogramVector other)
 Constructs a vector.
 EBWHistogramVector (uint maxNumberOfElements)
 Constructs a vector.
void AddElement (uint element)
 Appends (adds at the tail) an element to the vector.
uint GetElement (int index)
 Returns the vector element at the given index.
void SetElement (int index, uint value)
 Modifies the vector element at the given index by the given value.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPlotDecorationOptions options, float width, float height, float originX, float originY)
 Draws a plot of the vector element values.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPlotDecorationOptions options, float width, float height, float originX)
 Draws a plot of the vector element values.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPlotDecorationOptions options, 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)
 Draws a plot of the vector element values.
void Draw (eVision.EDrawAdapter 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)
 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, eVision.ERGBColor color, float width, float height, float originX, float originY)
 Draws a plot of the vector element values.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float width, float height, float originX)
 Draws a plot of the vector element values.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float width, float height)
 Draws a plot of the vector element values.
void DrawWithCurrentPen (IntPtr graphicContext, float width, float height, float originX, float originY)
 Draws a plot of the vector element values.
void DrawWithCurrentPen (IntPtr graphicContext, float width, float height, float originX)
 Draws a plot of the vector element values.
void DrawWithCurrentPen (IntPtr 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)
 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, eVision.ERGBColor color, float width, float height, float originX, float originY)
 Draws a plot of the vector element values.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float width, float height, float originX)
 Draws a plot of the vector element values.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float width, float height)
 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

uint 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.

Detailed Description

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.

  • To create a vector, use its constructor.
  • To fill a vector with values, first empty it, using the EVector.Empty member, and then add elements one at time at the tail by calling the EBWHistogramVector.AddElement member.
  • To access a vector element, either for reading or writing, use the [] operator.
  • To inquire for the current number of elements, use member EVector.NumElements.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EBWHistogramVector() [1/3]

eVision.EBWHistogramVector.EBWHistogramVector ( )

Constructs a vector.

◆ EBWHistogramVector() [2/3]

eVision.EBWHistogramVector.EBWHistogramVector ( eVision.EBWHistogramVector other)

Constructs a vector.

Parameters
otherEBWHistogramVector object to be copied

◆ EBWHistogramVector() [3/3]

eVision.EBWHistogramVector.EBWHistogramVector ( uint maxNumberOfElements)

Constructs a vector.

Parameters
maxNumberOfElementsOptionally, memory can be pre-allocated to accommodate a given number of elements.

Member Function Documentation

◆ AddElement()

void eVision.EBWHistogramVector.AddElement ( uint element)

Appends (adds at the tail) an element to the vector.

Parameters
elementThe element to be added.

◆ Draw() [1/18]

void eVision.EBWHistogramVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPlotDecorationOptions options,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
optionsOptions for drawing the decoration of a plot (axes, ticks, etc.).
widthOutermost horizontal size, in pixels.
heightOutermost 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.

◆ Draw() [2/18]

void eVision.EBWHistogramVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPlotDecorationOptions options,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
optionsOptions for drawing the decoration of a plot (axes, ticks, etc.).
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

◆ Draw() [3/18]

void eVision.EBWHistogramVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPlotDecorationOptions options,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
optionsOptions for drawing the decoration of a plot (axes, ticks, etc.).
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

◆ Draw() [4/18]

void eVision.EBWHistogramVector.Draw ( eVision.EDrawAdapter graphicContext,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost 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.

◆ Draw() [5/18]

void eVision.EBWHistogramVector.Draw ( eVision.EDrawAdapter graphicContext,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

◆ Draw() [6/18]

void eVision.EBWHistogramVector.Draw ( eVision.EDrawAdapter graphicContext,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

◆ Draw() [7/18]

void eVision.EBWHistogramVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
widthOutermost horizontal size, in pixels.
heightOutermost 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [8/18]

void eVision.EBWHistogramVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [9/18]

void eVision.EBWHistogramVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [10/18]

void eVision.EBWHistogramVector.Draw ( IntPtr graphicContext,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [11/18]

void eVision.EBWHistogramVector.Draw ( IntPtr graphicContext,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [12/18]

void eVision.EBWHistogramVector.Draw ( IntPtr graphicContext,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [13/18]

void eVision.EBWHistogramVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
widthOutermost horizontal size, in pixels.
heightOutermost 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [14/18]

void eVision.EBWHistogramVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [15/18]

void eVision.EBWHistogramVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [16/18]

void eVision.EBWHistogramVector.Draw ( System.Drawing.Graphics graphicContext,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [17/18]

void eVision.EBWHistogramVector.Draw ( System.Drawing.Graphics graphicContext,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [18/18]

void eVision.EBWHistogramVector.Draw ( System.Drawing.Graphics graphicContext,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [1/3]

void eVision.EBWHistogramVector.DrawWithCurrentPen ( IntPtr graphicContext,
float width,
float height )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [2/3]

void eVision.EBWHistogramVector.DrawWithCurrentPen ( IntPtr graphicContext,
float width,
float height,
float originX )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [3/3]

void eVision.EBWHistogramVector.DrawWithCurrentPen ( IntPtr graphicContext,
float width,
float height,
float originX,
float originY )

Draws a plot of the vector element values.

Parameters
graphicContextHandle of the device context on which to draw.
widthOutermost horizontal size, in pixels.
heightOutermost vertical size, in pixels.
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate 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.

Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetElement()

uint eVision.EBWHistogramVector.GetElement ( int index)

Returns the vector element at the given index.

Parameters
indexIndex, 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.

◆ SetElement()

void eVision.EBWHistogramVector.SetElement ( int index,
uint value )

Modifies the vector element at the given index by the given value.

Parameters
indexIndex, between 0 and EVector.NumElements (excluded), of the element to be modified.
valueThe new value for the element.

If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.

Property Documentation

◆ RawDataPtr

IntPtr eVision.EBWHistogramVector.RawDataPtr
get

Pointer to the vector data.

◆ this[uint index]

uint eVision.EBWHistogramVector.this[uint index]
getset

Gives access to the vector element at the given index.

Parameters
indexIndex, between 0 and EVector.NumElements (excluded) of the element to be accessed.