52 #ifndef vtkRIBExporter_h
53 #define vtkRIBExporter_h
55 #include "vtkIOExportModule.h"
79 vtkSetVector2Macro(Size,
int);
80 vtkGetVectorMacro(Size,
int,2);
87 vtkSetVector2Macro(PixelSamples,
int);
88 vtkGetVectorMacro(PixelSamples,
int,2);
96 vtkSetStringMacro(FilePrefix);
104 vtkSetStringMacro(TexturePrefix);
137 vtkSetClampMacro(ExportArrays,
int, 0, 1);
139 vtkGetMacro(ExportArrays,
int);
represents an object (geometry & properties) in a rendered scene
a virtual camera for 3D rendering
abstract class to write a scene to a file
a simple class to control print indentation
a virtual light for 3D rendering
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
export a scene into RenderMan RIB format.
void WriteLight(vtkLight *aLight, int count)
void WriteTexture(vtkTexture *aTexture)
void WriteProperty(vtkProperty *aProperty, vtkTexture *aTexture)
static vtkRIBExporter * New()
void WriteActor(vtkActor *anActor)
int ExportArrays
This variable defines whether the arrays are exported or not.
char * GetTextureName(vtkTexture *aTexture)
void WriteCamera(vtkCamera *aCamera)
char * GetTIFFName(vtkTexture *aTexture)
void WriteStrips(vtkPolyData *pd, vtkUnsignedCharArray *colors, vtkProperty *aProperty)
void WriteViewport(vtkRenderer *aRenderer, int size[2])
void WriteAmbientLight(int count)
void WriteHeader(vtkRenderer *aRen)
Write the RIB header.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void ModifyArrayName(char *newname, const char *name)
Since additional variables are sent to the shader as variables, and their names are used in the shade...
void WritePolygons(vtkPolyData *pd, vtkUnsignedCharArray *colors, vtkProperty *aProperty)
abstract specification for renderers
handles properties associated with a texture map
dynamic, self-adjusting array of unsigned char
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.