Public Member Functions |
| | vtkRIBExporter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkRIBExporter () |
| | *Undocumented Block
|
| virtual void | BackgroundOff () |
| | Set/Get the background flag. Default is 0 (off). If set, the rib file will contain an image shader that will use the renderer window's background color. Normally, RenderMan does generate backgrounds. Backgrounds are composited into the scene with the tiffcomp program that comes with Pixar's RenderMan Toolkit. In fact, Pixar's Renderman will accept an image shader but only sets the alpha of the background. Images created this way will still have a black background but contain an alpha of 1 at all pixels and CANNOT be subsequently composited with other images using tiffcomp. However, other RenderMan compliant renderers like Blue Moon Ray Tracing (BMRT) do allow image shaders and properly set the background color. If this sounds too confusing, use the following rules: If you are using Pixar's Renderman, leave the Background off. Otherwise, try setting BackGroundOn and see if you get the desired results.
|
| virtual void | BackgroundOn () |
| | Set/Get the background flag. Default is 0 (off). If set, the rib file will contain an image shader that will use the renderer window's background color. Normally, RenderMan does generate backgrounds. Backgrounds are composited into the scene with the tiffcomp program that comes with Pixar's RenderMan Toolkit. In fact, Pixar's Renderman will accept an image shader but only sets the alpha of the background. Images created this way will still have a black background but contain an alpha of 1 at all pixels and CANNOT be subsequently composited with other images using tiffcomp. However, other RenderMan compliant renderers like Blue Moon Ray Tracing (BMRT) do allow image shaders and properly set the background color. If this sounds too confusing, use the following rules: If you are using Pixar's Renderman, leave the Background off. Otherwise, try setting BackGroundOn and see if you get the desired results.
|
| virtual void | ExportArraysOff () |
| | Set or get the ExportArrays. If ExportArrays is set, then all point data, field data, and cell data arrays will get exported together with polygons.
|
| virtual void | ExportArraysOn () |
| | Set or get the ExportArrays. If ExportArrays is set, then all point data, field data, and cell data arrays will get exported together with polygons.
|
| virtual int | GetBackground () |
| | Set/Get the background flag. Default is 0 (off). If set, the rib file will contain an image shader that will use the renderer window's background color. Normally, RenderMan does generate backgrounds. Backgrounds are composited into the scene with the tiffcomp program that comes with Pixar's RenderMan Toolkit. In fact, Pixar's Renderman will accept an image shader but only sets the alpha of the background. Images created this way will still have a black background but contain an alpha of 1 at all pixels and CANNOT be subsequently composited with other images using tiffcomp. However, other RenderMan compliant renderers like Blue Moon Ray Tracing (BMRT) do allow image shaders and properly set the background color. If this sounds too confusing, use the following rules: If you are using Pixar's Renderman, leave the Background off. Otherwise, try setting BackGroundOn and see if you get the desired results.
|
| virtual int | GetExportArrays () |
| | Set or get the ExportArrays. If ExportArrays is set, then all point data, field data, and cell data arrays will get exported together with polygons.
|
| virtual int | GetExportArraysMaxValue () |
| | Set or get the ExportArrays. If ExportArrays is set, then all point data, field data, and cell data arrays will get exported together with polygons.
|
| virtual int | GetExportArraysMinValue () |
| | Set or get the ExportArrays. If ExportArrays is set, then all point data, field data, and cell data arrays will get exported together with polygons.
|
| virtual string | GetFilePrefix () |
| | Specify the prefix of the files to write out. The resulting file names will have .RIB appended to them.
|
| virtual int[] | GetPixelSamples () |
| | Description Specify the sampling rate for the rendering. Default is 2 2.
|
| virtual void | GetPixelSamples (IntPtr data) |
| | Description Specify the sampling rate for the rendering. Default is 2 2.
|
| virtual int[] | GetSize () |
| | Description Specify the size of the image for RenderMan. If none is specified, the size of the render window will be used.
|
| virtual void | GetSize (IntPtr data) |
| | Description Specify the size of the image for RenderMan. If none is specified, the size of the render window will be used.
|
| virtual string | GetTexturePrefix () |
| | Specify the prefix of any generated texture files.
|
| override int | IsA (string type) |
| | *Undocumented Block
|
| new vtkRIBExporter | NewInstance () |
| | *Undocumented Block
|
| virtual void | SetBackground (int _arg) |
| | Set/Get the background flag. Default is 0 (off). If set, the rib file will contain an image shader that will use the renderer window's background color. Normally, RenderMan does generate backgrounds. Backgrounds are composited into the scene with the tiffcomp program that comes with Pixar's RenderMan Toolkit. In fact, Pixar's Renderman will accept an image shader but only sets the alpha of the background. Images created this way will still have a black background but contain an alpha of 1 at all pixels and CANNOT be subsequently composited with other images using tiffcomp. However, other RenderMan compliant renderers like Blue Moon Ray Tracing (BMRT) do allow image shaders and properly set the background color. If this sounds too confusing, use the following rules: If you are using Pixar's Renderman, leave the Background off. Otherwise, try setting BackGroundOn and see if you get the desired results.
|
| virtual void | SetExportArrays (int _arg) |
| | Set or get the ExportArrays. If ExportArrays is set, then all point data, field data, and cell data arrays will get exported together with polygons.
|
| virtual void | SetFilePrefix (string _arg) |
| | Specify the prefix of the files to write out. The resulting file names will have .RIB appended to them.
|
| virtual void | SetPixelSamples (int _arg1, int _arg2) |
| | Description Specify the sampling rate for the rendering. Default is 2 2.
|
| void | SetPixelSamples (IntPtr _arg) |
| | Description Specify the sampling rate for the rendering. Default is 2 2.
|
| virtual void | SetSize (int _arg1, int _arg2) |
| | Description Specify the size of the image for RenderMan. If none is specified, the size of the render window will be used.
|
| void | SetSize (IntPtr _arg) |
| | Description Specify the size of the image for RenderMan. If none is specified, the size of the render window will be used.
|
| virtual void | SetTexturePrefix (string _arg) |
| | Specify the prefix of any generated texture files.
|
| | vtkExporter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| vtkRenderWindow | GetInput () |
| | These methods are provided for backward compatibility. Will disappear soon.
|
| override uint | GetMTime () |
| | Returns the MTime also considering the RenderWindow.
|
| virtual vtkRenderWindow | GetRenderWindow () |
| | Set/Get the rendering window that contains the scene to be written.
|
| void | SetInput (vtkRenderWindow renWin) |
| | These methods are provided for backward compatibility. Will disappear soon.
|
| virtual void | SetRenderWindow (vtkRenderWindow arg0) |
| | Set/Get the rendering window that contains the scene to be written.
|
| void | Update () |
| | Convenient alias for Write() method.
|
| virtual void | Write () |
| | Write data to output. Method executes subclasses WriteData() method, as well as StartWrite() and EndWrite() methods.
|
| | vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkObject () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
| uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| virtual void | DebugOff () |
| | Turn debugging output off.
|
| virtual void | DebugOn () |
| | Turn debugging output on.
|
| vtkCommand | GetCommand (uint tag) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| byte | GetDebug () |
| | Get the value of the debug flag.
|
| int | HasObserver (uint arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (string arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (uint arg0, IntPtr callData) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (string arg0, IntPtr callData) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| virtual void | Modified () |
| | Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
|
| void | RemoveAllObservers () |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObserver (vtkCommand arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObserver (uint tag) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (uint arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (string arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | SetDebug (byte debugFlag) |
| | Set the value of the debug flag. A non-zero value turns debugging on.
|
| override string | ToString () |
| | Returns the result of calling vtkObject::Print as a C# string.
|
| delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
| | Generic signature for all vtkObject events.
|
| void | RemoveAllHandlersForAllEvents () |
| | Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
|
| | vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkObjectBase () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
| virtual void | Register (vtkObjectBase o) |
| | Increase the reference count (mark as used by another object).
|
| virtual void | FastDelete () |
| | Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
|
| string | GetClassName () |
| | Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
|
| int | GetReferenceCount () |
| | Return the current reference count of this object.
|
| void | SetReferenceCount (int arg0) |
| | Sets the reference count. (This is very dangerous, use with care.)
|
Public Attributes |
| new const string | MRFullTypeName = "Kitware.VTK.vtkRIBExporter" |
| | Automatically generated type registration mechanics.
|
| const string | vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so" |
| | Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
|
| const string | vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so" |
| | Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
|
| const string | vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so" |
| | Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
|
| const string | vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so" |
| | Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
|
| const string | vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so" |
| | Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
|
| const string | vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so" |
| | Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
|
| const string | vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so" |
| | Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
|
| const string | vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so" |
| | Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
|
| const string | vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so" |
| | Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
|
| const string | vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so" |
| | Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
|
| const string | vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so" |
| | Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
|
| const string | vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so" |
| | Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
|
| const string | vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so" |
| | Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
|
| const string | vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so" |
| | Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
|
| const string | vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so" |
| | Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.
|
vtkRIBExporter - export a scene into RenderMan RIB format.
Description 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.
vtkExporter vtkRIBProperty