5#include "slideio/transformer/transformer_def.hpp"
6#include "slideio/transformer/transformationwrapper.hpp"
10#pragma warning( push )
11#pragma warning(disable: 4275 4251)
19 enum class TransformationType;
21 class SLIDEIO_TRANSFORMER_EXPORTS ScharrFilterWrap :
public TransformationWrapper
24 ScharrFilterWrap(
const ScharrFilterWrap& other)
25 : TransformationWrapper(other),
26 m_filter(other.m_filter) {
29 ScharrFilterWrap(ScharrFilterWrap&& other) noexcept
30 : TransformationWrapper(std::move(other)),
31 m_filter(std::move(other.m_filter)) {
34 ScharrFilterWrap& operator=(
const ScharrFilterWrap& other) {
37 TransformationWrapper::operator =(other);
38 m_filter = other.m_filter;
42 ScharrFilterWrap& operator=(ScharrFilterWrap&& other)
noexcept {
45 TransformationWrapper::operator =(std::move(other));
46 m_filter = std::move(other.m_filter);
51 ScharrFilterWrap(
const ScharrFilter& filter);
52 DataType getDepth()
const;
53 void setDepth(
const DataType& depth);
58 double getScale()
const;
59 void setScale(
double scale);
60 double getDelta()
const;
61 void setDelta(
double delta);
62 TransformationType getType()
const override;
63 std::shared_ptr<ScharrFilter> getFilter()
const;
66 std::shared_ptr<ScharrFilter> m_filter;
Definition: exceptions.hpp:15