81 #ifndef __vtkGenericGlyph3DFilter_h
82 #define __vtkGenericGlyph3DFilter_h
86 #define VTK_SCALE_BY_SCALAR 0
87 #define VTK_SCALE_BY_VECTOR 1
88 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
89 #define VTK_DATA_SCALING_OFF 3
91 #define VTK_COLOR_BY_SCALE 0
92 #define VTK_COLOR_BY_SCALAR 1
93 #define VTK_COLOR_BY_VECTOR 2
95 #define VTK_USE_VECTOR 0
96 #define VTK_USE_NORMAL 1
97 #define VTK_VECTOR_ROTATION_OFF 2
99 #define VTK_INDEXING_OFF 0
100 #define VTK_INDEXING_BY_SCALAR 1
101 #define VTK_INDEXING_BY_VECTOR 2
126 vtkSetMacro(Scaling,
int);
127 vtkBooleanMacro(Scaling,
int);
128 vtkGetMacro(Scaling,
int);
133 vtkSetMacro(ScaleMode,
int);
134 vtkGetMacro(ScaleMode,
int);
143 const char *GetScaleModeAsString();
148 vtkSetMacro(ColorMode,
int);
149 vtkGetMacro(ColorMode,
int);
156 const char *GetColorModeAsString();
161 vtkSetMacro(ScaleFactor,
double);
162 vtkGetMacro(ScaleFactor,
double);
167 vtkSetVector2Macro(Range,
double);
168 vtkGetVectorMacro(Range,
double,2);
173 vtkSetMacro(Orient,
int);
174 vtkBooleanMacro(Orient,
int);
175 vtkGetMacro(Orient,
int);
181 vtkSetMacro(Clamping,
int);
182 vtkBooleanMacro(Clamping,
int);
183 vtkGetMacro(Clamping,
int);
188 vtkSetMacro(VectorMode,
int);
189 vtkGetMacro(VectorMode,
int);
194 const char *GetVectorModeAsString();
201 vtkSetMacro(IndexMode,
int);
202 vtkGetMacro(IndexMode,
int);
206 const char *GetIndexModeAsString();
214 vtkSetMacro(GeneratePointIds,
int);
215 vtkGetMacro(GeneratePointIds,
int);
216 vtkBooleanMacro(GeneratePointIds,
int);
223 vtkSetStringMacro(PointIdsName);
224 vtkGetStringMacro(PointIdsName);
231 vtkGetStringMacro(InputScalarsSelection);
233 {this->SetInputScalarsSelection(fieldName);}
240 vtkGetStringMacro(InputVectorsSelection);
242 {this->SetInputVectorsSelection(fieldName);}
249 vtkGetStringMacro(InputNormalsSelection);
251 {this->SetInputNormalsSelection(fieldName);}
279 vtkSetStringMacro(InputScalarsSelection);
280 vtkSetStringMacro(InputVectorsSelection);
281 vtkSetStringMacro(InputNormalsSelection);
294 return "ScaleByScalar";
298 return "ScaleByVector";
302 return "DataScalingOff";
313 return "ColorByScalar";
317 return "ColorByVector";
321 return "ColorByScale";
340 return "VectorRotationOff";
351 return "IndexingOff";
355 return "IndexingByScalar";
359 return "IndexingByVector";