|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectendrov.typeMesh3d.Mesh3dModelExtension
public class Mesh3dModelExtension
Extension to Model Window: shows meshs
| Constructor Summary | |
|---|---|
Mesh3dModelExtension()
|
|
| Method Summary | |
|---|---|
java.util.Collection<BoundingBox3D> |
adjustScale()
Adjust the scale |
java.util.Collection<javax.vecmath.Vector3d> |
autoCenterMid()
Give suitable center of all objects |
double |
autoCenterRadius(javax.vecmath.Vector3d mid)
Given a middle position, figure out radius required to fit objects |
boolean |
canRender(EvObject ob)
|
void |
createHook(Viewer3DWindow w)
|
void |
datachangedEvent()
|
void |
displayFinal(javax.media.opengl.GL glin,
java.util.List<TransparentRenderer3D> transparentRenderers)
Render graphics |
void |
displayInit(javax.media.opengl.GL gl)
Prepare for rendering |
static void |
displayMesh(Viewer3DView view,
javax.media.opengl.GL glin,
Mesh3D mesh,
EvGLMaterial overrideMaterial,
EvGLMeshVBO.MeshRenderSettings renderSettings)
|
void |
displaySelect(javax.media.opengl.GL glin)
Render for selection |
void |
fillMenus()
|
EvDecimal |
getFirstFrame()
|
static SelMesh3D |
getHoveredMesh()
|
EvDecimal |
getLastFrame()
|
java.util.Collection<Mesh3D> |
getVisibleObjects()
|
void |
initOpenGL(javax.media.opengl.GL gl)
|
static void |
initPlugin()
Plugin declaration |
boolean |
mouseClicked(java.awt.event.MouseEvent e,
javax.swing.JPopupMenu menu)
Handle mouse click. |
boolean |
mouseDragged(java.awt.event.MouseEvent e,
int dx,
int dy)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
readPersonalConfig(org.jdom.Element e)
|
void |
savePersonalConfig(org.jdom.Element e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mesh3dModelExtension()
| Method Detail |
|---|
public void fillMenus()
fillMenus in interface Viewer3DWindowHookpublic void createHook(Viewer3DWindow w)
createHook in interface Viewer3DWindowHookpublic void readPersonalConfig(org.jdom.Element e)
readPersonalConfig in interface Viewer3DWindowHookpublic void savePersonalConfig(org.jdom.Element e)
savePersonalConfig in interface Viewer3DWindowHookpublic void datachangedEvent()
datachangedEvent in interface Viewer3DWindowHookpublic boolean canRender(EvObject ob)
canRender in interface Viewer3DWindowHookpublic java.util.Collection<Mesh3D> getVisibleObjects()
public void initOpenGL(javax.media.opengl.GL gl)
initOpenGL in interface Viewer3DWindowHookpublic void displayInit(javax.media.opengl.GL gl)
displayInit in interface Viewer3DWindowHookpublic void displaySelect(javax.media.opengl.GL glin)
displaySelect in interface Viewer3DWindowHook
public void displayFinal(javax.media.opengl.GL glin,
java.util.List<TransparentRenderer3D> transparentRenderers)
displayFinal in interface Viewer3DWindowHookpublic java.util.Collection<BoundingBox3D> adjustScale()
adjustScale in interface Viewer3DWindowHookpublic java.util.Collection<javax.vecmath.Vector3d> autoCenterMid()
autoCenterMid in interface Viewer3DWindowHookpublic double autoCenterRadius(javax.vecmath.Vector3d mid)
autoCenterRadius in interface Viewer3DWindowHookpublic EvDecimal getFirstFrame()
getFirstFrame in interface Viewer3DWindowHookpublic EvDecimal getLastFrame()
getLastFrame in interface Viewer3DWindowHookpublic static SelMesh3D getHoveredMesh()
public boolean mouseClicked(java.awt.event.MouseEvent e,
javax.swing.JPopupMenu menu)
Viewer3DMouseListener
mouseClicked in interface Viewer3DMouseListener
public boolean mouseDragged(java.awt.event.MouseEvent e,
int dx,
int dy)
mouseDragged in interface Viewer3DMouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface Viewer3DMouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface Viewer3DMouseListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface Viewer3DMouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface Viewer3DMouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface Viewer3DMouseListener
public static void displayMesh(Viewer3DView view,
javax.media.opengl.GL glin,
Mesh3D mesh,
EvGLMaterial overrideMaterial,
EvGLMeshVBO.MeshRenderSettings renderSettings)
public static void initPlugin()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||