36 #ifndef __vtkMarkupsGlyphSource2D_h 37 #define __vtkMarkupsGlyphSource2D_h 39 #include "vtkSlicerMarkupsModuleVTKWidgetsExport.h" 44 #include "vtkGlyphSource2D.h" 45 #include "vtkPolyDataAlgorithm.h" 48 class vtkUnsignedCharArray;
55 void PrintSelf(ostream& os, vtkIndent indent)
override;
62 vtkSetVector3Macro(Center,
double);
63 vtkGetVectorMacro(Center,
double,3);
67 vtkSetClampMacro(Scale,
double,0.0,VTK_DOUBLE_MAX);
68 vtkGetMacro(Scale,
double);
72 vtkSetClampMacro(Scale2,
double,0.0,VTK_DOUBLE_MAX);
73 vtkGetMacro(Scale2,
double);
76 vtkSetVector3Macro(Color,
double);
77 vtkGetVectorMacro(Color,
double,3);
82 vtkSetMacro(Filled,
int);
83 vtkGetMacro(Filled,
int);
84 vtkBooleanMacro(Filled,
int);
89 vtkSetMacro(Dash,
int);
90 vtkGetMacro(Dash,
int);
91 vtkBooleanMacro(Dash,
int);
96 vtkSetMacro(Cross,
int);
97 vtkGetMacro(Cross,
int);
98 vtkBooleanMacro(Cross,
int);
103 vtkSetMacro(RotationAngle,
double);
104 vtkGetMacro(RotationAngle,
double);
107 vtkSetClampMacro(GlyphType,
int, GlyphNone, GlyphType_Last-1);
108 vtkGetMacro(GlyphType,
int);
124 void SetNextGlyphType();
149 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
161 void TransformGlyph(vtkPoints *pts);
163 unsigned char RGB[3];
165 void CreateVertex(vtkPoints *pts, vtkCellArray *verts,
166 vtkUnsignedCharArray *colors);
167 void CreateDash(vtkPoints *pts, vtkCellArray *lines,
168 vtkCellArray *polys, vtkUnsignedCharArray *colors,
double scale = 1.0);
169 void CreateCross(vtkPoints *pts, vtkCellArray *lines,
170 vtkCellArray *polys, vtkUnsignedCharArray *colors,
double scale = 1.0,
bool dot=
false);
171 void CreateThickCross(vtkPoints *pts, vtkCellArray *lines,
172 vtkCellArray *polys, vtkUnsignedCharArray *colors);
173 void CreateTriangle(vtkPoints *pts, vtkCellArray *lines,
174 vtkCellArray *polys, vtkUnsignedCharArray *colors);
175 void CreateSquare(vtkPoints *pts, vtkCellArray *lines,
176 vtkCellArray *polys, vtkUnsignedCharArray *colors);
177 void CreateCircle(vtkPoints *pts, vtkCellArray *lines,
178 vtkCellArray *polys, vtkUnsignedCharArray *colors);
179 void CreateDiamond(vtkPoints *pts, vtkCellArray *lines,
180 vtkCellArray *polys, vtkUnsignedCharArray *colors);
181 void CreateArrow(vtkPoints *pts, vtkCellArray *lines,
182 vtkCellArray *polys, vtkUnsignedCharArray *colors);
183 void CreateThickArrow(vtkPoints *pts, vtkCellArray *lines,
184 vtkCellArray *polys, vtkUnsignedCharArray *colors);
185 void CreateHookedArrow(vtkPoints *pts, vtkCellArray *lines,
186 vtkCellArray *polys, vtkUnsignedCharArray *colors);
187 void CreateStarBurst(vtkPoints *pts, vtkCellArray *lines,
188 vtkCellArray *polys, vtkUnsignedCharArray *colors);
void SetGlyphTypeToCross()
void SetGlyphTypeToCircle()
void SetGlyphTypeToVertex()
void SetGlyphTypeToArrow()
void SetGlyphTypeToThickArrow()
void SetGlyphTypeToCrossDot()
void SetGlyphTypeToDiamond()
void SetGlyphTypeToNone()
void SetGlyphTypeToSquare()
void SetGlyphTypeToHookedArrow()
void SetGlyphTypeToTriangle()
void SetGlyphTypeToStarBurst()
void SetGlyphTypeToDash()
void SetGlyphTypeToThickCross()