VTK  9.3.1
vtkEllipsoidTensorProbeRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkEllipsoidTensorProbeRepresentation_h
18 #define vtkEllipsoidTensorProbeRepresentation_h
19 
20 #include "vtkInteractionWidgetsModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkCellPicker;
25 class vtkTensorGlyph;
26 class vtkPolyDataNormals;
27 
28 class VTKINTERACTIONWIDGETS_EXPORT vtkEllipsoidTensorProbeRepresentation
30 {
31 public:
33 
35 
39  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
42  void BuildRepresentation() override;
43  int RenderOpaqueGeometry(vtkViewport*) override;
44 
48  int SelectProbe(int pos[2]) override;
49 
51 
54  void GetActors(vtkPropCollection*) override;
55  void ReleaseGraphicsResources(vtkWindow*) override;
57 
58  /*
59  * Register internal Pickers within PickingManager
60  */
61  void RegisterPickers() override;
62 
63 protected:
66 
67  // Get the interpolated tensor at the current position
68  void EvaluateTensor(double t[9]);
69 
76 
77 private:
79  void operator=(const vtkEllipsoidTensorProbeRepresentation&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
int RenderOpaqueGeometry(vtkViewport *) override
See vtkWidgetRepresentation for details.
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:40
void ReleaseGraphicsResources(vtkWindow *) override
See vtkProp for details.
Abstract class that serves as a representation for vtkTensorProbeWidget.
virtual int SelectProbe(int pos[2])=0
This method is invoked by the widget during user interaction.
abstract specification for Viewports
Definition: vtkViewport.h:44
void GetActors(vtkPropCollection *) override
See vtkProp for details.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
an ordered list of Props
window superclass for vtkRenderWindow
Definition: vtkWindow.h:27
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
compute normals for polygonal mesh
void BuildRepresentation() override
See vtkWidgetRepresentation for details.
map vtkPolyData to graphics primitives
scale and orient glyph(s) according to eigenvalues and eigenvectors of symmetrical part of tensor ...
ray-cast cell picker for all kinds of Prop3Ds
Definition: vtkCellPicker.h:61
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids...