VTK
|
generate points from vtkPolyData More...
#include <vtkPolyDataPointSampler.h>
Inherits vtkPolyDataAlgorithm.
Public Member Functions | |
virtual void | SetDistance (double) |
virtual double | GetDistance () |
virtual int | GetGenerateVertexPoints () |
virtual void | SetGenerateVertexPoints (int) |
virtual void | GenerateVertexPointsOn () |
virtual void | GenerateVertexPointsOff () |
virtual int | GetGenerateEdgePoints () |
virtual void | SetGenerateEdgePoints (int) |
virtual void | GenerateEdgePointsOn () |
virtual void | GenerateEdgePointsOff () |
virtual int | GetGenerateInteriorPoints () |
virtual void | SetGenerateInteriorPoints (int) |
virtual void | GenerateInteriorPointsOn () |
virtual void | GenerateInteriorPointsOff () |
virtual int | GetGenerateVertices () |
virtual void | SetGenerateVertices (int) |
virtual void | GenerateVerticesOn () |
virtual void | GenerateVerticesOff () |
Static Public Member Functions | |
static vtkPolyDataPointSampler * | New () |
Protected Member Functions | |
vtkPolyDataPointSampler () | |
~vtkPolyDataPointSampler () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SampleEdge (vtkPoints *pts, double x0[3], double x1[3]) |
void | SampleTriangle (vtkPoints *newPts, vtkPoints *inPts, vtkIdType *pts) |
void | SamplePolygon (vtkPoints *newPts, vtkPoints *inPts, vtkIdType npts, vtkIdType *pts) |
Protected Attributes | |
double | Distance |
double | Distance2 |
int | GenerateVertexPoints |
int | GenerateEdgePoints |
int | GenerateInteriorPoints |
int | GenerateVertices |
typedef vtkPolyDataAlgorithm | Superclass |
static int | IsTypeOf (const char *type) |
static vtkPolyDataPointSampler * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkPolyDataPointSampler * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
generate points from vtkPolyData
vtkPolyDataPointSampler generates points from input vtkPolyData. The points are placed approximately a specified distance apart.
This filter functions as follows. First, it regurgitates all input points, then samples all lines, plus edges associated with the input polygons and triangle strips to produce edge points. Finally, the interiors of polygons and triangle strips are subsampled to produce points. All of these functiona can be enabled or disabled separately. Note that this algorithm only approximately generates points the specified distance apart. Generally the point density is finer than requested.
Definition at line 49 of file vtkPolyDataPointSampler.h.
typedef vtkPolyDataAlgorithm vtkPolyDataPointSampler::Superclass |
Standard macros for type information and printing.
Definition at line 57 of file vtkPolyDataPointSampler.h.
|
protected |
|
inlineprotected |
Definition at line 105 of file vtkPolyDataPointSampler.h.
|
static |
Instantiate this class.
|
static |
Standard macros for type information and printing.
|
virtual |
Standard macros for type information and printing.
|
static |
Standard macros for type information and printing.
|
protectedvirtual |
Standard macros for type information and printing.
vtkPolyDataPointSampler* vtkPolyDataPointSampler::NewInstance | ( | ) | const |
Standard macros for type information and printing.
void vtkPolyDataPointSampler::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Standard macros for type information and printing.
|
virtual |
Set/Get the approximate distance between points. This is an absolute distance measure. The default is 0.01.
|
virtual |
Set/Get the approximate distance between points. This is an absolute distance measure. The default is 0.01.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertex points should be output.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertex points should be output.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertex points should be output.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertex points should be output.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell edges should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell edges should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell edges should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell edges should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell interiors should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell interiors should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell interiors should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell interiors should be sampled to produce output points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertices should be generated. Cell vertices are useful if you actually want to display the points (that is, for each point generated, a vertex is generated). Recall that VTK only renders vertices and not points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertices should be generated. Cell vertices are useful if you actually want to display the points (that is, for each point generated, a vertex is generated). Recall that VTK only renders vertices and not points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertices should be generated. Cell vertices are useful if you actually want to display the points (that is, for each point generated, a vertex is generated). Recall that VTK only renders vertices and not points. The default is true.
|
virtual |
Specify/retrieve a boolean flag indicating whether cell vertices should be generated. Cell vertices are useful if you actually want to display the points (that is, for each point generated, a vertex is generated). Recall that VTK only renders vertices and not points. The default is true.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 109 of file vtkPolyDataPointSampler.h.
|
protected |
Definition at line 110 of file vtkPolyDataPointSampler.h.
|
protected |
Definition at line 112 of file vtkPolyDataPointSampler.h.
|
protected |
Definition at line 113 of file vtkPolyDataPointSampler.h.
|
protected |
Definition at line 114 of file vtkPolyDataPointSampler.h.
|
protected |
Definition at line 115 of file vtkPolyDataPointSampler.h.