|
VeaR/JEllipse | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.krakow.cmuj.bioinformatics.jellipse.StructureRenderer
class StructureRenderer
Nested Class Summary | |
---|---|
(package private) class |
StructureRenderer.wl
|
Field Summary | |
---|---|
(package private) float |
AdjustHeight
|
(package private) float |
AdjustWidth
|
private boolean |
BACKBONE_COMPLETE
|
private boolean |
BACKBONE_VIRTUAL
|
(package private) Peptide |
chain
|
(package private) java.awt.image.DataBufferInt |
dbInt
|
private int |
DLIST_PEPTIDE
|
private Vector3 |
EnVec
|
private float |
fogshift
|
private float[] |
gray
|
private float[] |
green
|
private float[] |
lightAmbient
|
private float[] |
lightDiffuse
|
private float[] |
lightPosition
|
private float[] |
lightSpecular
|
private float |
modelMaxSize
|
private float |
modelXcenter
|
private float |
modelXmax
|
private float |
modelXmin
|
private float |
modelXsize
|
private float |
modelYcenter
|
private float |
modelYmax
|
private float |
modelYmin
|
private float |
modelYsize
|
private float |
modelZcenter
|
private float |
modelZmax
|
private float |
modelZmin
|
private float |
modelZsize
|
private float |
offsetX
|
private float |
offsetY
|
private float |
offsetZ
|
private float[] |
orange
|
(package private) jEllipse |
owner
|
(package private) int |
pbufferHeight
|
(package private) int |
pbufferWidth
|
private net.java.games.jogl.GL |
peptidegl
|
private net.java.games.jogl.GLU |
peptideglu
|
private float |
perspective_angle
|
private int |
prevMouseX
|
private int |
prevMouseY
|
private float[] |
red
|
(package private) float[] |
Rot3Current
|
(package private) float[] |
Rot3Last
|
(package private) float[] |
Rot4
|
private float |
scalingfactor
|
private boolean |
SCREENSHOTTING
|
private Vector3 |
StVec
|
private boolean |
UPDATING
|
private float[] |
white
|
Constructor Summary | |
---|---|
StructureRenderer(jEllipse owner,
Peptide chain)
|
|
StructureRenderer(jEllipse owner,
Peptide chain,
float[] RotationMx)
|
Method Summary | |
---|---|
void |
display(net.java.games.jogl.GLDrawable drawable)
Main rederning function. |
void |
displayChanged(net.java.games.jogl.GLDrawable drawable,
boolean modeChanged,
boolean deviceChanged)
Rumour has it that in JoGL 1.0 not implemeted... |
float[] |
getRotationMatrix()
|
java.awt.image.DataBufferInt |
getScreenshotBuffer()
|
java.awt.Dimension |
getScreenshotDims()
|
void |
init(net.java.games.jogl.GLDrawable drawable)
Initialize OpenGL scene. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Navigation with mouse. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mouseExited(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
mousePressed(java.awt.event.MouseEvent e)
Save when clicked for dragging (=> rotating) purposes. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Dummy implementation, required by interface. |
void |
reshape(net.java.games.jogl.GLDrawable drawable,
int x,
int y,
int width,
int height)
Reshape and establish rendering context. |
(package private) void |
setBackboneComplete()
|
(package private) void |
setBackboneVirtual()
|
void |
setScreenshotting(java.awt.image.DataBufferInt dbInt)
|
void |
updateDisplayLists()
|
(package private) void |
updateProperty()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
jEllipse owner
Peptide chain
java.awt.image.DataBufferInt dbInt
private net.java.games.jogl.GL peptidegl
private net.java.games.jogl.GLU peptideglu
private final float modelXmin
private final float modelXmax
private final float modelYmin
private final float modelYmax
private final float modelZmin
private final float modelZmax
private final float modelXsize
private final float modelYsize
private final float modelZsize
private final float modelMaxSize
private final float modelXcenter
private final float modelYcenter
private final float modelZcenter
private float perspective_angle
private float offsetX
private float offsetY
private float offsetZ
private Vector3 StVec
private Vector3 EnVec
float[] Rot3Last
float[] Rot3Current
float[] Rot4
float AdjustWidth
float AdjustHeight
private int prevMouseX
private int prevMouseY
private float scalingfactor
private float fogshift
private float[] lightPosition
private final float[] white
private final float[] gray
private final float[] green
private final float[] orange
private final float[] red
private final float[] lightAmbient
private final float[] lightDiffuse
private final float[] lightSpecular
private int DLIST_PEPTIDE
private boolean SCREENSHOTTING
private boolean UPDATING
private boolean BACKBONE_COMPLETE
private boolean BACKBONE_VIRTUAL
int pbufferWidth
int pbufferHeight
Constructor Detail |
---|
StructureRenderer(jEllipse owner, Peptide chain)
StructureRenderer(jEllipse owner, Peptide chain, float[] RotationMx)
Method Detail |
---|
public void init(net.java.games.jogl.GLDrawable drawable)
init
in interface net.java.games.jogl.GLEventListener
drawable
- OpenGL area (obtained via AWT Canvas)public void reshape(net.java.games.jogl.GLDrawable drawable, int x, int y, int width, int height)
reshape
in interface net.java.games.jogl.GLEventListener
drawable
- OpenGL rendering areax
- horizontal locationy
- vertical locationwidth
- new viewport widthheight
- new viewport heightdisplay(net.java.games.jogl.GLDrawable)
public void display(net.java.games.jogl.GLDrawable drawable)
display
in interface net.java.games.jogl.GLEventListener
drawable
- OpenGL area with established rendering contextpublic void displayChanged(net.java.games.jogl.GLDrawable drawable, boolean modeChanged, boolean deviceChanged)
displayChanged
in interface net.java.games.jogl.GLEventListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void updateDisplayLists()
void updateProperty()
void setBackboneComplete()
void setBackboneVirtual()
public java.awt.Dimension getScreenshotDims()
getScreenshotDims
in interface Screenshottable
public java.awt.image.DataBufferInt getScreenshotBuffer()
getScreenshotBuffer
in interface Screenshottable
public void setScreenshotting(java.awt.image.DataBufferInt dbInt)
setScreenshotting
in interface Screenshottable
public float[] getRotationMatrix()
|
VeaR/JEllipse | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |