]> Creatis software - clitk.git/blob - vv/vvGlyph2D.h
removed headers
[clitk.git] / vv / vvGlyph2D.h
1 #ifndef __vvGlyph2D_h
2 #define __vvGlyph2D_h
3 #include "vtkGlyph3D.h"
4
5 class vvGlyph2D : public vtkGlyph3D
6 {
7 public:
8     vtkTypeRevisionMacro(vvGlyph2D,vtkGlyph3D);
9     void PrintSelf(ostream& os, vtkIndent indent);
10
11     // Description
12     // Construct object with scaling on, scaling mode is by scalar value,
13     // scale factor = 1.0, the range is (0,1), orient geometry is on, and
14     // orientation is by vector. Clamping and indexing are turned off. No
15     // initial sources are defined.
16     void SetOrientation(int x,int y,int z);
17     static vvGlyph2D *New();
18
19     void SetUseLog(int log) {
20         mUseLog = log;
21     }
22     int GetUseLog() {
23         return mUseLog;
24     }
25
26 protected:
27     vvGlyph2D();
28     ~vvGlyph2D() {};
29
30     virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
31
32 private:
33     vvGlyph2D(const vvGlyph2D&);  // Not implemented.
34     void operator=(const vvGlyph2D&);  // Not implemented.
35     double mOrientation[3];
36     int mUseLog;
37 };
38
39 #endif