151#ifndef vtkLineSource_h
152#define vtkLineSource_h
154#include "vtkFiltersSourcesModule.h"
158VTK_ABI_NAMESPACE_BEGIN
172 vtkSetVector3Macro(Point1,
double);
173 vtkGetVectorMacro(Point1,
double, 3);
181 vtkSetVector3Macro(Point2,
double);
182 vtkGetVectorMacro(Point2,
double, 3);
194 vtkSetMacro(UseRegularRefinement,
bool);
195 vtkGetMacro(UseRegularRefinement,
bool);
196 vtkBooleanMacro(UseRegularRefinement,
bool);
205 vtkGetMacro(Resolution,
int);
238 vtkSetMacro(OutputPointsPrecision,
int);
239 vtkGetMacro(OutputPointsPrecision,
int);
a simple class to control print indentation
create a line defined by two end points
virtual void SetPoints(vtkPoints *)
Set/Get the list of points defining a broken line.
vtkPoints * Points
The list of points defining a broken line NB: The Point1/Point2 definition of a single line segment i...
int OutputPointsPrecision
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
std::vector< double > RefinementRatios
static vtkLineSource * New()
int GetNumberOfRefinementRatios()
API for setting/getting refinement ratios for points added to the line segment.
double GetRefinementRatio(int index)
API for setting/getting refinement ratios for points added to the line segment.
bool UseRegularRefinement
~vtkLineSource() override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetNumberOfRefinementRatios(int)
API for setting/getting refinement ratios for points added to the line segment.
void SetPoint2(float[3])
Set position of other end point.
void SetPoint1(float[3])
Set position of first end point.
void SetRefinementRatio(int index, double value)
API for setting/getting refinement ratios for points added to the line segment.
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.