#ifndef HGEOMBASICSHAPE_H
#define HGEOMBASICSHAPE_H
using namespace std;
#include "hgeomtransform.h"
#include "TNamed.h"
#include "TString.h"
#include "TArrayD.h"
#include "TShape.h"
#include <fstream>
class HGeomVolume;
class HGeomBasicShape : public TNamed {
protected:
Int_t nPoints;
Int_t nParam;
TArrayD* param;
HGeomTransform* center;
HGeomTransform* position;
public:
HGeomBasicShape();
virtual ~HGeomBasicShape();
Int_t getNumPoints() {return nPoints;}
Int_t getNumParam() {return nParam;}
TArrayD* getParam() {return param;}
HGeomTransform* getCenterPosition() {return center;}
HGeomTransform* getVoluPosition() {return position;}
virtual Int_t readPoints(fstream*,HGeomVolume*);
virtual Bool_t writePoints(fstream*,HGeomVolume*);
virtual void printPoints(HGeomVolume* volu);
virtual TArrayD* calcVoluParam(HGeomVolume*) {return 0;}
virtual void calcVoluPosition(HGeomVolume*,const HGeomTransform&);
virtual void calcVoluPosition(HGeomVolume*,const HGeomTransform&,
const HGeomTransform&) {return;}
void printParam();
protected:
void posInMother(const HGeomTransform&,const HGeomTransform&);
ClassDef(HGeomBasicShape,0)
};
#endif /* !HGEOMBASICSHAPE_H */
Last change: Sat May 22 12:56:10 2010
Last generated: 2010-05-22 12:56
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.