|
| None | __init__ (self) |
| | Constructs a vector.
|
| None | __init__ (self, eVision.EPeakVector other) |
| | Constructs a vector.
|
| None | __init__ (self, int maxNumberOfElements) |
| | Constructs a vector.
|
| None | AddElement (self, eVision.EPeak element) |
| | Appends (adds at the tail) an element to the vector.
|
| eVision.EPeak | GetElement (self, int index) |
| | Returns the vector element at the given index.
|
| None | SetElement (self, int index, eVision.EPeak value) |
| | Modifies the vector element at the given index by the given value.
|
| eVision.EPeak | IndexOperator_Getter (self, int index) |
| None | IndexOperator_Setter (self, int index, eVision.EPeak value) |
| None | Empty (self) |
| | Resets the number of elements to 0.
|
| None | RemoveElement (self, int index) |
| | Removes the element at the specified position.
|
| None | Save (self, str path) |
| | Saves the eVision.EVector object with all its attributes.
|
| None | Save (self, eVision.ESerializer|None serializer) |
| | Saves the eVision.EVector object with all its attributes.
|
| None | Save (self, str path, int un32Version) |
| | Saves the eVision.EVector object with all its attributes.
|
| None | Save (self, eVision.ESerializer|None serializer, int un32Version) |
| | Saves the eVision.EVector object with all its attributes.
|
| None | Load (self, str path) |
| | Loads the eVision.EVector object with all its attributes.
|
| None | Load (self, eVision.ESerializer|None serializer) |
| | Loads the eVision.EVector object with all its attributes.
|
| None | Load (self, str path, int un32Version) |
| | Loads the eVision.EVector object with all its attributes.
|
| None | Load (self, eVision.ESerializer|None serializer, int un32Version) |
| | Loads the eVision.EVector object with all its attributes.
|
Vector objects are used to store 1-dimensional data.
Remarks:
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 eVision.EVector.Empty member, and then add elements one at time at the tail by calling the eVision.EPeakVector.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 eVision.EVector.NumElements.
License(s): BasicTypes