Section: Visualization Toolkit Hybrid Classes
To create an instance of class vtkRIBExporter, simply invoke its constructor as follows
obj = vtkRIBExporter
obj
is an instance of the vtkRIBExporter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkRIBExporter = obj.NewInstance ()
vtkRIBExporter = obj.SafeDownCast (vtkObject o)
obj.SetSize (int , int )
obj.SetSize (int a[2])
int = obj. GetSize ()
obj.SetPixelSamples (int , int )
obj.SetPixelSamples (int a[2])
int = obj. GetPixelSamples ()
obj.SetFilePrefix (string )
- Specify the prefix of the files to write out. The resulting file names
will have .RIB appended to them.
string = obj.GetFilePrefix ()
- Specify the prefix of the files to write out. The resulting file names
will have .RIB appended to them.
obj.SetTexturePrefix (string )
- Specify the prefix of any generated texture files.
string = obj.GetTexturePrefix ()
- Specify the prefix of any generated texture files.
obj.SetBackground (int )
- 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.
int = obj.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.
obj.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.
obj.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.
obj.SetExportArrays (int )
- 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.
int = obj.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.
int = obj.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.
obj.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.
obj.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.
int = obj.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.