Advertisement
xunilk

QgsSingleBandGrayRenderer (PyQGIS)

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