85 #ifndef __vtkGlyph3D_h
86 #define __vtkGlyph3D_h
90 #define VTK_SCALE_BY_SCALAR 0
91 #define VTK_SCALE_BY_VECTOR 1
92 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
93 #define VTK_DATA_SCALING_OFF 3
95 #define VTK_COLOR_BY_SCALE 0
96 #define VTK_COLOR_BY_SCALAR 1
97 #define VTK_COLOR_BY_VECTOR 2
99 #define VTK_USE_VECTOR 0
100 #define VTK_USE_NORMAL 1
101 #define VTK_VECTOR_ROTATION_OFF 2
103 #define VTK_INDEXING_OFF 0
104 #define VTK_INDEXING_BY_SCALAR 1
105 #define VTK_INDEXING_BY_VECTOR 2
136 this->SetSourceConnection(0, algOutput);
145 vtkSetMacro(Scaling,
int);
146 vtkBooleanMacro(Scaling,
int);
147 vtkGetMacro(Scaling,
int);
152 vtkSetMacro(ScaleMode,
int);
153 vtkGetMacro(ScaleMode,
int);
154 void SetScaleModeToScaleByScalar()
156 void SetScaleModeToScaleByVector()
158 void SetScaleModeToScaleByVectorComponents()
160 void SetScaleModeToDataScalingOff()
162 const char *GetScaleModeAsString();
167 vtkSetMacro(ColorMode,
int);
168 vtkGetMacro(ColorMode,
int);
169 void SetColorModeToColorByScale()
171 void SetColorModeToColorByScalar()
173 void SetColorModeToColorByVector()
175 const char *GetColorModeAsString();
180 vtkSetMacro(ScaleFactor,
double);
181 vtkGetMacro(ScaleFactor,
double);
186 vtkSetVector2Macro(Range,
double);
187 vtkGetVectorMacro(Range,
double,2);
192 vtkSetMacro(Orient,
int);
193 vtkBooleanMacro(Orient,
int);
194 vtkGetMacro(Orient,
int);
200 vtkSetMacro(Clamping,
int);
201 vtkBooleanMacro(Clamping,
int);
202 vtkGetMacro(Clamping,
int);
207 vtkSetMacro(VectorMode,
int);
208 vtkGetMacro(VectorMode,
int);
211 void SetVectorModeToVectorRotationOff()
213 const char *GetVectorModeAsString();
223 vtkSetMacro(IndexMode,
int);
224 vtkGetMacro(IndexMode,
int);
228 const char *GetIndexModeAsString();
236 vtkSetMacro(GeneratePointIds,
int);
237 vtkGetMacro(GeneratePointIds,
int);
238 vtkBooleanMacro(GeneratePointIds,
int);
245 vtkSetStringMacro(PointIdsName);
246 vtkGetStringMacro(PointIdsName);
253 vtkSetMacro(FillCellData,
int);
254 vtkGetMacro(FillCellData,
int);
255 vtkBooleanMacro(FillCellData,
int);
309 return "ScaleByScalar";
313 return "ScaleByVector";
317 return "DataScalingOff";
328 return "ColorByScalar";
332 return "ColorByVector";
336 return "ColorByScale";
355 return "VectorRotationOff";
366 return "IndexingOff";
370 return "IndexingByScalar";
374 return "IndexingByVector";