ParaView
vtkCPTensorFieldFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPTensorFieldFunction.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
22 #ifndef vtkCPTensorFieldFunction_h
23 #define vtkCPTensorFieldFunction_h
24 
25 #include "vtkObject.h"
26 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
27 
28 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPTensorFieldFunction : public vtkObject
29 {
30 public:
31  vtkTypeMacro(vtkCPTensorFieldFunction, vtkObject);
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
38  virtual unsigned int GetNumberOfComponents() = 0;
39 
43  virtual double ComputeComponenentAtPoint(
44  unsigned int component, double point[3], unsigned long timeStep, double time) = 0;
45 
46 protected:
49 
50 private:
51  vtkCPTensorFieldFunction(const vtkCPTensorFieldFunction&) VTK_DELETE_FUNCTION;
52  void operator=(const vtkCPTensorFieldFunction&) VTK_DELETE_FUNCTION;
53 };
54 
55 #endif
Abstract class for specifying tensor fields at points.