org.jmol.api
public interface JmolRendererInterface
Method Summary | |
---|---|
abstract int | calcSurfaceShade(Point3i screenA, Point3i screenB, Point3i screenC) |
abstract boolean | checkTranslucent(boolean isAlphaTranslucent) |
abstract void | drawCircleCentered(short colix, int diameter, int x, int y, int z, boolean doFill)
draws a screened circle ... every other dot is turned on
|
abstract void | drawCylinderTriangle(int xA, int yA, int zA, int xB, int yB, int zB, int xC, int yC, int zC, int diameter) |
abstract void | drawDashedLine(int run, int rise, Point3i pointA, Point3i pointB) |
abstract void | drawDottedLine(Point3i pointA, Point3i pointB) |
abstract void | drawfillTriangle(int xA, int yA, int zA, int xB, int yB, int zB, int xC, int yC, int zC) |
abstract void | drawHermite(int tension, Point3i s0, Point3i s1, Point3i s2, Point3i s3) |
abstract void | drawHermite(boolean fill, boolean border, int tension, Point3i s0, Point3i s1, Point3i s2, Point3i s3, Point3i s4, Point3i s5, Point3i s6, Point3i s7, int aspectRatio) |
abstract void | drawImage(Image image, int x, int y, int z, int zslab, short bgcolix, int width, int height) |
abstract void | drawLine(int x1, int y1, int z1, int x2, int y2, int z2) |
abstract void | drawLine(Point3i pointA, Point3i pointB) |
abstract void | drawLine(short colixA, short colixB, int x1, int y1, int z1, int x2, int y2, int z2) |
abstract void | drawPixel(int x, int y, int z) |
abstract void | drawPoints(int count, int[] coordinates) |
abstract void | drawQuadrilateral(short colix, Point3i screenA, Point3i screenB, Point3i screenC, Point3i screenD) |
abstract void | drawRect(int x, int y, int z, int zSlab, int rWidth, int rHeight)
draws a rectangle
|
abstract void | drawString(String str, Font3D font3d, int xBaseline, int yBaseline, int z, int zSlab)
draws the specified string in the current font.
no line wrapping -- axis, labels, measures
|
abstract void | drawStringNoSlab(String str, Font3D font3d, int xBaseline, int yBaseline, int z)
draws the specified string in the current font.
no line wrapping -- echo, frank, hover, molecularOrbital, uccage
|
abstract void | drawTriangle(Point3i screenA, short colixA, Point3i screenB, short colixB, Point3i screenC, short colixC, int check) |
abstract void | drawTriangle(Point3i screenA, Point3i screenB, Point3i screenC, int check) |
abstract void | fillCone(byte endcap, int diameter, Point3i screenBase, Point3i screenTip) |
abstract void | fillCone(byte endcap, int diameter, Point3f screenBase, Point3f screenTip) |
abstract void | fillCylinder(short colixA, short colixB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB) |
abstract void | fillCylinder(byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB) |
abstract void | fillCylinder(byte endcaps, int diameter, Point3i screenA, Point3i screenB) |
abstract void | fillCylinderBits(byte endcaps, int diameter, Point3f screenA, Point3f screenB) |
abstract void | fillHermite(int tension, int diameterBeg, int diameterMid, int diameterEnd, Point3i s0, Point3i s1, Point3i s2, Point3i s3) |
abstract void | fillQuadrilateral(Point3f screenA, Point3f screenB, Point3f screenC, Point3f screenD) |
abstract void | fillQuadrilateral(Point3i screenA, short colixA, short normixA, Point3i screenB, short colixB, short normixB, Point3i screenC, short colixC, short normixC, Point3i screenD, short colixD, short normixD) |
abstract void | fillRect(int x, int y, int z, int zSlab, int widthFill, int heightFill)
fills background rectangle for label
|
abstract void | fillScreenedCircleCentered(short colixFill, int diameter, int x, int y, int z)
draws a screened circle ... every other dot is turned on
|
abstract void | fillSphereCentered(int diameter, int x, int y, int z)
fills a solid sphere
|
abstract void | fillSphereCentered(int diameter, Point3i center)
fills a solid sphere
|
abstract void | fillSphereCentered(int diameter, Point3f center)
fills a solid sphere
|
abstract void | fillTriangle(Point3i screenA, short colixA, short normixA, Point3i screenB, short colixB, short normixB, Point3i screenC, short colixC, short normixC) |
abstract void | fillTriangle(short normix, int xScreenA, int yScreenA, int zScreenA, int xScreenB, int yScreenB, int zScreenB, int xScreenC, int yScreenC, int zScreenC) |
abstract void | fillTriangle(Point3f screenA, Point3f screenB, Point3f screenC) |
abstract void | fillTriangle(Point3i screenA, Point3i screenB, Point3i screenC) |
void | fillTriangle(Point3i screenA, int intensityA, Point3i screenB, int intensityB, Point3i screenC, int intensityC) |
abstract void | fillTriangle(Point3i screenA, short colixA, short normixA, Point3i screenB, short colixB, short normixB, Point3i screenC, short colixC, short normixC, float factor) |
abstract int | getColixArgb(short colix) |
abstract int | getDepth()
gets g3d depth
|
abstract JmolExportInterface | getExporter() |
abstract Font3D | getFont3DCurrent() |
abstract Font3D | getFont3DScaled(Font3D font3d, float imageFontScaling) |
abstract byte | getFontFid(String fontFace, float fontSize) |
abstract byte | getFontFid(float fontSize) |
abstract String | getHexColorFromIndex(short colix) |
abstract short | getInverseNormix(short normix) |
abstract short | getNormix(Vector3f vector) |
abstract Vector3f | getNormixVector(short normix) |
abstract int | getRenderHeight()
gets g3d height
|
abstract int | getRenderWidth()
gets g3d width
|
abstract int | getSlab()
gets g3d slab
|
abstract Vector3f[] | getTransformedVertexVectors() |
abstract boolean | haveTranslucentObjects() |
abstract boolean | isAntialiased() |
abstract boolean | isClippedXY(int i, int screenX, int screenY) |
abstract boolean | isClippedZ(int z) |
abstract boolean | isDirectedTowardsCamera(short normix) |
abstract boolean | isInDisplayRange(int x, int y) |
abstract void | plotPixelClipped(Point3i a) |
abstract void | plotPixelClippedNoSlab(int argb, int x, int y, int z) |
abstract void | renderEllipsoid(int x, int y, int z, int diameter, Matrix3f mToEllipsoidal, double[] coef, Matrix4f mDeriv, int selectedOctant, Point3i[] octantPoints) |
abstract void | renderIsosurface(Point3f[] vertices, short colix, short[] colixes, Vector3f[] normals, int[][] indices, BitSet bsFaces, int nVertices, int faceVertexMax) |
abstract boolean | setColix(short colix)
sets current color from colix color index |
abstract void | setFont(byte fid) |
abstract void | setg3dExporter(Graphics3D g3d, JmolExportInterface exporter) |
abstract void | setRenderer(ShapeRenderer shapeRenderer) |
abstract void | setSlab(int slabValue) |
Parameters: colix the color index diameter the pixel diameter x center x y center y z center z doFill fill or not
Parameters: x upper left x y upper left y z upper left z zSlab z for slab check (for set labelsFront) rWidth pixel count rHeight pixel count
Parameters: str the String font3d the Font3D xBaseline baseline x yBaseline baseline y z baseline z zSlab z for slab calculation
Parameters: str the String font3d the Font3D xBaseline baseline x yBaseline baseline y z baseline z
Parameters: x upper left x y upper left y z upper left z zSlab z value for slabbing widthFill pixel count heightFill pixel count
Parameters: colixFill the color index diameter the pixel diameter x center x y center y z center z
Parameters: diameter pixel count x center x y center y z center z
Parameters: diameter pixel count center javax.vecmath.Point3i defining the center
Parameters: diameter pixel count center a javax.vecmath.Point3f ... floats are casted to ints
Returns: depth
Returns: height pixel count
Returns: width pixel count;
Returns: slab
Parameters: colix the color index
Returns: true or false if this is the right pass