differt_core.scene.Shape

differt_core.scene.Shape#

class Shape#

Bases: object

A shape, that is part of a scene.

Attributes

file

The path to the shape file.

id

The shape ID.

material_id

The material ID attached to this object.

type

The type of the shape file.

Methods

Detailed documentation

file#

The path to the shape file.

This path is relative to the scene config file.

Type:

str

id#

The shape ID.

It should be unique (in a given scene).

Type:

str

material_id#

The material ID attached to this object.

Type:

str

type#

The type of the shape file.

E.g., ply for Stanford PLY format.

Type:

str