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) override;
52 
53  void BuildRepresentation() override;
54  int RenderOpaqueGeometry(vtkViewport *) override;
55 
59  int SelectProbe( int pos[2] ) override;
60 
62 
65  void GetActors(vtkPropCollection *) override;
66  void ReleaseGraphicsResources(vtkWindow *) override;
68 
69  /*
70  * Register internal Pickers within PickingManager
71  */
72  void RegisterPickers() override;
73 
74 protected:
77 
78  // Get the interpolated tensor at the current position
79  void EvaluateTensor( double t[9] );
80 
87 
88 private:
91  void operator=(const
93 
94 };
95 
96 #endif
97 
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:42
vtkTensorProbeRepresentation::GetActors
void GetActors(vtkPropCollection *) override
See vtkProp for details.
vtkTensorProbeRepresentation::RenderOpaqueGeometry
int RenderOpaqueGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkTensorProbeRepresentation::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkEllipsoidTensorProbeRepresentation::CellPicker
vtkCellPicker * CellPicker
Definition: vtkEllipsoidTensorProbeRepresentation.h:85
vtkTensorGlyph
scale and orient glyph(s) according to eigenvalues and eigenvectors of symmetrical part of tensor
Definition: vtkTensorGlyph.h:92
vtkTensorProbeRepresentation
Abstract class that serves as a representation for vtkTensorProbeWidget.
Definition: vtkTensorProbeRepresentation.h:42
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkTensorProbeRepresentation::SelectProbe
virtual int SelectProbe(int pos[2])=0
This method is invoked by the widget during user interaction.
vtkEllipsoidTensorProbeRepresentation::TensorGlypher
vtkTensorGlyph * TensorGlypher
Definition: vtkEllipsoidTensorProbeRepresentation.h:84
vtkEllipsoidTensorProbeRepresentation::EllipsoidActor
vtkActor * EllipsoidActor
Definition: vtkEllipsoidTensorProbeRepresentation.h:81
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
vtkEllipsoidTensorProbeRepresentation::EllipsoidMapper
vtkPolyDataMapper * EllipsoidMapper
Definition: vtkEllipsoidTensorProbeRepresentation.h:82
vtkEllipsoidTensorProbeRepresentation::TensorSource
vtkPolyData * TensorSource
Definition: vtkEllipsoidTensorProbeRepresentation.h:83
vtkTensorProbeRepresentation.h
vtkPolyDataNormals
compute normals for polygonal mesh
Definition: vtkPolyDataNormals.h:73
vtkTensorProbeRepresentation::BuildRepresentation
void BuildRepresentation() override
See vtkWidgetRepresentation for details.
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkTensorProbeRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkWidgetRepresentation::RegisterPickers
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
vtkEllipsoidTensorProbeRepresentation::PolyDataNormals
vtkPolyDataNormals * PolyDataNormals
Definition: vtkEllipsoidTensorProbeRepresentation.h:86
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
vtkPropCollection
an ordered list of Props
Definition: vtkPropCollection.h:41
vtkCellPicker
ray-cast cell picker for all kinds of Prop3Ds
Definition: vtkCellPicker.h:69
vtkEllipsoidTensorProbeRepresentation
A concrete implementation of vtkTensorProbeRepresentation that renders tensors as ellipoids.
Definition: vtkEllipsoidTensorProbeRepresentation.h:38