pyrocko.gui.sparrow.elements.icosphere

Classes

IcosphereBaseChoice(...)

Any str out of ['icosahedron', 'tetrahedron', 'tcube'].

IcosphereKindChoice(...)

Any str out of ['kind1', 'kind2'].

IcosphereState(**kwargs)

Undocumented.

class IcosphereBaseChoice(...) → str[source]

Bases: StringChoice

Any str out of ['icosahedron', 'tetrahedron', 'tcube'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class IcosphereKindChoice(...) → str[source]

Bases: StringChoice

Any str out of ['kind1', 'kind2'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class IcosphereState(**kwargs)[source]

Bases: ElementState

Undocumented.

♦ base

str (IcosphereBaseChoice), default: 'icosahedron'

♦ kind

str (IcosphereKindChoice), default: 'kind1'

♦ level

int, default: 0

♦ visible

bool, default: True

♦ smooth

bool, default: False

♦ color

pyrocko.color.Color, default: Color('aluminium5')

♦ ambient

float, default: 0.0

♦ diffuse

float, default: 1.0

♦ specular

float, default: 0.0

♦ opacity

float, default: 1.0

♦ depth

float, default: 30000.0