85 #ifndef __vtkGlyph3D_h
86 #define __vtkGlyph3D_h
91 #define VTK_SCALE_BY_SCALAR 0
92 #define VTK_SCALE_BY_VECTOR 1
93 #define VTK_SCALE_BY_VECTORCOMPONENTS 2
94 #define VTK_DATA_SCALING_OFF 3
96 #define VTK_COLOR_BY_SCALE 0
97 #define VTK_COLOR_BY_SCALAR 1
98 #define VTK_COLOR_BY_VECTOR 2
100 #define VTK_USE_VECTOR 0
101 #define VTK_USE_NORMAL 1
102 #define VTK_VECTOR_ROTATION_OFF 2
104 #define VTK_INDEXING_OFF 0
105 #define VTK_INDEXING_BY_SCALAR 1
106 #define VTK_INDEXING_BY_VECTOR 2
137 this->SetSourceConnection(0, algOutput);
146 vtkSetMacro(Scaling,
int);
147 vtkBooleanMacro(Scaling,
int);
148 vtkGetMacro(Scaling,
int);
153 vtkSetMacro(ScaleMode,
int);
154 vtkGetMacro(ScaleMode,
int);
163 const char *GetScaleModeAsString();
168 vtkSetMacro(ColorMode,
int);
169 vtkGetMacro(ColorMode,
int);
176 const char *GetColorModeAsString();
181 vtkSetMacro(ScaleFactor,
double);
182 vtkGetMacro(ScaleFactor,
double);
187 vtkSetVector2Macro(Range,
double);
188 vtkGetVectorMacro(Range,
double,2);
193 vtkSetMacro(Orient,
int);
194 vtkBooleanMacro(Orient,
int);
195 vtkGetMacro(Orient,
int);
201 vtkSetMacro(Clamping,
int);
202 vtkBooleanMacro(Clamping,
int);
203 vtkGetMacro(Clamping,
int);
208 vtkSetMacro(VectorMode,
int);
209 vtkGetMacro(VectorMode,
int);
214 const char *GetVectorModeAsString();
224 vtkSetMacro(IndexMode,
int);
225 vtkGetMacro(IndexMode,
int);
229 const char *GetIndexModeAsString();
237 vtkSetMacro(GeneratePointIds,
int);
238 vtkGetMacro(GeneratePointIds,
int);
239 vtkBooleanMacro(GeneratePointIds,
int);
246 vtkSetStringMacro(PointIdsName);
247 vtkGetStringMacro(PointIdsName);
254 vtkSetMacro(FillCellData,
int);
255 vtkGetMacro(FillCellData,
int);
256 vtkBooleanMacro(FillCellData,
int);
310 return "ScaleByScalar";
314 return "ScaleByVector";
318 return "DataScalingOff";
329 return "ColorByScalar";
333 return "ColorByVector";
337 return "ColorByScale";
356 return "VectorRotationOff";
367 return "IndexingOff";
371 return "IndexingByScalar";
375 return "IndexingByVector";
void SetScaleModeToScaleByVectorComponents()
const char * GetIndexModeAsString()
void SetSourceData(vtkPolyData *pd)
void SetScaleModeToScaleByVector()
virtual int FillInputPortInformation(int port, vtkInformation *info)
void SetColorModeToColorByScale()
void SetIndexModeToVector()
vtkTransform * SourceTransform
#define VTK_SCALE_BY_VECTORCOMPONENTS
abstract class to specify dataset behavior
void SetScaleModeToScaleByScalar()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
const char * GetColorModeAsString()
#define VTK_COLOR_BY_VECTOR
#define VTK_SCALE_BY_SCALAR
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_SCALE_BY_VECTOR
void SetColorModeToColorByVector()
Proxy object to connect input/output ports.
#define VTK_COLOR_BY_SCALAR
#define VTK_DATA_SCALING_OFF
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Superclass for algorithms that produce only polydata as output.
#define VTK_INDEXING_BY_SCALAR
void SetIndexModeToScalar()
virtual unsigned long GetMTime()
a simple class to control print indentation
void SetColorModeToColorByScalar()
void SetVectorModeToUseNormal()
copy oriented and scaled glyph geometry to every input point
void SetVectorModeToVectorRotationOff()
void SetScaleModeToDataScalingOff()
#define VTK_VECTOR_ROTATION_OFF
const char * GetVectorModeAsString()
const char * GetScaleModeAsString()
virtual int IsPointVisible(vtkDataSet *, vtkIdType)
#define VTK_COLOR_BY_SCALE
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
#define VTK_INDEXING_BY_VECTOR
void SetVectorModeToUseVector()