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 
31 
32 class vtkCellPicker;
33 class vtkTensorGlyph;
34 class vtkPolyDataNormals;
35 
38 {
39 public:
41 
43 
46  void PrintSelf(ostream& os, vtkIndent indent);
48 
49  virtual void BuildRepresentation();
50  virtual int RenderOpaqueGeometry(vtkViewport *);
51 
53  virtual int SelectProbe( int pos[2] );
54 
56 
57  virtual void GetActors(vtkPropCollection *);
58  virtual void ReleaseGraphicsResources(vtkWindow *);
60 
61 protected:
64 
65  // Get the interpolated tensor at the current position
66  void EvaluateTensor( double t[9] );
67 
74 
75 private:
77  vtkEllipsoidTensorProbeRepresentation&); //Not implemented
78  void operator=(const
79  vtkEllipsoidTensorProbeRepresentation&); //Not implemented
80 
81 };
82 
83 #endif
84 
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
Abstract class that serves as a representation for vtkTensorProbeWidget.
virtual int SelectProbe(int pos[2])=0
abstract specification for Viewports
Definition: vtkViewport.h:45
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual void BuildRepresentation()
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:81
a list of Props
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
compute normals for polygonal mesh
#define VTK_WIDGETS_EXPORT
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:66
static vtkObject * New()
A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids...
virtual void ReleaseGraphicsResources(vtkWindow *)