Field3D
|
Base class for interpolators. More...
#include <FieldInterp.h>
Public Types | |
typedef FieldInterp | class_type |
typedef boost::intrusive_ptr < FieldInterp > | Ptr |
typedef Data_T | value_type |
Public Member Functions | |
virtual Data_T | sample (const Field< Data_T > &data, const V3d &vsP) const =0 |
virtual | ~FieldInterp () |
Static Public Member Functions | |
static const char * | classType () |
static const char * | staticClassName () |
Public Attributes | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
Private Types | |
typedef RefBase | base |
Convenience typedef for referring to base class. | |
Static Private Attributes | |
static TemplatedFieldType < FieldInterp< Data_T > > | ms_classType |
Base class for interpolators.
Definition at line 72 of file FieldInterp.h.
typedef Data_T FieldInterp< Data_T >::value_type |
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 78 of file FieldInterp.h.
typedef boost::intrusive_ptr<FieldInterp> FieldInterp< Data_T >::Ptr |
Reimplemented from RefBase.
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 79 of file FieldInterp.h.
typedef FieldInterp FieldInterp< Data_T >::class_type |
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 83 of file FieldInterp.h.
typedef RefBase FieldInterp< Data_T >::base [private] |
Convenience typedef for referring to base class.
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 114 of file FieldInterp.h.
virtual FieldInterp< Data_T >::~FieldInterp | ( | ) | [inline, virtual] |
Definition at line 98 of file FieldInterp.h.
{ }
static const char* FieldInterp< Data_T >::staticClassName | ( | ) | [inline, static] |
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 86 of file FieldInterp.h.
{ return "FieldInterp"; }
static const char* FieldInterp< Data_T >::classType | ( | ) | [inline, static] |
Reimplemented from RefBase.
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 91 of file FieldInterp.h.
References FieldInterp< Data_T >::ms_classType, and TemplatedFieldType< Field_T >::name().
{ return ms_classType.name(); }
virtual Data_T FieldInterp< Data_T >::sample | ( | const Field< Data_T > & | data, |
const V3d & | vsP | ||
) | const [pure virtual] |
Implemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Referenced by wsSample().
FieldInterp< Data_T >::DEFINE_FIELD_RTTI_ABSTRACT_CLASS |
Definition at line 84 of file FieldInterp.h.
TemplatedFieldType<FieldInterp<Data_T> > FieldInterp< Data_T >::ms_classType [static, private] |
Reimplemented in LinearFieldInterp< Data_T >, and CubicFieldInterp< Data_T >.
Definition at line 109 of file FieldInterp.h.
Referenced by FieldInterp< Data_T >::classType().