81 #ifndef vtkGenericGlyph3DFilter_h
82 #define vtkGenericGlyph3DFilter_h
87 #define VTK_SCALE_BY_SCALAR 0
88 #define VTK_SCALE_BY_VECTOR 1
89 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
90 #define VTK_DATA_SCALING_OFF 3
92 #define VTK_COLOR_BY_SCALE 0
93 #define VTK_COLOR_BY_SCALAR 1
94 #define VTK_COLOR_BY_VECTOR 2
96 #define VTK_USE_VECTOR 0
97 #define VTK_USE_NORMAL 1
98 #define VTK_VECTOR_ROTATION_OFF 2
100 #define VTK_INDEXING_OFF 0
101 #define VTK_INDEXING_BY_SCALAR 1
102 #define VTK_INDEXING_BY_VECTOR 2
127 vtkSetMacro(Scaling,
int);
128 vtkBooleanMacro(Scaling,
int);
129 vtkGetMacro(Scaling,
int);
134 vtkSetMacro(ScaleMode,
int);
135 vtkGetMacro(ScaleMode,
int);
144 const char *GetScaleModeAsString();
149 vtkSetMacro(ColorMode,
int);
150 vtkGetMacro(ColorMode,
int);
157 const char *GetColorModeAsString();
162 vtkSetMacro(ScaleFactor,
double);
163 vtkGetMacro(ScaleFactor,
double);
168 vtkSetVector2Macro(Range,
double);
169 vtkGetVectorMacro(Range,
double,2);
174 vtkSetMacro(Orient,
int);
175 vtkBooleanMacro(Orient,
int);
176 vtkGetMacro(Orient,
int);
182 vtkSetMacro(Clamping,
int);
183 vtkBooleanMacro(Clamping,
int);
184 vtkGetMacro(Clamping,
int);
189 vtkSetMacro(VectorMode,
int);
190 vtkGetMacro(VectorMode,
int);
195 const char *GetVectorModeAsString();
202 vtkSetMacro(IndexMode,
int);
203 vtkGetMacro(IndexMode,
int);
207 const char *GetIndexModeAsString();
215 vtkSetMacro(GeneratePointIds,
int);
216 vtkGetMacro(GeneratePointIds,
int);
217 vtkBooleanMacro(GeneratePointIds,
int);
224 vtkSetStringMacro(PointIdsName);
225 vtkGetStringMacro(PointIdsName);
232 vtkGetStringMacro(InputScalarsSelection);
234 {this->SetInputScalarsSelection(fieldName);}
241 vtkGetStringMacro(InputVectorsSelection);
243 {this->SetInputVectorsSelection(fieldName);}
250 vtkGetStringMacro(InputNormalsSelection);
252 {this->SetInputNormalsSelection(fieldName);}
280 vtkSetStringMacro(InputScalarsSelection);
281 vtkSetStringMacro(InputVectorsSelection);
282 vtkSetStringMacro(InputNormalsSelection);
295 return "ScaleByScalar";
299 return "ScaleByVector";
303 return "DataScalingOff";
314 return "ColorByScalar";
318 return "ColorByVector";
322 return "ColorByScale";
341 return "VectorRotationOff";
352 return "IndexingOff";
356 return "IndexingByScalar";
360 return "IndexingByVector";
void SetSourceData(vtkPolyData *pd)
void SetColorModeToColorByScale()
void SetVectorModeToVectorRotationOff()
#define VTK_INDEXING_BY_VECTOR
virtual int FillInputPortInformation(int port, vtkInformation *info)
char * InputScalarsSelection
char * InputVectorsSelection
void SetScaleModeToScaleByScalar()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SelectInputNormals(const char *fieldName)
void SetScaleModeToScaleByVector()
void SetColorModeToColorByVector()
#define VTKFILTERSGENERIC_EXPORT
const char * GetVectorModeAsString()
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_VECTOR_ROTATION_OFF
#define VTK_COLOR_BY_VECTOR
void SelectInputVectors(const char *fieldName)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
const char * GetColorModeAsString()
copy oriented and scaled glyph geometry to every input point
void SelectInputScalars(const char *fieldName)
Superclass for algorithms that produce only polydata as output.
#define VTK_SCALE_BY_SCALAR
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_SCALE_BY_VECTORCOMPONENTS
void SetVectorModeToUseVector()
#define VTK_COLOR_BY_SCALAR
const char * GetIndexModeAsString()
void SetVectorModeToUseNormal()
void SetScaleModeToDataScalingOff()
#define VTK_INDEXING_BY_SCALAR
#define VTK_DATA_SCALING_OFF
void SetColorModeToColorByScalar()
void SetScaleModeToScaleByVectorComponents()
const char * GetScaleModeAsString()
#define VTK_SCALE_BY_VECTOR
void SetIndexModeToVector()
#define VTK_COLOR_BY_SCALE
char * InputNormalsSelection
void SetIndexModeToScalar()