00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00030 #ifndef __vtkMaskPoints_h
00031 #define __vtkMaskPoints_h
00032
00033 #include "vtkPolyDataAlgorithm.h"
00034
00035 class VTK_GRAPHICS_EXPORT vtkMaskPoints : public vtkPolyDataAlgorithm
00036 {
00037 public:
00038 static vtkMaskPoints *New();
00039 vtkTypeRevisionMacro(vtkMaskPoints,vtkPolyDataAlgorithm);
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043
00044 vtkSetClampMacro(OnRatio,int,1,VTK_LARGE_INTEGER);
00045 vtkGetMacro(OnRatio,int);
00047
00049
00050 vtkSetClampMacro(MaximumNumberOfPoints,vtkIdType,0,VTK_LARGE_ID);
00051 vtkGetMacro(MaximumNumberOfPoints,vtkIdType);
00053
00055
00056 vtkSetClampMacro(Offset,vtkIdType,0,VTK_LARGE_ID);
00057 vtkGetMacro(Offset,vtkIdType);
00059
00061
00063 vtkSetMacro(RandomMode,int);
00064 vtkGetMacro(RandomMode,int);
00065 vtkBooleanMacro(RandomMode,int);
00067
00069
00073 vtkSetMacro(GenerateVertices,int);
00074 vtkGetMacro(GenerateVertices,int);
00075 vtkBooleanMacro(GenerateVertices,int);
00077
00079
00082 vtkSetMacro(SingleVertexPerCell,int);
00083 vtkGetMacro(SingleVertexPerCell,int);
00084 vtkBooleanMacro(SingleVertexPerCell,int);
00086
00087 protected:
00088 vtkMaskPoints();
00089 ~vtkMaskPoints() {};
00090
00091 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00092 virtual int FillInputPortInformation(int port, vtkInformation *info);
00093
00094 int OnRatio;
00095 vtkIdType Offset;
00096 int RandomMode;
00097 vtkIdType MaximumNumberOfPoints;
00098 int GenerateVertices;
00099 int SingleVertexPerCell;
00100 private:
00101 vtkMaskPoints(const vtkMaskPoints&);
00102 void operator=(const vtkMaskPoints&);
00103 };
00104
00105 #endif