org.jmol.g3d
class Normix3D extends Object
A 'normix' is a normal index, represented as a short
Field Summary | |
---|---|
BitSet | bsConsidered |
static boolean | DEBUG_FACE_VECTORS |
static boolean | DEBUG_WITH_SEQUENTIAL_SEARCH |
static short[][] | faceNormixesArrays |
static short[][] | faceVertexesArrays |
byte[] | intensities |
byte[] | intensities2Sided |
short[] | inverseNormixes |
static short[][] | neighborVertexesArrays |
static int | normixCount |
static int | NORMIX_GEODESIC_LEVEL |
Matrix3f | rotationMatrix |
Vector3f[] | transformedVectors |
static boolean | TIMINGS |
static Vector3f[] | vertexVectors |
Constructor Summary | |
---|---|
Normix3D() |
Method Summary | |
---|---|
short[] | calcFaceNormixes(int level) |
void | calculateInverseNormixes() |
static double | dist2(Vector3f v1, Vector3f v2) |
static double | dist2(Vector3f v1, double x, double y, double z) |
short[] | getFaceNormixes(int level) |
byte | getIntensity(short normix) |
short | getNormix(Vector3f v) |
short | getNormix(double x, double y, double z, int geodesicLevel) |
Vector3f[] | getTransformedVectors() |
Vector3f | getVector(short normix) |
boolean | isDirectedTowardsCamera(short normix) |
void | setRotationMatrix(Matrix3f rotationMatrix) |