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

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

#include <plask/filters/translation.hpp>

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

Public Types

typedef PropertyAt< PropertyT, SpaceType >::ValueType ValueType
 Type of property value in output space.
 

Public Member Functions

std::function< plask::optional< ValueType >(std::size_t index)> operator() (typename PropertyT::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::OuterDataSource< PropertyT, SpaceType, SpaceType, GeometryObjectD< SpaceType::DIM >, GeometryObjectD< SpaceType::DIM > >
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::OuterDataSource< PropertyT, SpaceType, SpaceType, GeometryObjectD< SpaceType::DIM >, GeometryObjectD< SpaceType::DIM > >
Vec< InputGeomObj::DIM, double > inTranslation
 
- 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::TranslatedOuterDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >

Don't use this directly, use TranslatedOuterDataSource instead.

Definition at line 161 of file translation.hpp.

Member Typedef Documentation

◆ ValueType

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

Type of property value in output space.

Definition at line 165 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::TranslatedOuterDataSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceType, VariadicTemplateTypesHolder< ExtraArgs... > >::operator() ( typename PropertyT::EnumType  n,
const shared_ptr< const MeshD< SpaceType::DIM > > &  dst_mesh,
ExtraArgs...  extra_args,
InterpolationMethod  method 
) const
inlineoverride

Definition at line 167 of file translation.hpp.

◆ size()

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

Definition at line 172 of file translation.hpp.


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