open3d.utility.Vector3dVector

class open3d.utility.Vector3dVector

Convert float64 numpy array of shape (n, 3) to Open3D format..

Example usage

import open3d
import numpy as np

pcd = open3d.geometry.PointCloud()
np_points = np.random.rand(100, 3)

# From numpy to Open3D
pcd.points = open3d.utility.Vector3dVector(np_points)

# From Open3D to numpy
np_points = np.asarray(pcd.points)
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: open3d.utility.Vector3dVector) -> None

  2. __init__(self: open3d.utility.Vector3dVector, arg0: numpy.ndarray[float64]) -> None

  3. __init__(self: open3d.utility.Vector3dVector, arg0: open3d.utility.Vector3dVector) -> None

Copy constructor

  1. __init__(self: open3d.utility.Vector3dVector, arg0: iterable) -> None

append(self: open3d.utility.Vector3dVector, x: numpy.ndarray[float64[3, 1]]) → None

Add an item to the end of the list

count(self: open3d.utility.Vector3dVector, x: numpy.ndarray[float64[3, 1]]) → int

Return the number of times x appears in the list

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: open3d.utility.Vector3dVector, L: open3d.utility.Vector3dVector) -> None

Extend the list by appending all the items in the given list

  1. extend(self: open3d.utility.Vector3dVector, L: iterable) -> None

Extend the list by appending all the items in the given list

insert(self: open3d.utility.Vector3dVector, i: int, x: numpy.ndarray[float64[3, 1]]) → None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: open3d.utility.Vector3dVector) -> numpy.ndarray[float64[3, 1]]

Remove and return the last item

  1. pop(self: open3d.utility.Vector3dVector, i: int) -> numpy.ndarray[float64[3, 1]]

Remove and return the item at index i

remove(self: open3d.utility.Vector3dVector, x: numpy.ndarray[float64[3, 1]]) → None

Remove the first item from the list whose value is x. It is an error if there is no such item.