PLaSK library
|
#include <plask/filters/base.hpp>
Classes | |
struct | Region |
Public Types | |
typedef Primitive< OutputSpaceType::DIM >::Box | OutBox |
typedef Vec< OutputSpaceType::DIM, double > | OutVec |
Public Member Functions | |
const Region * | findRegion (const OutVec &p) const |
std::size_t | findRegionIndex (const OutVec &p) const |
template<typename Predicate > | |
const Region * | findRegion (const OutVec &p, Predicate pred) const |
Find region that has p inside bounding-box and fulfill predicate pred . | |
template<typename Predicate > | |
std::size_t | findRegionIndex (const OutVec &p, Predicate pred) const |
void | calcConnectionParameters () override |
This is called before request for data, but after setup inputObj, outputObj and path fields. | |
Public Member Functions inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj > | |
DataSourceWithReceiver () | |
~DataSourceWithReceiver () | |
void | disconnect () |
void | setPath (const PathHints *path) |
const PathHints * | getPath () const |
void | inOrOutWasChanged (GeometryObject::Event &e) |
void | connect (InputGeomObj &inputObj, OutputGeomObj &outputObj, const PathHints *path=nullptr) |
Public Attributes | |
std::vector< Region > | regions |
Public Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj > | |
ReceiverFor< PropertyT, InputSpaceType > | in |
Additional Inherited Members | |
Protected Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj > | |
const InputGeomObj * | inputObj |
const OutputGeomObj * | outputObj |
plask::optional< PathHints > | path |
boost::signals2::connection | geomConnectionIn |
boost::signals2::connection | geomConnectionOut |
typedef Primitive<OutputSpaceType::DIM>::Box plask::InnerDataSource< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >::OutBox |
typedef Vec<OutputSpaceType::DIM, double> plask::InnerDataSource< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >::OutVec |
|
inlineoverridevirtual |
This is called before request for data, but after setup inputObj, outputObj and path fields.
It can calculate trasnaltion and so needed for quick operator() calculation.
Implements plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >.
|
inline |
|
inline |
|
inline |
|
inline |
std::vector<Region> plask::InnerDataSource< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >::regions |