aRTtheme-setVisual {aRT} | R Documentation |
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.
## S4 method for signature 'aRTtheme': setVisual(object, visual, attribute="attname", mode="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). |
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
:
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.
Pedro Ribeiro de Andrade Neto
See aRTtheme-class
to show the description of this class.