Advertisement
xunilk

QgsMultiBandColorRenderer (PyQGIS)

Aug 6th, 2014
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. Python 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on zeito
  2. ## Type help(iface) for more info and list of methods.
  3. help(QgsMultiBandColorRenderer)
  4. Help on class QgsMultiBandColorRenderer in module qgis.core:
  5.  
  6. class QgsMultiBandColorRenderer(QgsRasterRenderer)
  7. | QgsMultiBandColorRenderer(QgsRasterDataProvider, int, int, int, QgsContrastEnhancement redEnhancement=None, QgsContrastEnhancement greenEnhancement=None, QgsContrastEnhancement blueEnhancement=None)
  8. | QgsMultiBandColorRenderer(QgsMultiBandColorRenderer)
  9. |
  10. | Method resolution order:
  11. | QgsMultiBandColorRenderer
  12. | QgsRasterRenderer
  13. | QgsRasterInterface
  14. | sip.wrapper
  15. | sip.simplewrapper
  16. | __builtin__.object
  17. |
  18. | Methods defined here:
  19. |
  20. | block(...)
  21. | QgsMultiBandColorRenderer.block(int, QgsRectangle, int, int) -> QgsRasterBlock
  22. |
  23. | blueBand(...)
  24. | QgsMultiBandColorRenderer.blueBand() -> int
  25. |
  26. | blueContrastEnhancement(...)
  27. | QgsMultiBandColorRenderer.blueContrastEnhancement() -> QgsContrastEnhancement
  28. |
  29. | clone(...)
  30. | QgsMultiBandColorRenderer.clone() -> QgsRasterInterface
  31. |
  32. | create(...)
  33. | QgsMultiBandColorRenderer.create(QDomElement, QgsRasterDataProvider) -> QgsRasterRenderer
  34. |
  35. | greenBand(...)
  36. | QgsMultiBandColorRenderer.greenBand() -> int
  37. |
  38. | greenContrastEnhancement(...)
  39. | QgsMultiBandColorRenderer.greenContrastEnhancement() -> QgsContrastEnhancement
  40. |
  41. | redBand(...)
  42. | QgsMultiBandColorRenderer.redBand() -> int
  43. |
  44. | redContrastEnhancement(...)
  45. | QgsMultiBandColorRenderer.redContrastEnhancement() -> QgsContrastEnhancement
  46. |
  47. | setBlueBand(...)
  48. | QgsMultiBandColorRenderer.setBlueBand(int)
  49. |
  50. | setBlueContrastEnhancement(...)
  51. | QgsMultiBandColorRenderer.setBlueContrastEnhancement(QgsContrastEnhancement)
  52. |
  53. | setGreenBand(...)
  54. | QgsMultiBandColorRenderer.setGreenBand(int)
  55. |
  56. | setGreenContrastEnhancement(...)
  57. | QgsMultiBandColorRenderer.setGreenContrastEnhancement(QgsContrastEnhancement)
  58. |
  59. | setRedBand(...)
  60. | QgsMultiBandColorRenderer.setRedBand(int)
  61. |
  62. | setRedContrastEnhancement(...)
  63. | QgsMultiBandColorRenderer.setRedContrastEnhancement(QgsContrastEnhancement)
  64. |
  65. | usesBands(...)
  66. | QgsMultiBandColorRenderer.usesBands() -> list-of-int
  67. |
  68. | writeXML(...)
  69. | QgsMultiBandColorRenderer.writeXML(QDomDocument, QDomElement)
  70. |
  71. | ----------------------------------------------------------------------
  72. | Methods inherited from QgsRasterRenderer:
  73. |
  74. | alphaBand(...)
  75. | QgsRasterRenderer.alphaBand() -> int
  76. |
  77. | bandCount(...)
  78. | QgsRasterRenderer.bandCount() -> int
  79. |
  80. | dataType(...)
  81. | QgsRasterRenderer.dataType(int) -> QGis.DataType
  82. |
  83. | legendSymbologyItems(...)
  84. | QgsRasterRenderer.legendSymbologyItems(list-of-tuple-of-QString-QColor)
  85. |
  86. | minMaxOriginFromName(...)
  87. | QgsRasterRenderer.minMaxOriginFromName(QString) -> int
  88. |
  89. | minMaxOriginLabel(...)
  90. | QgsRasterRenderer.minMaxOriginLabel(int) -> QString
  91. |
  92. | minMaxOriginName(...)
  93. | QgsRasterRenderer.minMaxOriginName(int) -> QString
  94. |
  95. | opacity(...)
  96. | QgsRasterRenderer.opacity() -> float
  97. |
  98. | rasterTransparency(...)
  99. | QgsRasterRenderer.rasterTransparency() -> QgsRasterTransparency
  100. |
  101. | readXML(...)
  102. | QgsRasterRenderer.readXML(QDomElement)
  103. |
  104. | setAlphaBand(...)
  105. | QgsRasterRenderer.setAlphaBand(int)
  106. |
  107. | setInput(...)
  108. | QgsRasterRenderer.setInput(QgsRasterInterface) -> bool
  109. |
  110. | setOpacity(...)
  111. | QgsRasterRenderer.setOpacity(float)
  112. |
  113. | setRasterTransparency(...)
  114. | QgsRasterRenderer.setRasterTransparency(QgsRasterTransparency)
  115. |
  116. | type(...)
  117. | QgsRasterRenderer.type() -> QString
  118. |
  119. | usesTransparency(...)
  120. | QgsRasterRenderer.usesTransparency() -> bool
  121. |
  122. | ----------------------------------------------------------------------
  123. | Methods inherited from QgsRasterInterface:
  124. |
  125. | bandStatistics(...)
  126. | QgsRasterInterface.bandStatistics(int, int theStats=QgsRasterBandStats.All, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0) -> QgsRasterBandStats
  127. |
  128. | capabilities(...)
  129. | QgsRasterInterface.capabilities() -> int
  130. |
  131. | capabilitiesString(...)
  132. | QgsRasterInterface.capabilitiesString() -> QString
  133. |
  134. | cumulativeCut(...)
  135. | QgsRasterInterface.cumulativeCut(int, float, float, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0) -> (float, float)
  136. |
  137. | dataTypeSize(...)
  138. | QgsRasterInterface.dataTypeSize(int) -> int
  139. |
  140. | extent(...)
  141. | QgsRasterInterface.extent() -> QgsRectangle
  142. |
  143. | generateBandName(...)
  144. | QgsRasterInterface.generateBandName(int) -> QString
  145. |
  146. | hasHistogram(...)
  147. | QgsRasterInterface.hasHistogram(int, int, float, float, QgsRectangle, int, bool) -> bool
  148. |
  149. | hasStatistics(...)
  150. | QgsRasterInterface.hasStatistics(int, int theStats=QgsRasterBandStats.All, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0) -> bool
  151. |
  152. | histogram(...)
  153. | QgsRasterInterface.histogram(int, int, float, float, QgsRectangle, int, bool) -> QgsRasterHistogram
  154. |
  155. | input(...)
  156. | QgsRasterInterface.input() -> QgsRasterInterface
  157. |
  158. | on(...)
  159. | QgsRasterInterface.on() -> bool
  160. |
  161. | setOn(...)
  162. | QgsRasterInterface.setOn(bool)
  163. |
  164. | srcDataType(...)
  165. | QgsRasterInterface.srcDataType(int) -> QGis.DataType
  166. |
  167. | srcInput(...)
  168. | QgsRasterInterface.srcInput() -> QgsRasterInterface
  169. |
  170. | xBlockSize(...)
  171. | QgsRasterInterface.xBlockSize() -> int
  172. |
  173. | xSize(...)
  174. | QgsRasterInterface.xSize() -> int
  175. |
  176. | yBlockSize(...)
  177. | QgsRasterInterface.yBlockSize() -> int
  178. |
  179. | ySize(...)
  180. | QgsRasterInterface.ySize() -> int
  181. |
  182. | ----------------------------------------------------------------------
  183. | Data descriptors inherited from QgsRasterInterface:
  184. |
  185. | __weakref__
  186. | list of weak references to the object (if defined)
  187. |
  188. | ----------------------------------------------------------------------
  189. | Data and other attributes inherited from QgsRasterInterface:
  190. |
  191. | BuildPyramids = 16
  192. |
  193. | Capability = <class 'qgis.core.Capability'>
  194. |
  195. |
  196. | Create = 4
  197. |
  198. | Identify = 32
  199. |
  200. | IdentifyFeature = 512
  201. |
  202. | IdentifyHtml = 256
  203. |
  204. | IdentifyText = 128
  205. |
  206. | IdentifyValue = 64
  207. |
  208. | NoCapabilities = 0
  209. |
  210. | Remove = 8
  211. |
  212. | Size = 2
  213. |
  214. | ----------------------------------------------------------------------
  215. | Methods inherited from sip.simplewrapper:
  216. |
  217. | __init__(...)
  218. | x.__init__(...) initializes x; see help(type(x)) for signature
  219. |
  220. | ----------------------------------------------------------------------
  221. | Data descriptors inherited from sip.simplewrapper:
  222. |
  223. | __dict__
  224. |
  225. | ----------------------------------------------------------------------
  226. | Data and other attributes inherited from sip.simplewrapper:
  227. |
  228. | __new__ = <built-in method __new__ of sip.wrappertype object>
  229. | T.__new__(S, ...) -> a new object with type S, a subtype of T
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement