vtkArrowSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkArrowSource_h
00041 #define __vtkArrowSource_h
00042
00043 #include "vtkPolyDataSource.h"
00044
00045 class VTK_GRAPHICS_EXPORT vtkArrowSource : public vtkPolyDataSource
00046 {
00047 public:
00049 static vtkArrowSource *New();
00050
00051 vtkTypeRevisionMacro(vtkArrowSource,vtkPolyDataSource);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00055
00056 vtkSetClampMacro(TipLength,double,0.0,1.0);
00057 vtkGetMacro(TipLength,double);
00058 vtkSetClampMacro(TipRadius,double,0.0,10.0);
00059 vtkGetMacro(TipRadius,double);
00061
00063
00065 vtkSetClampMacro(TipResolution,int,1,128);
00066 vtkGetMacro(TipResolution,int);
00068
00070
00071 vtkSetClampMacro(ShaftRadius,double,0.0,5.0);
00072 vtkGetMacro(ShaftRadius,double);
00074
00076
00078 vtkSetClampMacro(ShaftResolution,int,0,128);
00079 vtkGetMacro(ShaftResolution,int);
00081
00082 protected:
00083 vtkArrowSource();
00084 ~vtkArrowSource() {};
00085
00086 void Execute();
00087
00088 int TipResolution;
00089 double TipLength;
00090 double TipRadius;
00091
00092 int ShaftResolution;
00093 double ShaftRadius;
00094
00095 private:
00096 vtkArrowSource(const vtkArrowSource&);
00097 void operator=(const vtkArrowSource&);
00098 };
00099
00100 #endif
00101
00102