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

Go to the source code of this file.

Classes

class  vtkSlicerGlyphSource2D
 

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

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

vtkSlicerGlyphSource2D 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 46 of file vtkSlicerGlyphSource2D.h.