59 #ifndef __vtkRuledSurfaceFilter_h
60 #define __vtkRuledSurfaceFilter_h
62 #include "vtkFiltersModelingModule.h"
69 #define VTK_RULED_MODE_RESAMPLE 0
70 #define VTK_RULED_MODE_POINT_WALK 1
76 void PrintSelf(ostream& os, vtkIndent indent);
84 vtkSetClampMacro(DistanceFactor,
double,1.0,VTK_DOUBLE_MAX);
85 vtkGetMacro(DistanceFactor,
double);
92 vtkSetClampMacro(OnRatio,
int,1,VTK_INT_MAX);
93 vtkGetMacro(OnRatio,
int);
100 vtkSetClampMacro(Offset,
int,0,VTK_INT_MAX);
101 vtkGetMacro(Offset,
int);
110 vtkSetMacro(CloseSurface,
int);
111 vtkGetMacro(CloseSurface,
int);
112 vtkBooleanMacro(CloseSurface,
int);
121 vtkSetClampMacro(RuledMode,
int,
123 vtkGetMacro(RuledMode,
int);
128 const char *GetRuledModeAsString();
137 vtkSetVector2Macro(Resolution,
int);
138 vtkGetVectorMacro(Resolution,
int, 2);
144 vtkSetMacro(PassLines,
int);
145 vtkGetMacro(PassLines,
int);
146 vtkBooleanMacro(PassLines,
int);
154 vtkSetMacro(OrientLoops,
int);
155 vtkGetMacro(OrientLoops,
int);
156 vtkBooleanMacro(OrientLoops,
int);
164 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
180 vtkPoints *inPts, vtkPoints *newPts,
181 int npts, vtkIdType *pts,
int npts2, vtkIdType *pts2);
182 void PointWalk(
vtkPolyData *output, vtkPoints *inPts,
183 int npts, vtkIdType *pts,
int npts2, vtkIdType *pts2);
void SetRuledModeToResample()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
#define VTK_RULED_MODE_POINT_WALK
#define VTK_RULED_MODE_RESAMPLE
void SetRuledModeToPointWalk()
generates a surface from a set of lines