VTK
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 =========================================================================*/
27 #ifndef __vtkEllipsoidTensorProbeRepresentation_h
28 #define __vtkEllipsoidTensorProbeRepresentation_h
29 
30 #include "vtkInteractionWidgetsModule.h" // For export macro
32 
33 class vtkCellPicker;
34 class vtkTensorGlyph;
35 class vtkPolyDataNormals;
36 
37 class VTKINTERACTIONWIDGETS_EXPORT vtkEllipsoidTensorProbeRepresentation :
39 {
40 public:
42 
44 
47  void PrintSelf(ostream& os, vtkIndent indent);
49 
50  virtual void BuildRepresentation();
51  virtual int RenderOpaqueGeometry(vtkViewport *);
52 
54  virtual int SelectProbe( int pos[2] );
55 
57 
58  virtual void GetActors(vtkPropCollection *);
59  virtual void ReleaseGraphicsResources(vtkWindow *);
61 
62 protected:
65 
66  // Get the interpolated tensor at the current position
67  void EvaluateTensor( double t[9] );
68 
75 
76 private:
78  vtkEllipsoidTensorProbeRepresentation&); //Not implemented
79  void operator=(const
80  vtkEllipsoidTensorProbeRepresentation&); //Not implemented
81 
82 };
83 
84 #endif
85