ParaView
vtkCPFieldBuilder.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPFieldBuilder.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 vtkCPFieldBuilder_h
23 #define vtkCPFieldBuilder_h
24 
25 #include "vtkCPBaseFieldBuilder.h"
26 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
27 
29 
30 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPFieldBuilder : public vtkCPBaseFieldBuilder
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
39  virtual void BuildField(unsigned long TimeStep, double Time, vtkDataSet* Grid) = 0;
40 
50  vtkSetStringMacro(ArrayName);
51  vtkGetStringMacro(ArrayName);
53 
55 
58  void SetTensorFieldFunction(vtkCPTensorFieldFunction* TFF);
59  vtkCPTensorFieldFunction* GetTensorFieldFunction();
61 
62 protected:
65 
66 private:
67  vtkCPFieldBuilder(const vtkCPFieldBuilder&) VTK_DELETE_FUNCTION;
68  void operator=(const vtkCPFieldBuilder&) VTK_DELETE_FUNCTION;
69 
73  char* ArrayName;
74 
76 
80  vtkCPTensorFieldFunction* TensorFieldFunction;
81 };
83 
84 #endif
virtual void BuildField(unsigned long TimeStep, double Time, vtkDataSet *Grid)=0
Return a grid.
Abstract class for specifying tensor fields at points.
void PrintSelf(ostream &os, vtkIndent indent)
Abstract class for specifying fields over grids.
Abstract class for specifying fields over grids.