31#ifndef F04ElementField_h
32#define F04ElementField_h 1
36#include "G4Navigator.hh"
37#include "G4TransportationManager.hh"
39#include "G4UserLimits.hh"
40#include "G4VisAttributes.hh"
42#include "CLHEP/Units/SystemOfUnits.h"
112 if(point[2] <
fMinZ || point[2] >
fMaxZ)
return false;
113 if(point[0] <
fMinX || point[0] >
fMaxX)
return false;
114 if(point[1] <
fMinY || point[1] >
fMaxY)
return false;
bool IsInBoundingBox(const G4double point[4]) const
IsInBoundingBox() returns true if the point is within the global bounding box - global coordinates.
F04ElementField & operator=(const F04ElementField &)
G4String GetColor()
GetColor() returns the color.
G4AffineTransform fGlobal2local
virtual G4double GetLength()=0
void SetMaxStep(G4double stp)
SetMaxStep(G4double) sets the max. step size.
static G4VisAttributes * GetVisAttribute(G4String color)
GetVisAttribute() returns the appropriate G4VisAttributes.
static G4ThreadLocal G4Navigator * fNavigator
G4LogicalVolume * fVolume
G4double GetMaxStep()
GetMaxStep() returns the max. step size.
G4UserLimits * fUserLimits
void Construct()
the actual implementation constructs the F04ElementField
virtual ~F04ElementField()=default
Destructor.
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const =0
AddFieldValue() will add the field value for this element to field[].
void SetColor(G4String c)
SetColor(G4String) sets the color.
void SetGlobalPoint(const G4double point[4])
SetGlobalPoint() ensures that the point is within the global bounding box of this ElementField's glob...
virtual G4double GetWidth()=0
virtual G4double GetHeight()=0