15 #ifndef vtkHandleSource_h
16 #define vtkHandleSource_h
18 #include "vtkFiltersSourcesModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
36 vtkSetMacro(Directional,
bool);
37 vtkGetMacro(Directional,
bool);
38 vtkBooleanMacro(Directional,
bool);
46 virtual void SetPosition(
double xPos,
double yPos,
double zPos) = 0;
53 void GetPosition(
double pos[3]);
54 virtual double* GetPosition() = 0;
63 virtual void SetDirection(
double xDir,
double yDir,
double zDir) = 0;
71 void GetDirection(
double dir[3]);
72 virtual double* GetDirection() = 0;
81 vtkSetMacro(Size,
double);
82 vtkGetMacro(Size,
double);
93 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.