25 #ifndef IMG_IMAGE_STATE_VISITOR_HH
26 #define IMG_IMAGE_STATE_VISITOR_HH
32 namespace ost {
namespace img {
namespace image_state {
46 #define IMAGE_STATE_VISITOR_CTOR_ADAPTERS(CLASS) \
51 CLASS (const P0& p0): \
56 CLASS (const P0& p0, \
63 CLASS (const P0& p0, \
72 CLASS (const P0& p0, \
83 CLASS (const P0& p0, \
88 FNC(p0,p1,p2,p3,p4) {} \
96 CLASS (const P0& p0, \
102 FNC(p0,p1,p2,p3,p4,p5) {} \
104 template <class P0, \
111 CLASS (const P0& p0, \
118 FNC(p0,p1,p2,p3,p4,p5,p6) {} \
120 template <class P0, \
128 CLASS (const P0& p0, \
136 FNC(p0,p1,p2,p3,p4,p5,p6,p7) {} \
138 template <class P0, \
147 CLASS (const P0& p0, \
156 FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8) {} \
158 template <class P0, \
168 CLASS (const P0& p0, \
178 FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8,p9) {} \
180 template <class P0, \
191 CLASS (const P0& p0, \
202 FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,pa) {} \
204 template <class P0, \
216 CLASS (const P0& p0, \
228 FNC(p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,pa,pb) {}
316 template <
typename T,
class D>
318 this->VisitState(isi);
369 template <
typename T,
class D>
371 this->VisitState(isi);
424 template <
typename T,
class D>
426 this->VisitState(isi);
477 template <
typename T,
class D>
479 return this->VisitState(isi);
532 template <
typename T,
class D>
534 return this->VisitState(isi);
585 template <
typename T,
class D>
587 return this->VisitState(isi);
591 #undef IMAGE_STATE_VISITOR_CTOR_ADAPTERS
virtual ImageStateBasePtr Visit_(ComplexHalfFrequencyImageState &is)
out-of-place modifying image state const visitor base class
virtual void Visit_(WordSpatialImageState &is) const
morphing image state visitor
ImageStateVisitor general exception.
in-place modifying image state const visitor base class
morphing image state visitor base class
ImageStateConstModOPVisitorBase(const String &name="")
out-of-place modifying image state visitor
virtual ~ImageStateMorphVisitorBase()
virtual void Visit_(const WordSpatialImageState &is)
virtual void Visit_(const ComplexHalfFrequencyImageState &is)
virtual void Visit_(WordSpatialImageState &is)
ImageStateModIPVisitorBase(const String &name="")
virtual ImageStateBasePtr Visit_(const RealFrequencyImageState &is) const
virtual ImageStateBasePtr Visit_(const ComplexHalfFrequencyImageState &is)
virtual void Visit_(const RealFrequencyImageState &is)
virtual void Visit_(const ComplexSpatialImageState &is)
virtual void Visit_(ComplexSpatialImageState &is) const
virtual ImageStateBasePtr Visit_(const ComplexHalfFrequencyImageState &is) const
virtual void Visit_(ComplexHalfFrequencyImageState &is) const
virtual ImageStateBasePtr Visit_(const ComplexFrequencyImageState &is)
virtual ~ImageStateModOPVisitorBase()
virtual ImageStateBasePtr Visit_(const RealFrequencyImageState &is)
non-modifying image state visitor
virtual ImageStateBasePtr Visit_(ComplexFrequencyImageState &is)
ImageStateModOPVisitorBase(const String &name="")
virtual void Visit_(const ComplexFrequencyImageState &is)
virtual void Visit_(RealFrequencyImageState &is) const
virtual ImageStateBasePtr Visit_(const WordSpatialImageState &is) const
virtual ~ImageStateConstModIPVisitorBase()
virtual void Visit_(ComplexSpatialImageState &is)
non-modifying image state visitor base class
in-place modifying image state visitor base class
virtual void Visit_(RealFrequencyImageState &is)
virtual void Visit_(ComplexHalfFrequencyImageState &is)
in-place modifying image state visitor
virtual ImageStateBasePtr Visit_(const ComplexFrequencyImageState &is) const
virtual ~ImageStateNonModVisitorBase()
virtual ImageStateBasePtr Visit_(ComplexSpatialImageState &is)
out-of-place modifying image state visitor base class
virtual ImageStateBasePtr Visit_(const WordSpatialImageState &is)
ImageStateConstModIPVisitorBase(const String &name="")
InvalidImageStateVisitor(const String &m)
out-of-place modifying image state visitor
virtual ImageStateBasePtr Visit_(WordSpatialImageState &is)
virtual ImageStateBasePtr Visit_(const ComplexSpatialImageState &is)
virtual ImageStateBasePtr Visit_(RealFrequencyImageState &is)
boost::shared_ptr< ImageStateBase > ImageStateBasePtr
virtual ~ImageStateConstModOPVisitorBase()
virtual ImageStateBasePtr Visit_(const ComplexSpatialImageState &is) const
in-place modifying image state visitor
virtual void Visit_(ComplexFrequencyImageState &is)
#define DLLEXPORT_OST_IMG_BASE
ImageStateMorphVisitorBase(const String &name="")
#define IMAGE_STATE_VISITOR_CTOR_ADAPTERS(CLASS)
virtual void Visit_(ComplexFrequencyImageState &is) const
virtual ~ImageStateModIPVisitorBase()