|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteinshader.graphics.displaylists.GeometricListInfo
org.proteinshader.graphics.displaylists.SegmentListInfo
public class SegmentListInfo
Stores information on an OpenGL display list for a Segment.
| Constructor Summary | |
|---|---|
SegmentListInfo()
Constructs a SegmentListInfo. |
|
SegmentListInfo(int displayListName,
StyleEnum style)
Constructs a SegmentListInfo. |
|
| Method Summary | |
|---|---|
void |
clear(GL gl)
Frees graphics card memory for OpenGL display lists. |
int |
getEndCapName()
Returns a reference to the OpenGL display list for the end cap. |
int |
getStartCapName()
Returns a reference to the OpenGL display list for the start cap. |
int |
getThinSidesName()
Returns the reference to the OpenGL display list for the thin sides of a Ribbon. |
void |
setEndCapName(int endCapName)
Sets the reference to the OpenGL display list for the end cap. |
void |
setStartCapName(int startCapName)
Sets the reference to the OpenGL display list for the start cap. |
void |
setThinSidesName(int thinSidesName)
Sets the reference to the OpenGL display list for the thin sides of a Ribbon. |
| Methods inherited from class org.proteinshader.graphics.displaylists.GeometricListInfo |
|---|
getDisplayListName, getStyle, setDisplayListName, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SegmentListInfo()
public SegmentListInfo(int displayListName,
StyleEnum style)
displayListName - the name (an integer) of an OpenGL display
list that stores commands to draw a Segment.style - the style as a StyleEnum.| Method Detail |
|---|
public void clear(GL gl)
gl - the current GL object.public int getStartCapName()
public void setStartCapName(int startCapName)
startCapName - the name (an integer) of the OpenGL display
list for the start cap.public int getEndCapName()
public void setEndCapName(int endCapName)
endCapName - the name (an integer) of the OpenGL display
list for the end cap.public int getThinSidesName()
public void setThinSidesName(int thinSidesName)
thinSidesName - the name (an integer) of the OpenGL display
list for the thin sides of a ribbon Segment.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||