NEST
2.6.0,not_revisioned_source_dir@0
|
Mask defined in terms of grid points rather than spacial coordinates. More...
#include <grid_mask.h>
Public Member Functions | |
GridMask (const DictionaryDatum &d) | |
Parameters: columns - horizontal size in grid coordinates rows - vertical size in grid coordinates layers - z-size in grid coordinates (for 3D layers) More... | |
bool | inside (const std::vector< double_t > &) const |
void | set_anchor (const Position< D, int_t > &) |
DictionaryDatum | get_dict () const |
GridMask< D > * | clone () const |
AbstractMask * | intersect_mask (const AbstractMask &) const |
Create the intersection of this mask with another. More... | |
AbstractMask * | union_mask (const AbstractMask &) const |
Create the union of this mask with another. More... | |
AbstractMask * | minus_mask (const AbstractMask &) const |
Create the difference of this mask and another. More... | |
Position< D, int_t > | get_upper_left () const |
Position< D, int_t > | get_lower_right () const |
template<> | |
Name | get_name () |
template<> | |
Name | get_name () |
Public Member Functions inherited from nest::AbstractMask | |
virtual | ~AbstractMask () |
Virtual destructor. More... | |
Static Public Member Functions | |
static Name | get_name () |
Protected Attributes | |
Position< D, int_t > | upper_left_ |
Position< D, int_t > | lower_right_ |
Mask defined in terms of grid points rather than spacial coordinates.
Only suitable for grid layers.
nest::GridMask< D >::GridMask | ( | const DictionaryDatum & | d | ) |
Parameters: columns - horizontal size in grid coordinates rows - vertical size in grid coordinates layers - z-size in grid coordinates (for 3D layers)
References nest::names::columns, nest::names::d, getValue< long >(), nest::names::layers, and nest::names::rows.
Referenced by nest::GridMask< D >::clone().
|
inline |
References nest::GridMask< D >::GridMask().
|
virtual |
Reimplemented from nest::AbstractMask.
References nest::names::columns, nest::names::d, nest::names::layers, and nest::names::rows.
|
inline |
References nest::GridMask< D >::lower_right_.
Referenced by nest::MaskedLayer< D >::check_mask_().
|
static |
|
inline |
References nest::names::grid.
|
inline |
References nest::names::grid3d.
|
inline |
References nest::GridMask< D >::upper_left_.
Referenced by nest::MaskedLayer< D >::check_mask_().
|
inlinevirtual |
Implements nest::AbstractMask.
|
inlinevirtual |
Create the intersection of this mask with another.
Masks must have the same dimension
Implements nest::AbstractMask.
|
inlinevirtual |
Create the difference of this mask and another.
Masks must have the same dimension.
Implements nest::AbstractMask.
void nest::GridMask< D >::set_anchor | ( | const Position< D, int_t > & | anchor | ) |
References nest::names::anchor.
Referenced by nest::TopologyModule::create_mask().
|
inlinevirtual |
Create the union of this mask with another.
Masks must have the same dimension.
Implements nest::AbstractMask.
|
protected |
Referenced by nest::GridMask< D >::get_lower_right().
|
protected |
Referenced by nest::GridMask< D >::get_upper_left().