 |
VTK
9.1.0
|
Go to the documentation of this file.
49 #ifndef vtkGlyphSource2D_h
50 #define vtkGlyphSource2D_h
52 #include "vtkFiltersSourcesModule.h"
55 #define VTK_NO_GLYPH 0
56 #define VTK_VERTEX_GLYPH 1
57 #define VTK_DASH_GLYPH 2
58 #define VTK_CROSS_GLYPH 3
59 #define VTK_THICKCROSS_GLYPH 4
60 #define VTK_TRIANGLE_GLYPH 5
61 #define VTK_SQUARE_GLYPH 6
62 #define VTK_CIRCLE_GLYPH 7
63 #define VTK_DIAMOND_GLYPH 8
64 #define VTK_ARROW_GLYPH 9
65 #define VTK_THICKARROW_GLYPH 10
66 #define VTK_HOOKEDARROW_GLYPH 11
67 #define VTK_EDGEARROW_GLYPH 12
69 #define VTK_MAX_CIRCLE_RESOLUTION 1024
91 vtkSetVector3Macro(Center,
double);
92 vtkGetVectorMacro(Center,
double, 3);
101 vtkGetMacro(Scale,
double);
110 vtkGetMacro(Scale2,
double);
118 vtkGetVectorMacro(
Color,
double, 3);
160 vtkSetMacro(RotationAngle,
double);
161 vtkGetMacro(RotationAngle,
double);
169 vtkGetMacro(Resolution,
int);
177 vtkGetMacro(GlyphType,
int);
199 vtkSetMacro(OutputPointsPrecision,
int);
200 vtkGetMacro(OutputPointsPrecision,
int);
223 unsigned char RGB[3];
represent and manipulate 3D points
create 2D glyphs represented by vtkPolyData
void SetGlyphTypeToDiamond()
Specify the type of glyph to generate.
void CreateEdgeArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
#define VTK_DIAMOND_GLYPH
void SetGlyphTypeToThickCross()
Specify the type of glyph to generate.
dynamic, self-adjusting array of unsigned char
void CreateTriangle(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToVertex()
Specify the type of glyph to generate.
void TransformGlyph(vtkPoints *pts)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void CreateDash(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale)
#define VTK_TRIANGLE_GLYPH
#define VTK_THICKARROW_GLYPH
void CreateCross(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale)
void SetGlyphTypeToTriangle()
Specify the type of glyph to generate.
void SetGlyphTypeToNone()
Specify the type of glyph to generate.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetGlyphTypeToThickArrow()
Specify the type of glyph to generate.
int OutputPointsPrecision
a simple class to control print indentation
object to represent cell connectivity
void CreateThickArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
~vtkGlyphSource2D() override=default
#define VTK_EDGEARROW_GLYPH
void SetGlyphTypeToSquare()
Specify the type of glyph to generate.
void SetGlyphTypeToCross()
Specify the type of glyph to generate.
void SetGlyphTypeToArrow()
Specify the type of glyph to generate.
static vtkGlyphSource2D * New()
Construct a vertex glyph centered at the origin, scale 1.0, white in color, filled,...
#define VTK_THICKCROSS_GLYPH
#define VTK_HOOKEDARROW_GLYPH
void SetGlyphTypeToHookedArrow()
Specify the type of glyph to generate.
void SetGlyphTypeToEdgeArrow()
Specify the type of glyph to generate.
void SetGlyphTypeToCircle()
Specify the type of glyph to generate.
void CreateThickCross(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToDash()
Specify the type of glyph to generate.
void CreateHookedArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateDiamond(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
#define VTK_MAX_CIRCLE_RESOLUTION
void CreateSquare(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateCircle(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateVertex(vtkPoints *pts, vtkCellArray *verts, vtkUnsignedCharArray *colors)
Superclass for algorithms that produce only polydata as output.