Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Classes | Macros
vtkAnnotationGlyphSource2D.h File Reference
#include "vtkSlicerAnnotationsModuleVTKWidgetsExport.h"
#include <vtkGlyphSource2D.h>
#include <vtkPolyDataAlgorithm.h>
Include dependency graph for vtkAnnotationGlyphSource2D.h:

Go to the source code of this file.

Classes

class  vtkAnnotationGlyphSource2D
 

Macros

#define VTK_STARBURST_GLYPH   12
 when add new glyph types, make sure to increase the clamp More...
 

Macro Definition Documentation

◆ VTK_STARBURST_GLYPH

#define VTK_STARBURST_GLYPH   12

when add new glyph types, make sure to increase the clamp

vtkAnnotationGlyphSource2D - copies and extends vtkGlyphSource2D to provide Slicer glyphs represented by poly data

vtkAnnotationGlyphSource2D can generate a family of 2D glyphs each of which lies in the x-y plane (i.e., the z-coordinate is zero). The class is a helper class to be used with vtkGlyph2D and vtkXYPlotActor. To use this class, specify the glyph type to use and its attributes. Attributes include its position (i.e., center point), scale, color, and whether the symbol is filled or not (a polygon or closed line sequence). You can also put a short line through the glyph running from -x to +x (the glyph looks like it's on a line), or a cross.

Definition at line 53 of file vtkAnnotationGlyphSource2D.h.