|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewers.GLViewerImpl.CrossSectionStyle
CrossSectionStyle class encapsulates descriptors of the cross section of the ribon used for building SS.
Field Summary | |
static int |
DOUBLE_FACE
Standard - Styles: Plane Single Face |
static int |
OBLONG
Standard - Styles: "Elliptical" (not elliptical yet) CrossSection |
static int |
POINT
Standard - Styles: Polyline |
static int |
RECTANGULAR_RIBBON
Standard - Styles: Rectangular CrossSection |
static int |
REGULAR_POLYGON
Standard - Styles: POLYGONAL CrossSection |
static int |
ROUNDED_TUBE
Standard - Styles: POLYGONAL ROUNDED CrossSection |
static int |
SINGLE_FACE
Standard - Styles: Plane Double Face |
Constructor Summary | |
CrossSectionStyle()
Creates a CrossSectionStyle with nothing set initially |
|
CrossSectionStyle(boolean closedFlag,
int vertices,
float[] diams)
Creates a minimal-defined CrossSectionStyle from given polygon type (closed of open), number of vertices and diameter |
|
CrossSectionStyle(int type,
float[] diams)
Creates a CrossSectionStyle from a predefined list and with a given diameter set. |
Method Summary | |
boolean |
getClosedFlag()
Get the closed/open Polygon flag |
float[] |
getDiameters()
Get the number of vertices |
java.lang.String |
getStyleName()
Get the Style Name |
int |
getStyleType()
Get the Style Type |
Color3f[] |
getVertexColors()
Set the vertex colors |
int |
getVertexCount()
Get the number of vertices |
void |
setClosedFlag(boolean closed)
Set the closed/open Polygon flag |
void |
setDiameters(float[] diams)
Set the number of vertices |
void |
setStyleName(java.lang.String name)
Set the Style Name |
void |
setVertexColors(Color3f[] colors)
Set the vertex colors |
void |
setVertexCount(int vertices)
Set the number of vertices |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int RECTANGULAR_RIBBON
public static int DOUBLE_FACE
public static int SINGLE_FACE
public static int OBLONG
public static int REGULAR_POLYGON
public static int ROUNDED_TUBE
public static int POINT
Constructor Detail |
public CrossSectionStyle()
public CrossSectionStyle(boolean closedFlag, int vertices, float[] diams)
public CrossSectionStyle(int type, float[] diams)
Method Detail |
public void setStyleName(java.lang.String name)
public void setVertexColors(Color3f[] colors)
public void setClosedFlag(boolean closed)
public void setVertexCount(int vertices)
public void setDiameters(float[] diams)
public java.lang.String getStyleName()
public int getStyleType()
public Color3f[] getVertexColors()
public boolean getClosedFlag()
public int getVertexCount()
public float[] getDiameters()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |