csc.model.DataViewer

class csc.model.DataViewer

DataViewer class

This class allows to view scene data and their properties.

Variables:
  • get_data_value – overridden method by id : csc.model.DataId || csc.model.DataId, int (frame) -> Data.Value

  • get_behaviour_property – overridden method by : csc.model.BehaviourId, string -> Data.Value || csc.model.BehaviourId, string, int (frame) -> Setiing.Value

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

cluster_viewer(self)

-> ClusterViewer

get_all_data_id(self, object_id)

-> csc.model.DataId[]

get_all_settings_id(self, object_id)

-> csc.model.SettingId[]

get_animation_size(self)

-> int

get_behaviour_default_data_value(self, id, name)

id : csc.model.Beh id | name : string | -> csc.model.DataValue

get_behaviour_property(*args, **kwargs)

Overloaded function.

get_data(self, id)

id : csc.model.DataId | -> Data

get_data_id(self, id, name)

id : csc.model.ObjectId | name : string | -> csc.model.DataId

get_data_value(*args, **kwargs)

Overloaded function.

get_description_by_name(self, arg0)

-> string

get_description_names(self)

-> string[]

get_description_value(*args, **kwargs)

Overloaded function.

get_setting(self, id)

id : csc.model.SettingId | -> Setting

get_setting_id(self, id, name)

id : csc.model.ObjectId | name : string | -> csc.model.DataId

get_setting_value(*args, **kwargs)

Overloaded function.

union_get_data_value(self, data_id[, frame])

id : csc.model.DataId | -> Data.Value

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.model'
cluster_viewer(self: csc.model.DataViewer) csc.model.ClusterViewer

-> ClusterViewer

get_all_data_id(self: csc.model.DataViewer, object_id: csc.model.ObjectId) list[csc.model.DataId]

-> csc.model.DataId[]

get_all_settings_id(self: csc.model.DataViewer, object_id: csc.model.ObjectId) list[csc.model.SettingId]

-> csc.model.SettingId[]

get_animation_size(self: csc.model.DataViewer) int

-> int

get_behaviour_default_data_value(self: csc.model.DataViewer, id: csc.model.BehaviourId, name: str) bool | int | float | numpy.ndarray[numpy.float32[3, 1]] | numpy.ndarray[numpy.float32[4, 1]] | csc.math.Rotation | numpy.ndarray[numpy.float32[3, 3]] | numpy.ndarray[numpy.float32[4, 4]] | csc.math.Quaternion | str | numpy.ndarray[bool[3, 1]] | None

id : csc.model.Beh id | name : string | -> csc.model.DataValue

get_behaviour_property(*args, **kwargs)

Overloaded function.

  1. get_behaviour_property(self: csc.model.DataViewer, id: csc.model.BehaviourId, name: str, frame: int) -> Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], numpy.ndarray[numpy.float32[4, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]

  2. get_behaviour_property(self: csc.model.DataViewer, id: csc.model.BehaviourId, name: str) -> Union[bool, int]

get_data(self: csc.model.DataViewer, id: csc.model.DataId) csc.model.Data

id : csc.model.DataId | -> Data

get_data_id(self: csc.model.DataViewer, id: csc.model.ObjectId, name: str) csc.model.DataId

id : csc.model.ObjectId | name : string | -> csc.model.DataId

get_data_value(*args, **kwargs)

Overloaded function.

  1. get_data_value(self: csc.model.DataViewer, id: csc.model.DataId) -> Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], numpy.ndarray[numpy.float32[4, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]

  2. get_data_value(self: csc.model.DataViewer, arg0: csc.model.DataId, arg1: int) -> Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], numpy.ndarray[numpy.float32[4, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]

get_description_by_name(self: csc.model.DataViewer, arg0: str) str

-> string

get_description_names(self: csc.model.DataViewer) list[str]

-> string[]

get_description_value(*args, **kwargs)

Overloaded function.

  1. get_description_value(self: csc.model.DataViewer, id: csc.model.DataId) -> str

    id : csc.model.DataId -> string

  2. get_description_value(self: csc.model.DataViewer, id: csc.model.SettingId) -> str

    id : csc.model.SettingId -> string

get_setting(self: csc.model.DataViewer, id: csc.model.SettingId) csc.model.Setting

id : csc.model.SettingId | -> Setting

get_setting_id(self: csc.model.DataViewer, id: csc.model.ObjectId, name: str) csc.model.SettingId

id : csc.model.ObjectId | name : string | -> csc.model.DataId

get_setting_value(*args, **kwargs)

Overloaded function.

  1. get_setting_value(self: csc.model.DataViewer, id: csc.model.SettingId) -> Union[bool, int]

    id : csc.model.SettingId | -> Setting.Value

  2. get_setting_value(self: csc.model.DataViewer, setting_id: csc.model.SettingId, position: int) -> Union[bool, int]

    id : csc.model.SettingId, position : int | -> Setting.Value

union_get_data_value(self: csc.model.DataViewer, data_id: csc.model.DataId, frame: int = 0) bool | int | float | numpy.ndarray[numpy.float32[3, 1]] | numpy.ndarray[numpy.float32[4, 1]] | csc.math.Rotation | numpy.ndarray[numpy.float32[3, 3]] | numpy.ndarray[numpy.float32[4, 4]] | csc.math.Quaternion | str | numpy.ndarray[bool[3, 1]]

id : csc.model.DataId | -> Data.Value