00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00033 #ifndef __vtkMaskPoints_h
00034 #define __vtkMaskPoints_h
00035
00036 #include "vtkPolyDataAlgorithm.h"
00037
00038 class VTK_GRAPHICS_EXPORT vtkMaskPoints : public vtkPolyDataAlgorithm
00039 {
00040 public:
00041 static vtkMaskPoints *New();
00042 vtkTypeMacro(vtkMaskPoints,vtkPolyDataAlgorithm);
00043 void PrintSelf(ostream& os, vtkIndent indent);
00044
00046
00047 vtkSetClampMacro(OnRatio,int,1,VTK_LARGE_INTEGER);
00048 vtkGetMacro(OnRatio,int);
00050
00052
00053 vtkSetClampMacro(MaximumNumberOfPoints,vtkIdType,0,VTK_LARGE_ID);
00054 vtkGetMacro(MaximumNumberOfPoints,vtkIdType);
00056
00058
00059 vtkSetClampMacro(Offset,vtkIdType,0,VTK_LARGE_ID);
00060 vtkGetMacro(Offset,vtkIdType);
00062
00064
00066 vtkSetMacro(RandomMode,int);
00067 vtkGetMacro(RandomMode,int);
00068 vtkBooleanMacro(RandomMode,int);
00070
00072
00076 vtkSetMacro(GenerateVertices,int);
00077 vtkGetMacro(GenerateVertices,int);
00078 vtkBooleanMacro(GenerateVertices,int);
00080
00082
00085 vtkSetMacro(SingleVertexPerCell,int);
00086 vtkGetMacro(SingleVertexPerCell,int);
00087 vtkBooleanMacro(SingleVertexPerCell,int);
00089
00090 protected:
00091 vtkMaskPoints();
00092 ~vtkMaskPoints() {};
00093
00094 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00095 virtual int FillInputPortInformation(int port, vtkInformation *info);
00096
00097 int OnRatio;
00098 vtkIdType Offset;
00099 int RandomMode;
00100 vtkIdType MaximumNumberOfPoints;
00101 int GenerateVertices;
00102 int SingleVertexPerCell;
00103 private:
00104 vtkMaskPoints(const vtkMaskPoints&);
00105 void operator=(const vtkMaskPoints&);
00106 };
00107
00108 #endif