26 #ifndef vtkGlyphSource2D_h
27 #define vtkGlyphSource2D_h
29 #include "vtkFiltersSourcesModule.h"
33 #define VTK_NO_GLYPH 0
34 #define VTK_VERTEX_GLYPH 1
35 #define VTK_DASH_GLYPH 2
36 #define VTK_CROSS_GLYPH 3
37 #define VTK_THICKCROSS_GLYPH 4
38 #define VTK_TRIANGLE_GLYPH 5
39 #define VTK_SQUARE_GLYPH 6
40 #define VTK_CIRCLE_GLYPH 7
41 #define VTK_DIAMOND_GLYPH 8
42 #define VTK_ARROW_GLYPH 9
43 #define VTK_THICKARROW_GLYPH 10
44 #define VTK_HOOKEDARROW_GLYPH 11
45 #define VTK_EDGEARROW_GLYPH 12
47 #define VTK_MAX_CIRCLE_RESOLUTION 1024
49 VTK_ABI_NAMESPACE_BEGIN
70 vtkSetVector3Macro(Center,
double);
71 vtkGetVectorMacro(Center,
double, 3);
80 vtkGetMacro(Scale,
double);
89 vtkGetMacro(Scale2,
double);
96 vtkSetVector3Macro(
Color,
double);
97 vtkGetVectorMacro(
Color,
double, 3);
139 vtkSetMacro(RotationAngle,
double);
140 vtkGetMacro(RotationAngle,
double);
148 vtkGetMacro(Resolution,
int);
156 vtkGetMacro(GlyphType,
int);
178 vtkSetMacro(OutputPointsPrecision,
int);
179 vtkGetMacro(OutputPointsPrecision,
int);
188 vtkSetClampMacro(TipLength,
double, 0.0, 1.0);
189 vtkGetMacro(TipLength,
double);
198 vtkSetMacro(DoublePointed,
bool);
199 vtkGetMacro(DoublePointed,
bool);
200 vtkBooleanMacro(DoublePointed,
bool);
209 vtkSetMacro(PointInwards,
bool);
210 vtkGetMacro(PointInwards,
bool);
211 vtkBooleanMacro(PointInwards,
bool);
220 double Center[3] = { 0.0, 0.0, 0.0 };
223 double Color[3] = { 1.0, 1.0, 1.0 };
228 double RotationAngle = 0.0;
231 double TipLength = 0.3;
232 bool DoublePointed =
false;
233 bool PointInwards =
false;
237 unsigned char RGB[3];
244 void CreateThickCross(
256 void CreateThickArrow(
258 void CreateHookedArrow(
260 void CreateEdgeArrow(
268 VTK_ABI_NAMESPACE_END
#define VTK_HOOKEDARROW_GLYPH
#define VTK_EDGEARROW_GLYPH
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetGlyphTypeToVertex()
Specify the type of glyph to generate.
void SetGlyphTypeToDash()
Specify the type of glyph to generate.
#define VTK_MAX_CIRCLE_RESOLUTION
#define VTK_THICKCROSS_GLYPH
void SetGlyphTypeToThickCross()
Specify the type of glyph to generate.
void SetGlyphTypeToCircle()
Specify the type of glyph to generate.
void SetGlyphTypeToTriangle()
Specify the type of glyph to generate.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
void SetGlyphTypeToNone()
Specify the type of glyph to generate.
void SetGlyphTypeToHookedArrow()
Specify the type of glyph to generate.
a simple class to control print indentation
#define VTK_DIAMOND_GLYPH
void SetGlyphTypeToCross()
Specify the type of glyph to generate.
void SetGlyphTypeToEdgeArrow()
Specify the type of glyph to generate.
dynamic, self-adjusting array of unsigned char
void SetGlyphTypeToSquare()
Specify the type of glyph to generate.
object to represent cell connectivity
#define VTK_TRIANGLE_GLYPH
create 2D glyphs represented by vtkPolyData
void SetGlyphTypeToDiamond()
Specify the type of glyph to generate.
void SetGlyphTypeToThickArrow()
Specify the type of glyph to generate.
#define VTK_THICKARROW_GLYPH
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetGlyphTypeToArrow()
Specify the type of glyph to generate.