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;
73 virtual void SetDirection(
double xDir,
double yDir,
double zDir) = 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.
void operator=(const vtkHandleSource &)=delete
void GetDirection(double dir[3])
Get the direction of the handle.
void GetPosition(double pos[3])
Get the position of the handle.
void SetPosition(const double pos[3])
Set the position of the handle.
vtkHandleSource(const vtkHandleSource &)=delete
void SetDirection(const double dir[3])
Set the direction of the handle.
virtual void SetPosition(double xPos, double yPos, double zPos)=0
Set the position of the handle.
virtual void SetDirection(double xDir, double yDir, double zDir)=0
Set the direction of the handle.
virtual double * GetPosition()=0
Get the position of the handle.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual ~vtkHandleSource() override=default
virtual double * GetDirection()=0
Get the direction of the handle.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.