rgl.clear                package:rgl                R Documentation

_s_c_e_n_e _m_a_n_a_g_e_m_e_n_t

_D_e_s_c_r_i_p_t_i_o_n:

     Clear shapes, lights, bbox

_U_s_a_g_e:

     rgl.clear( type = "shapes" )
     rgl.pop( type = "shapes" )  

_A_r_g_u_m_e_n_t_s:

    type: Select subtype:

          "_s_h_a_p_e_s" shape stack

          "_l_i_g_h_t_s" light stack

          "_b_b_o_x" bounding box

_D_e_t_a_i_l_s:

     RGL holds two stacks. One is for shapes and the other is for
     lights.  'rgl.clear' clears the specified stack, while 'rgl.pop'
     removes  the top-most (last added) node on the stack. Since the
     bounding box is an optional element, one can disable it  with
     'rgl.clear'.

_S_e_e _A_l_s_o:

     'rgl' 'rgl.bbox' 'rgl.light'

