vtkRIBProperty.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00042 #ifndef __vtkRIBProperty_h
00043 #define __vtkRIBProperty_h
00044
00045 #include "vtkProperty.h"
00046
00047 class vtkRIBRenderer;
00048
00049 class VTK_HYBRID_EXPORT vtkRIBProperty : public vtkProperty
00050 {
00051 public:
00052 static vtkRIBProperty *New();
00053 vtkTypeRevisionMacro(vtkRIBProperty,vtkProperty);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057
00058 vtkSetStringMacro(SurfaceShader);
00059 vtkGetStringMacro(SurfaceShader);
00061
00063
00064 vtkSetStringMacro(DisplacementShader);
00065 vtkGetStringMacro(DisplacementShader);
00067
00069
00070 void SetVariable (char *variable, char *declaration);
00071 void AddVariable (char *variable, char *declaration);
00073
00075 char *GetDeclarations ();
00076
00078
00079 void SetParameter (char *parameter, char *value);
00080 void AddParameter (char *parameter, char *value);
00082
00084 char *GetParameters ();
00085
00086 protected:
00087 vtkRIBProperty();
00088 ~vtkRIBProperty();
00089
00090 void Render(vtkActor *a, vtkRenderer *ren);
00091 vtkProperty *Property;
00092 char *SurfaceShader;
00093 char *DisplacementShader;
00094 char *Declarations;
00095 char *Parameters;
00096 private:
00097 vtkRIBProperty(const vtkRIBProperty&);
00098 void operator=(const vtkRIBProperty&);
00099 };
00100
00101 #endif