|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkExporter vtk.vtkRIBExporter
vtkRIBExporter - export a scene into RenderMan RIB format.. vtkRIBExporter is a concrete subclass of vtkExporter that writes a Renderman .RIB files. The input specifies a vtkRenderWindow. All visible actors and lights will be included in the rib file. The following file naming conventions apply: rib file - FilePrefix.rib image file created by RenderMan - FilePrefix.tif texture files - TexturePrefix_0xADDR_MTIME.tif This object does NOT generate an image file. The user must run either RenderMan or a RenderMan emulator like Blue Moon Ray Tracer (BMRT). vtk properties are convert to Renderman shaders as follows: Normal property, no texture map - plastic.sl Normal property with texture map - txtplastic.sl These two shaders must be compiled by the rendering package being used. vtkRIBExporter also supports custom shaders. The shaders are written using the Renderman Shading Language. See "The Renderman Companion", ISBN 0-201-50868, 1989 for details on writing shaders. vtkRIBProperty specifies the declarations and parameter settings for custom shaders. Tcl Example: generate a rib file for the current rendering. vtkRIBExporter myRIB myRIB SetInput $renWin myRIB SetFIlePrefix mine myRIB Write This will create a file mine.rib. After running this file through a Renderman renderer a file mine.tif will contain the rendered image. JavaBean wrapper for vtkRIBExporter object.
vtkExporter
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkRIBExporter()
|
protected |
vtkRIBExporter(int dmy)
|
Method Summary | |
void |
backgroundOff()
Set/Get the background flag. |
void |
backgroundOn()
Set/Get the background flag. |
void |
exportArraysOff()
Set or get the ExportArrays. |
void |
exportArraysOn()
Set or get the ExportArrays. |
int |
getBackground()
Set/Get the background flag. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getExportArrays()
Set or get the ExportArrays. |
int |
getExportArraysMaxValue()
Set or get the ExportArrays. |
int |
getExportArraysMinValue()
Set or get the ExportArrays. |
java.lang.String |
getFilePrefix()
Specify the prefix of the files to write out. |
int[] |
getPixelSamples()
|
int[] |
getSize()
|
java.lang.String |
getTexturePrefix()
Specify the prefix of any generated texture files. |
vtkRIBExporter |
getThisRIBExporter()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setBackground(int id0)
Set/Get the background flag. |
void |
setExportArrays(int id0)
Set or get the ExportArrays. |
void |
setFilePrefix(java.lang.String id0)
Specify the prefix of the files to write out. |
void |
setPixelSamples(int[] id0)
|
void |
setPixelSamples(int id0,
int id1)
|
void |
setSize(int[] id0)
|
void |
setSize(int id0,
int id1)
|
void |
setTexturePrefix(java.lang.String id0)
Specify the prefix of any generated texture files. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkExporter |
getInput, getMTime, getRenderWindow, getThisExporter, setEndWrite, setInput, setRenderWindow, setStartWrite, update, write |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkRIBExporter()
protected vtkRIBExporter(int dmy)
Method Detail |
public vtkRIBExporter getThisRIBExporter()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkExporter
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkExporter
public void setSize(int id0, int id1)
public void setSize(int[] id0)
public int[] getSize()
public void setPixelSamples(int id0, int id1)
public void setPixelSamples(int[] id0)
public int[] getPixelSamples()
public void setFilePrefix(java.lang.String id0)
public java.lang.String getFilePrefix()
public void setTexturePrefix(java.lang.String id0)
public java.lang.String getTexturePrefix()
public void setBackground(int id0)
public int getBackground()
public void backgroundOn()
public void backgroundOff()
public void setExportArrays(int id0)
public int getExportArraysMinValue()
public int getExportArraysMaxValue()
public void exportArraysOn()
public void exportArraysOff()
public int getExportArrays()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkExporter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |