Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfGMLSupport :: Module GmlRasterSymbol' :: Class GmlRasterSymbol
[hide private]
[frames] | no frames]

Class GmlRasterSymbol

                         object --+            
                                  |            
                   Element'.Element --+        
                                      |        
Core.IdentifiedObject'.IdentifiedObject --+    
                                          |    
                       GmlSymbol'.GmlSymbol --+
                                              |
                                             GmlRasterSymbol

Describes how to render raster/matrix-coverage data (e.g., satellite photos, DEMs).Describes how to render raster/matrix-coverage data (e.g., satellite photos, DEMs).

Instance Methods [hide private]
 
__init__(self, graySourcename='', greenSourceName='', opacity=0.0, reliefFactor='', redSourcename='', overlapbehaviour='', brighnessOnly=False, blueSourcename='', GmlDiagramObject=None, *args, **kw_args)
Initialises a new 'GmlRasterSymbol' instance.
 
getGmlDiagramObject(self)
 
setGmlDiagramObject(self, value)

Inherited from GmlSymbol'.GmlSymbol: addGmlFeatureStyles, getGmlBaseSymbol, getGmlFeatureStyles, removeGmlFeatureStyles, setGmlBaseSymbol, setGmlFeatureStyles

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'blueSourcename': <type 'str'>, 'brighnessOnly'...
  _attrs = ['graySourcename', 'greenSourceName', 'opacity', 'rel...
  _defaults = {'blueSourcename': '', 'brighnessOnly': False, 'gr...
  _many_refs = []
  _refs = ['GmlDiagramObject']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  GmlDiagramObject

Inherited from GmlSymbol'.GmlSymbol: GmlBaseSymbol, GmlFeatureStyles

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, graySourcename='', greenSourceName='', opacity=0.0, reliefFactor='', redSourcename='', overlapbehaviour='', brighnessOnly=False, blueSourcename='', GmlDiagramObject=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'GmlRasterSymbol' instance.

Parameters:
  • graySourcename - A single colour channel may be selected to display in grayscale. Colour Channels are identified by a system and data-dependent character identifier. Contrast enhancement may be applied to each channel in isolation.
  • greenSourceName - Colour Channels are identified by a system and data-dependent character identifier. Contrast enhancement may be applied to each channel in isolation.
  • opacity - Specifies the level of translucency to use when rendering the Graphic. The value is encoded as a floating-point value between 0.0 and 1.0 with 0.0 representing completely transparent and 1.0 representing completely opaque, with a linear scale of translucency for intermediate values. The default value is 1.0.
  • reliefFactor - The ReliefFactor gives the amount of exaggeration to use for the height of the 'hills'. A value of around 55 (times) gives reasonable results for Earth-based DEMs. The default value is system-dependent.
  • redSourcename - Colour Channels are identified by a system and data-dependent character identifier. Contrast enhancement may be applied to each channel in isolation.
  • overlapbehaviour - Tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes.
  • brighnessOnly - If the BrightnessOnly flag is 0 (false, default), the shading is applied to the layer being rendered as the current RasterSymbol. If BrightnessOnly is 1 (true), the shading is applied to the brightness of the colors in the rendering canvas generated so far by other layers, with the effect of relief-shading these other layers.
  • blueSourcename - Colour Channels are identified by a system and data-dependent character identifier. Contrast enhancement may be applied to each channel in isolation.
  • GmlDiagramObject
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'blueSourcename': <type 'str'>,
 'brighnessOnly': <type 'bool'>,
 'graySourcename': <type 'str'>,
 'greenSourceName': <type 'str'>,
 'opacity': <type 'float'>,
 'overlapbehaviour': <type 'str'>,
 'redSourcename': <type 'str'>,
 'reliefFactor': <type 'str'>}

_attrs

Value:
['graySourcename',
 'greenSourceName',
 'opacity',
 'reliefFactor',
 'redSourcename',
 'overlapbehaviour',
 'brighnessOnly',
 'blueSourcename']

_defaults

Value:
{'blueSourcename': '',
 'brighnessOnly': False,
 'graySourcename': '',
 'greenSourceName': '',
 'opacity': 0.0,
 'overlapbehaviour': '',
 'redSourcename': '',
 'reliefFactor': ''}

Property Details [hide private]

GmlDiagramObject

Get Method:
getGmlDiagramObject(self)
Set Method:
setGmlDiagramObject(self, value)