1 #ifndef SHADERCALLBACK_H
2 #define SHADERCALLBACK_H
4 #include <vtkCommand.h>
5 #include <vtkSmartPointer.h>
20 virtual void Execute(vtkObject *,
unsigned long event,
void*cbo);
32 void test(
unsigned long event,
void *cbo);
37 static int numberOfTextureCoordinates = 40;
38 static int numberOfComponentsPerTexture = 3;
39 static const GLfloat texture_data[] = {
92 static int numberOfColors = 81;
93 static int numberOfComponentsPerColor = 3;
94 static const GLfloat color_data[] = {
98 0.822f, 0.569f, 0.201f,
99 0.435f, 0.602f, 0.223f,
100 0.310f, 0.747f, 0.185f,
101 0.597f, 0.770f, 0.761f,
102 0.559f, 0.436f, 0.730f,
103 0.359f, 0.583f, 0.152f,
104 0.483f, 0.596f, 0.789f,
105 0.559f, 0.861f, 0.639f,
106 0.195f, 0.548f, 0.859f,
107 0.014f, 0.184f, 0.576f,
108 0.771f, 0.328f, 0.970f,
109 0.406f, 0.615f, 0.116f,
110 0.676f, 0.977f, 0.133f,
111 0.971f, 0.572f, 0.833f,
112 0.140f, 0.616f, 0.489f,
113 0.997f, 0.513f, 0.064f,
114 0.945f, 0.719f, 0.592f,
115 0.543f, 0.021f, 0.978f,
116 0.279f, 0.317f, 0.505f,
117 0.167f, 0.620f, 0.077f,
118 0.347f, 0.857f, 0.137f,
119 0.055f, 0.953f, 0.042f,
120 0.714f, 0.505f, 0.345f,
121 0.783f, 0.290f, 0.734f,
122 0.722f, 0.645f, 0.174f,
123 0.302f, 0.455f, 0.848f,
124 0.225f, 0.587f, 0.040f,
125 0.517f, 0.713f, 0.338f,
126 0.053f, 0.959f, 0.120f,
127 0.393f, 0.621f, 0.362f,
128 0.673f, 0.211f, 0.457f,
129 0.820f, 0.883f, 0.371f,
130 0.982f, 0.099f, 0.879f,
131 0.140f, 0.616f, 0.489f,
132 0.997f, 0.513f, 0.064f,
133 0.945f, 0.719f, 0.592f,
134 0.543f, 0.021f, 0.978f,
135 0.279f, 0.317f, 0.505f,
136 0.167f, 0.620f, 0.077f,
137 0.347f, 0.857f, 0.137f,
138 0.055f, 0.953f, 0.042f,
139 0.714f, 0.505f, 0.345f,
140 0.783f, 0.290f, 0.734f,
141 0.722f, 0.645f, 0.174f,
142 0.302f, 0.455f, 0.848f,
143 0.225f, 0.587f, 0.040f,
144 0.517f, 0.713f, 0.338f,
145 0.053f, 0.959f, 0.120f,
146 0.393f, 0.621f, 0.362f,
147 0.673f, 0.211f, 0.457f,
148 0.820f, 0.883f, 0.371f,
149 0.982f, 0.099f, 0.879f,
150 0.302f, 0.455f, 0.848f,
151 0.225f, 0.587f, 0.040f,
152 0.517f, 0.713f, 0.338f,
153 0.053f, 0.959f, 0.120f,
154 0.393f, 0.621f, 0.362f,
155 0.673f, 0.211f, 0.457f,
156 0.820f, 0.883f, 0.371f,
157 0.982f, 0.099f, 0.879f,
158 0.140f, 0.616f, 0.489f,
159 0.997f, 0.513f, 0.064f,
160 0.945f, 0.719f, 0.592f,
161 0.543f, 0.021f, 0.978f,
162 0.279f, 0.317f, 0.505f,
163 0.167f, 0.620f, 0.077f,
164 0.347f, 0.857f, 0.137f,
165 0.055f, 0.953f, 0.042f,
166 0.714f, 0.505f, 0.345f,
167 0.783f, 0.290f, 0.734f,
168 0.722f, 0.645f, 0.174f,
169 0.302f, 0.455f, 0.848f,
170 0.225f, 0.587f, 0.040f,
171 0.517f, 0.713f, 0.338f,
172 0.053f, 0.959f, 0.120f,
173 0.393f, 0.621f, 0.362f,
174 0.673f, 0.211f, 0.457f,
175 0.820f, 0.883f, 0.371f,
176 0.982f, 0.099f, 0.879f
181 #endif // SHADERCALLBACK_H