marker_uses_colors Function

private function marker_uses_colors(self)

Whether the markers are drawn in the trajectory's colors: wanted, and it has some.

Arguments

Type IntentOptional Attributes Name
type(MarkerArtist), intent(in) :: self

Return Value logical


Calls

proc~~marker_uses_colors~~CallsGraph proc~marker_uses_colors marker_uses_colors num_colors num_colors proc~marker_uses_colors->num_colors

Called by

proc~~marker_uses_colors~~CalledByGraph proc~marker_uses_colors marker_uses_colors proc~build_marker_nodes build_marker_nodes proc~build_marker_nodes->proc~marker_uses_colors proc~marker_update MarkerArtist%marker_update proc~marker_update->proc~marker_uses_colors proc~rebuild_markers rebuild_markers proc~marker_update->proc~rebuild_markers proc~marker_build MarkerArtist%marker_build proc~marker_build->proc~build_marker_nodes proc~rebuild_markers->proc~build_marker_nodes proc~marker_set_point_colors MarkerArtist%marker_set_point_colors proc~marker_set_point_colors->proc~rebuild_markers proc~set_marker_image MarkerArtist%set_marker_image proc~set_marker_image->proc~rebuild_markers

Source Code

    logical function marker_uses_colors(self)
        type(MarkerArtist), intent(in) :: self
        marker_uses_colors = self%point_colors_ .and. associated(self%traj)
        if (marker_uses_colors) marker_uses_colors = self%traj%num_colors() > 0
    end function marker_uses_colors