]> Creatis software - clitk.git/blob - vv/vvGlyphSource.h
removed headers
[clitk.git] / vv / vvGlyphSource.h
1 #ifndef __vvGlyphSource_h
2 #define __vvGlyphSource_h
3 #include "vtkGlyphSource2D.h"
4
5 #define VTK_SPECIFICARROW_GLYPH 13
6
7 class vvGlyphSource: public vtkGlyphSource2D
8 {
9 public:
10     static vvGlyphSource *New();
11     vtkTypeRevisionMacro(vvGlyphSource,vtkGlyphSource2D);
12     void PrintSelf(ostream& os, vtkIndent indent);
13
14     void SetGlyphTypeToSpecificArrow() {
15         this->SetGlyphType(VTK_SPECIFICARROW_GLYPH);
16     }
17
18     vtkSetClampMacro(GlyphType,int,VTK_NO_GLYPH,VTK_SPECIFICARROW_GLYPH);
19
20 protected:
21     void CreateSpecificArrow(vtkPoints *pts, vtkCellArray *lines,
22                              vtkCellArray *polys, vtkUnsignedCharArray *colors);
23
24     int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
25
26 private:
27
28
29 };
30 #endif