Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkLineSource.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 __vtkLineSource_h
00044 #define __vtkLineSource_h
00045
00046 #include "vtkPolyDataSource.h"
00047
00048 class VTK_GRAPHICS_EXPORT vtkLineSource : public vtkPolyDataSource
00049 {
00050 public:
00051 static vtkLineSource *New();
00052 vtkTypeRevisionMacro(vtkLineSource,vtkPolyDataSource);
00053 void PrintSelf(ostream& os, vtkIndent indent);
00054
00056
00057 vtkSetVector3Macro(Point1,float);
00058 vtkGetVectorMacro(Point1,float,3);
00060
00062
00063 vtkSetVector3Macro(Point2,float);
00064 vtkGetVectorMacro(Point2,float,3);
00066
00068
00069 vtkSetClampMacro(Resolution,int,1,VTK_LARGE_INTEGER);
00070 vtkGetMacro(Resolution,int);
00072
00073 protected:
00074 vtkLineSource(int res=1);
00075 ~vtkLineSource() {};
00076
00077 void Execute();
00078 float Point1[3];
00079 float Point2[3];
00080 int Resolution;
00081 private:
00082 vtkLineSource(const vtkLineSource&);
00083 void operator=(const vtkLineSource&);
00084 };
00085
00086 #endif
00087
00088