VTK  9.3.0
vtkParametricPseudosphere.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
28 #ifndef vtkParametricPseudosphere_h
29 #define vtkParametricPseudosphere_h
30 
31 #include "vtkCommonComputationalGeometryModule.h" // For export macro
32 #include "vtkParametricFunction.h"
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricPseudosphere : public vtkParametricFunction
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
51 
55  int GetDimension() override { return 2; }
56 
65  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
66 
71  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
72 
73 protected:
76 
77 private:
79  void operator=(const vtkParametricPseudosphere&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract interface for parametric functions
int GetDimension() override
Return the parametric dimension of the class.
~vtkParametricPseudosphere() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkParametricPseudosphere * New()
Construct a pseudosphere surface with the following parameters: (MinimumU, MaximumU) = (-5....
double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Pseudosphere surface.