PLaSK library
Loading...
Searching...
No Matches
plask::DataFrom3Dto2DSourceImpl< PropertyT, 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, FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >:
[legend]
Collaboration diagram for plask::DataFrom3Dto2DSourceImpl< PropertyT, FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >:
[legend]

Public Types

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

Public Member Functions

 DataFrom3Dto2DSourceImpl (std::size_t pointsCount=10)
 
std::function< plask::optional< ValueType >(std::size_t index)> operator() (const shared_ptr< const MeshD< 2 > > &dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) 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, FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >

Don't use this directly, use DataFrom3Dto2DSource instead.

Definition at line 33 of file change_space_size.hpp.

Member Typedef Documentation

◆ ValueType

Type of property value in output space.

Definition at line 42 of file change_space_size.hpp.

Constructor & Destructor Documentation

◆ DataFrom3Dto2DSourceImpl()

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

Definition at line 39 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, FIELD_PROPERTY, VariadicTemplateTypesHolder< ExtraArgs... > >::operator() ( const shared_ptr< const MeshD< 2 > > &  dst_mesh,
ExtraArgs...  extra_args,
InterpolationMethod  method 
) const
inlineoverride

Definition at line 44 of file change_space_size.hpp.

Member Data Documentation

◆ pointsCount

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

Points count for average function.

Definition at line 37 of file change_space_size.hpp.


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