32 #ifndef F04ElementField_h
33 #define F04ElementField_h 1
115 if(point[2] <
fMinZ || point[2] >
fMaxZ)
return false;
116 if(point[0] <
fMinX || point[0] >
fMaxX)
return false;
117 if(point[1] <
fMinY || point[1] >
fMaxY)
return false;
G4String GetColor()
GetColor() returns the color.
virtual G4double GetHeight()=0
void Construct()
the actual implementation constructs the F04ElementField
static G4ThreadLocal G4Navigator * fNavigator
virtual ~F04ElementField()
Destructor.
F04ElementField & operator=(const F04ElementField &)
G4AffineTransform fGlobal2local
void SetMaxStep(G4double stp)
SetMaxStep(G4double) sets the max. step size.
G4double GetMaxStep()
GetMaxStep() returns the max. step size.
G4LogicalVolume * fVolume
void SetVisAttributes(const G4VisAttributes *pVA)
void SetUserLimits(G4UserLimits *pULimits)
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const =0
G4UserLimits * fUserLimits
static G4VisAttributes * GetVisAttribute(G4String color)
GetVisAttribute() returns the appropriate G4VisAttributes.
virtual G4double GetLength()=0
void SetGlobalPoint(const G4double point[4])
virtual void SetMaxAllowedStep(G4double ustepMax)
virtual G4double GetWidth()=0
bool IsInBoundingBox(const G4double point[4]) const
void SetColor(G4String c)
SetColor(G4String) sets the color.
F04ElementField(const G4ThreeVector, G4LogicalVolume *)
Constructor.