scene_object
SceneObject
Bases: ABC
A wrapper class around the vtkActor functionality.
Used as a base class for all the objects that need to be rendered.
For more info see: https://vtk.org/doc/nightly/html/classvtkActor.html#details
actor = None
instance-attribute
actors: list
property
Returns actors connected to the current scene object.
Returns:
| Name | Type | Description |
|---|---|---|
list |
list
|
vtkActor objects. |
pickable = False
instance-attribute
__init__()
catch_event(picked_point_id, **kwargs)
To make object pickable implement this method.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
picked_point_id |
ind
|
Picked point ID |
required |
**kwargs |
dict
|
Additional arguments |
{}
|
Returns:
| Name | Type | Description |
|---|---|---|
list |
list
|
List of actor to represent selection of the scene object |
write()
Abstract method for writing object to a file.