igeo.gui
Class IGraphicMode
java.lang.Object
igeo.gui.IGraphicMode
public class IGraphicMode
- extends java.lang.Object
Class to specify graphic mode of either OpenGL mode / Java mode and
wireframe / fill / transparent fill / wireframe+fill / wireframe+transparent fill.
- Version:
- 0.7.0.0;
- Author:
- Satoru Sugihara
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graphicType
public IGraphicMode.GraphicType graphicType
wireframe
public boolean wireframe
fill
public boolean fill
transparent
public boolean transparent
transparentWireframe
public boolean transparentWireframe
- if transparentWireframe is false, wireframe doesn't become transparent in transparent mode
lightWireframe
public boolean lightWireframe
- if lightWireframe is false, wireframe doesn't use material in GL light mode
light
public boolean light
IGraphicMode
public IGraphicMode()
IGraphicMode
public IGraphicMode(IGraphicMode.GraphicType g)
IGraphicMode
public IGraphicMode(IGraphicMode.GraphicType g,
boolean enableFill,
boolean enableWireframe,
boolean enableTransparent)
IGraphicMode
public IGraphicMode(IGraphicMode m)
setGraphicType
public void setGraphicType(IGraphicMode.GraphicType g)
getGraphicType
public IGraphicMode.GraphicType getGraphicType()
isGL
public boolean isGL()
isJava
public boolean isJava()
isWireframe
public boolean isWireframe()
isFill
public boolean isFill()
isTransparent
public boolean isTransparent()
isLight
public boolean isLight()
isTransparentWireframe
public boolean isTransparentWireframe()
isLightWireframe
public boolean isLightWireframe()
setDrawMode
public void setDrawMode(boolean wireframe,
boolean fill,
boolean transparent)
toggleWireframe
public void toggleWireframe()
toggleFill
public void toggleFill()
toggleTransparent
public void toggleTransparent()
enableLight
public void enableLight()
disableLight
public void disableLight()
getAllModes
public static IGraphicMode[] getAllModes()