 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkImageActorPointPlacer_h
27 #define vtkImageActorPointPlacer_h
29 #include "vtkInteractionWidgetsModule.h"
61 vtkRenderer* ren,
double displayPos[2],
double worldPos[3],
double worldOrient[9])
override;
69 double worldPos[3],
double worldOrient[9])
override;
121 vtkSetVector6Macro(Bounds,
double);
122 vtkGetVector6Macro(Bounds,
double);
144 double SavedBounds[6];
a placer that constrains a handle to a finite plane
Abstract interface to translate 2D display positions to world coordinates.
virtual void SetWorldTolerance(double)
Set/get the tolerance used when performing computations in world coordinates.
static vtkPointPlacer * New()
Instantiate this class.
virtual int UpdateInternalState()
Called by the representation to give the placer a chance to update itself.
a simple class to control print indentation
vtkBoundedPlanePointPlacer * Placer
vtkImageActor * ImageActor
abstract specification for renderers
draw an image in a rendered 3D scene
Converts 2D display positions to world positions such that they lie on an ImageActor.
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...
virtual int ValidateWorldPosition(double worldPos[3])
Given a world position check the validity of this position according to the constraints of the placer...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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...