dox/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
00037 #ifndef __vtkMaskPoints_h
00038 #define __vtkMaskPoints_h
00039
00040 #include "vtkDataSetToPolyDataFilter.h"
00041
00042 class VTK_GRAPHICS_EXPORT vtkMaskPoints : public vtkDataSetToPolyDataFilter
00043 {
00044 public:
00045 static vtkMaskPoints *New();
00046 vtkTypeRevisionMacro(vtkMaskPoints,vtkDataSetToPolyDataFilter);
00047 void PrintSelf(ostream& os, vtkIndent indent);
00048
00050
00051 vtkSetClampMacro(OnRatio,int,1,VTK_LARGE_INTEGER);
00052 vtkGetMacro(OnRatio,int);
00054
00056
00057 vtkSetClampMacro(MaximumNumberOfPoints,vtkIdType,0,VTK_LARGE_ID);
00058 vtkGetMacro(MaximumNumberOfPoints,vtkIdType);
00060
00062
00063 vtkSetClampMacro(Offset,vtkIdType,0,VTK_LARGE_ID);
00064 vtkGetMacro(Offset,vtkIdType);
00066
00068
00070 vtkSetMacro(RandomMode,int);
00071 vtkGetMacro(RandomMode,int);
00072 vtkBooleanMacro(RandomMode,int);
00074
00076
00080 vtkSetMacro(GenerateVertices,int);
00081 vtkGetMacro(GenerateVertices,int);
00082 vtkBooleanMacro(GenerateVertices,int);
00084
00085 protected:
00086 vtkMaskPoints();
00087 ~vtkMaskPoints() {};
00088
00089 void Execute();
00090
00091 int OnRatio;
00092 vtkIdType Offset;
00093 int RandomMode;
00094 vtkIdType MaximumNumberOfPoints;
00095 int GenerateVertices;
00096 private:
00097 vtkMaskPoints(const vtkMaskPoints&);
00098 void operator=(const vtkMaskPoints&);
00099 };
00100
00101 #endif
00102
00103