public class WriterPDF extends Object implements SceneWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
WriterPDF.PDF3DGridMode |
static class |
WriterPDF.PDF3DLightingScene |
static class |
WriterPDF.PDF3DRenderMode |
static class |
WriterPDF.PDF3DTool |
| Modifier and Type | Field and Description |
|---|---|
static String |
PDF_NAME_3D |
static String |
PDF_NAME_3DD |
static String |
PDF_NAME_3DV |
static String |
PDF_NAME_3DVIEW |
static String |
PDF_NAME_C2W |
static String |
PDF_NAME_IN |
static String |
PDF_NAME_MS |
static String |
PDF_NAME_U3D |
static String |
PDF_NAME_U3DPATH |
static String |
PDF_NAME_XN |
| Constructor and Description |
|---|
WriterPDF() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
setGridMode(WriterPDF.PDF3DGridMode gridMode) |
void |
setLighting(WriterPDF.PDF3DLightingScene lighting) |
void |
setRenderMode(WriterPDF.PDF3DRenderMode renderMode) |
void |
setShowAxes(boolean showAxes) |
void |
setShowGrid(boolean showGrid) |
void |
setShowInventory(boolean showInventory) |
void |
setSize(Dimension size) |
void |
setTool(WriterPDF.PDF3DTool tool) |
void |
setUserScriptFile(File userScriptFile) |
static void |
write(JrScene scene,
OutputStream out)
Exports a given
JrScene into a PDF document. |
void |
write(SceneGraphNode c,
OutputStream out)
Exports a given
SceneGraphNode into a PDF document. |
void |
writeScene(JrScene scene,
OutputStream out)
Exports a given
JrScene into a PDF document. |
void |
writeScene(JrScene scene,
Writer out)
Deprecated.
|
public static final String PDF_NAME_3D
public static final String PDF_NAME_3DD
public static final String PDF_NAME_3DV
public static final String PDF_NAME_3DVIEW
public static final String PDF_NAME_C2W
public static final String PDF_NAME_IN
public static final String PDF_NAME_MS
public static final String PDF_NAME_U3D
public static final String PDF_NAME_U3DPATH
public static final String PDF_NAME_XN
public void write(SceneGraphNode c, OutputStream out) throws IOException
SceneGraphNode into a PDF document.write in interface SceneWriterc - the scene graph node to exportout - the output stream to export the data toIOExceptionpublic void writeScene(JrScene scene, OutputStream out) throws IOException
JrScene into a PDF document.writeScene in interface SceneWriterscene - the scene to exportout - the output stream to export the data toIOException@Deprecated public void writeScene(JrScene scene, Writer out) throws IOException, UnsupportedOperationException
UnsupportedOperationException.writeScene in interface SceneWriterscene - unusedout - unusedIOExceptionUnsupportedOperationExceptionpublic static void write(JrScene scene, OutputStream out) throws IOException
JrScene into a PDF document.scene - the scene to exportout - the output stream to export the data toIOExceptionpublic void setTool(WriterPDF.PDF3DTool tool)
public void setSize(Dimension size)
public void setLighting(WriterPDF.PDF3DLightingScene lighting)
public void setRenderMode(WriterPDF.PDF3DRenderMode renderMode)
public void setGridMode(WriterPDF.PDF3DGridMode gridMode)
public void setShowAxes(boolean showAxes)
public void setShowGrid(boolean showGrid)
public void setUserScriptFile(File userScriptFile)
public void setShowInventory(boolean showInventory)
public static void main(String[] args)