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
in-place modifying image state const visitor base class
virtual void Visit_(WordSpatialImageState &is) const =0
ImageStateConstModIPVisitorBase(const String &name="")
virtual void Visit_(RealFrequencyImageState &is) const =0
virtual void Visit_(RealSpatialImageState &is) const =0
virtual ~ImageStateConstModIPVisitorBase()
virtual void Visit_(ComplexHalfFrequencyImageState &is) const =0
virtual void Visit_(ComplexFrequencyImageState &is) const =0
virtual void Visit_(ComplexSpatialImageState &is) const =0
in-place modifying image state visitor
virtual void Visit_(ComplexSpatialImageState &is) const
virtual void Visit_(ComplexFrequencyImageState &is) const
virtual void Visit_(RealFrequencyImageState &is) const
virtual void Visit_(ComplexHalfFrequencyImageState &is) const
virtual void Visit_(WordSpatialImageState &is) const
out-of-place modifying image state const visitor base class
ImageStateConstModOPVisitorBase(const String &name="")
virtual ImageStateBasePtr Visit_(const ComplexHalfFrequencyImageState &is) const =0
virtual ImageStateBasePtr Visit_(const WordSpatialImageState &is) const =0
virtual ~ImageStateConstModOPVisitorBase()
virtual ImageStateBasePtr Visit_(const RealFrequencyImageState &is) const =0
virtual ImageStateBasePtr Visit_(const ComplexFrequencyImageState &is) const =0
virtual ImageStateBasePtr Visit_(const ComplexSpatialImageState &is) const =0
virtual ImageStateBasePtr Visit_(const RealSpatialImageState &is) const =0
out-of-place modifying image state visitor
virtual ImageStateBasePtr Visit_(const WordSpatialImageState &is) const
virtual ImageStateBasePtr Visit_(const ComplexFrequencyImageState &is) const
virtual ImageStateBasePtr Visit_(const RealFrequencyImageState &is) const
virtual ImageStateBasePtr Visit_(const ComplexHalfFrequencyImageState &is) const
virtual ImageStateBasePtr Visit_(const ComplexSpatialImageState &is) const
in-place modifying image state visitor base class
virtual ~ImageStateModIPVisitorBase()
virtual void Visit_(RealFrequencyImageState &is)=0
ImageStateModIPVisitorBase(const String &name="")
virtual void Visit_(RealSpatialImageState &is)=0
virtual void Visit_(ComplexSpatialImageState &is)=0
virtual void Visit_(ComplexFrequencyImageState &is)=0
virtual void Visit_(WordSpatialImageState &is)=0
virtual void Visit_(ComplexHalfFrequencyImageState &is)=0
in-place modifying image state visitor
virtual void Visit_(WordSpatialImageState &is)
virtual void Visit_(ComplexSpatialImageState &is)
virtual void Visit_(ComplexHalfFrequencyImageState &is)
virtual void Visit_(RealFrequencyImageState &is)
virtual void Visit_(ComplexFrequencyImageState &is)
out-of-place modifying image state visitor base class
virtual ImageStateBasePtr Visit_(const ComplexHalfFrequencyImageState &is)=0
virtual ImageStateBasePtr Visit_(const WordSpatialImageState &is)=0
virtual ImageStateBasePtr Visit_(const ComplexFrequencyImageState &is)=0
virtual ImageStateBasePtr Visit_(const RealSpatialImageState &is)=0
ImageStateModOPVisitorBase(const String &name="")
virtual ImageStateBasePtr Visit_(const RealFrequencyImageState &is)=0
virtual ~ImageStateModOPVisitorBase()
virtual ImageStateBasePtr Visit_(const ComplexSpatialImageState &is)=0
out-of-place modifying image state visitor
virtual ImageStateBasePtr Visit_(const ComplexFrequencyImageState &is)
virtual ImageStateBasePtr Visit_(const WordSpatialImageState &is)
virtual ImageStateBasePtr Visit_(const ComplexHalfFrequencyImageState &is)
virtual ImageStateBasePtr Visit_(const ComplexSpatialImageState &is)
virtual ImageStateBasePtr Visit_(const RealFrequencyImageState &is)
morphing image state visitor base class
ImageStateMorphVisitorBase(const String &name="")
virtual ImageStateBasePtr Visit_(ComplexFrequencyImageState &is)=0
virtual ImageStateBasePtr Visit_(RealSpatialImageState &is)=0
virtual ~ImageStateMorphVisitorBase()
virtual ImageStateBasePtr Visit_(WordSpatialImageState &is)=0
virtual ImageStateBasePtr Visit_(ComplexHalfFrequencyImageState &is)=0
virtual ImageStateBasePtr Visit_(RealFrequencyImageState &is)=0
virtual ImageStateBasePtr Visit_(ComplexSpatialImageState &is)=0
morphing image state visitor
virtual ImageStateBasePtr Visit_(ComplexSpatialImageState &is)
virtual ImageStateBasePtr Visit_(RealFrequencyImageState &is)
virtual ImageStateBasePtr Visit_(ComplexHalfFrequencyImageState &is)
virtual ImageStateBasePtr Visit_(ComplexFrequencyImageState &is)
virtual ImageStateBasePtr Visit_(WordSpatialImageState &is)
non-modifying image state visitor base class
virtual void Visit_(const ComplexHalfFrequencyImageState &is)=0
virtual void Visit_(const WordSpatialImageState &is)=0
virtual void Visit_(const RealSpatialImageState &is)=0
virtual void Visit_(const RealFrequencyImageState &is)=0
virtual void Visit_(const ComplexSpatialImageState &is)=0
virtual void Visit_(const ComplexFrequencyImageState &is)=0
virtual ~ImageStateNonModVisitorBase()
non-modifying image state visitor
virtual void Visit_(const RealFrequencyImageState &is)
virtual void Visit_(const WordSpatialImageState &is)
virtual void Visit_(const ComplexHalfFrequencyImageState &is)
virtual void Visit_(const ComplexFrequencyImageState &is)
virtual void Visit_(const ComplexSpatialImageState &is)
ImageStateVisitor general exception.
InvalidImageStateVisitor(const String &m)
#define IMAGE_STATE_VISITOR_CTOR_ADAPTERS(CLASS)
#define DLLEXPORT_OST_IMG_BASE
boost::shared_ptr< ImageStateBase > ImageStateBasePtr