Field3D
|
#include <FieldInterp.h>
Public Types | |
typedef LinearMACFieldInterp | class_type |
typedef boost::intrusive_ptr < LinearMACFieldInterp > | Ptr |
typedef Data_T | value_type |
![]() | |
typedef boost::intrusive_ptr < RefBase > | Ptr |
Public Member Functions | |
Data_T | sample (const MACField< Data_T > &data, const V3d &vsP) const |
double | sample (const MACField< Data_T > &data, const MACComponent &comp, const V3d &vsP) const |
![]() | |
void | ref () const |
Used by boost::intrusive_pointer. | |
size_t | refcnt () |
Used by boost::intrusive_pointer. | |
void | unref () const |
Used by boost::intrusive_pointer. | |
RefBase () | |
RefBase (const RefBase &) | |
Copy constructor. | |
RefBase & | operator= (const RefBase &) |
Assignment operator. | |
virtual | ~RefBase () |
Destructor. | |
virtual bool | checkRTTI (const char *typenameStr)=0 |
This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();. | |
bool | matchRTTI (const char *typenameStr) |
Performs a check to see if the given typename string matches this class' This needs to be implemented in -all- subclasses, even abstract ones. |
Static Public Member Functions | |
static const char * | classType () |
classType for RTTI replacement | |
static const char * | staticClassName () |
![]() |
Public Attributes | |
DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Private Types | |
typedef RefBase | base |
Convenience typedef for referring to base class. |
Static Private Attributes | |
static TemplatedFieldType < LinearMACFieldInterp< Data_T > > | ms_classType |
Definition at line 312 of file FieldInterp.h.
typedef Data_T LinearMACFieldInterp< Data_T >::value_type |
Definition at line 318 of file FieldInterp.h.
typedef boost::intrusive_ptr<LinearMACFieldInterp> LinearMACFieldInterp< Data_T >::Ptr |
Definition at line 319 of file FieldInterp.h.
typedef LinearMACFieldInterp LinearMACFieldInterp< Data_T >::class_type |
Definition at line 323 of file FieldInterp.h.
|
private |
Convenience typedef for referring to base class.
Definition at line 354 of file FieldInterp.h.
|
inlinestatic |
Definition at line 326 of file FieldInterp.h.
|
inlinestatic |
classType for RTTI replacement
Reimplemented from RefBase.
Definition at line 332 of file FieldInterp.h.
References LinearMACFieldInterp< Data_T >::ms_classType, and TemplatedFieldType< Field_T >::name().
Data_T LinearMACFieldInterp< Data_T >::sample | ( | const MACField< Data_T > & | data, |
const V3d & | vsP | ||
) | const |
Definition at line 818 of file FieldInterp.h.
References FieldRes::dataWindow(), MACField< Data_T >::u(), MACField< Data_T >::v(), and MACField< Data_T >::w().
double LinearMACFieldInterp< Data_T >::sample | ( | const MACField< Data_T > & | data, |
const MACComponent & | comp, | ||
const V3d & | vsP | ||
) | const |
Definition at line 941 of file FieldInterp.h.
References FieldRes::dataWindow(), MACCompU, MACCompV, MACCompW, MACField< Data_T >::u(), MACField< Data_T >::v(), and MACField< Data_T >::w().
LinearMACFieldInterp< Data_T >::DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Definition at line 324 of file FieldInterp.h.
|
staticprivate |
Definition at line 349 of file FieldInterp.h.
Referenced by LinearMACFieldInterp< Data_T >::classType().