BfldCanvasRect2d Class Reference

#include <BfldCanvasRect2d.h>

Inheritance diagram for BfldCanvasRect2d:
BfldCanvas

List of all members.

Public Member Functions

 BfldCanvasRect2d (VldContext &vldc, int imap, int iscoil)
 BfldCanvasRect2d ()
virtual ~BfldCanvasRect2d ()
Int_t GetMap () const

Private Attributes

Int_t fMap

Detailed Description

Definition at line 6 of file BfldCanvasRect2d.h.


Constructor & Destructor Documentation

BfldCanvasRect2d::BfldCanvasRect2d ( VldContext vldc,
int  imap,
int  iscoil 
)

Definition at line 12 of file BfldCanvasRect2d.cxx.

References Form(), BfldLoanPool::GetMap(), BfldLoanPool::GetMesh(), handler(), BfldLoanPool::Instance(), BfldGrid::kRect2dGrid, BfldHandlerRect2d::SetInterpMethod(), BfldHandler::SetMap(), and BfldHandler::SetMesh().

00013   : BfldCanvas(vldc,Form("BfldCanvasRect2d%d",imap),iscoil)
00014   , fMap(imap)
00015 {
00016   BfldHandlerRect2d handler;
00017   handler.SetInterpMethod(GetInterpMethod());
00018 
00019   BfldLoanPool* bfldpool = BfldLoanPool::Instance();
00020   BfldGrid::Grid_t grid = BfldGrid::kRect2dGrid;
00021   BfldMap *bmap = bfldpool->GetMap(grid,imap);
00022   handler.SetMap(bmap);
00023   BfldMesh *mesh = bfldpool->GetMesh(grid,imap);
00024   handler.SetMesh(mesh);
00025 
00026   Fill(handler);
00027 
00028   std::string name;
00029   name += Form("bfld_%3.3d",imap);
00030   name += GetZoomInterpString();
00031   SetTitle(name);
00032 }

BfldCanvasRect2d::BfldCanvasRect2d (  ) 

Definition at line 34 of file BfldCanvasRect2d.cxx.

00035   : BfldCanvas()
00036   , fMap(-999)
00037 {
00038   // default ctor for ROOTCINT
00039 }

BfldCanvasRect2d::~BfldCanvasRect2d (  )  [virtual]

Definition at line 41 of file BfldCanvasRect2d.cxx.

00042 { }


Member Function Documentation

Int_t BfldCanvasRect2d::GetMap (  )  const [inline]

Definition at line 30 of file BfldCanvasRect2d.h.

References fMap.

00030 { return fMap; }


Member Data Documentation

Int_t BfldCanvasRect2d::fMap [private]

Definition at line 34 of file BfldCanvasRect2d.h.

Referenced by GetMap().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1