31 #ifndef vtkRIBProperty_h 32 #define vtkRIBProperty_h 34 #include "vtkIOExportModule.h" 58 vtkSetMacro(SurfaceShaderUsesDefaultParameters,
bool);
59 vtkGetMacro(SurfaceShaderUsesDefaultParameters,
bool);
60 vtkBooleanMacro(SurfaceShaderUsesDefaultParameters,
bool);
67 vtkSetStringMacro(SurfaceShader);
68 vtkGetStringMacro(SurfaceShader);
75 vtkSetStringMacro(DisplacementShader);
76 vtkGetStringMacro(DisplacementShader);
83 void SetVariable (
const char *variable,
const char *declaration);
84 void AddVariable (
const char *variable,
const char *declaration);
90 char *GetDeclarations ();
105 void SetSurfaceShaderParameter (
const char *
parameter,
const char *
value);
106 void AddSurfaceShaderParameter (
const char *
parameter,
const char *
value);
113 void SetDisplacementShaderParameter (
const char *
parameter,
const char *
value);
114 void AddDisplacementShaderParameter (
const char *
parameter,
const char *
value);
121 char *GetParameters ();
122 char *GetSurfaceShaderParameters ();
123 char *GetDisplacementShaderParameters ();
virtual void Render(vtkActor *, vtkRenderer *)
This method causes the property to set up whatever is required for its instance variables.
represents an object (geometry & properties) in a rendered scene
static vtkProperty * New()
Construct object with object color, ambient color, diffuse color, specular color, and edge color whit...
represent surface properties of a geometric object
char * DisplacementShader
bool SurfaceShaderUsesDefaultParameters
abstract specification for renderers
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * DisplacementShaderParameters
char * SurfaceShaderParameters