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;
void SetMaxStep(G4double stp)
SetMaxStep(G4double) sets the max. step size.
virtual void SetMaxAllowedStep(G4double ustepMax)
CLHEP::Hep3Vector G4ThreeVector
void SetGlobalPoint(const G4double point[4])
SetGlobalPoint() ensures that the point is within the global bounding box of this ElementField's glob...
F04ElementField(const G4ThreeVector, G4LogicalVolume *)
Constructor.
void SetUserLimits(G4UserLimits *pULimits)
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const =0
AddFieldValue() will add the field value for this element to field[]. Implementations must be sure to...
static G4VisAttributes * GetVisAttribute(G4String color)
GetVisAttribute() returns the appropriate G4VisAttributes.
void SetColor(G4String c)
SetColor(G4String) sets the color.
G4UserLimits * fUserLimits
virtual G4double GetLength()=0
virtual G4double GetWidth()=0
G4double GetMaxStep()
GetMaxStep() returns the max. step size.
F04ElementField & operator=(const F04ElementField &)
G4String GetColor()
GetColor() returns the color.
virtual G4double GetHeight()=0
G4AffineTransform fGlobal2local
bool IsInBoundingBox(const G4double point[4]) const
IsInBoundingBox() returns true if the point is within the global bounding box - global coordinates...
G4LogicalVolume * fVolume
void Construct()
the actual implementation constructs the F04ElementField
static G4ThreadLocal G4Navigator * fNavigator
void SetVisAttributes(const G4VisAttributes *pVA)
virtual ~F04ElementField()
Destructor.