#include <image_state_impl.hh>
Inherits ost::img::image_state::ImageStateBase.
Public Types | |
| typedef ImageStateImpl< T, D > | StateType |
| typedef boost::shared_ptr < ImageStateImpl< T, D > > | SharedPtrType |
Public Member Functions | |
| ImageStateImpl () | |
| ImageStateImpl (const ImageStateImpl< T, D > &s) | |
| ImageStateImpl< T, D > & | operator= (const ImageStateImpl< T, D > &s) |
| ImageStateImpl (const Extent &e, const PixelSampling &s) | |
| ImageStateImpl (const Extent &e, const PixelSampling &s, const Vec3 &c) | |
| template<typename U > | |
| ImageStateImpl (const Extent &e, ValueHolder< U > &d, const PixelSampling &s) | |
| virtual | ~ImageStateImpl () |
| SharedPtrType | CloneState (bool cc=true) const |
| virtual ImageStateBasePtr | Clone (bool cc=true) const |
| virtual long | MemSize () const |
| virtual DataType | GetType () const |
| virtual DataDomain | GetDomain () const |
| virtual void | SetSpatialOrigin (const Point &o) |
| virtual void | CenterSpatialOrigin () |
| virtual Point | GetSpatialOrigin () const |
| virtual Extent | GetExtent () const |
| virtual Extent | GetLogicalExtent () const |
| virtual Real | GetReal (const Point &p) const |
| virtual void | SetReal (const Point &p, const Real &r) |
| virtual Complex | GetComplex (const Point &p) const |
| virtual void | SetComplex (const Point &p, const Complex &c) |
| virtual Real | GetIntpolReal (const Vec3 &v) const |
| virtual Real | GetIntpolReal (const Vec2 &v) const |
| virtual Real | GetIntpolReal (const Real &d) const |
| virtual Complex | GetIntpolComplex (const Vec3 &v) const |
| virtual Complex | GetIntpolComplex (const Vec2 &v) const |
| virtual Complex | GetIntpolComplex (const Real &d) const |
| virtual PixelSampling & | GetSampling () |
| virtual const PixelSampling & | GetSampling () const |
| virtual void | SetSampling (const PixelSampling &s) |
| virtual Vec3 | GetAbsoluteOrigin () const |
| virtual void | SetAbsoluteOrigin (const Vec3 &c) |
| virtual Vec3 | IndexToCoord (const Point &p) const |
| virtual Vec3 | CoordToIndex (const Vec3 &c) const |
| virtual Vec3 | FractionalIndexToCoord (const Vec3 &p) const |
| void | AdjustPhaseOrigin (const Point &p) |
| T & | Value (const Point &p) |
| const T & | Value (const Point &p) const |
| T | GetCheckedValue (const Point &p) const |
| void | SetCheckedValue (const Point &p, const T &v) |
| T | CalcIntpolValue (const Vec3 &v) const |
| T | CalcIntpolValue (const Vec2 &v) const |
| T | CalcIntpolValue (const Real &v) const |
| T & | Value (const Index &i) |
| const T & | Value (const Index &i) const |
| T & | Value (unsigned int i) |
| const T & | Value (unsigned int i) const |
| ValueHolder< T > & | Data () |
| const ValueHolder< T > & | Data () const |
| Size | GetSize () const |
| virtual void | ApplyIP (ImageStateNonModVisitorBase &v) const |
| virtual void | Apply (ImageStateNonModVisitorBase &v) const |
| virtual void | ApplyIP (ImageStateModIPVisitorBase &v) |
| virtual void | ApplyIP (const ImageStateConstModIPVisitorBase &v) |
| virtual ImageStateBasePtr | Apply (ImageStateModIPVisitorBase &v) const |
| virtual ImageStateBasePtr | Apply (const ImageStateConstModIPVisitorBase &v) const |
| virtual ImageStateBasePtr | Apply (ImageStateModOPVisitorBase &v) const |
| virtual ImageStateBasePtr | Apply (const ImageStateConstModOPVisitorBase &v) const |
| virtual ImageStateBasePtr | Apply (ImageStateMorphVisitorBase &v) |
| virtual ImageStateBase & | operator+= (Real v) |
| virtual ImageStateBase & | operator+= (const Complex &v) |
| virtual ImageStateBase & | operator-= (Real v) |
| virtual ImageStateBase & | operator-= (const Complex &v) |
| virtual ImageStateBase & | operator*= (Real v) |
| virtual ImageStateBase & | operator*= (const Complex &v) |
| virtual ImageStateBase & | operator/= (Real v) |
| virtual ImageStateBase & | operator/= (const Complex &v) |
| virtual void | operator+= (const Function &b) |
| virtual void | operator-= (const Function &b) |
| virtual void | operator*= (const Function &b) |
| virtual void | operator/= (const Function &b) |
Protected Member Functions | |
| template<typename U > | |
| void | add_scalar (const U &v) |
| template<typename U > | |
| void | mul_scalar (const U &v) |
Definition at line 59 of file image_state_impl.hh.
| typedef boost::shared_ptr<ImageStateImpl<T,D> > SharedPtrType |
Definition at line 63 of file image_state_impl.hh.
| typedef ImageStateImpl<T,D> StateType |
Definition at line 62 of file image_state_impl.hh.
| ImageStateImpl | ( | ) |
| ImageStateImpl | ( | const ImageStateImpl< T, D > & | s | ) |
| ImageStateImpl | ( | const Extent & | e, | |
| const PixelSampling & | s | |||
| ) |
| ImageStateImpl | ( | const Extent & | e, | |
| const PixelSampling & | s, | |||
| const Vec3 & | c | |||
| ) |
| ImageStateImpl | ( | const Extent & | e, | |
| ValueHolder< U > & | d, | |||
| const PixelSampling & | s | |||
| ) | [inline] |
Definition at line 82 of file image_state_impl.hh.
| virtual ~ImageStateImpl | ( | ) | [virtual] |
| void add_scalar | ( | const U & | v | ) | [inline, protected] |
| void AdjustPhaseOrigin | ( | const Point & | p | ) |
| virtual ImageStateBasePtr Apply | ( | ImageStateMorphVisitorBase & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBasePtr Apply | ( | const ImageStateConstModOPVisitorBase & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual ImageStateBasePtr Apply | ( | ImageStateModOPVisitorBase & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual ImageStateBasePtr Apply | ( | const ImageStateConstModIPVisitorBase & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual ImageStateBasePtr Apply | ( | ImageStateModIPVisitorBase & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual void Apply | ( | ImageStateNonModVisitorBase & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual void ApplyIP | ( | const ImageStateConstModIPVisitorBase & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual void ApplyIP | ( | ImageStateModIPVisitorBase & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual void ApplyIP | ( | ImageStateNonModVisitorBase & | v | ) | const [virtual] |
Implements ImageStateBase.
| T CalcIntpolValue | ( | const Real & | v | ) | const |
| T CalcIntpolValue | ( | const Vec2 & | v | ) | const |
| T CalcIntpolValue | ( | const Vec3 & | v | ) | const |
| virtual void CenterSpatialOrigin | ( | ) | [virtual] |
| virtual ImageStateBasePtr Clone | ( | bool | cc = true |
) | const [virtual] |
Implements ImageStateBase.
| SharedPtrType CloneState | ( | bool | cc = true |
) | const |
| virtual Vec3 CoordToIndex | ( | const Vec3 & | c | ) | const [virtual] |
Implements ImageStateBase.
| const ValueHolder<T>& Data | ( | ) | const |
direct access to value holder
| ValueHolder<T>& Data | ( | ) |
direct access to value holder
| virtual Vec3 FractionalIndexToCoord | ( | const Vec3 & | p | ) | const [virtual] |
Implements ImageStateBase.
| virtual Vec3 GetAbsoluteOrigin | ( | ) | const [virtual] |
Implements ImageStateBase.
| T GetCheckedValue | ( | const Point & | p | ) | const |
retrieve boundary checked value
Implements ImageStateBase.
| virtual DataDomain GetDomain | ( | ) | const [virtual] |
| virtual Extent GetExtent | ( | ) | const [virtual] |
Retrieve Extent.
Given by size, spatial origin and data domain, therefore the extent is a read-only property. The extent that is returned here corresponds to the physical extent, ie for half-frequency data only one half
Implements ImageStateBase.
Implements ImageStateBase.
| virtual Complex GetIntpolComplex | ( | const Vec2 & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual Complex GetIntpolComplex | ( | const Vec3 & | v | ) | const [virtual] |
Implements ImageStateBase.
Implements ImageStateBase.
| virtual Real GetIntpolReal | ( | const Vec2 & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual Real GetIntpolReal | ( | const Vec3 & | v | ) | const [virtual] |
Implements ImageStateBase.
| virtual Extent GetLogicalExtent | ( | ) | const [virtual] |
Retrieve logical extent.
For half-frequency data, returns the full, virtual extent. For spatial and frequency domain equivalent to GetExtent().
Implements ImageStateBase.
retrieve value at Point as Real
This call is potentially slow, but boundary checked
Implements ImageStateBase.
| virtual const PixelSampling& GetSampling | ( | ) | const [virtual] |
Implements ImageStateBase.
| virtual PixelSampling& GetSampling | ( | ) | [virtual] |
Implements ImageStateBase.
| Size GetSize | ( | ) | const |
| virtual Point GetSpatialOrigin | ( | ) | const [virtual] |
| virtual DataType GetType | ( | ) | const [virtual] |
| virtual Vec3 IndexToCoord | ( | const Point & | p | ) | const [virtual] |
Implements ImageStateBase.
| virtual long MemSize | ( | ) | const [virtual] |
Implements ImageStateBase.
| void mul_scalar | ( | const U & | v | ) | [inline, protected] |
| virtual void operator*= | ( | const Function & | b | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator*= | ( | const Complex & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator*= | ( | Real | v | ) | [virtual] |
Implements ImageStateBase.
| virtual void operator+= | ( | const Function & | b | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator+= | ( | const Complex & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator+= | ( | Real | v | ) | [virtual] |
Implements ImageStateBase.
| virtual void operator-= | ( | const Function & | b | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator-= | ( | const Complex & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator-= | ( | Real | v | ) | [virtual] |
Implements ImageStateBase.
| virtual void operator/= | ( | const Function & | b | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator/= | ( | const Complex & | v | ) | [virtual] |
Implements ImageStateBase.
| virtual ImageStateBase& operator/= | ( | Real | v | ) | [virtual] |
Implements ImageStateBase.
| ImageStateImpl<T,D>& operator= | ( | const ImageStateImpl< T, D > & | s | ) |
| virtual void SetAbsoluteOrigin | ( | const Vec3 & | c | ) | [virtual] |
Implements ImageStateBase.
| void SetCheckedValue | ( | const Point & | p, | |
| const T & | v | |||
| ) |
set boundary checked value
set complex value at Point
This call is potentially slow, but boundary checked
Implements ImageStateBase.
set real value at Point
This call is potentially slow, but boundary checked
Implements ImageStateBase.
| virtual void SetSampling | ( | const PixelSampling & | s | ) | [virtual] |
Implements ImageStateBase.
| virtual void SetSpatialOrigin | ( | const Point & | o | ) | [virtual] |
| const T& Value | ( | unsigned int | i | ) | const |
| T& Value | ( | unsigned int | i | ) |
| const T& Value | ( | const Index & | i | ) | const |
| T& Value | ( | const Index & | i | ) |
| const T& Value | ( | const Point & | p | ) | const |
| T& Value | ( | const Point & | p | ) |
1.5.8