pixano.features.schemas.views.point_cloud
PointCloud(created_at=None, updated_at=None, **data)
Bases: View
Point Cloud view.
Attributes:
Name | Type | Description |
---|---|---|
url |
str
|
The point cloud URL. |
Raises ValidationError
if the input data cannot be
validated to form a valid model.
self
is explicitly positional-only to allow self
as a field name.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
created_at
|
datetime | None
|
The creation date of the object. |
None
|
updated_at
|
datetime | None
|
The last modification date of the object. |
None
|
data
|
Any
|
The data of the object validated by Pydantic. |
{}
|
Source code in pixano/features/schemas/base_schema.py
create_point_cloud(url, id='', item_ref=ItemRef.none(), parent_ref=ViewRef.none())
Create a PointCloud
instance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
url
|
str
|
The point cloud URL. |
required |
id
|
str
|
Point cloud ID. |
''
|
item_ref
|
ItemRef
|
Item reference. |
none()
|
parent_ref
|
ViewRef
|
Parent view reference. |
none()
|
Returns:
Type | Description |
---|---|
PointCloud
|
The created |