OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
FunctionImpl< T > Class Template Reference

#include <function_impl.hh>

Inherits Function.

Public Member Functions

virtual DataType GetType () const
virtual Real GetIntpolReal (const Vec3 &v) const
virtual Complex GetIntpolComplex (const Vec3 &v) const
virtual T Func (const Vec3 &v) const =0
- Public Member Functions inherited from Function
virtual ~Function ()
virtual DataDomain GetDomain () const
virtual Extent GetExtent () const
void SetExtent (const Extent &e)
virtual void SetSpatialOrigin (const Point &o)
virtual Point GetSpatialOrigin () const
virtual Real GetReal (const Point &p) const
virtual Complex GetComplex (const Point &p) const
virtual Real GetIntpolReal (const Vec2 &v) const
virtual Real GetIntpolReal (const Real &d) const
virtual Complex GetIntpolComplex (const Vec2 &v) const
virtual Complex GetIntpolComplex (const Real &d) const
virtual void Apply (NonModAlgorithm &a) const
virtual void ApplyIP (NonModAlgorithm &a) const
virtual void Attach (DataObserver *o) const
virtual void Detach (DataObserver *o) const
virtual void Notify () const
- Public Member Functions inherited from Data
 Data ()
virtual ~Data ()
void SetPixelSampling (const Vec3 &)
void SetPixelSampling (Real d)
void SetSpatialSampling (const Vec3 &)
void SetSpatialSampling (Real d)
- Public Member Functions inherited from ConstData
 ConstData ()
virtual ~ConstData ()
bool IsSpatial () const
bool IsFrequency () const
bool IsReal () const
bool IsComplex () const
Size GetSize () const
virtual Real OverallDifference (const ConstData &d) const
virtual Real NormDifference (const ConstData &d) const
Vec3 GetPixelSampling () const
Vec3 GetSpatialSampling () const
Vec3 GetFrequencySampling () const

Protected Member Functions

 FunctionImpl (DataDomain d)
 FunctionImpl (const FunctionImpl &f)
FunctionImploperator= (const FunctionImpl &f)
- Protected Member Functions inherited from Function
 Function (DataDomain d, const Extent &e=Extent())
 Function (const Function &f)
Functionoperator= (const Function &f)
virtual PixelSamplingSampling ()
virtual const PixelSamplingSampling () const
- Protected Member Functions inherited from Data
 Data (const Data &d)
Dataoperator= (const Data &d)

Detailed Description

template<typename T>
class ost::img::detail::FunctionImpl< T >

Definition at line 37 of file function_impl.hh.


Constructor & Destructor Documentation

FunctionImpl ( DataDomain  d)
protected

instantiation requires domain specification

FunctionImpl ( const FunctionImpl< T > &  f)
protected

Member Function Documentation

virtual T Func ( const Vec3 &  v) const
pure virtual

abstract method that returns actual function value. Must be implemented by derived classes

virtual Complex GetIntpolComplex ( const Vec3 &  v) const
virtual

Get interpolated complex value from 3D,2D or 1D vec.

Implements Function.

virtual Real GetIntpolReal ( const Vec3 &  v) const
virtual

Get interpolated real value from 3D,2D or 1D vec.

Implements Function.

virtual DataType GetType ( ) const
virtual

See Data::GetType.

Implements Function.

FunctionImpl& operator= ( const FunctionImpl< T > &  f)
protected

The documentation for this class was generated from the following file: