15 #ifndef vtkHandleSource_h
16 #define vtkHandleSource_h
18 #include "vtkFiltersSourcesModule.h"
21 VTK_ABI_NAMESPACE_BEGIN
35 vtkSetMacro(Directional,
bool);
36 vtkGetMacro(Directional,
bool);
37 vtkBooleanMacro(Directional,
bool);
45 virtual void SetPosition(
double xPos,
double yPos,
double zPos) = 0;
52 void GetPosition(
double pos[3]);
53 virtual double* GetPosition() = 0;
62 virtual void SetDirection(
double xDir,
double yDir,
double zDir) = 0;
70 void GetDirection(
double dir[3]);
71 virtual double* GetDirection() = 0;
80 vtkSetMacro(Size,
double);
81 vtkGetMacro(Size,
double);
92 bool Directional =
false;
interface that can be inherited to define handler sources for any kind of interaction.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetDirection(const double dir[3])
Set the direction of the handle.
void SetPosition(const double pos[3])
Set the position of the handle.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.