Graphics/vtkMaskPoints.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00048 #ifndef __vtkMaskPoints_h
00049 #define __vtkMaskPoints_h
00050
00051 #include "vtkDataSetToPolyDataFilter.h"
00052
00053 class VTK_GRAPHICS_EXPORT vtkMaskPoints : public vtkDataSetToPolyDataFilter
00054 {
00055 public:
00056 static vtkMaskPoints *New();
00057 vtkTypeRevisionMacro(vtkMaskPoints,vtkDataSetToPolyDataFilter);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00061
00062 vtkSetClampMacro(OnRatio,int,1,VTK_LARGE_INTEGER);
00063 vtkGetMacro(OnRatio,int);
00065
00067
00068 vtkSetClampMacro(MaximumNumberOfPoints,vtkIdType,0,VTK_LARGE_ID);
00069 vtkGetMacro(MaximumNumberOfPoints,vtkIdType);
00071
00073
00074 vtkSetClampMacro(Offset,vtkIdType,0,VTK_LARGE_ID);
00075 vtkGetMacro(Offset,vtkIdType);
00077
00079
00081 vtkSetMacro(RandomMode,int);
00082 vtkGetMacro(RandomMode,int);
00083 vtkBooleanMacro(RandomMode,int);
00085
00087
00091 vtkSetMacro(GenerateVertices,int);
00092 vtkGetMacro(GenerateVertices,int);
00093 vtkBooleanMacro(GenerateVertices,int);
00095
00096 protected:
00097 vtkMaskPoints();
00098 ~vtkMaskPoints() {};
00099
00100 void Execute();
00101
00102 int OnRatio;
00103 vtkIdType Offset;
00104 int RandomMode;
00105 vtkIdType MaximumNumberOfPoints;
00106 int GenerateVertices;
00107 private:
00108 vtkMaskPoints(const vtkMaskPoints&);
00109 void operator=(const vtkMaskPoints&);
00110 };
00111
00112 #endif
00113
00114