public abstract class SurveyVolume extends Object
Modifier and Type | Field and Description |
---|---|
private AlignmentCorrection |
alignmentCorrections |
protected Hep3Vector |
ballPos |
private Hep3Vector |
boxDim |
private Hep3Vector |
center |
private SurveyCoordinateSystem |
coord |
protected boolean |
debug |
protected Hep3Vector |
flatPos |
private String |
material |
private SurveyVolume |
mother |
private String |
name |
protected List<SurveyVolume> |
referenceGeom |
protected Hep3Vector |
veePos |
Constructor and Description |
---|
SurveyVolume(String name,
SurveyVolume m,
AlignmentCorrection alignmentCorrection) |
SurveyVolume(String name,
SurveyVolume m,
AlignmentCorrection alignmentCorrection,
List<SurveyVolume> ref) |
SurveyVolume(String name,
SurveyVolume m,
AlignmentCorrection alignmentCorrection,
SurveyVolume ref) |
Modifier and Type | Method and Description |
---|---|
void |
addReferenceGeom(List<SurveyVolume> refGeomList) |
void |
addReferenceGeom(SurveyVolume refGeom) |
protected void |
applyGenericCoordinateSystemCorrections()
Apply a generic correction to the coordinate system of this volume.
|
private void |
applyLocalAlignmentCorrections()
Apply @link AlignmentCorrection to the volume if they are supplied.
|
protected void |
applyReferenceTransformation()
Applies a user supplied reference transformation to the module.
|
private void |
applySurvey(org.jdom.Element node) |
Hep3Vector |
getBallPos() |
Hep3Vector |
getBoxDim() |
Hep3Vector |
getCenter() |
SurveyCoordinateSystem |
getCoord() |
Hep3Vector |
getFlatPos() |
String |
getMaterial() |
SurveyVolume |
getMother() |
String |
getName() |
Hep3Vector |
getVeePos() |
protected void |
init()
Initialize the volume.
|
void |
printSurveyPos() |
private void |
setAlignmentCorrection(AlignmentCorrection alignmentCorrection) |
void |
setBallPos(double x,
double y,
double z) |
protected abstract void |
setBoxDim() |
void |
setBoxDim(double x,
double y,
double z) |
protected abstract void |
setCenter() |
void |
setCenter(double x,
double y,
double z) |
void |
setCenter(Hep3Vector center) |
void |
setCoord() |
void |
setFlatPos(double x,
double y,
double z) |
void |
setMaterial(String material) |
void |
setMother(SurveyVolume mother) |
void |
setName(String name) |
protected abstract void |
setPos() |
void |
setVeePos(double x,
double y,
double z) |
String |
toString() |
protected boolean debug
private String name
private String material
private SurveyVolume mother
protected List<SurveyVolume> referenceGeom
private SurveyCoordinateSystem coord
protected Hep3Vector ballPos
protected Hep3Vector veePos
protected Hep3Vector flatPos
private Hep3Vector center
private Hep3Vector boxDim
private AlignmentCorrection alignmentCorrections
public SurveyVolume(String name, SurveyVolume m, AlignmentCorrection alignmentCorrection)
public SurveyVolume(String name, SurveyVolume m, AlignmentCorrection alignmentCorrection, SurveyVolume ref)
public SurveyVolume(String name, SurveyVolume m, AlignmentCorrection alignmentCorrection, List<SurveyVolume> ref)
protected abstract void setPos()
protected abstract void setCenter()
protected abstract void setBoxDim()
protected void init()
SurveyVolume
to properly setup the coordinate systems. It takes care of applying user supplied custom transformations and alignment corrections in the order given in the function below. That order must be preserved to get a uniform behavior.private void applySurvey(org.jdom.Element node)
protected void applyGenericCoordinateSystemCorrections()
protected void applyReferenceTransformation()
private void applyLocalAlignmentCorrections()
private void setAlignmentCorrection(AlignmentCorrection alignmentCorrection)
public void setBallPos(double x, double y, double z)
public void setVeePos(double x, double y, double z)
public void setFlatPos(double x, double y, double z)
public Hep3Vector getBallPos()
public Hep3Vector getVeePos()
public Hep3Vector getFlatPos()
public void setCoord()
public SurveyCoordinateSystem getCoord()
public String getName()
public void setName(String name)
public Hep3Vector getCenter()
public void setCenter(Hep3Vector center)
public void setCenter(double x, double y, double z)
public Hep3Vector getBoxDim()
public void setBoxDim(double x, double y, double z)
public SurveyVolume getMother()
public void setMother(SurveyVolume mother)
public void addReferenceGeom(SurveyVolume refGeom)
public void addReferenceGeom(List<SurveyVolume> refGeomList)
public void printSurveyPos()
public String getMaterial()
public void setMaterial(String material)
Copyright © 2019. All rights reserved.