35 #ifndef __vtkGlyphSource2D_h
36 #define __vtkGlyphSource2D_h
38 #include "vtkFiltersSourcesModule.h"
41 #define VTK_NO_GLYPH 0
42 #define VTK_VERTEX_GLYPH 1
43 #define VTK_DASH_GLYPH 2
44 #define VTK_CROSS_GLYPH 3
45 #define VTK_THICKCROSS_GLYPH 4
46 #define VTK_TRIANGLE_GLYPH 5
47 #define VTK_SQUARE_GLYPH 6
48 #define VTK_CIRCLE_GLYPH 7
49 #define VTK_DIAMOND_GLYPH 8
50 #define VTK_ARROW_GLYPH 9
51 #define VTK_THICKARROW_GLYPH 10
52 #define VTK_HOOKEDARROW_GLYPH 11
53 #define VTK_EDGEARROW_GLYPH 12
56 class vtkUnsignedCharArray;
63 void PrintSelf(ostream& os, vtkIndent indent);
71 vtkSetVector3Macro(Center,
double);
72 vtkGetVectorMacro(Center,
double,3);
78 vtkSetClampMacro(Scale,
double,0.0,VTK_DOUBLE_MAX);
79 vtkGetMacro(Scale,
double);
85 vtkSetClampMacro(Scale2,
double,0.0,VTK_DOUBLE_MAX);
86 vtkGetMacro(Scale2,
double);
91 vtkSetVector3Macro(Color,
double);
92 vtkGetVectorMacro(Color,
double,3);
99 vtkSetMacro(Filled,
int);
100 vtkGetMacro(Filled,
int);
101 vtkBooleanMacro(Filled,
int);
108 vtkSetMacro(Dash,
int);
109 vtkGetMacro(Dash,
int);
110 vtkBooleanMacro(Dash,
int);
117 vtkSetMacro(Cross,
int);
118 vtkGetMacro(Cross,
int);
119 vtkBooleanMacro(Cross,
int);
126 vtkSetMacro(RotationAngle,
double);
127 vtkGetMacro(RotationAngle,
double);
133 vtkGetMacro(GlyphType,
int);
153 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
165 void TransformGlyph(vtkPoints *pts);
167 unsigned char RGB[3];
170 vtkUnsignedCharArray *colors);
172 vtkCellArray *polys, vtkUnsignedCharArray *colors,
double scale);
174 vtkCellArray *polys, vtkUnsignedCharArray *colors,
double scale);
175 void CreateThickCross(vtkPoints *pts,
vtkCellArray *lines,
177 void CreateTriangle(vtkPoints *pts,
vtkCellArray *lines,
187 void CreateThickArrow(vtkPoints *pts,
vtkCellArray *lines,
189 void CreateHookedArrow(vtkPoints *pts,
vtkCellArray *lines,
191 void CreateEdgeArrow(vtkPoints *pts,
vtkCellArray *lines,
#define VTK_HOOKEDARROW_GLYPH
#define VTK_EDGEARROW_GLYPH
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetGlyphTypeToVertex()
void SetGlyphTypeToDash()
#define VTK_THICKCROSS_GLYPH
void SetGlyphTypeToThickCross()
void SetGlyphTypeToCircle()
void SetGlyphTypeToTriangle()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
void SetGlyphTypeToNone()
void SetGlyphTypeToHookedArrow()
#define VTK_DIAMOND_GLYPH
void SetGlyphTypeToCross()
void SetGlyphTypeToEdgeArrow()
void SetGlyphTypeToSquare()
object to represent cell connectivity
#define VTK_TRIANGLE_GLYPH
create 2D glyphs represented by vtkPolyData
void SetGlyphTypeToDiamond()
void SetGlyphTypeToThickArrow()
#define VTK_THICKARROW_GLYPH
void SetGlyphTypeToArrow()