ParaView
vtkCPVector3FieldFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPVector3FieldFunction.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 vtkCPVector3FieldFunction_h
23 #define vtkCPVector3FieldFunction_h
24 
26 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
27 
28 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPVector3FieldFunction : public vtkCPTensorFieldFunction
29 {
30 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
37  virtual unsigned int GetNumberOfComponents() { return 3; };
38 
42  virtual double ComputeComponenentAtPoint(
43  unsigned int component, double point[3], unsigned long timeStep, double time) = 0;
44 
45 protected:
48 
49 private:
50  vtkCPVector3FieldFunction(const vtkCPVector3FieldFunction&) VTK_DELETE_FUNCTION;
51  void operator=(const vtkCPVector3FieldFunction&) VTK_DELETE_FUNCTION;
52 };
53 
54 #endif
Abstract class for specifying tensor fields at points.
Abstract class for specifying vectors at points.
void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned int GetNumberOfComponents()
Get the NumberOfComponents.
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3], unsigned long timeStep, double time)=0
Compute the field value at Point.