26 #ifndef vtkPointHandleSource_h
27 #define vtkPointHandleSource_h
29 #include "vtkFiltersSourcesModule.h"
48 void SetPosition(
double xPos,
double yPos,
double zPos)
override;
61 void SetDirection(
double xDir,
double yDir,
double zDir)
override;
74 void RecomputeSphere();
78 double Direction[3] = { 1, 0, 0 };
virtual double * GetPosition()=0
Get the position of the handle.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
struct Position_t Position
vtkNew< vtkConeSource > PositionCone
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual double * GetDirection()=0
Get the direction of the handle.
interface that can be inherited to define handler sources for any kind of interaction.
static vtkPolyDataAlgorithm * New()
create a polygonal sphere centered at the origin
vtkNew< vtkSphereSource > PositionSphere
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.
handle source used to represent points.
void operator=(const vtkHandleSource &)=delete