VTK: Common/ComputationalGeometry/vtkParametricPluckerConoid.h Source File

| VTK 9.3.1

vtkParametricPluckerConoid.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
31 #ifndef vtkParametricPluckerConoid_h
32 #define vtkParametricPluckerConoid_h
33
34 #include "vtkCommonComputationalGeometryModule.h" // For export macro
35 #include "vtkParametricFunction.h"
36
37 VTK_ABI_NAMESPACE_BEGIN
38 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricPluckerConoid
39 : public vtkParametricFunction
40 {
41 public:
42 vtkTypeMacro(vtkParametricPluckerConoid, vtkParametricFunction);
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
49 vtkGetMacro(N, int);
50 vtkSetMacro(N, int);
52
62 static vtkParametricPluckerConoid* New();
63
67 int GetDimension() override { return 2; }
68
77 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override;
78
83 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override;
84
85 protected:
86 vtkParametricPluckerConoid();
87 ~vtkParametricPluckerConoid() override;
88
89 // Variables
90 int N;
91
92 private:
93 vtkParametricPluckerConoid(const vtkParametricPluckerConoid&) = delete;
94 void operator=(const vtkParametricPluckerConoid&) = delete;
95 };
96
97 VTK_ABI_NAMESPACE_END
98 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkParametricFunction
abstract interface for parametric functions
Definition: vtkParametricFunction.h:61
vtkParametricPluckerConoid
Generate Plucker's conoid surface.
Definition: vtkParametricPluckerConoid.h:40
vtkParametricPluckerConoid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkParametricPluckerConoid::GetDimension
int GetDimension() override
Return the parametric dimension of the class.
Definition: vtkParametricPluckerConoid.h:67
vtkParametricPluckerConoid::Evaluate
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Plucker's conoid surface.
vtkParametricPluckerConoid::~vtkParametricPluckerConoid
~vtkParametricPluckerConoid() override
vtkParametricPluckerConoid::EvaluateScalar
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.
vtkParametricPluckerConoid::N
int N
Definition: vtkParametricPluckerConoid.h:90
vtkParametricPluckerConoid::New
static vtkParametricPluckerConoid * New()
Construct Plucker's conoid surface with the following parameters: (MinimumU, MaximumU) = (0....
vtkParametricPluckerConoid::vtkParametricPluckerConoid
vtkParametricPluckerConoid()
vtkParametricFunction.h