Go to the documentation of this file.
40 #ifndef vtkTerrainDataPointPlacer_h
41 #define vtkTerrainDataPointPlacer_h
43 #include "vtkInteractionWidgetsModule.h"
80 vtkGetMacro(HeightOffset,
double);
94 double worldOrient[9] );
103 double displayPos[2],
104 double refWorldPos[3],
106 double worldOrient[9] );
124 double worldOrient[9] );
Abstract interface to translate 2D display positions to world coordinates.
vtkPropCollection * TerrainProps
virtual int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9])
Given a renderer, a display position, and a reference world position, compute the new world position ...
a simple class to control print indentation
pick an actor/prop using graphics hardware
virtual void RemoveAllProps()
Place points on terrain data.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
virtual void AddProp(vtkProp *)
virtual int ValidateWorldPosition(double worldPos[3], double worldOrient[9])
Given a world position and a world orientation, validate it according to the constraints of the place...
static vtkTerrainDataPointPlacer * New()
Instantiate this class.
abstract specification for renderers
vtkPropPicker * PropPicker
vtkTerrainDataPointPlacer()
~vtkTerrainDataPointPlacer()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int ValidateDisplayPosition(vtkRenderer *, double displayPos[2])
Given a display position, check the validity of this position.
virtual int ValidateWorldPosition(double worldPos[3])
Given a world position check the validity of this position according to the constraints of the placer...
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...