27 #ifndef vtkHandleSource_h
28 #define vtkHandleSource_h
30 #include "vtkFiltersSourcesModule.h"
46 vtkSetMacro(Directional,
bool);
47 vtkGetMacro(Directional,
bool);
48 vtkBooleanMacro(Directional,
bool);
56 virtual void SetPosition(
double xPos,
double yPos,
double zPos) = 0;
63 void GetPosition(
double pos[3]);
64 virtual double* GetPosition() = 0;
73 virtual void SetDirection(
double xDir,
double yDir,
double zDir) = 0;
81 void GetDirection(
double dir[3]);
82 virtual double* GetDirection() = 0;
91 vtkSetMacro(Size,
double);
92 vtkGetMacro(Size,
double);
103 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.