set_level_of_detail Subroutine

private subroutine set_level_of_detail(self, enabled)

Level of detail (default on): seen from far away, the curve is drawn from every 2nd, 4th, ... point (and its last), as many as can be skipped while staying within half a pixel of all of them, chosen per view and per chunk of points. Off: every point is drawn.

Type Bound

CurveArtist

Arguments

Type IntentOptional Attributes Name
class(CurveArtist), intent(inout) :: self
logical, intent(in) :: enabled

true: level of detail on (default)


Calls

proc~~set_level_of_detail~~CallsGraph proc~set_level_of_detail CurveArtist%set_level_of_detail set_lod set_lod proc~set_level_of_detail->set_lod

Source Code

    subroutine set_level_of_detail(self, enabled)
        class(CurveArtist), intent(inout) :: self
        logical, intent(in) :: enabled                      !! true: level of detail on (default)
        self%lod_ = enabled
        call self%chain%set_lod(enabled)
    end subroutine set_level_of_detail