public class Ellipsoid
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
P3 |
center |
short |
colix |
private static float[] |
crtval |
(package private) java.lang.String |
id |
(package private) boolean |
isOn |
boolean |
isValid |
(package private) float[] |
lengths |
(package private) int |
modelIndex |
java.lang.String |
options |
(package private) int |
percent |
(package private) byte |
pid |
(package private) float |
scale |
Tensor |
tensor |
boolean |
visible |
Modifier | Constructor and Description |
---|---|
private |
Ellipsoid() |
Modifier and Type | Method and Description |
---|---|
static Ellipsoid |
getEllipsoidForAtomTensor(Tensor t,
P3 center) |
static Ellipsoid |
getEmptyEllipsoid(java.lang.String id,
int modelIndex) |
static void |
getEquationForQuadricWithCenter(float x,
float y,
float z,
Matrix3f mToElliptical,
V3 vTemp,
Matrix3f mTemp,
double[] coef,
Matrix4f mDeriv) |
float |
getLength(int i) |
static float |
getThermalRadius(int prob) |
protected void |
setAxes(V3[] axes) |
void |
setCenter(P3 center) |
protected void |
setEquation(double[] coef) |
void |
setLengths() |
void |
setScale(float scale,
boolean isPercent) |
private void |
validate(boolean andSetLengths) |
public short colix
public boolean visible
public boolean isValid
public P3 center
public Tensor tensor
public java.lang.String options
boolean isOn
java.lang.String id
int modelIndex
byte pid
float[] lengths
float scale
int percent
private static final float[] crtval
public static Ellipsoid getEmptyEllipsoid(java.lang.String id, int modelIndex)
public void setCenter(P3 center)
public float getLength(int i)
public void setLengths()
public void setScale(float scale, boolean isPercent)
public static final float getThermalRadius(int prob)
protected void setEquation(double[] coef)
protected void setAxes(V3[] axes)
private void validate(boolean andSetLengths)