Write intermediate markers i1 .. i2 into their chain, with their colors (with point colors), and upload the chunks written to.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(MarkerArtist), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | i1 |
the intermediate markers |
||
| integer, | intent(in) | :: | i2 |
the intermediate markers |
subroutine write_intermediates(self, i1, i2) type(MarkerArtist), intent(inout) :: self integer, intent(in) :: i1, i2 !! the intermediate markers real(c_float), dimension(:,:,:), pointer :: p real(c_float), dimension(:,:), pointer :: c integer :: j, lo, hi call self%inter%reserve(i2) do j = 1, self%inter%num_chunks() call self%inter%slice(j, i1, i2, lo, hi, p) if (.not. associated(p)) cycle call split_points(self%inter_xyz(:, lo:hi), p) call self%inter%color_slice(j, i1, i2, lo, hi, c) if (associated(c)) c = real(self%inter_rgba(:, lo:hi), c_float) end do call self%inter%written(i1, i2) end subroutine write_intermediates