00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00028 #ifndef __vtkArrowSource_h
00029 #define __vtkArrowSource_h
00030
00031 #include "vtkPolyDataAlgorithm.h"
00032
00033 class VTK_GRAPHICS_EXPORT vtkArrowSource : public vtkPolyDataAlgorithm
00034 {
00035 public:
00037 static vtkArrowSource *New();
00038
00039 vtkTypeRevisionMacro(vtkArrowSource,vtkPolyDataAlgorithm);
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043
00044 vtkSetClampMacro(TipLength,double,0.0,1.0);
00045 vtkGetMacro(TipLength,double);
00046 vtkSetClampMacro(TipRadius,double,0.0,10.0);
00047 vtkGetMacro(TipRadius,double);
00049
00051
00053 vtkSetClampMacro(TipResolution,int,1,128);
00054 vtkGetMacro(TipResolution,int);
00056
00058
00059 vtkSetClampMacro(ShaftRadius,double,0.0,5.0);
00060 vtkGetMacro(ShaftRadius,double);
00062
00064
00066 vtkSetClampMacro(ShaftResolution,int,0,128);
00067 vtkGetMacro(ShaftResolution,int);
00069
00070 protected:
00071 vtkArrowSource();
00072 ~vtkArrowSource() {};
00073
00074 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00075
00076 int TipResolution;
00077 double TipLength;
00078 double TipRadius;
00079
00080 int ShaftResolution;
00081 double ShaftRadius;
00082
00083 private:
00084 vtkArrowSource(const vtkArrowSource&);
00085 void operator=(const vtkArrowSource&);
00086 };
00087
00088 #endif
00089
00090