|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jreality.tutorial.geom.TubeFactory02
public class TubeFactory02
This example shows how to use PolygonalTubeFactory to create a tube around a torus knot.
It's organized with a single doIt() method to allow creation of other classes which refer to the same
code but in a different package of the tutorial.
| Constructor Summary | |
|---|---|
TubeFactory02()
|
|
| Method Summary | |
|---|---|
void |
colorVertices(IndexedLineSet ils,
double[] color1,
double[] color2)
|
static Plugin |
createShrinkPanel(Component c,
String title)
|
void |
doIt()
|
static void |
main(String[] args)
|
IndexedFaceSet |
tubedTorusKnot(double R,
double r,
double tubeRadius)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TubeFactory02()
| Method Detail |
|---|
public static void main(String[] args)
public void doIt()
public IndexedFaceSet tubedTorusKnot(double R,
double r,
double tubeRadius)
public void colorVertices(IndexedLineSet ils,
double[] color1,
double[] color2)
public static Plugin createShrinkPanel(Component c,
String title)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||