VTK  9.3.0
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;
44 
48  int SelectProbe(int pos[2]) override;
49 
51 
54  void GetActors(vtkPropCollection*) 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
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:41
ray-cast cell picker for all kinds of Prop3Ds
Definition: vtkCellPicker.h:62
A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids.
int SelectProbe(int pos[2]) override
Can we pick the tensor glyph at the current cursor pos.
int RenderOpaqueGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
static vtkEllipsoidTensorProbeRepresentation * New()
void BuildRepresentation() override
Subclasses of vtkWidgetRepresentation must implement these methods.
void ReleaseGraphicsResources(vtkWindow *) override
See vtkProp for details.
void GetActors(vtkPropCollection *) override
See vtkProp for details.
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
a simple class to control print indentation
Definition: vtkIndent.h:29
map vtkPolyData to graphics primitives
compute normals for polygonal mesh
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:80
an ordered list of Props
scale and orient glyph(s) according to eigenvalues and eigenvectors of symmetrical part of tensor
Abstract class that serves as a representation for vtkTensorProbeWidget.
abstract specification for Viewports
Definition: vtkViewport.h:45
window superclass for vtkRenderWindow
Definition: vtkWindow.h:28