mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
50 lines
1.7 KiB
C++
50 lines
1.7 KiB
C++
/*=========================================================================
|
|
|
|
Program: ParaView
|
|
Module: vtkCPVector3FieldFunction.h
|
|
|
|
Copyright (c) Kitware, Inc.
|
|
All rights reserved.
|
|
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
PURPOSE. See the above copyright notice for more information.
|
|
|
|
=========================================================================*/
|
|
// .NAME vtkCPVector3FieldFunction - Abstract class for specifying vectors at points.
|
|
// .SECTION Description
|
|
// Abstract class for specifying vector values at specified points.
|
|
|
|
#ifndef vtkCPVector3FieldFunction_h
|
|
#define vtkCPVector3FieldFunction_h
|
|
|
|
#include "vtkCPTensorFieldFunction.h"
|
|
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
|
|
|
|
class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPVector3FieldFunction : public vtkCPTensorFieldFunction
|
|
{
|
|
public:
|
|
vtkTypeMacro(vtkCPVector3FieldFunction, vtkCPTensorFieldFunction);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Get the NumberOfComponents.
|
|
virtual unsigned int GetNumberOfComponents() {return 3;};
|
|
|
|
// Description:
|
|
// Compute the field value at Point.
|
|
virtual double ComputeComponenentAtPoint(unsigned int component, double point[3],
|
|
unsigned long timeStep, double time) = 0;
|
|
|
|
protected:
|
|
vtkCPVector3FieldFunction();
|
|
~vtkCPVector3FieldFunction();
|
|
|
|
private:
|
|
vtkCPVector3FieldFunction(const vtkCPVector3FieldFunction&); // Not implemented
|
|
void operator=(const vtkCPVector3FieldFunction&); // Not implemented
|
|
};
|
|
|
|
#endif
|