PLaSK library
Loading...
Searching...
No Matches
plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > > Struct Template Reference

Don't use this directly, use TranslatedInnerDataSource instead. More...

#include <plask/filters/translation.hpp>

Inheritance diagram for plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >:
[legend]
Collaboration diagram for plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >:
[legend]

Classes

struct  LazySourceImpl
 

Public Types

typedef PropertyAt< PropertyT, SpaceType >::ValueType ValueType
 Type of property value in output space.
 
typedef PropertyT::EnumType EnumType
 
- Public Types inherited from plask::InnerDataSource< PropertyT, SpaceType, SpaceType, SpaceType, GeometryObjectD< SpaceType::DIM > >
typedef Primitive< OutputSpaceType::DIM >::Box OutBox
 
typedef Vec< OutputSpaceType::DIM, double > OutVec
 

Public Member Functions

std::function< plask::optional< ValueType >(std::size_t index)> operator() (EnumType n, const shared_ptr< const MeshD< SpaceType::DIM > > &dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) const override
 
size_t size () const override
 
- Public Member Functions inherited from plask::InnerDataSource< PropertyT, SpaceType, SpaceType, SpaceType, GeometryObjectD< SpaceType::DIM > >
const Region * findRegion (const OutVec &p) const
 
const Region * findRegion (const OutVec &p, Predicate pred) const
 Find region that has p inside bounding-box and fulfill predicate pred.
 
std::size_t findRegionIndex (const OutVec &p) const
 
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 PathHintsgetPath () const
 
void inOrOutWasChanged (GeometryObject::Event &e)
 
void connect (InputGeomObj &inputObj, OutputGeomObj &outputObj, const PathHints *path=nullptr)
 

Additional Inherited Members

- Public Attributes inherited from plask::InnerDataSource< PropertyT, SpaceType, SpaceType, SpaceType, GeometryObjectD< SpaceType::DIM > >
std::vector< Region > regions
 
- Public Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >
ReceiverFor< PropertyT, InputSpaceTypein
 
- Protected Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >
const InputGeomObjinputObj
 
const OutputGeomObjoutputObj
 
plask::optional< PathHintspath
 
boost::signals2::connection geomConnectionIn
 
boost::signals2::connection geomConnectionOut
 

Detailed Description

template<typename PropertyT, typename SpaceType, typename... ExtraArgs>
struct plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >

Don't use this directly, use TranslatedInnerDataSource instead.

Definition at line 80 of file translation.hpp.

Member Typedef Documentation

◆ EnumType

template<typename PropertyT , typename SpaceType , typename... ExtraArgs>
typedef PropertyT::EnumType plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >::EnumType

Definition at line 88 of file translation.hpp.

◆ ValueType

template<typename PropertyT , typename SpaceType , typename... ExtraArgs>
typedef PropertyAt<PropertyT,SpaceType>::ValueType plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >::ValueType

Type of property value in output space.

Definition at line 86 of file translation.hpp.

Member Function Documentation

◆ operator()()

template<typename PropertyT , typename SpaceType , typename... ExtraArgs>
std::function< plask::optional< ValueType >(std::size_t index)> plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >::operator() ( EnumType  n,
const shared_ptr< const MeshD< SpaceType::DIM > > &  dst_mesh,
ExtraArgs...  extra_args,
InterpolationMethod  method 
) const
inlineoverride

Definition at line 123 of file translation.hpp.

◆ size()

template<typename PropertyT , typename SpaceType , typename... ExtraArgs>
size_t plask::TranslatedInnerDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >::size ( ) const
inlineoverride

Definition at line 127 of file translation.hpp.


The documentation for this struct was generated from the following file: