00001 00002 // $Id: BfldHandlerVoronoi.h,v 1.5 2005/02/03 22:35:49 rhatcher Exp $ 00003 // 00004 // BfldHandlerVoronoi 00005 // 00006 // BfldHandlerVoronoi searches and interpolates 00007 // 00008 // Author: R. Hatcher 2000.06.20 00009 // 00011 00012 #ifndef BFLDHANDLERVORONOI_H 00013 #define BFLDHANDLERVORONOI_H 00014 00015 #include "BField/BfldHandler.h" 00016 00017 // Costas handler 00018 #include "BField/BFLHandler.h" 00019 00020 #include "BField/BfldGrid.h" 00021 00022 class BfldHandlerVoronoi : public BfldHandler { 00023 00024 public: 00025 BfldHandlerVoronoi(); 00026 virtual ~BfldHandlerVoronoi(); 00027 00028 virtual TVector3 GetBFieldMeshCoord(const TVector3 &xyz); 00029 00030 virtual void SetInterpMethod(const BfldInterpMethod::InterpMethod_t method); 00031 virtual void SetMap(BfldMap* map); 00032 virtual void SetMesh(BfldMesh* mesh); 00033 00034 protected: 00035 00036 void SetCostasHandler(BfldGrid::Grid_t grid); 00037 void SetCostasInterpMethod(); 00038 00039 BFLHandler *fCostasHandler; 00040 00041 private: 00042 00043 ClassDef(BfldHandlerVoronoi,1) 00044 }; 00045 00046 #endif // BFLDHANDLERVORONOI_H
1.3.9.1