|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmolRendererInterface
Method Summary | |
---|---|
boolean |
checkTranslucent(boolean isAlphaTranslucent)
|
void |
drawAtom(Atom atom)
|
void |
drawBond(Atom atomA,
Atom atomB,
short colixA,
short colixB,
byte endcaps,
short mad)
|
void |
drawDashedLine(int run,
int rise,
Point3i pointA,
Point3i pointB)
|
void |
drawDottedLine(Point3i pointA,
Point3i pointB)
|
boolean |
drawEllipse(Point3f ptAtom,
Point3f ptX,
Point3f ptY,
boolean fillArc,
boolean wireframeOnly)
|
void |
drawFilledCircle(short colixRing,
short colixFill,
int diameter,
int x,
int y,
int z)
draws a ring and filled circle (halos, draw CIRCLE, draw handles) |
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)
|
void |
drawHermite(int tension,
Point3i s0,
Point3i s1,
Point3i s2,
Point3i s3)
|
void |
drawImage(Image image,
int x,
int y,
int z,
int zslab,
short bgcolix,
int width,
int height)
|
void |
drawLine(int x1,
int y1,
int z1,
int x2,
int y2,
int z2)
|
void |
drawLine(Point3i pointA,
Point3i pointB)
|
void |
drawLine(short colixA,
short colixB,
int x1,
int y1,
int z1,
int x2,
int y2,
int z2)
|
void |
drawPixel(int x,
int y,
int z)
|
void |
drawPoints(int count,
int[] coordinates,
int scale)
|
void |
drawQuadrilateral(short colix,
Point3i screenA,
Point3i screenB,
Point3i screenC,
Point3i screenD)
|
void |
drawRect(int x,
int y,
int z,
int zSlab,
int rWidth,
int rHeight)
draws a rectangle |
void |
drawString(String str,
Font3D font3d,
int xBaseline,
int yBaseline,
int z,
int zSlab)
draws the specified string in the current font. |
void |
drawStringNoSlab(String str,
Font3D font3d,
int xBaseline,
int yBaseline,
int z)
draws the specified string in the current font. |
void |
drawSurface(MeshSurface meshSurface,
Point3f[] vertices,
Point3f offset)
|
void |
drawTriangle(Point3i screenA,
Point3i screenB,
Point3i screenC,
int check)
|
void |
drawTriangle(Point3i screenA,
short colixA,
Point3i screenB,
short colixB,
Point3i screenC,
short colixC,
int check)
|
void |
fillConeSceen(byte endcap,
int screenDiameter,
Point3f screenBase,
Point3f screenTip)
|
void |
fillConeScreen(byte endcap,
int screenDiameter,
Point3i screenBase,
Point3i screenTip)
|
void |
fillCylinder(byte endcaps,
int diameter,
Point3i screenA,
Point3i screenB)
|
void |
fillCylinder(short colixA,
short colixB,
byte endcaps,
int diameter,
int xA,
int yA,
int zA,
int xB,
int yB,
int zB)
|
void |
fillCylinderBits(byte endcaps,
int diameter,
Point3f screenA,
Point3f screenB)
|
void |
fillCylinderScreen(byte endcaps,
int diameter,
int xA,
int yA,
int zA,
int xB,
int yB,
int zB)
|
void |
fillCylinderScreen(byte endcapsOpenend,
int diameter,
Point3i pt0i,
Point3i pt1i)
|
void |
fillEllipsoid(Point3f center,
Point3f[] points,
int x,
int y,
int z,
int diameter,
Matrix3f mToEllipsoidal,
double[] coef,
Matrix4f mDeriv,
int selectedOctant,
Point3i[] octantPoints)
|
void |
fillHermite(int tension,
int diameterBeg,
int diameterMid,
int diameterEnd,
Point3i s0,
Point3i s1,
Point3i s2,
Point3i s3)
|
void |
fillQuadrilateral(Point3f screenA,
Point3f screenB,
Point3f screenC,
Point3f screenD)
|
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)
|
void |
fillRect(int x,
int y,
int z,
int zSlab,
int widthFill,
int heightFill)
fills background rectangle for label |
void |
fillSphere(int diameter,
int x,
int y,
int z)
fills a solid sphere |
void |
fillSphere(int diameter,
Point3f center)
fills a solid sphere |
void |
fillSphere(int diameter,
Point3i center)
fills a solid sphere |
void |
fillTriangle(Point3f screenA,
Point3f screenB,
Point3f screenC)
|
void |
fillTriangle(Point3i screenA,
Point3i screenB,
Point3i screenC)
|
void |
fillTriangle(Point3i screenA,
short colixA,
short normixA,
Point3i screenB,
short colixB,
short normixB,
Point3i screenC,
short colixC,
short normixC)
|
void |
fillTriangle(Point3i screenA,
short colixA,
short normixA,
Point3i screenB,
short colixB,
short normixB,
Point3i screenC,
short colixC,
short normixC,
float factor)
|
void |
fillTriangleTwoSided(short normix,
int xScreenA,
int yScreenA,
int zScreenA,
int xScreenB,
int yScreenB,
int zScreenB,
int xScreenC,
int yScreenC,
int zScreenC)
|
String |
finalizeOutput()
|
short[] |
getBgColixes(short[] bgcolixes)
|
int |
getColorArgbOrGray(short colix)
|
int |
getDepth()
gets g3d depth |
String |
getExportName()
|
int |
getExportType()
|
Font3D |
getFont3DCurrent()
|
Font3D |
getFont3DScaled(Font3D font3d,
float imageFontScaling)
|
byte |
getFontFid(float fontSize)
|
byte |
getFontFid(String fontFace,
float fontSize)
|
int |
getRenderHeight()
gets g3d height |
int |
getRenderWidth()
gets g3d width |
int |
getSlab()
gets g3d slab |
Vector3f[] |
getTransformedVertexVectors()
|
boolean |
haveTranslucentObjects()
|
boolean |
initializeExporter(String type,
Viewer viewer,
Graphics3D g3d,
Object output)
|
boolean |
isAntialiased()
|
boolean |
isClippedXY(int i,
int screenX,
int screenY)
|
boolean |
isClippedZ(int z)
|
boolean |
isDirectedTowardsCamera(short normix)
|
boolean |
isInDisplayRange(int x,
int y)
|
void |
plotPixelClipped(Point3i a)
|
void |
plotPixelClippedNoSlab(int argb,
int x,
int y,
int z)
|
void |
renderBackground()
|
boolean |
setColix(short colix)
sets current color from colix color index |
void |
setFont(byte fid)
|
void |
setNoisySurfaceShade(Point3i screenA,
Point3i screenB,
Point3i screenC)
|
void |
setSlab(int slabValue)
|
void |
setTranslucentCoverOnly(boolean TF)
|
Method Detail |
---|
int getExportType()
String getExportName()
boolean initializeExporter(String type, Viewer viewer, Graphics3D g3d, Object output)
boolean isAntialiased()
boolean checkTranslucent(boolean isAlphaTranslucent)
boolean haveTranslucentObjects()
int getRenderWidth()
int getRenderHeight()
int getSlab()
void setSlab(int slabValue)
int getDepth()
boolean setColix(short colix)
colix
- the color index
void renderBackground()
void drawAtom(Atom atom)
void drawFilledCircle(short colixRing, short colixFill, int diameter, int x, int y, int z)
colixRing
- colixFill
- diameter
- x
- center xy
- center yz
- center zvoid fillSphere(int diameter, int x, int y, int z)
diameter
- pixel countx
- center xy
- center yz
- center zvoid fillSphere(int diameter, Point3i center)
diameter
- pixel countcenter
- javax.vecmath.Point3i defining the centervoid fillSphere(int diameter, Point3f center)
diameter
- pixel countcenter
- a javax.vecmath.Point3f ... floats are casted to intsvoid drawRect(int x, int y, int z, int zSlab, int rWidth, int rHeight)
x
- upper left xy
- upper left yz
- upper left zzSlab
- z for slab check (for set labelsFront)rWidth
- pixel countrHeight
- pixel countvoid fillRect(int x, int y, int z, int zSlab, int widthFill, int heightFill)
x
- upper left xy
- upper left yz
- upper left zzSlab
- z value for slabbingwidthFill
- pixel countheightFill
- pixel countvoid drawString(String str, Font3D font3d, int xBaseline, int yBaseline, int z, int zSlab)
str
- the Stringfont3d
- the Font3DxBaseline
- baseline xyBaseline
- baseline yz
- baseline zzSlab
- z for slab calculationvoid plotPixelClippedNoSlab(int argb, int x, int y, int z)
void drawStringNoSlab(String str, Font3D font3d, int xBaseline, int yBaseline, int z)
str
- the Stringfont3d
- the Font3DxBaseline
- baseline xyBaseline
- baseline yz
- baseline zvoid setFont(byte fid)
Font3D getFont3DCurrent()
void drawPixel(int x, int y, int z)
void plotPixelClipped(Point3i a)
void drawPoints(int count, int[] coordinates, int scale)
void drawDashedLine(int run, int rise, Point3i pointA, Point3i pointB)
void drawDottedLine(Point3i pointA, Point3i pointB)
void drawLine(int x1, int y1, int z1, int x2, int y2, int z2)
void drawLine(Point3i pointA, Point3i pointB)
void drawLine(short colixA, short colixB, int x1, int y1, int z1, int x2, int y2, int z2)
void drawBond(Atom atomA, Atom atomB, short colixA, short colixB, byte endcaps, short mad)
void fillCylinder(short colixA, short colixB, byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB)
void fillCylinder(byte endcaps, int diameter, Point3i screenA, Point3i screenB)
void fillCylinderBits(byte endcaps, int diameter, Point3f screenA, Point3f screenB)
void fillCylinderScreen(byte endcaps, int diameter, int xA, int yA, int zA, int xB, int yB, int zB)
void fillCylinderScreen(byte endcapsOpenend, int diameter, Point3i pt0i, Point3i pt1i)
void fillConeScreen(byte endcap, int screenDiameter, Point3i screenBase, Point3i screenTip)
void fillConeSceen(byte endcap, int screenDiameter, Point3f screenBase, Point3f screenTip)
void drawHermite(int tension, Point3i s0, Point3i s1, Point3i s2, Point3i s3)
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)
void fillHermite(int tension, int diameterBeg, int diameterMid, int diameterEnd, Point3i s0, Point3i s1, Point3i s2, Point3i s3)
void drawTriangle(Point3i screenA, short colixA, Point3i screenB, short colixB, Point3i screenC, short colixC, int check)
void drawTriangle(Point3i screenA, Point3i screenB, Point3i screenC, int check)
void fillTriangle(Point3i screenA, short colixA, short normixA, Point3i screenB, short colixB, short normixB, Point3i screenC, short colixC, short normixC)
void fillTriangleTwoSided(short normix, int xScreenA, int yScreenA, int zScreenA, int xScreenB, int yScreenB, int zScreenB, int xScreenC, int yScreenC, int zScreenC)
void fillTriangle(Point3f screenA, Point3f screenB, Point3f screenC)
void fillTriangle(Point3i screenA, Point3i screenB, Point3i screenC)
void fillTriangle(Point3i screenA, short colixA, short normixA, Point3i screenB, short colixB, short normixB, Point3i screenC, short colixC, short normixC, float factor)
void drawQuadrilateral(short colix, Point3i screenA, Point3i screenB, Point3i screenC, Point3i screenD)
void fillQuadrilateral(Point3f screenA, Point3f screenB, Point3f screenC, Point3f screenD)
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)
void drawSurface(MeshSurface meshSurface, Point3f[] vertices, Point3f offset)
boolean isInDisplayRange(int x, int y)
boolean isClippedZ(int z)
boolean isClippedXY(int i, int screenX, int screenY)
int getColorArgbOrGray(short colix)
void setNoisySurfaceShade(Point3i screenA, Point3i screenB, Point3i screenC)
byte getFontFid(String fontFace, float fontSize)
boolean isDirectedTowardsCamera(short normix)
Vector3f[] getTransformedVertexVectors()
Font3D getFont3DScaled(Font3D font3d, float imageFontScaling)
byte getFontFid(float fontSize)
void fillEllipsoid(Point3f center, Point3f[] points, int x, int y, int z, int diameter, Matrix3f mToEllipsoidal, double[] coef, Matrix4f mDeriv, int selectedOctant, Point3i[] octantPoints)
void drawImage(Image image, int x, int y, int z, int zslab, short bgcolix, int width, int height)
String finalizeOutput()
short[] getBgColixes(short[] bgcolixes)
void setTranslucentCoverOnly(boolean TF)
boolean drawEllipse(Point3f ptAtom, Point3f ptX, Point3f ptY, boolean fillArc, boolean wireframeOnly)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |