36#ifndef __vtkMarkupsGlyphSource2D_h
37#define __vtkMarkupsGlyphSource2D_h
39#include "vtkSlicerMarkupsModuleVTKWidgetsExport.h"
44#include "vtkGlyphSource2D.h"
45#include "vtkPolyDataAlgorithm.h"
48class vtkUnsignedCharArray;
55 void PrintSelf(ostream& os, vtkIndent indent)
override;
67 vtkSetClampMacro(
Scale,
double,0.0,VTK_DOUBLE_MAX);
72 vtkSetClampMacro(
Scale2,
double,0.0,VTK_DOUBLE_MAX);
76 vtkSetVector3Macro(
Color,
double);
77 vtkGetVectorMacro(
Color,
double,3);
149 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
166 vtkUnsignedCharArray *colors);
168 vtkCellArray *polys, vtkUnsignedCharArray *colors,
double scale = 1.0);
170 vtkCellArray *polys, vtkUnsignedCharArray *colors,
double scale = 1.0,
bool dot=
false);
172 vtkCellArray *polys, vtkUnsignedCharArray *colors);
174 vtkCellArray *polys, vtkUnsignedCharArray *colors);
176 vtkCellArray *polys, vtkUnsignedCharArray *colors);
178 vtkCellArray *polys, vtkUnsignedCharArray *colors);
180 vtkCellArray *polys, vtkUnsignedCharArray *colors);
182 vtkCellArray *polys, vtkUnsignedCharArray *colors);
184 vtkCellArray *polys, vtkUnsignedCharArray *colors);
186 vtkCellArray *polys, vtkUnsignedCharArray *colors);
188 vtkCellArray *polys, vtkUnsignedCharArray *colors);
void SetGlyphTypeToStarBurst()
void CreateDash(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale=1.0)
void SetGlyphTypeToTriangle()
virtual void SetGlyphType(int)
Specify the type of glyph to generate.
vtkMarkupsGlyphSource2D()
void CreateTriangle(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetGlyphTypeToCrossDot()
void CreateThickArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToThickArrow()
void CreateHookedArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateArrow(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToSquare()
static vtkMarkupsGlyphSource2D * New()
void CreateSquare(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateThickCross(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateStarBurst(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void CreateCross(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale=1.0, bool dot=false)
void CreateCircle(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToVertex()
void SetGlyphTypeToThickCross()
void SetGlyphTypeToCircle()
void SetGlyphTypeToNone()
void SetGlyphTypeToArrow()
void CreateVertex(vtkPoints *pts, vtkCellArray *verts, vtkUnsignedCharArray *colors)
void SetGlyphTypeToDash()
void SetGlyphTypeToHookedArrow()
void SetGlyphTypeToDiamond()
void CreateDiamond(vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors)
void SetGlyphTypeToCross()
void TransformGlyph(vtkPoints *pts)
void PrintSelf(ostream &os, vtkIndent indent) override
~vtkMarkupsGlyphSource2D() override=default