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