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 : BehaviourId, string -> Data.Value || BehaviourId, string, int (frame) -> Setiing.Value

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

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_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

__init__(*args, **kwargs)
__module__ = 'csc.model'
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.Guid, name: str) Optional[Union[bool, int, float, numpy.ndarray[numpy.float32[3, 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.Beh id | name : string | -> csc.model.DataValue

get_behaviour_property(*args, **kwargs)

Overloaded function.

  1. get_behaviour_property(self: csc.model.DataViewer, id: csc.Guid, name: str, frame: int) -> Union[bool, int, float, numpy.ndarray[numpy.float32[3, 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.Guid, 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]], 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]], 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_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) Union[bool, int, float, numpy.ndarray[numpy.float32[3, 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