mecheye.area_scan_3d_camera.VectorCameraInfo

class mecheye.area_scan_3d_camera.VectorCameraInfo(*args)

Mutable vector of CameraInfo values.

Construct from a sequence, or a size and optional initial value. Value objects are copied on insertion; parameter handles retain their camera ownership.

append(value)

Append a copied value; camera-owned parameter handles retain shared ownership.

assign(n, value)

Replace the contents with n independent copies of value.

back()

Return the last element; an empty vector raises IndexError.

begin()

Return an iterator positioned at the first element.

capacity()

Return the adapter’s logical reserved capacity, at least the current size.

clear()

Remove all elements.

empty()

Return whether the vector contains no elements.

end()

Return the one-past-end iterator; dereferencing it raises StopIteration.

erase(first, last=None)

Erase one iterator element, or the half-open range first to last.

Returns:

An iterator positioned at the first element following the erased range.

extend(values)

Append independent copies of values, retaining shared parameter handles.

front()

Return the first element; an empty vector raises IndexError.

get_allocator()

Return the Python element type used to create default values.

insert(position, *args)

Insert at an index or iterator position.

Use insert(position, value) to return an iterator to the inserted value. insert(position, count, value) inserts count copies and returns None.

iterator()

Return an iterator starting at the first element.

pop(index=-1)

Remove and return the indexed element; default to the last element.

pop_back()

Remove the last element.

push_back(value)

Append a copied value; camera-owned parameter handles retain shared ownership.

rbegin()

Return a reverse iterator positioned at the last element.

rend()

Return the one-past-end reverse iterator.

reserve(n)

Record a minimum logical capacity without allocating SDK storage.

resize(n, value=None)

Resize to n elements, copying value or default-constructed elements when growing.

Raises:

ValueError – n is negative.

size()

Return the number of stored elements.

swap(other)

Exchange the contents of this vector and other.