30 #ifndef vtkGlyphSource2D_h
31 #define vtkGlyphSource2D_h
33 #include "vtkFiltersSourcesModule.h"
36 #define VTK_NO_GLYPH 0
37 #define VTK_VERTEX_GLYPH 1
38 #define VTK_DASH_GLYPH 2
39 #define VTK_CROSS_GLYPH 3
40 #define VTK_THICKCROSS_GLYPH 4
41 #define VTK_TRIANGLE_GLYPH 5
42 #define VTK_SQUARE_GLYPH 6
43 #define VTK_CIRCLE_GLYPH 7
44 #define VTK_DIAMOND_GLYPH 8
45 #define VTK_ARROW_GLYPH 9
46 #define VTK_THICKARROW_GLYPH 10
47 #define VTK_HOOKEDARROW_GLYPH 11
48 #define VTK_EDGEARROW_GLYPH 12
50 #define VTK_MAX_CIRCLE_RESOLUTION 1024
72 vtkSetVector3Macro(Center,
double);
73 vtkGetVectorMacro(Center,
double, 3);
82 vtkGetMacro(Scale,
double);
91 vtkGetMacro(Scale2,
double);
98 vtkSetVector3Macro(
Color,
double);
99 vtkGetVectorMacro(
Color,
double, 3);
141 vtkSetMacro(RotationAngle,
double);
142 vtkGetMacro(RotationAngle,
double);
150 vtkGetMacro(Resolution,
int);
158 vtkGetMacro(GlyphType,
int);
180 vtkSetMacro(OutputPointsPrecision,
int);
181 vtkGetMacro(OutputPointsPrecision,
int);
204 unsigned char RGB[3];
object to represent cell connectivity
create 2D glyphs represented by vtkPolyData
void SetGlyphTypeToArrow()
void CreateThickArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToSquare()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetGlyphTypeToTriangle()
void SetGlyphTypeToCross()
void SetGlyphTypeToThickArrow()
void SetGlyphTypeToEdgeArrow()
void CreateCross(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale)
void CreateThickCross(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
static vtkGlyphSource2D * New()
Construct a vertex glyph centered at the origin, scale 1.0, white in color, filled,...
void CreateDiamond(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void TransformGlyph(vtkPoints *pts)
void SetGlyphTypeToNone()
int OutputPointsPrecision
void CreateCircle(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
~vtkGlyphSource2D() override
void CreateTriangle(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToCircle()
void SetGlyphTypeToHookedArrow()
void CreateEdgeArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateVertex(vtkPoints *pts, vtkCellArray *verts, vtkUnsignedCharArray *colors)
void CreateArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToDash()
void SetGlyphTypeToDiamond()
void CreateHookedArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToThickCross()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void CreateDash(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale)
void CreateSquare(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToVertex()
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
dynamic, self-adjusting array of unsigned char
#define VTK_DIAMOND_GLYPH
#define VTK_TRIANGLE_GLYPH
#define VTK_MAX_CIRCLE_RESOLUTION
#define VTK_THICKCROSS_GLYPH
#define VTK_HOOKEDARROW_GLYPH
#define VTK_EDGEARROW_GLYPH
#define VTK_THICKARROW_GLYPH