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);
162 const char *GetScaleModeAsString();
167 vtkSetMacro(ColorMode,
int);
168 vtkGetMacro(ColorMode,
int);
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);
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";
void SetScaleModeToScaleByVectorComponents()
const char * GetIndexModeAsString()
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)
const char * GetColorModeAsString()
#define VTK_COLOR_BY_VECTOR
#define VTK_SCALE_BY_SCALAR
void SetSource(vtkPolyData *pd)
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()