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