|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.sgl.PointState
public class PointState
OpenGL point state.
| Constructor Summary | |
|---|---|
PointState()
Constructs point state. |
|
| Method Summary | |
|---|---|
void |
apply()
Applies this OpenGL state. |
int |
getAttributeBits()
Gets the OpenGL attribute bits for this state. |
float |
getSize()
Gets the point size. |
boolean |
getSmooth()
Gets the point smooth. |
boolean |
hasSize()
Determines whether point size is set. |
boolean |
hasSmooth()
Determines whether point smooth is set. |
void |
setSize(float size)
Sets the point size. |
void |
setSmooth(boolean smooth)
Sets the point smooth. |
void |
unsetSize()
Unsets the point size. |
void |
unsetSmooth()
Unsets the point smooth. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointState()
| Method Detail |
|---|
public boolean hasSmooth()
public boolean getSmooth()
public void setSmooth(boolean smooth)
smooth - the smooth.public void unsetSmooth()
public boolean hasSize()
public float getSize()
public void setSize(float size)
size - the size.public void unsetSize()
public void apply()
State
apply in interface Statepublic int getAttributeBits()
StateState.apply(). If these bits are passed to glPushAttrib before
calling State.apply(), then glPopAttrib will restore any OpenGL
state that is changed by that method.
getAttributeBits in interface State
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||