28#ifndef vtkTerrainDataPointPlacer_h
29#define vtkTerrainDataPointPlacer_h
31#include "vtkInteractionWidgetsModule.h"
34VTK_ABI_NAMESPACE_BEGIN
68 vtkSetMacro(HeightOffset,
double);
69 vtkGetMacro(HeightOffset,
double);
81 vtkRenderer* ren,
double displayPos[2],
double worldPos[3],
double worldOrient[9])
override;
90 double worldPos[3],
double worldOrient[9])
override;
a simple class to control print indentation
Abstract interface to translate 2D display positions to world coordinates.
pick an actor/prop using graphics hardware
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
Place points on terrain data.
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 ...
virtual void RemoveAllProps()
int ValidateDisplayPosition(vtkRenderer *, double displayPos[2]) override
Given a display position, check the validity of this position.
vtkPropPicker * PropPicker
int ValidateWorldPosition(double worldPos[3]) override
Given a world position check the validity of this position according to the constraints of the placer...
static vtkTerrainDataPointPlacer * New()
Instantiate this class.
virtual void AddProp(vtkProp *)
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
vtkTerrainDataPointPlacer()
~vtkTerrainDataPointPlacer() override
vtkPropCollection * TerrainProps
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...
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...