 |
VTK
9.0.1
|
Go to the documentation of this file.
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];
represent and manipulate 3D points
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
represent and manipulate point attribute data
void SamplePolygon(vtkPoints *newPts, vtkPoints *inPts, vtkIdType npts, const vtkIdType *pts, vtkPointData *inPD, vtkPointData *outPD)
vtkNew< vtkIdList > QuadIds
void SampleEdge(vtkPoints *pts, vtkIdType p0, vtkIdType p1, vtkPointData *inPD, vtkPointData *outPD)
generate points from vtkPolyData
vtkNew< vtkEdgeTable > EdgeTable
a simple class to control print indentation
vtkNew< vtkIdList > TriIds
~vtkPolyDataPointSampler() override
bool GenerateInteriorPoints
bool GenerateVertexPoints
bool InterpolatePointData
static vtkPolyDataPointSampler * New()
Instantiate this class.
void SampleTriangle(vtkPoints *newPts, vtkPoints *inPts, const vtkIdType *pts, vtkPointData *inPD, vtkPointData *outPD)
vtkPolyDataPointSampler()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only polydata as output.