|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IGraphicObject
igeo.gui.IMeshGraphicGL
public class IMeshGraphicGL
Graphic subobject class to draw polygon mesh object by OpenGL.
| Field Summary | |
|---|---|
IVec[][] |
edgePts
|
IVec[][] |
faceNormal
|
IVec[][] |
facePts
|
IMeshI |
mesh
|
static float |
weight
|
| Fields inherited from class igeo.IGraphicObject |
|---|
color, colorRange1f, colorRange1i, colorRange2f, colorRange2i, colorRange3f, colorRange3i, colorRange4f, colorRange4i, parent, update, visible |
| Constructor Summary | |
|---|---|
IMeshGraphicGL(IMesh m)
|
|
IMeshGraphicGL(IMeshR m)
|
|
| Method Summary | |
|---|---|
void |
draw(IGraphics g)
|
float |
getWeight()
|
void |
initMesh()
|
boolean |
isDrawable(IGraphicMode m)
|
void |
setWeight(float w)
|
| Methods inherited from class igeo.IGraphicObject |
|---|
getAWTColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getColor, getHSBColor, getHSBColor, hide, isVisible, parent, parent, setAttribute, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setHSBColor, setHSBColor, setVisible, show, update, visible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static float weight
public IMeshI mesh
public IVec[][] facePts
public IVec[][] faceNormal
public IVec[][] edgePts
| Constructor Detail |
|---|
public IMeshGraphicGL(IMesh m)
public IMeshGraphicGL(IMeshR m)
| Method Detail |
|---|
public void initMesh()
public void setWeight(float w)
setWeight in class IGraphicObjectpublic float getWeight()
getWeight in class IGraphicObjectpublic boolean isDrawable(IGraphicMode m)
isDrawable in interface IGraphicIisDrawable in class IGraphicObjectpublic void draw(IGraphics g)
draw in interface IGraphicIdraw in class IGraphicObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||