vtkLineSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkLineSource_h
00041 #define __vtkLineSource_h
00042
00043 #include "vtkPolyDataSource.h"
00044
00045 class VTK_GRAPHICS_EXPORT vtkLineSource : public vtkPolyDataSource
00046 {
00047 public:
00048 static vtkLineSource *New();
00049 vtkTypeRevisionMacro(vtkLineSource,vtkPolyDataSource);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00054 vtkSetVector3Macro(Point1,double);
00055 vtkGetVectorMacro(Point1,double,3);
00057
00059
00060 vtkSetVector3Macro(Point2,double);
00061 vtkGetVectorMacro(Point2,double,3);
00063
00065
00066 vtkSetClampMacro(Resolution,int,1,VTK_LARGE_INTEGER);
00067 vtkGetMacro(Resolution,int);
00069
00070 protected:
00071 vtkLineSource(int res=1);
00072 ~vtkLineSource() {};
00073
00074 void Execute();
00075 void ExecuteInformation();
00076 double Point1[3];
00077 double Point2[3];
00078 int Resolution;
00079 private:
00080 vtkLineSource(const vtkLineSource&);
00081 void operator=(const vtkLineSource&);
00082 };
00083
00084 #endif
00085
00086