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