|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jreality.writer.WriterVRML2
public class WriterVRML2
Constructor Summary | |
---|---|
WriterVRML2(File f)
this Writer can write vrml2 |
|
WriterVRML2(OutputStream outS)
|
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 |
isEvaluateTextureMatrix()
indicates if textureMatrix information schould be assigned to the Texturecoordinates |
boolean |
isFlipTextureUpsideDown()
indicates if the texture schould be fliped upside down (the correct orientation depends on the software) |
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 |
isWriteTextureCoordIndices()
indicates if texturecoordinate indices should be written extra. |
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 |
setEvaluateTextureMatrix(boolean evaluateTextureMatrix)
indicates if textureMatrix information schould be assigned to the Texturecoordinates |
void |
setFileStem(String s)
|
void |
setFlipTextureUpsideDown(boolean flipTextureUpsideDown)
indicates if the texture schould be fliped upside down (the correct orientation depends on the software) |
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 |
setWriteTextureCoordIndices(boolean writeTextureCoordIndices)
indicates if texturecoordinate indices should be written extra. |
void |
setWriteTextureFiles(boolean writeTextureFiles2)
sets if a texture wil be written into a file, instead of writing the data directly into the vrml-file. |
void |
write(SceneGraphNode sgn)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriterVRML2(File f)
public WriterVRML2(OutputStream outS)
Method Detail |
---|
public void setFileStem(String s)
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)
public boolean isEvaluateTextureMatrix()
public boolean isFlipTextureUpsideDown()
public void setEvaluateTextureMatrix(boolean evaluateTextureMatrix)
evaluateTextureMatrix
- public void setFlipTextureUpsideDown(boolean flipTextureUpsideDown)
flipTextureUpsideDown
- public void setWriteTextureCoordIndices(boolean writeTextureCoordIndices)
writeTextureCoordIndices
- public boolean isWriteTextureCoordIndices()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |