Style
- class tissue_forge.rendering.ColorMapper(*args)
- property min_val
minimum value of map
- property max_val
maximum value of map
- property has_map_particle: bool
- property has_map_angle: bool
- property has_map_bond: bool
- property has_map_dihedral: bool
- clear_map_particle() void
Clear the particle map
- clear_map_angle() void
Clear the angle map
- clear_map_bond() void
Clear the bond map
- clear_map_dihedral() void
Clear the dihedral map
- set_map_particle_position_x() void
Set the particle map to x-coordinate of particle position
- set_map_particle_position_y() void
Set the particle map to y-coordinate of particle position
- set_map_particle_position_z() void
Set the particle map to z-coordinate of particle position
- set_map_particle_velocity_x() void
Set the particle map to x-component of particle velocity
- set_map_particle_velocity_y() void
Set the particle map to y-component of particle velocity
- set_map_particle_velocity_z() void
Set the particle map to z-component of particle velocity
- set_map_particle_speed() void
Set the particle map to particle speed
- set_map_particle_force_x() void
Set the particle map to x-component of particle force
- set_map_particle_force_y() void
Set the particle map to y-component of particle force
- set_map_particle_force_z() void
Set the particle map to z-component of particle force
- set_map_particle_species(pType: ParticleType, name: std::string const &) void
Set the particle map to a species value
- Parameters:
pType (
ParticleType
) – particle typename (string) – species name
- set_map_angle_angle() void
Set the angle map to angle
- set_map_angle_angle_eq() void
Set the angle map to angle from equilibrium
- set_map_bond_length() void
Set the bond map to length
- set_map_bond_length_eq() void
Set the bond map to length from equilibrium
- set_map_dihedral_angle() void
Set the dihedral map to angle
- set_map_dihedral_angle_eq() void
Set the dihedral map to angle from equilibrium
- class tissue_forge.rendering.Style(*args)
- property color
Default color
- property visible: bool
Visibility flag
- property colormap: str
Name of color map
- property mapper
Color mapper of this style
- setColor(colorName: std::string const &) HRESULT
Set the color by name
- Parameters:
colorName (string) – name of color
- Return type:
int
- Returns:
HRESULT
- toString() std::string
Get a JSON string representation
- Return type:
string
- Returns:
std::string
- static fromString(str: std::string const &) TissueForge::rendering::Style *
Create from a JSON string representation.
- Parameters:
str (string) –
- Return type:
- Returns:
Style*
- __reduce__()
Helper for pickle.