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;
63 vtkGetVectorMacro(
Center,
double, 3);
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);
91 vtkBooleanMacro(
Dash,
int);
149 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)
override;
165 void CreateVertex(vtkPoints* pts, vtkCellArray* verts, vtkUnsignedCharArray* colors);
166 void CreateDash(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors,
double scale = 1.0);
167 void CreateCross(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors,
double scale = 1.0,
bool dot =
false);
168 void CreateThickCross(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
169 void CreateTriangle(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
170 void CreateSquare(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
171 void CreateCircle(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
172 void CreateDiamond(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
173 void CreateArrow(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
174 void CreateThickArrow(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
175 void CreateHookedArrow(vtkPoints* pts, vtkCellArray* lines, vtkCellArray* polys, vtkUnsignedCharArray* colors);
176 void CreateStarBurst(vtkPoints* pts, vtkCellArray* lines, 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