VTK
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 "vtkProperty.h"
34 
35 class vtkRIBRenderer;
36 
38 {
39 public:
40  static vtkRIBProperty *New();
41  vtkTypeMacro(vtkRIBProperty,vtkProperty);
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetStringMacro(SurfaceShader);
47  vtkGetStringMacro(SurfaceShader);
49 
51 
52  vtkSetStringMacro(DisplacementShader);
53  vtkGetStringMacro(DisplacementShader);
55 
57 
58  void SetVariable (char *variable, char *declaration);
59  void AddVariable (char *variable, char *declaration);
61 
63  char *GetDeclarations ();
64 
66 
67  void SetParameter (char *parameter, char *value);
68  void AddParameter (char *parameter, char *value);
70 
72  char *GetParameters ();
73 
74 protected:
76  ~vtkRIBProperty();
77 
78  void Render(vtkActor *a, vtkRenderer *ren);
82  char *Declarations;
83  char *Parameters;
84 private:
85  vtkRIBProperty(const vtkRIBProperty&); // Not implemented.
86  void operator=(const vtkRIBProperty&); // Not implemented.
87 };
88 
89 #endif
virtual void Render(vtkActor *, vtkRenderer *)
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
static vtkProperty * New()
represent surface properties of a geometric object
Definition: vtkProperty.h:61
char * DisplacementShader
RIP Property.
abstract specification for renderers
Definition: vtkRenderer.h:69
vtkProperty * Property
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
char * SurfaceShader
#define VTK_HYBRID_EXPORT