VTK  9.0.2
vtkEllipsoidTensorProbeRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkEllipsoidTensorProbeRepresentation.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkEllipsoidTensorProbeRepresentation_h
30 #define vtkEllipsoidTensorProbeRepresentation_h
31 
32 #include "vtkInteractionWidgetsModule.h" // For export macro
34 
35 class vtkCellPicker;
36 class vtkTensorGlyph;
37 class vtkPolyDataNormals;
38 
39 class VTKINTERACTIONWIDGETS_EXPORT vtkEllipsoidTensorProbeRepresentation
41 {
42 public:
44 
46 
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
53  void BuildRepresentation() override;
55 
59  int SelectProbe(int pos[2]) override;
60 
62 
65  void GetActors(vtkPropCollection*) override;
68 
69  /*
70  * Register internal Pickers within PickingManager
71  */
72  void RegisterPickers() override;
73 
74 protected:
77 
78  // Get the interpolated tensor at the current position
79  void EvaluateTensor(double t[9]);
80 
87 
88 private:
90  void operator=(const vtkEllipsoidTensorProbeRepresentation&) = delete;
91 };
92 
93 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:46
ray-cast cell picker for all kinds of Prop3Ds
Definition: vtkCellPicker.h:67
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 ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
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
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:34
map vtkPolyData to graphics primitives
compute normals for polygonal mesh
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
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:38