Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkArrowSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00043 #ifndef __vtkArrowSource_h
00044 #define __vtkArrowSource_h
00045
00046 #include "vtkPolyDataSource.h"
00047
00048 class VTK_GRAPHICS_EXPORT vtkArrowSource : public vtkPolyDataSource
00049 {
00050 public:
00052 static vtkArrowSource *New();
00053
00054 vtkTypeRevisionMacro(vtkArrowSource,vtkPolyDataSource);
00055 void PrintSelf(ostream& os, vtkIndent indent);
00056
00058
00059 vtkSetClampMacro(TipLength,float,0.0,1.0);
00060 vtkGetMacro(TipLength,float);
00061 vtkSetClampMacro(TipRadius,float,0.0,10.0);
00062 vtkGetMacro(TipRadius,float);
00064
00066
00068 vtkSetClampMacro(TipResolution,int,1,128);
00069 vtkGetMacro(TipResolution,int);
00071
00073
00074 vtkSetClampMacro(ShaftRadius,float,0.0,5.0);
00075 vtkGetMacro(ShaftRadius,float);
00077
00079
00081 vtkSetClampMacro(ShaftResolution,int,0,128);
00082 vtkGetMacro(ShaftResolution,int);
00084
00085 protected:
00086 vtkArrowSource();
00087 ~vtkArrowSource() {};
00088
00089 void Execute();
00090
00091 int TipResolution;
00092 float TipLength;
00093 float TipRadius;
00094
00095 int ShaftResolution;
00096 float ShaftRadius;
00097
00098 private:
00099 vtkArrowSource(const vtkArrowSource&);
00100 void operator=(const vtkArrowSource&);
00101 };
00102
00103 #endif
00104
00105