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=NULL, mode=c("equalsteps", "stddeviation", "quantil", "uniquevalue", "raster"))

_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

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

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

