Field3D
FieldInterp Class Reference

Base class for interpolators. More...

#include <FieldInterp.h>

Inheritance diagram for FieldInterp:
RefBase

List of all members.

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

Detailed Description

Base class for interpolators.

Note:
An interpolator always interpolates in voxel space.

Member Typedef Documentation

typedef Data_T FieldInterp::value_type

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 78 of file FieldInterp.h.

typedef boost::intrusive_ptr<FieldInterp> FieldInterp::Ptr

Reimplemented from RefBase.

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 79 of file FieldInterp.h.

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 83 of file FieldInterp.h.

typedef RefBase FieldInterp::base [private]

Convenience typedef for referring to base class.

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 114 of file FieldInterp.h.


Constructor & Destructor Documentation

virtual FieldInterp::~FieldInterp ( ) [inline, virtual]

Definition at line 98 of file FieldInterp.h.

  { }

Member Function Documentation

static const char* FieldInterp::staticClassName ( ) [inline, static]

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 86 of file FieldInterp.h.

  {
    return "FieldInterp";
  }
static const char* FieldInterp::classType ( ) [inline, static]

Reimplemented from RefBase.

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 91 of file FieldInterp.h.

  {
    return ms_classType.name();
  }
virtual Data_T FieldInterp::sample ( const Field< Data_T > &  data,
const V3d vsP 
) const [pure virtual]

Implemented in CubicFieldInterp, and LinearFieldInterp.

Referenced by wsSample().


Member Data Documentation

Reimplemented in CubicFieldInterp, and LinearFieldInterp.

Definition at line 109 of file FieldInterp.h.

Referenced by FieldInterp< Data_T >::classType().


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