53 #ifndef vtkPolyDataPointSampler_h
54 #define vtkPolyDataPointSampler_h
57 #include "vtkFiltersModelingModule.h"
83 vtkGetMacro(Distance,
double);
91 vtkGetMacro(GenerateVertexPoints,
bool);
92 vtkSetMacro(GenerateVertexPoints,
bool);
93 vtkBooleanMacro(GenerateVertexPoints,
bool);
101 vtkGetMacro(GenerateEdgePoints,
bool);
102 vtkSetMacro(GenerateEdgePoints,
bool);
103 vtkBooleanMacro(GenerateEdgePoints,
bool);
111 vtkGetMacro(GenerateInteriorPoints,
bool);
112 vtkSetMacro(GenerateInteriorPoints,
bool);
113 vtkBooleanMacro(GenerateInteriorPoints,
bool);
124 vtkGetMacro(GenerateVertices,
bool);
125 vtkSetMacro(GenerateVertices,
bool);
126 vtkBooleanMacro(GenerateVertices,
bool);
138 vtkGetMacro(InterpolatePointData,
bool);
139 vtkSetMacro(InterpolatePointData,
bool);
140 vtkBooleanMacro(InterpolatePointData,
bool);
162 double TriWeights[3];
164 double QuadWeights[4];
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
generate points from vtkPolyData
vtkNew< vtkIdList > TriIds
bool GenerateVertexPoints
void SampleTriangle(vtkPoints *newPts, vtkPoints *inPts, const vtkIdType *pts, vtkPointData *inPD, vtkPointData *outPD)
vtkNew< vtkIdList > QuadIds
void SampleEdge(vtkPoints *pts, vtkIdType p0, vtkIdType p1, vtkPointData *inPD, vtkPointData *outPD)
vtkNew< vtkEdgeTable > EdgeTable
vtkPolyDataPointSampler()
~vtkPolyDataPointSampler() override
bool GenerateInteriorPoints
void SamplePolygon(vtkPoints *newPts, vtkPoints *inPts, vtkIdType npts, const vtkIdType *pts, vtkPointData *inPD, vtkPointData *outPD)
bool InterpolatePointData
static vtkPolyDataPointSampler * New()
Instantiate this class.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.