14 #ifndef vtkPointHandleSource_h
15 #define vtkPointHandleSource_h
17 #include "vtkFiltersSourcesModule.h"
20 VTK_ABI_NAMESPACE_BEGIN
37 void SetPosition(
double xPos,
double yPos,
double zPos)
override;
50 void SetDirection(
double xDir,
double yDir,
double zDir)
override;
63 void RecomputeSphere();
67 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