|
| None | __init__ (DRegularGrid grid) |
| | Initializes a copy of the DRegularGrid instance grid. More...
|
| |
| None | __init__ (Math.DGrid data, float xs, float ys, float zs) |
| | Constructs a RegularGrid initialized from data, with the given grid spacing in x, y and z direction. More...
|
| |
| None | __init__ (Math.DGrid data, float s) |
| | Constructs a RegularGrid initialized from data with isotropic grid spacing. More...
|
| |
| None | __init__ (float xs, float ys, float zs) |
| | Constructs an empty RegularGrid with the given grid spacing in x, y and z direction. More...
|
| |
| None | __init__ (float s) |
| | Constructs an empty RegularGrid with isotropic grid spacing. More...
|
| |
| None | getCoordinates (int i, int j, int k, object coords) |
| |
| None | getCoordinates (int i, object coords) |
| | Returns the 3D coordinates of the grid element at linear index i. More...
|
| |
| Math.DRegularSpatialGrid | assign (Math.ConstFGridExpression e) |
| | Replaces the current state of self with a copy of the state of the ConstFGridExpression instance e. More...
|
| |
| Math.DRegularSpatialGrid | assign (Math.ConstDGridExpression e) |
| | Replaces the current state of self with a copy of the state of the ConstDGridExpression instance e. More...
|
| |
| Math.DRegularSpatialGrid | assign (object e) |
| | Replaces the current state of self with a copy of the state of the object instance e. More...
|
| |
| Math.DRegularSpatialGrid | assign (Math.DRegularSpatialGrid g) |
| | Replaces the current state of self with a copy of the state of the DRegularSpatialGrid instance g. More...
|
| |
| int | getSize1 () |
| |
| int | getSize2 () |
| |
| int | getSize3 () |
| |
| bool | isEmpty () |
| | Tells whether the grid is empty. More...
|
| |
| float | getElement (int i, int j, int k) |
| |
| float | getElement (int i) |
| |
| object | toArray () |
| |
| int | getSize () |
| |
| None | swap (Math.DRegularSpatialGrid g) |
| |
| None | setElement (int i, int j, int k, float v) |
| |
| None | setElement (int i, float v) |
| |
| Base.Any | __getitem__ (Base.LookupKey key) |
| |
| float | __getitem__ (tuple ijk) |
| |
| float | __getitem__ (int i) |
| |
| bool | __contains__ (Base.LookupKey key) |
| | Returns the result of the membership test operation key in self. More...
|
| |
| None | __setitem__ (Base.LookupKey key, Base.Any value) |
| |
| None | __setitem__ (tuple ijk, float v) |
| |
| None | __setitem__ (int i, float v) |
| |
| bool | __delitem__ (Base.LookupKey key) |
| |
| int | __len__ () |
| |
| float | __call__ (int i, int j, int k) |
| |
| float | __call__ (int i) |
| | Returns a reference to the grid element at linear index i. More...
|
| |
| bool | __eq__ (Math.DRegularSpatialGrid g) |
| | Returns the result of the comparison operation self == g. More...
|
| |
| bool | __eq__ (Math.ConstDGridExpression e) |
| | Returns the result of the comparison operation self == e. More...
|
| |
| bool | __ne__ (Math.DRegularSpatialGrid g) |
| | Returns the result of the comparison operation self != g. More...
|
| |
| bool | __ne__ (Math.ConstDGridExpression e) |
| | Returns the result of the comparison operation self != e. More...
|
| |
| str | __str__ () |
| | Returns a string representation of the DRegularGrid instance. More...
|
| |
| Math.DRegularSpatialGrid | __pos__ () |
| |
| Math.ConstDGridExpression | __neg__ () |
| |
| Math.ConstDGridExpression | __add__ (Math.ConstDGridExpression e) |
| | Returns the result of the addition operation self + e. More...
|
| |
| Math.ConstDGridExpression | __sub__ (Math.ConstDGridExpression e) |
| | Returns the result of the subtraction operation self - e. More...
|
| |
| Math.ConstDGridExpression | __mul__ (float t) |
| | Returns the result of the multiplication operation self * t. More...
|
| |
| Math.ConstDGridExpression | __div__ (float t) |
| | Returns the result of the division operation self // t. More...
|
| |
| Math.ConstDGridExpression | __truediv__ (float t) |
| | Returns the result of the true division operation self / t. More...
|
| |
| Math.ConstDGridExpression | __rmul__ (float t) |
| | Returns the result of the multiplication operation t * self. More...
|
| |
| Math.DRegularSpatialGrid | __iadd__ (Math.DRegularSpatialGrid g) |
| | Performs the in-place addition operation self += g. More...
|
| |
| Math.DRegularSpatialGrid | __iadd__ (Math.ConstDGridExpression e) |
| | Performs the in-place addition operation self += e. More...
|
| |
| Math.DRegularSpatialGrid | __isub__ (Math.DRegularSpatialGrid g) |
| | Performs the in-place subtraction operation self -= g. More...
|
| |
| Math.DRegularSpatialGrid | __isub__ (Math.ConstDGridExpression e) |
| | Performs the in-place subtraction operation self -= e. More...
|
| |
| Math.DRegularSpatialGrid | __imul__ (float t) |
| | Performs the in-place multiplication operation self *= t. More...
|
| |
| Math.DRegularSpatialGrid | __idiv__ (float t) |
| | Performs the in-place division operation self /= t. More...
|
| |
| Math.DRegularSpatialGrid | __itruediv__ (float t) |
| |
| tuple | __getstate__ () |
| |
|
None | __init__ () |
| | Initializes the DSpatialGrid instance.
|
| |
| int | getNumElements () |
| |
| None | getCoordinates (int i, Math.Vector3D coords) |
| | Returns the 3D coordinates of the grid element at linear index i. More...
|
| |
| int | getObjectID () |
| | Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
|
| |
| int | getNumProperties () |
| | Returns the number of property entries. More...
|
| |
| Any | getPropertyOrDefault (LookupKey key, Any def_value) |
| |
| list | getPropertyKeys () |
| |
| list | getPropertyValues () |
| |
| list | getProperties () |
| | Returns a reference to itself. More...
|
| |
| None | setProperty (LookupKey key, Any value) |
| |
| bool | removeProperty (LookupKey key) |
| | Clears the value of the property specified by key. More...
|
| |
| Any | getProperty (LookupKey key, bool throw_=False) |
| | Returns the value of the property specified by key. More...
|
| |
| bool | isPropertySet (LookupKey key) |
| | Tells whether or not a value has been assigned to the property specified by key. More...
|
| |
|
None | clearProperties () |
| | Clears all property values.
|
| |
| None | addProperties (PropertyContainer cntnr) |
| | Adds the property value entries in the PropertyContainer instance cntnr. More...
|
| |
| None | copyProperties (PropertyContainer cntnr) |
| | Replaces the current set of properties by a copy of the entries in cntnr. More...
|
| |
| None | swap (PropertyContainer cntnr) |
| | Exchanges the properties of this container with the properties of the container cntnr. More...
|
| |
| Any | __getitem__ (LookupKey key) |
| |
| bool | __contains__ (LookupKey key) |
| | Returns the result of the membership test operation key in self. More...
|
| |
| None | __setitem__ (LookupKey key, Any value) |
| |
| bool | __delitem__ (LookupKey key) |
| |
| None | __init__ (DRegularSpatialGrid grid) |
| | Initializes a copy of the DRegularSpatialGrid instance grid. More...
|
| |
| None | __init__ (DGrid data, float xs, float ys, float zs) |
| | Constructs the grid with anisotropic per-axis step sizes initialized to the supplied grid data. More...
|
| |
| None | __init__ (DGrid data, float s) |
| | Constructs the grid with isotropic step size s and the supplied grid data. More...
|
| |
| None | resize (int m, int n, int o, bool preserve=True, float v=0.0) |
| | Resizes the grid to \( m \times n \times o \) cells. More...
|
| |
| None | clear (float v=0.0) |
| | Sets every cell of the grid to the value v. More...
|
| |
| float | getXExtent () |
| | Returns the spatial extent of the grid along the X axis ( \( (\mathrm{size}_1 - 1) \cdot \mathrm{xStep} \) for non-empty grids). More...
|
| |
| float | getYExtent () |
| | Returns the spatial extent of the grid along the Y axis. More...
|
| |
| float | getZExtent () |
| | Returns the spatial extent of the grid along the Z axis. More...
|
| |
| float | getXStepSize () |
| | Returns the per-cell step size along the X axis. More...
|
| |
| float | getYStepSize () |
| | Returns the per-cell step size along the Y axis. More...
|
| |
| float | getZStepSize () |
| | Returns the per-cell step size along the Z axis. More...
|
| |
| None | setXStepSize (float xs) |
| | Sets the per-cell step size along the X axis to xs. More...
|
| |
| None | setYStepSize (float ys) |
| | Sets the per-cell step size along the Y axis to ys. More...
|
| |
| None | setZStepSize (float zs) |
| | Sets the per-cell step size along the Z axis to zs. More...
|
| |
| DGrid | getData () |
| | Returns a mutable reference to the underlying grid data container. More...
|
| |
| None | setCoordinatesTransform (Matrix4D xform) |
| | Sets the cell-index to world-coordinate transformation to xform and caches its inverse. More...
|
| |
| Matrix4D | getCoordinatesTransform () |
| | Returns the coordinate transformation mapping cell-index coordinates to world coordinates. More...
|
| |
| None | getLocalCoordinates (int i, int j, int k, object coords) |
| | Writes the local-space 3D position of the cell at (i, j, k) into coords. More...
|
| |
| None | getLocalCoordinates (Vector3D world_coords, object local_coords) |
| | Transforms the world-space point world_coords into the grid's local coordinate frame and stores the result in local_coords. More...
|
| |
| bool | containsPoint (Vector3F pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (ConstFVectorExpression pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (Vector3D pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (ConstDVectorExpression pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (Vector3L pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (ConstLVectorExpression pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (Vector3UL pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsPoint (ConstULVectorExpression pos) |
| | Tells whether the world-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (Vector3F pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (ConstFVectorExpression pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (Vector3D pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (ConstDVectorExpression pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (Vector3L pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (ConstLVectorExpression pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (Vector3UL pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| bool | containsLocalPoint (ConstULVectorExpression pos) |
| | Tells whether the local-space point pos lies within the grid bounds. More...
|
| |
| None | getContainingCell (Vector3F pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (ConstFVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (Vector3D pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (ConstDVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (Vector3L pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (ConstLVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (Vector3UL pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getContainingCell (ConstULVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the world-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (Vector3F pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (ConstFVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (Vector3D pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (ConstDVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (Vector3L pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (ConstLVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (Vector3UL pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| None | getLocalContainingCell (ConstULVectorExpression pos, object indices) |
| | Writes the (i, j, k) cell indices of the cell containing the local-space point pos into indices. More...
|
| |
| int | getObjectID () |
| | Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
|
| |
| DRegularSpatialGrid | assign (ConstFGridExpression e) |
| | Assigns the grid expression e to the underlying grid data without intermediate temporary. More...
|
| |
| DRegularSpatialGrid | assign (ConstDGridExpression e) |
| | Assigns the grid expression e to the underlying grid data without intermediate temporary. More...
|
| |
| DRegularSpatialGrid | assign (DRegularSpatialGrid g) |
| | Replaces the current state of self with a copy of the state of the DRegularSpatialGrid instance g. More...
|
| |
| None | swap (DRegularSpatialGrid g) |
| |
| bool | __eq__ (DRegularSpatialGrid g) |
| | Returns the result of the comparison operation self == g. More...
|
| |
| bool | __eq__ (ConstDGridExpression e) |
| | Returns the result of the comparison operation self == e. More...
|
| |
| bool | __ne__ (DRegularSpatialGrid g) |
| | Returns the result of the comparison operation self != g. More...
|
| |
| bool | __ne__ (ConstDGridExpression e) |
| | Returns the result of the comparison operation self != e. More...
|
| |
| ConstDGridExpression | __add__ (ConstDGridExpression e) |
| | Returns the result of the addition operation self + e. More...
|
| |
| ConstDGridExpression | __sub__ (ConstDGridExpression e) |
| | Returns the result of the subtraction operation self - e. More...
|
| |
| DRegularSpatialGrid | __iadd__ (DRegularSpatialGrid g) |
| | Performs the in-place addition operation self += g. More...
|
| |
| DRegularSpatialGrid | __iadd__ (ConstDGridExpression e) |
| | Performs the in-place addition operation self += e. More...
|
| |
| DRegularSpatialGrid | __isub__ (DRegularSpatialGrid g) |
| | Performs the in-place subtraction operation self -= g. More...
|
| |
| DRegularSpatialGrid | __isub__ (ConstDGridExpression e) |
| | Performs the in-place subtraction operation self -= e. More...
|
| |