#include <vtkRIBProperty.h>
Inheritance diagram for vtkRIBProperty:
vtkRIBProperty is a subclass of vtkProperty that allows the user to specify named shaders for use with RenderMan. Both a surface shader and displacement shader can be specified. Parameters for the shaders can be declared and set.
Definition at line 37 of file vtkRIBProperty.h.
Public Types | |
typedef vtkProperty | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
char * | GetParameters () |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetSurfaceShader (const char *) |
virtual char * | GetSurfaceShader () |
virtual void | SetDisplacementShader (const char *) |
virtual char * | GetDisplacementShader () |
void | SetVariable (char *variable, char *declaration) |
void | AddVariable (char *variable, char *declaration) |
char * | GetDeclarations () |
void | SetParameter (char *parameter, char *value) |
void | AddParameter (char *parameter, char *value) |
Static Public Member Functions | |
static vtkRIBProperty * | New () |
static int | IsTypeOf (const char *type) |
static vtkRIBProperty * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkRIBProperty () | |
~vtkRIBProperty () | |
void | Render (vtkActor *a, vtkRenderer *ren) |
Protected Attributes | |
vtkProperty * | Property |
char * | SurfaceShader |
char * | DisplacementShader |
char * | Declarations |
char * | Parameters |
|
Reimplemented from vtkProperty. Definition at line 41 of file vtkRIBProperty.h. |
|
|
|
|
|
Construct object with object color, ambient color, diffuse color, specular color, and edge color white; ambient coefficient=0; diffuse coefficient=0; specular coefficient=0; specular power=1; Gouraud shading; and surface representation. Backface and frontface culling are off. Reimplemented from vtkProperty. |
|
Reimplemented from vtkProperty. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkProperty. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkProperty. |
|
Reimplemented from vtkProperty. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkProperty. |
|
Specify the name of a surface shader. |
|
|
|
Specify the name of a displacement shader. |
|
Specify the name of a displacement shader. |
|
Specify declarations for variables.. |
|
Specify declarations for variables.. |
|
Get variable declarations |
|
Specify parameter values for variables. |
|
Get variable declarations |
|
Get parameters. |
|
This method causes the property to set up whatever is required for its instance variables. This is actually handled by a subclass of vtkProperty, which is created automatically. This method includes the invoking actor as an argument which can be used by property devices that require the actor. Reimplemented from vtkProperty. |
|
Definition at line 79 of file vtkRIBProperty.h. |
|
Definition at line 80 of file vtkRIBProperty.h. |
|
Definition at line 81 of file vtkRIBProperty.h. |
|
Definition at line 82 of file vtkRIBProperty.h. |
|
Definition at line 83 of file vtkRIBProperty.h. |