VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Widgets
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 "
vtkTensorProbeRepresentation.h
"
31
32
class
vtkCellPicker
;
33
class
vtkTensorGlyph
;
34
class
vtkPolyDataNormals
;
35
36
class
VTK_WIDGETS_EXPORT
vtkEllipsoidTensorProbeRepresentation
:
37
public
vtkTensorProbeRepresentation
38
{
39
public
:
40
static
vtkEllipsoidTensorProbeRepresentation
*
New
();
41
43
44
vtkTypeMacro(
vtkEllipsoidTensorProbeRepresentation
,
45
vtkTensorProbeRepresentation
);
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
:
62
vtkEllipsoidTensorProbeRepresentation
();
63
~
vtkEllipsoidTensorProbeRepresentation
();
64
65
// Get the interpolated tensor at the current position
66
void
EvaluateTensor(
double
t[9] );
67
68
vtkActor
*
EllipsoidActor
;
69
vtkPolyDataMapper
*
EllipsoidMapper
;
70
vtkPolyData
*
TensorSource
;
71
vtkTensorGlyph
*
TensorGlypher
;
72
vtkCellPicker
*
CellPicker
;
73
vtkPolyDataNormals
*
PolyDataNormals
;
74
75
private
:
76
vtkEllipsoidTensorProbeRepresentation
(
const
77
vtkEllipsoidTensorProbeRepresentation
&);
//Not implemented
78
void
operator=(
const
79
vtkEllipsoidTensorProbeRepresentation
&);
//Not implemented
80
81
};
82
83
#endif
84
Generated on Thu Mar 13 2014 08:10:40 for VTK by
1.8.1.2