vtkRIBProperty Class Reference
#include <vtkRIBProperty.h>
Inheritance diagram for vtkRIBProperty:
[legend]Collaboration diagram for vtkRIBProperty:
[legend]List of all members.
Detailed Description
RIP Property.
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.
- See also:
- vtkRIBExporter
- Created by:
-
- CVS contributions (if > 5%):
- Martin, Ken (79%)
- Lorensen, Bill (12%)
- Schroeder, Will (7%)
- CVS logs (CVSweb):
.h (/Hybrid/vtkRIBProperty
.h)
.cxx (/Hybrid/vtkRIBProperty
.cxx)
- Tests:
- vtkRIBProperty (Tests)
Definition at line 49 of file vtkRIBProperty.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkRIBProperty::vtkRIBProperty |
( |
|
) |
[protected] |
|
Member Function Documentation
|
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. |
virtual const char* vtkRIBProperty::GetClassName |
( |
|
) |
[virtual] |
|
int vtkRIBProperty::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
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. |
virtual int vtkRIBProperty::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
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. |
void vtkRIBProperty::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
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. |
virtual void vtkRIBProperty::SetSurfaceShader |
( |
const char * |
|
) |
[virtual] |
|
|
Specify the name of a surface shader. |
virtual char* vtkRIBProperty::GetSurfaceShader |
( |
|
) |
[virtual] |
|
|
Specify the name of a surface shader. |
virtual void vtkRIBProperty::SetDisplacementShader |
( |
const char * |
|
) |
[virtual] |
|
|
Specify the name of a displacement shader. |
virtual char* vtkRIBProperty::GetDisplacementShader |
( |
|
) |
[virtual] |
|
|
Specify the name of a displacement shader. |
void vtkRIBProperty::SetVariable |
( |
char * |
variable, |
|
|
char * |
declaration |
|
) |
|
|
|
Specify declarations for variables.. |
void vtkRIBProperty::AddVariable |
( |
char * |
variable, |
|
|
char * |
declaration |
|
) |
|
|
|
Specify declarations for variables.. |
char* vtkRIBProperty::GetDeclarations |
( |
|
) |
|
|
|
Get variable declarations |
void vtkRIBProperty::SetParameter |
( |
char * |
parameter, |
|
|
char * |
value |
|
) |
|
|
|
Specify parameter values for variables. |
void vtkRIBProperty::AddParameter |
( |
char * |
parameter, |
|
|
char * |
value |
|
) |
|
|
|
Specify parameter values for variables. |
char* vtkRIBProperty::GetParameters |
( |
|
) |
|
|
|
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. |
Member Data Documentation
The documentation for this class was generated from the following file: