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 =========================================================================*/
28 #ifndef vtkEllipsoidTensorProbeRepresentation_h
29 #define vtkEllipsoidTensorProbeRepresentation_h
30 
31 #include "vtkInteractionWidgetsModule.h" // For export macro
33 
34 class vtkCellPicker;
35 class vtkTensorGlyph;
36 class vtkPolyDataNormals;
37 
38 class VTKINTERACTIONWIDGETS_EXPORT vtkEllipsoidTensorProbeRepresentation :
40 {
41 public:
43 
45 
50  void PrintSelf(ostream& os, vtkIndent indent);
52 
53  virtual void BuildRepresentation();
55 
59  virtual int SelectProbe( int pos[2] );
60 
62 
65  virtual void GetActors(vtkPropCollection *);
68 
69 protected:
72 
73  // Get the interpolated tensor at the current position
74  void EvaluateTensor( double t[9] );
75 
76  // Register internal Pickers within PickingManager
77  virtual void RegisterPickers();
78 
85 
86 private:
88  vtkEllipsoidTensorProbeRepresentation&) VTK_DELETE_FUNCTION;
89  void operator=(const
90  vtkEllipsoidTensorProbeRepresentation&) VTK_DELETE_FUNCTION;
91 
92 };
93 
94 #endif
95 
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:43
vtkEllipsoidTensorProbeRepresentation::BuildRepresentation
virtual void BuildRepresentation()
See vtkWidgetRepresentation for details.
vtkEllipsoidTensorProbeRepresentation::CellPicker
vtkCellPicker * CellPicker
Definition: vtkEllipsoidTensorProbeRepresentation.h:83
vtkTensorGlyph
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors
Definition: vtkTensorGlyph.h:89
vtkTensorProbeRepresentation
Abstract class that serves as a representation for vtkTensorProbeWidget.
Definition: vtkTensorProbeRepresentation.h:44
vtkEllipsoidTensorProbeRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkEllipsoidTensorProbeRepresentation::New
static vtkEllipsoidTensorProbeRepresentation * New()
vtkEllipsoidTensorProbeRepresentation::TensorGlypher
vtkTensorGlyph * TensorGlypher
Definition: vtkEllipsoidTensorProbeRepresentation.h:82
vtkEllipsoidTensorProbeRepresentation::EllipsoidActor
vtkActor * EllipsoidActor
Definition: vtkEllipsoidTensorProbeRepresentation.h:79
vtkEllipsoidTensorProbeRepresentation::~vtkEllipsoidTensorProbeRepresentation
~vtkEllipsoidTensorProbeRepresentation()
vtkEllipsoidTensorProbeRepresentation::SelectProbe
virtual int SelectProbe(int pos[2])
Can we pick the tensor glyph at the current cursor pos.
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkEllipsoidTensorProbeRepresentation::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkEllipsoidTensorProbeRepresentation::EllipsoidMapper
vtkPolyDataMapper * EllipsoidMapper
Definition: vtkEllipsoidTensorProbeRepresentation.h:80
vtkEllipsoidTensorProbeRepresentation::TensorSource
vtkPolyData * TensorSource
Definition: vtkEllipsoidTensorProbeRepresentation.h:81
vtkEllipsoidTensorProbeRepresentation::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkTensorProbeRepresentation.h
vtkPolyDataNormals
compute normals for polygonal mesh
Definition: vtkPolyDataNormals.h:68
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkEllipsoidTensorProbeRepresentation::EvaluateTensor
void EvaluateTensor(double t[9])
vtkEllipsoidTensorProbeRepresentation::PolyDataNormals
vtkPolyDataNormals * PolyDataNormals
Definition: vtkEllipsoidTensorProbeRepresentation.h:84
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:48
vtkEllipsoidTensorProbeRepresentation::vtkEllipsoidTensorProbeRepresentation
vtkEllipsoidTensorProbeRepresentation()
vtkEllipsoidTensorProbeRepresentation::RegisterPickers
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkPropCollection
a list of Props
Definition: vtkPropCollection.h:39
vtkCellPicker
ray-cast cell picker for all kinds of Prop3Ds
Definition: vtkCellPicker.h:70
vtkEllipsoidTensorProbeRepresentation
A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids.
Definition: vtkEllipsoidTensorProbeRepresentation.h:40
vtkEllipsoidTensorProbeRepresentation::GetActors
virtual void GetActors(vtkPropCollection *)
See vtkProp for details.