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

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

#include <plask/filters/change_space_size.hpp>

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

Public Types

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

Public Member Functions

 DataFrom3Dto2DSourceImpl (std::size_t pointsCount=10)
 
std::function< plask::optional< ValueType >(std::size_t index)> operator() (EnumType n, const shared_ptr< const MeshD< 2 > > &dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) const override
 
size_t size () const override
 
- Public Member Functions inherited from plask::OuterDataSource< PropertyT, Geometry2DCartesian, Geometry3D, Extrusion, GeometryObjectD< 3 > >
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)
 

Public Attributes

std::size_t pointsCount
 Points count for average function.
 
- Public Attributes inherited from plask::OuterDataSource< PropertyT, Geometry2DCartesian, Geometry3D, Extrusion, GeometryObjectD< 3 > >
Vec< InputGeomObj::DIM, double > inTranslation
 
- Public Attributes inherited from plask::DataSourceWithReceiver< PropertyT, OutputSpaceType, InputSpaceType, OutputGeomObj, InputGeomObj >
ReceiverFor< PropertyT, InputSpaceTypein
 

Additional Inherited Members

- 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... ExtraArgs>
struct plask::DataFrom3Dto2DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >

Don't use this directly, use DataFrom3Dto2DSource instead.

Definition at line 71 of file change_space_size.hpp.

Member Typedef Documentation

◆ EnumType

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

Definition at line 82 of file change_space_size.hpp.

◆ ValueType

Type of property value in output space.

Definition at line 80 of file change_space_size.hpp.

Constructor & Destructor Documentation

◆ DataFrom3Dto2DSourceImpl()

template<typename PropertyT , typename... ExtraArgs>
plask::DataFrom3Dto2DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::DataFrom3Dto2DSourceImpl ( std::size_t  pointsCount = 10)
inlineexplicit

Definition at line 77 of file change_space_size.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 84 of file change_space_size.hpp.

◆ size()

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

Definition at line 108 of file change_space_size.hpp.

Member Data Documentation

◆ pointsCount

template<typename PropertyT , typename... ExtraArgs>
std::size_t plask::DataFrom3Dto2DSourceImpl< PropertyT, MULTI_FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::pointsCount

Points count for average function.

Definition at line 75 of file change_space_size.hpp.


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