public class BoxInflateAnisotropic extends BoxInflate
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
cVector |
|
protected Vector |
cVectorOld |
|
protected double[] |
deltaX |
|
protected Vector |
translationVector |
box
dimVector, groupScaler, moleculeCenter, scaleVector, translator
Constructor | Description |
---|---|
BoxInflateAnisotropic(Box box,
Space space) |
|
BoxInflateAnisotropic(Space space) |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Performs anisotropic inflation.
|
void |
setCVector(Vector cVec) |
|
void |
undo() |
Reverses the action of the inflation by performing the
action with a scale given the by the reciprocal of the
current scale.
|
getBox, setBox
getScale, getTargetDensity, getVectorScale, setScale, setTargetDensity, setVectorScale
protected Vector cVector
protected Vector cVectorOld
protected Vector translationVector
protected double[] deltaX
public BoxInflateAnisotropic(Space space)
public void actionPerformed()
actionPerformed
in interface IAction
actionPerformed
in class BoxInflate
public void undo()
BoxInflate
undo
in interface Undoable
undo
in class BoxInflate
public void setCVector(Vector cVec)