36 const Entry entries[] = {
76 Patch(), geometry(), patch()
81 Patch(rhs), geometry(), patch(rhs.patch)
86 Patch(name), geometry(), patch()
100 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
101 if(aKey == entry->name) {
140 double vx,
double vy,
double vz) {
148 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
149 image->
setAttribute(entry->name, (this->*(entry->get))());
double getVX() const
Get rotation.
double getX() const
Get displacement.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
void setY(double)
Set displacement.
double getVZ() const
Get rotation.
double getVY() const
Get rotation.
double getX() const
Get displacement.
void setX(double)
Set displacement.
Interface for basic beam line object.
void setY(double y)
Set displacement.
virtual ElementBase * clone() const
Return clone.
virtual NullGeometry & getGeometry()
Get geometry.
double getZ() const
Get displacement.
void setRotation(const Rotation3D &R)
Set rotation.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
Representation for a geometry patch.
void setVX(double)
Set rotation.
A zero electromagnetic field.
NullGeometry geometry
The geometry.
double getY() const
Get displacement.
void setVY(double)
Set rotation.
void setZ(double)
Set displacement.
virtual ElementImage * getImage() const
Construct an image.
Geometry representing an identity transform.
Displacement and rotation in space.
void setAttribute(const std::string &aKey, double val)
Set value of an attribute.
void setZ(double z)
Set displacement.
const Rotation3D & getRotation() const
Get rotation.
void setX(double x)
Set displacement.
virtual ElementImage * getImage() const
Construct an image.
Abstract interface for read/write access to variable.
void setPatch(const Euclid3D &euclid)
Set patch.
NullField field
The zero magnetic field.
Euclid3D patch
The geometry patch.
virtual NullField & getField()
Get field.
virtual const Euclid3D & getPatch() const
Get patch.
Interface for a geometric patch.
Rotation in 3-dimensional space.
double getY() const
Get displacement.
void setVZ(double)
Set rotation.
Vector3D getAxis() const
Get axis vector.
Access to a [b]double[/b] data member.
double getZ() const
Get displacement.