5#include "slideio/transformer/transformer_def.hpp"
6#include "slideio/transformer/transformationtype.hpp"
7#include "slideio/transformer/transformationwrapper.hpp"
11#pragma warning( push )
12#pragma warning(disable: 4275 4251)
18 class SLIDEIO_TRANSFORMER_EXPORTS CannyFilterWrap :
public TransformationWrapper
21 CannyFilterWrap(
const CannyFilterWrap& other)
22 : TransformationWrapper(other),
23 m_filter(other.m_filter) {
26 CannyFilterWrap(CannyFilterWrap&& other) noexcept
27 : TransformationWrapper(std::move(other)),
28 m_filter(std::move(other.m_filter)) {
31 CannyFilterWrap& operator=(
const CannyFilterWrap& other) {
34 TransformationWrapper::operator =(other);
35 m_filter = other.m_filter;
39 CannyFilterWrap& operator=(CannyFilterWrap&& other)
noexcept {
42 TransformationWrapper::operator =(std::move(other));
43 m_filter = std::move(other.m_filter);
48 CannyFilterWrap(
const CannyFilter& filter);
49 double getThreshold1()
const;
50 void setThreshold1(
double threshold1);
51 double getThreshold2()
const;
52 void setThreshold2(
double threshold2);
53 int getApertureSize()
const;
54 void setApertureSize(
int apertureSize);
55 bool getL2Gradient()
const;
56 void setL2Gradient(
bool L2gradient);
57 TransformationType getType()
const override;
58 std::shared_ptr<CannyFilter> getFilter()
const;
61 std::shared_ptr<CannyFilter> m_filter;
Definition: exceptions.hpp:15