Python: module fabmetheus_utilities.geometry.creation.heightmap

fabmetheus_utilities.geometry.creation.heightmap ($Date: 2008/02/05 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/fabmetheus_utilities/geometry/creation/heightmap.py

`Heightmap.
http://www.cs.otago.ac.nz/graphics/Mirage/node59.html
http://en.wikipedia.org/wiki/Heightmap
http://en.wikipedia.org/wiki/Netpbm_format`

Modules

``

__init__ fabmetheus_utilities.archive fabmetheus_utilities.euclidean | fabmetheus_utilities.geometry.geometry_utilities.evaluate fabmetheus_utilities.geometry.creation.lineation math | fabmetheus_utilities.geometry.geometry_tools.path random fabmetheus_utilities.geometry.creation.solid | fabmetheus_utilities.geometry.solids.triangle_mesh

Classes

``

HeightmapDerivation

class HeightmapDerivation
`` | `Class to hold heightmap variables. `

Methods defined here:

__init__(self, elementNode)
  `Set defaults.`

__repr__(self)
  `Get the string representation of this HeightmapDerivation.`

Functions

``

addHeightsByBitmap(heights, textLines)
  `Add heights by bitmap.`

addHeightsByGraymap(heights, textLines)
  `Add heights by graymap.`

getAddIndexedHeightGrid(heightGrid, minimumXY, step, top, vertexes)
  `Get and add an indexed heightGrid.`

getAddIndexedSegmentedPerimeter(heightGrid, maximumXY, minimumXY, step, vertexes, z=0.0)
  `Get and add an indexed segmented perimeter.`

getGeometryOutput(elementNode)
  `Get vector3 vertexes from attribute dictionary.`

getGeometryOutputByArguments(arguments, elementNode)
  `Get vector3 vertexes from attribute dictionary by arguments.`

getGeometryOutputByHeightGrid(derivation, elementNode, heightGrid)
  `Get vector3 vertexes from attribute dictionary.`

getHeightGrid(fileName)
  `Get heightGrid by fileName.`

getNewDerivation(elementNode)
  `Get new derivation.`

getRaisedHeightGrid(heightGrid, start)
  `Get heightGrid raised above start.`

processElementNode(elementNode)
  `Process the xml element.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __credits__ = 'Art of Illusion <http://www.artofillusion.org/>' __date__ = '$Date: 2008/02/05 $' __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)

Credits
`` |  | Art of Illusion <http://www.artofillusion.org/>