org.jmol.shapespecial

Class Dipole

class Dipole extends Object

Field Summary
Atom[]atoms
Bondbond
Point3fcenter
shortcolix
Point3f[]coords
StringdipoleInfo
floatdipoleValue
static shortDIPOLE_TYPE_ATOMS
static shortDIPOLE_TYPE_BOND
static shortDIPOLE_TYPE_MOLECULAR
static shortDIPOLE_TYPE_POINTS
static shortDIPOLE_TYPE_POINTVECTOR
static shortDIPOLE_TYPE_UNKNOWN
booleanhaveAtoms
booleanisUserValue
booleanisValid
shortmad
intmodelIndex
booleannoCross
floatoffsetAngstroms
intoffsetPercent
floatoffsetSide
Point3forigin
StringthisID
shorttype
Vector3fvector
intvisibilityFlags
booleanvisible
Constructor Summary
Dipole()
Dipole(int modelIndex, String thisID, String dipoleInfo, short colix, short mad, boolean visible)
Method Summary
voidcenterDipole()
StringgetShapeState()
booleanisBondType()
voidset(String thisID, String dipoleInfo, Atom[] atoms, float dipoleValue, short mad, float offsetAngstroms, int offsetPercent, float offsetSide, Point3f origin, Vector3f vector)
voidset(Point3f pt1, Point3f pt2)
voidset(float value)
voidset(Point3f pt1, Point3f pt2, float value)
voidset(Point3f pt1, Vector3f dipole)
voidset(Atom atom1, Atom atom2, float value)
voidsetTranslucent(boolean isTranslucent, float translucentLevel)

Field Detail

atoms

Atom[] atoms

bond

Bond bond

center

Point3f center

colix

short colix

coords

Point3f[] coords

dipoleInfo

String dipoleInfo

dipoleValue

float dipoleValue

DIPOLE_TYPE_ATOMS

static final short DIPOLE_TYPE_ATOMS

DIPOLE_TYPE_BOND

static final short DIPOLE_TYPE_BOND

DIPOLE_TYPE_MOLECULAR

static final short DIPOLE_TYPE_MOLECULAR

DIPOLE_TYPE_POINTS

static final short DIPOLE_TYPE_POINTS

DIPOLE_TYPE_POINTVECTOR

static final short DIPOLE_TYPE_POINTVECTOR

DIPOLE_TYPE_UNKNOWN

static final short DIPOLE_TYPE_UNKNOWN

haveAtoms

boolean haveAtoms

isUserValue

boolean isUserValue

isValid

boolean isValid

mad

short mad

modelIndex

int modelIndex

noCross

boolean noCross

offsetAngstroms

float offsetAngstroms

offsetPercent

int offsetPercent

offsetSide

float offsetSide

origin

Point3f origin

thisID

String thisID

type

short type

vector

Vector3f vector

visibilityFlags

int visibilityFlags

visible

boolean visible

Constructor Detail

Dipole

Dipole()

Dipole

Dipole(int modelIndex, String thisID, String dipoleInfo, short colix, short mad, boolean visible)

Method Detail

centerDipole

void centerDipole()

getShapeState

public String getShapeState()

isBondType

boolean isBondType()

set

void set(String thisID, String dipoleInfo, Atom[] atoms, float dipoleValue, short mad, float offsetAngstroms, int offsetPercent, float offsetSide, Point3f origin, Vector3f vector)

set

private void set(Point3f pt1, Point3f pt2)

set

void set(float value)

set

void set(Point3f pt1, Point3f pt2, float value)

set

void set(Point3f pt1, Vector3f dipole)

set

void set(Atom atom1, Atom atom2, float value)

setTranslucent

void setTranslucent(boolean isTranslucent, float translucentLevel)