> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Object3D

[View source](https://github.com/wandb/wandb/blob/main/wandb/sdk/data_types/object_3d.py#L245)

## Classe wandb.Object3D

Classe W\&B pour les nuages de points 3D.

```python theme={"system"}
data_or_path: 'np.ndarray | str | pathlib.Path | TextIO | dict',
caption: 'str | None' = None, **kwargs: 'str | FileFormat3D | None'
```

## Arguments

**data\_or\_path** `np.ndarray | str | pathlib.Path | TextIO | dict`

Object3D peut être initialisé à partir d’un fichier ou d’un tableau NumPy.

**caption** `str | None`

Légende associée à l’objet, à afficher.

**kwargs** `str | FileFormat3D | None`

Aucune description fournie.

## Méthodes

### méthode Object3D.from\_file()

```python theme={"system"}
data_or_path: 'TextIO | str',
file_type: 'FileFormat3D | None' = None
```

Initialise un Object3D à partir d’un fichier ou d’un flux.

##### Arguments

**data\_or\_path** `TextIO | str`

Chemin d’accès à un fichier ou flux `TextIO`.

### méthode Object3D.from\_numpy()

```python theme={"system"}
data: 'np.ndarray'
```

Initialise un Object3D à partir d’un tableau numpy.

### méthode Object3D.from\_point\_cloud()

```python theme={"system"}
points: 'Sequence[Point]',
boxes: 'Sequence[Box3D]',
vectors: 'Sequence[Vector3D] | None' = None,
point_cloud_type: 'PointCloudType' = 'lidar/beta'
```

Initialise Object3D à partir d’un objet Python.

##### Arguments

**points** `Sequence[Point]`

Les points du nuage de points.

**boxes** `Sequence[Box3D]`

Boîtes englobantes 3D servant à annoter le nuage de points. Les boîtes s’affichent dans les visualisations de nuages de points.

**vectors** `Sequence[Vector3D] | None`

Chaque vecteur s’affiche dans la visualisation du nuage de points. Peut servir à indiquer l’orientation des boîtes englobantes. Par défaut : None.
