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