OpenWalnut
1.5.0dev
|
Visitor for discriminating the type of the first valueset. More...
Public Member Functions | |
VisitorVSetA (WValueSetBase *vsetB, size_t opIdx=0) | |
Create visitor instance. More... | |
template<typename T > | |
result_type | operator() (const WValueSet< T > *const &vsetA) const |
Called by boost::varying during static visiting. More... | |
VisitorVSetA (double zeroTol) | |
Create visitor instance. More... | |
template<typename T > | |
result_type | operator() (const WValueSet< T > *const &vsetA) const |
Called by boost::varying during static visiting. More... | |
VisitorVSetA (std::shared_ptr< WGridRegular3D > grid, size_t opIdx=0) | |
Create visitor instance. More... | |
template<typename T > | |
result_type | operator() (const WValueSet< T > *const &vsetA) const |
Called by boost::varying during static visiting. More... | |
VisitorVSetA (WValueSetBase *vsetB) | |
Create visitor instance. More... | |
template<typename T > | |
result_type | operator() (const WValueSet< T > *const &vsetA) const |
Called by boost::varying during static visiting. More... | |
Public Attributes | |
WValueSetBase * | m_vsetB |
The valueset where to cascade. More... | |
size_t | m_opIdx |
The operator index. More... | |
double | m_zeroTol |
Zero tollerance. More... | |
std::shared_ptr< WGridRegular3D > | m_grid |
The underlying grid. More... | |
Visitor for discriminating the type of the first valueset.
It simply creates a new instance of VisitorVSetB with the proper integral type of the first value set.
Definition at line 444 of file WMScalarOperator.cpp.
|
inline |
Create visitor instance.
The specified valueset gets visited if the first one is visited using this visitor.
vsetB | The valueset to visit during this visit. |
opIdx | The operator index. Forwarded to VisitorVSetB |
Definition at line 453 of file WMScalarOperator.cpp.
|
inlineexplicit |
Create visitor instance.
zeroTol | zero tollerance |
Definition at line 109 of file WMVectorNormalize.cpp.
|
inline |
Create visitor instance.
opIdx | The operator index. |
grid | the underlying grid |
Definition at line 169 of file WMVectorOperator.cpp.
|
inlineexplicit |
Create visitor instance.
The specified valueset gets visited if the first one is visited using this visitor.
vsetB | The valueset to visit during this visit. |
Definition at line 177 of file WMVectorScale.cpp.
|
inline |
Called by boost::varying during static visiting.
Creates a new VisitorVSetB which finally applies the operation.
T | the real integral type of the first value set. |
vsetA | the first valueset currently visited. |
Definition at line 469 of file WMScalarOperator.cpp.
References WValueSetBase::applyFunction(), m_opIdx, and m_vsetB.
|
inline |
Called by boost::varying during static visiting.
T | the real integral type of the first value set. |
vsetA | the first valueset currently visited. |
Definition at line 124 of file WMVectorNormalize.cpp.
References m_zeroTol.
|
inline |
Called by boost::varying during static visiting.
T | the real integral type of the first value set. |
vsetA | the first valueset currently visited. |
Definition at line 185 of file WMVectorOperator.cpp.
|
inline |
Called by boost::varying during static visiting.
Creates a new VisitorVSetB which finally applies the operation.
T | the real integral type of the first value set. |
vsetA | the first valueset currently visited. |
Definition at line 192 of file WMVectorScale.cpp.
References WValueSetBase::applyFunction(), and m_vsetB.
std::shared_ptr< WGridRegular3D > VisitorVSetA::m_grid |
The underlying grid.
Definition at line 263 of file WMVectorOperator.cpp.
Referenced by operator()().
size_t VisitorVSetA::m_opIdx |
The operator index.
Definition at line 484 of file WMScalarOperator.cpp.
Referenced by operator()().
WValueSetBase * VisitorVSetA::m_vsetB |
The valueset where to cascade.
Definition at line 479 of file WMScalarOperator.cpp.
Referenced by operator()().
double VisitorVSetA::m_zeroTol |
Zero tollerance.
Values smaller than this are interpreted as zero
Definition at line 165 of file WMVectorNormalize.cpp.
Referenced by operator()().