|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jreality.writer.WriterVRML
public class WriterVRML
Constructor Summary | |
---|---|
WriterVRML(FileWriter outS)
this Writer can write vrml1 |
|
WriterVRML(OutputStream outS)
this Writer can write vrml1 |
|
WriterVRML(PrintWriter outS)
this Writer can write vrml1 |
Method Summary | |
---|---|
boolean |
isDrawSpheres()
indicates if a vertex will be written as the primitive Sphere, if Spheredraw is enabled |
boolean |
isDrawTubes()
indicates if a linesegment will be written as the primitive Tube, if Tubedraw is enabled |
boolean |
isMoveLightsToSceneRoot()
indicates if all ligths will be written into the sceneRoot-node instead of their correct place in the scene. |
boolean |
isUseDefs()
indicates if Geometrys which have multiple places in the scenegraph will be written only ones and be refferenced multiple times, instead of multiple writings. |
boolean |
isWriteTextureFiles()
indicates if a texture wil be written into a file, instead of writing the data directly into the vrml-file. |
void |
setDrawSpheres(boolean drawSpheres)
sets if a vertex will be written as the primitive Sphere, if Spheredraw is enabled |
void |
setDrawTubes(boolean drawTubes)
sets if a linesegment will be written as the primitive Tube, if Tubedraw is enabled |
void |
setMoveLightsToSceneRoot(boolean moveLightsToSceneRoot)
sets if all ligths will be written into the sceneRoot-node instead of their correct place in the scene. |
void |
setUseDefs(boolean useDefs)
sets if Geometrys which have multiple places in the scenegraph will be written only ones and be refferenced multiple times, instead of multiple writings. |
void |
setWritePath(String path)
|
void |
setWriteTextureFiles(boolean writeTextureFiles2)
sets if a texture wil be written into a file, instead of writing the data directly into the vrml-file. |
static void |
write(SceneGraphComponent sceneRoot,
FileOutputStream stream)
writes a vrml1-file of the scene into the stream (use default settings) |
void |
write(SceneGraphNode sgn)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriterVRML(OutputStream outS)
public WriterVRML(FileWriter outS)
public WriterVRML(PrintWriter outS)
Method Detail |
---|
public static void write(SceneGraphComponent sceneRoot, FileOutputStream stream)
sceneRoot
- stream
- public void setWritePath(String path)
public void write(SceneGraphNode sgn)
public void setWriteTextureFiles(boolean writeTextureFiles2)
public boolean isWriteTextureFiles()
public boolean isDrawSpheres()
public boolean isDrawTubes()
public boolean isMoveLightsToSceneRoot()
public boolean isUseDefs()
public void setDrawSpheres(boolean drawSpheres)
public void setDrawTubes(boolean drawTubes)
public void setUseDefs(boolean useDefs)
public void setMoveLightsToSceneRoot(boolean moveLightsToSceneRoot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |