26 #ifndef vtkImageActorPointPlacer_h
27 #define vtkImageActorPointPlacer_h
29 #include "vtkInteractionWidgetsModule.h"
63 double worldOrient[9] ) VTK_OVERRIDE;
72 double refWorldPos[2],
74 double worldOrient[9] ) VTK_OVERRIDE;
89 double worldOrient[9]) VTK_OVERRIDE;
100 double worldOrient[9]) VTK_OVERRIDE;
120 vtkGetObjectMacro( ImageActor, vtkImageActor );
130 vtkSetVector6Macro( Bounds,
double );
131 vtkGetVector6Macro( Bounds,
double );
138 void SetWorldTolerance(
double s ) VTK_OVERRIDE;
142 ~vtkImageActorPointPlacer() VTK_OVERRIDE;
147 vtkImageActor *ImageActor;
154 double SavedBounds[6];
160 vtkImageActorPointPlacer(const vtkImageActorPointPlacer&) VTK_DELETE_FUNCTION;
161 void operator=(const vtkImageActorPointPlacer&) VTK_DELETE_FUNCTION;
virtual int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9])
Given a renderer and a display position in pixel coordinates, compute the world position and orientat...
Converts 2D display positions to world positions such that they lie on an ImageActor.
abstract specification for renderers
a placer that constrains a handle to a finite plane
draw an image in a rendered 3D scene
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
virtual int UpdateWorldPosition(vtkRenderer *ren, double worldPos[3], double worldOrient[9])
Given a current renderer, world position and orientation, update them according to the constraints of...
virtual int ValidateWorldPosition(double worldPos[3])
Given a world position check the validity of this position according to the constraints of the placer...
static vtkPointPlacer * New()
Instantiate this class.
virtual int UpdateInternalState()
Called by the representation to give the placer a chance to update itself.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.