VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkRIBProperty.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRIBProperty.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
30 #ifndef __vtkRIBProperty_h
31 #define __vtkRIBProperty_h
32 
33 #include "vtkIOExportModule.h" // For export macro
34 #include "vtkProperty.h"
35 
36 class vtkRIBRenderer;
37 
39 {
40 public:
41  static vtkRIBProperty *New();
42  vtkTypeMacro(vtkRIBProperty,vtkProperty);
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  vtkSetStringMacro(SurfaceShader);
48  vtkGetStringMacro(SurfaceShader);
50 
52 
53  vtkSetStringMacro(DisplacementShader);
54  vtkGetStringMacro(DisplacementShader);
56 
58 
59  void SetVariable (char *variable, char *declaration);
60  void AddVariable (char *variable, char *declaration);
62 
64  char *GetDeclarations ();
65 
67 
68  void SetParameter (char *parameter, char *value);
69  void AddParameter (char *parameter, char *value);
71 
73  char *GetParameters ();
74 
75 protected:
77  ~vtkRIBProperty();
78 
79  void Render(vtkActor *a, vtkRenderer *ren);
83  char *Declarations;
84  char *Parameters;
85 private:
86  vtkRIBProperty(const vtkRIBProperty&); // Not implemented.
87  void operator=(const vtkRIBProperty&); // Not implemented.
88 };
89 
90 #endif
virtual void Render(vtkActor *, vtkRenderer *)
GLenum GLenum variable
Definition: vtkgl.h:15941
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
static vtkProperty * New()
represent surface properties of a geometric object
Definition: vtkProperty.h:63
char * DisplacementShader
RIP Property.
#define VTKIOEXPORT_EXPORT
abstract specification for renderers
Definition: vtkRenderer.h:63
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkProperty * Property
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
char * SurfaceShader
GLboolean GLboolean GLboolean GLboolean a
Definition: vtkgl.h:12312