openModeller
Version 1.4.0
|
00001 00029 #ifndef _MODEL_HH 00030 #define _MODEL_HH 00031 00032 #include <openmodeller/om_defs.hh> 00033 00034 #include <openmodeller/Sampler.hh> 00035 #include <openmodeller/Environment.hh> 00036 #include <openmodeller/refcount.hh> 00037 00038 class ModelImpl; 00039 00040 typedef ReferenceCountedPointer<ModelImpl> Model; 00041 00042 class ModelImpl : public ReferenceCountedObject { 00043 00044 friend class ReferenceCountedPointer<ModelImpl>; 00045 00046 public: 00047 00048 virtual ~ModelImpl() {}; 00049 00053 virtual void setNormalization( const SamplerPtr& samp ) const = 0; 00054 00058 virtual void setNormalization( const EnvironmentPtr& env ) const = 0; 00059 00063 virtual Scalar getValue( const Sample& x ) const = 0; 00064 00065 }; 00066 00067 00068 #endif