Package Pmv :: Module Grid :: Class Grid
[hide private]
[frames] | no frames]

Class Grid

source code

Known Subclasses:
AutoGrid, DX

Instance Methods [hide private]
  __init__(self, data, typecode=None)
  doSlice(self, isovar=0, timestep=0, axis='x', sliceNum=10)
  doSlice2(self, isovar=0, timestep=0, axis='x', sliceNum=10)
  buildSliceVertices(self, width, height, axis, sliceNum)
  buildTextureCoords(self, width, height, axis, sliceNum)
  initIsoContour(self, step=3)
  getIsoContour(self, val=-0.71)
  _base(self)
  To3D(self, index)
  To3Ds(self, indices)
  To1Ds(self, indices)
  __repr__(self)
  __array__(self, t=None)
  __len__(self)
  __getitem__(self, index)
  __getslice__(self, i, j)
  __setitem__(self, index, value)
  __setslice__(self, i, j, value)
  __abs__(self)
  __neg__(self)
  __add__(self, other)
  __radd__(self, other)
  __sub__(self, other)
  __rsub__(self, other)
  __mul__(self, other)
  __rmul__(self, other)
  __div__(self, other)
  __rdiv__(self, other)
  __pow__(self, other)
  __rpow__(self, other)
  __sqrt__(self)
  tostring(self)
  byteswapped(self)
  astype(self, typecode)
  typecode(self)
  itemsize(self)
  iscontiguous(self)
  _rc(self, a)
  _GridPoint(self, index)
  _GridPointSet(self, data)
  findMaxGrid(self)
  findMaxValue(self)
  findMinGrid(self)
  findMinValue(self)
  findTopGrids(self, n)
  findTopValues(self, n)
  findBottomGrids(self, n)
  findBottomValues(self, n)
  _findGrid(self, arr)
  findAboveGrids(self, value)
  findAboveEqualGrids(self, value)
  findBelowGrids(self, value)
  findBelowEqualGrids(self, value)
  findBetweenGrids(self, low, hi)
  findBetweenEqualGrids(self, low, hi)
  _findValue(self, arr)
  findAboveValues(self, value)
  findAboveEqualValues(self, value)
  findBelowValues(self, value)
  findBelowEqualValues(self, value)
  findBetweenValues(self, low, hi)
  findBetweenEqualValues(self, low, hi)
  findOrder(self, value)
  get_ith_element(self, i)
  findGridNumbers(self, low, hi)
  distribution(self, intervals=100, MIN=None, MAX=None, tick=0)
  displayBox(self, viewer=None, materials=None)
  display(self, viewer=None)
Draws the Grid box

Method Details [hide private]

__init__(self, data, typecode=None)
(Constructor)

source code 
None

doSlice(self, isovar=0, timestep=0, axis='x', sliceNum=10)

source code 
None

doSlice2(self, isovar=0, timestep=0, axis='x', sliceNum=10)

source code 
None

buildSliceVertices(self, width, height, axis, sliceNum)

source code 
None

buildTextureCoords(self, width, height, axis, sliceNum)

source code 
None

initIsoContour(self, step=3)

source code 
None

getIsoContour(self, val=-0.71)

source code 
None

_base(self)

source code 
None

To3D(self, index)

source code 
None

To3Ds(self, indices)

source code 
None

To1Ds(self, indices)

source code 
None

__repr__(self)
(Representation operator)

source code 
None

__array__(self, t=None)

source code 
None

__len__(self)
(Length operator)

source code 
None

__getitem__(self, index)
(Indexing operator)

source code 
None

__getslice__(self, i, j)
(Slicling operator)

source code 
None

__setitem__(self, index, value)
(Index assignment operator)

source code 
None

__setslice__(self, i, j, value)
(Slice assignment operator)

source code 
None

__abs__(self)

source code 
None

__neg__(self)

source code 
None

__add__(self, other)
(Addition operator)

source code 
None

__radd__(self, other)
(Right-side addition operator)

source code 
None

__sub__(self, other)
(Subtraction operator)

source code 
None

__rsub__(self, other)

source code 
None

__mul__(self, other)

source code 
None

__rmul__(self, other)

source code 
None

__div__(self, other)

source code 
None

__rdiv__(self, other)

source code 
None

__pow__(self, other)

source code 
None

__rpow__(self, other)

source code 
None

__sqrt__(self)

source code 
None

tostring(self)

source code 
None

byteswapped(self)

source code 
None

astype(self, typecode)

source code 
None

typecode(self)

source code 
None

itemsize(self)

source code 
None

iscontiguous(self)

source code 
None

_rc(self, a)

source code 
None

_GridPoint(self, index)

source code 
None

_GridPointSet(self, data)

source code 
None

findMaxGrid(self)

source code 
None

findMaxValue(self)

source code 
None

findMinGrid(self)

source code 
None

findMinValue(self)

source code 
None

findTopGrids(self, n)

source code 
None

findTopValues(self, n)

source code 
None

findBottomGrids(self, n)

source code 
None

findBottomValues(self, n)

source code 
None

_findGrid(self, arr)

source code 
None

findAboveGrids(self, value)

source code 
None

findAboveEqualGrids(self, value)

source code 
None

findBelowGrids(self, value)

source code 
None

findBelowEqualGrids(self, value)

source code 
None

findBetweenGrids(self, low, hi)

source code 
None

findBetweenEqualGrids(self, low, hi)

source code 
None

_findValue(self, arr)

source code 
None

findAboveValues(self, value)

source code 
None

findAboveEqualValues(self, value)

source code 
None

findBelowValues(self, value)

source code 
None

findBelowEqualValues(self, value)

source code 
None

findBetweenValues(self, low, hi)

source code 
None

findBetweenEqualValues(self, low, hi)

source code 
None

findOrder(self, value)

source code 
None

get_ith_element(self, i)

source code 
None

findGridNumbers(self, low, hi)

source code 
None

distribution(self, intervals=100, MIN=None, MAX=None, tick=0)

source code 
None

displayBox(self, viewer=None, materials=None)

source code 
None

display(self, viewer=None)

source code 
Draws the Grid box