Go to the documentation of this file.
29 #ifndef vtkImageActorPointPlacer_h
30 #define vtkImageActorPointPlacer_h
32 #include "vtkInteractionWidgetsModule.h"
66 double worldOrient[9] )
override;
75 double refWorldPos[2],
77 double worldOrient[9] )
override;
92 double worldOrient[9])
override;
103 double worldOrient[9])
override;
133 vtkSetVector6Macro( Bounds,
double );
134 vtkGetVector6Macro( Bounds,
double );
157 double SavedBounds[6];
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[2], double worldPos[3], double worldOrient[9]) override
This method is identical to the one above since the reference position is ignored by the bounded plan...
~vtkImageActorPointPlacer() override
void SetWorldTolerance(double s) override
Set the world tolerance.
a placer that constrains a handle to a finite plane
Abstract interface to translate 2D display positions to world coordinates.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int UpdateInternalState() override
A method for configuring the internal placer according to the constraints of the image actor.
void SetImageActor(vtkImageActor *)
Set / get the reference vtkImageActor used to place the points.
a simple class to control print indentation
int UpdateWorldPosition(vtkRenderer *ren, double worldPos[3], double worldOrient[9]) override
Update the world position and orientation according the the current constraints of the placer.
int ValidateWorldPosition(double worldPos[3]) override
This method validates a world position by checking to see if the world position is valid according to...
vtkBoundedPlanePointPlacer * Placer
static vtkImageActorPointPlacer * New()
Instantiate this class.
vtkImageActor * ImageActor
vtkImageActorPointPlacer()
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.
int ValidateWorldPosition(double worldPos[3], double worldOrient[9]) override
This method is identical to the one above since the bounded plane point placer ignores orientation.
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9]) override
Given and renderer and a display position in pixels, find a world position and orientation.