aRTtheme-setVisual {aRT}R Documentation

Set the theme's visual

Description

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.

Usage

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

Arguments

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).

Slicing

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.

Author(s)

Pedro Ribeiro de Andrade Neto

See Also

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


[Package aRT version 0.4-0 Index]