aRTtheme-setVisual            package:aRT            R Documentation

_S_e_t _t_h_e _t_h_e_m_e'_s _v_i_s_u_a_l

_D_e_s_c_r_i_p_t_i_o_n:

     Function to set the visual of a theme, to be visualized in a
     TerraLib-based GIS. If the visual has only one color, it will set
     the default visual of the geometric objects. If it has more than
     one color, the function will generate a slicing.

_U_s_a_g_e:

     ## S4 method for signature 'aRTtheme':
     setVisual(object, visual, attribute="attname", mode="s")

_A_r_g_u_m_e_n_t_s:

  object: Object of class 'aRTtheme'.

  visual: Object of class 'aRTvisual'.

attribute: Theme attribute which values will be used to generate the
          slices.

    mode: Type of slicing (see below).

_S_l_i_c_i_n_g:

     The theme visual will be sliced if 'visual' contains more then one
     color. Slices can be generated based on 5 different factors,
     represented by 'mode':

        *  equalsteps

        *  stddeviation

        *  quantil

        *  uniquevalue

        *  raster

     When slicing a raster, 'mode' will always be 'raster', and it will
     be divided into equal steps, according with its values (and no
     'attribute' is used). The other four modes are used with
     attributes.

_A_u_t_h_o_r(_s):

     Pedro Ribeiro de Andrade Neto

_S_e_e _A_l_s_o:

     See 'aRTtheme-class' to show the description of this class.

