vkf_line_set_lod Interface

interface


Called by

interface~~vkf_line_set_lod~~CalledByGraph interface~vkf_line_set_lod vkf_line_set_lod proc~send_lod send_lod proc~send_lod->interface~vkf_line_set_lod proc~set_lod LineChain%set_lod proc~set_lod->proc~send_lod proc~update_lod update_lod proc~update_lod->proc~send_lod proc~written LineChain%written proc~written->proc~update_lod proc~write_intermediates write_intermediates proc~write_intermediates->proc~written proc~write_marker write_marker proc~write_marker->proc~written proc~write_segments write_segments proc~write_segments->proc~written proc~write_segments~2 write_segments proc~write_segments~2->proc~written proc~add_intermediates add_intermediates proc~add_intermediates->proc~write_intermediates proc~marker_update MarkerArtist%marker_update proc~marker_update->proc~write_marker proc~marker_update->proc~add_intermediates proc~segment_update SegmentArtist%segment_update proc~segment_update->proc~write_segments proc~segments_late_update CustomLineSegments%segments_late_update proc~segments_late_update->proc~write_segments~2

public function vkf_line_set_lod(line, center, radius, error, levels) bind(C, name="vkf_line_set_lod")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: line

line handle

real(kind=c_double), intent(in), dimension(3) :: center

bounding sphere center

real(kind=c_double), value :: radius

bounding sphere radius

real(kind=c_float), intent(in), dimension(*) :: error

(levels), in the points' units

integer(kind=c_int), value :: levels

(0: all points drawn)

Return Value integer(kind=c_int)

Description

A line strip's level of detail: the bounding sphere of its points and error(k): how far the points skipped can be from the segments drawn at stride 2^k (k = 1 .. levels). Returns 0, or -1 on failure.