BfldInterpMethod Namespace Reference

Typedefs

typedef enum
BfldInterpMethod::EInterpMethod 
InterpMethod_t

Enumerations

enum  EInterpMethod {
  kDefault = -1, kClosest = 0, kNatural = 1, kBilinear = 2,
  kPlanar = 3, kPlanarVec = 4
}

Functions

const char * AsString (BfldInterpMethod::InterpMethod_t method)

Typedef Documentation


Enumeration Type Documentation

Enumerator:
kDefault 
kClosest 
kNatural 
kBilinear 
kPlanar 
kPlanarVec 

Definition at line 22 of file BfldInterpMethod.h.

00022                              {
00023      kDefault   = -1,
00024      kClosest   =  0,
00025      kNatural   =  1,
00026      kBilinear  =  2,
00027      kPlanar    =  3,
00028      kPlanarVec =  4
00029   } InterpMethod_t; 


Function Documentation

const char * BfldInterpMethod::AsString ( BfldInterpMethod::InterpMethod_t  method  ) 

Definition at line 6 of file BfldInterpMethod.cxx.

References kBilinear, kClosest, kDefault, kNatural, kPlanar, and kPlanarVec.

Referenced by BenchmarkPerformance(), and BfldValidate::TestInterpMethods().

00006                                                              {
00007   switch (method) {
00008   case kDefault:   return "Default for Handler";             break;
00009   case kClosest:   return "Closest Neighbor";                break;
00010   case kNatural:   return "Natural Neighbor";                break;
00011   case kBilinear:  return "Bilinear";                        break;
00012   case kPlanar:    return "3-point Planar (component)";      break;
00013   case kPlanarVec: return "3-point Planar (vector)";         break;
00014   default:         return "Unknown InterpMethod_t";          break;
00015   }
00016   return "Unknown InterpMethod_t";
00017 }


Generated on 24 Jul 2018 for loon by  doxygen 1.6.1