|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IGraphicObject
igeo.gui.ICurveGraphicGL
public class ICurveGraphicGL
Graphic subobject class to draw a curve object by OpenGL
| Field Summary | |
|---|---|
ICurveI |
curve
|
IVec[] |
pts
|
float |
weight
|
| Fields inherited from class igeo.IGraphicObject |
|---|
color, colorRange1f, colorRange1i, colorRange2f, colorRange2i, colorRange3f, colorRange3i, colorRange4f, colorRange4i, parent, update, visible |
| Constructor Summary | |
|---|---|
ICurveGraphicGL(ICurve crv)
|
|
ICurveGraphicGL(ICurveR crv)
|
|
| Method Summary | |
|---|---|
void |
draw(IGraphics g)
|
float |
getWeight()
|
void |
initCurve()
|
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 float weight
public ICurveI curve
public IVec[] pts
| Constructor Detail |
|---|
public ICurveGraphicGL(ICurve crv)
public ICurveGraphicGL(ICurveR crv)
| Method Detail |
|---|
public void initCurve()
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 | ||||||||