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 
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 
69  // Register internal Pickers within PickingManager
70  virtual void RegisterPickers();
71 
78 
79 private:
81  vtkEllipsoidTensorProbeRepresentation&); //Not implemented
82  void operator=(const
83  vtkEllipsoidTensorProbeRepresentation&); //Not implemented
84 
85 };
86 
87 #endif
88 
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
Abstract class that serves as a representation for vtkTensorProbeWidget.
virtual int SelectProbe(int pos[2])=0
abstract specification for Viewports
Definition: vtkViewport.h:46
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual void BuildRepresentation()
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
a list of Props
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void RegisterPickers()
void PrintSelf(ostream &os, vtkIndent indent)
compute normals for polygonal mesh
virtual void GetActors(vtkPropCollection *)
map vtkPolyData to graphics primitives
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors
ray-cast cell picker for all kinds of Prop3Ds
Definition: vtkCellPicker.h:68
static vtkObject * New()
A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids...
virtual void ReleaseGraphicsResources(vtkWindow *)