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
23VTK_ABI_NAMESPACE_BEGIN
24class vtkCellPicker;
25class vtkTensorGlyph;
27
28class VTKINTERACTIONWIDGETS_EXPORT vtkEllipsoidTensorProbeRepresentation
30{
31public:
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
57
58 /*
59 * Register internal Pickers within PickingManager
60 */
61 void RegisterPickers() override;
62
63protected:
66
67 // Get the interpolated tensor at the current position
68 void EvaluateTensor(double t[9]);
69
76
77private:
79 void operator=(const vtkEllipsoidTensorProbeRepresentation&) = delete;
80};
81
82VTK_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
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...
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.
static vtkEllipsoidTensorProbeRepresentation * New()
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:25