28#ifndef vtkTensorProbeRepresentation_h
29#define vtkTensorProbeRepresentation_h
31#include "vtkInteractionWidgetsModule.h"
62 vtkSetVector3Macro(ProbePosition,
double);
63 vtkGetVector3Macro(ProbePosition,
double);
89 virtual int Move(
double motionVector[2]);
104 double displayPos[2],
double closestWorldPos[3],
vtkIdType& cellId,
int maxSpeed = 10);
109 double ProbePosition[3];
represents an object (geometry & properties) in a rendered scene
provides thread-safe access to cells
a simple class to control print indentation
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
Abstract class that serves as a representation for vtkTensorProbeWidget.
void FindClosestPointOnPolyline(double displayPos[2], double closestWorldPos[3], vtkIdType &cellId, int maxSpeed=10)
~vtkTensorProbeRepresentation() override
vtkPolyDataMapper * TrajectoryMapper
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void BuildRepresentation() override
See vtkWidgetRepresentation for details.
virtual void SetTrajectory(vtkPolyData *)
Set the trajectory that we are trying to probe tensors on.
virtual int Move(double motionVector[2])
INTERNAL - Do not use This method is invoked by the widget during user interaction.
void ReleaseGraphicsResources(vtkWindow *) override
See vtkProp for details.
void GetActors(vtkPropCollection *) override
See vtkProp for details.
vtkActor * TrajectoryActor
vtkTensorProbeRepresentation()
int RenderOpaqueGeometry(vtkViewport *) override
See vtkWidgetRepresentation for details.
virtual int SelectProbe(int pos[2])=0
This method is invoked by the widget during user interaction.
void Initialize()
Set the probe position to a reasonable location on the trajectory.
abstract specification for Viewports
window superclass for vtkRenderWindow