15#ifndef vtkHandleSource_h 
   16#define vtkHandleSource_h 
   18#include "vtkFiltersSourcesModule.h"  
   22VTK_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;
 
   63  virtual void SetDirection(
double xDir, 
double yDir, 
double zDir) = 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.
 
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.
 
~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.