43 #ifndef __vtkPolyDataPointSampler_h
44 #define __vtkPolyDataPointSampler_h
46 #include "vtkFiltersModelingModule.h"
47 #include "vtkPolyDataAlgorithm.h"
58 void PrintSelf(ostream& os, vtkIndent indent);
64 vtkSetClampMacro(Distance,
double,0.0,VTK_FLOAT_MAX);
65 vtkGetMacro(Distance,
double);
71 vtkGetMacro(GenerateVertexPoints,
int);
72 vtkSetMacro(GenerateVertexPoints,
int);
73 vtkBooleanMacro(GenerateVertexPoints,
int);
79 vtkGetMacro(GenerateEdgePoints,
int);
80 vtkSetMacro(GenerateEdgePoints,
int);
81 vtkBooleanMacro(GenerateEdgePoints,
int);
87 vtkGetMacro(GenerateInteriorPoints,
int);
88 vtkSetMacro(GenerateInteriorPoints,
int);
89 vtkBooleanMacro(GenerateInteriorPoints,
int);
98 vtkGetMacro(GenerateVertices,
int);
99 vtkSetMacro(GenerateVertices,
int);
100 vtkBooleanMacro(GenerateVertices,
int);
107 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
117 void SampleEdge(vtkPoints *pts,
double x0[3],
double x1[3]);
118 void SampleTriangle(vtkPoints *newPts, vtkPoints *inPts,
120 void SamplePolygon(vtkPoints *newPts, vtkPoints *inPts,
121 vtkIdType npts, vtkIdType *pts);
~vtkPolyDataPointSampler()
generate points from vtkPolyData
int GenerateInteriorPoints