VTK
vtkParametricConicSpiral.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkParametricConicSpiral.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
35 #ifndef vtkParametricConicSpiral_h
36 #define vtkParametricConicSpiral_h
37 
38 #include "vtkCommonComputationalGeometryModule.h" // For export macro
39 #include "vtkParametricFunction.h"
40 
41 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricConicSpiral : public vtkParametricFunction
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 
58 
62  int GetDimension() VTK_OVERRIDE {return 2;}
63 
65 
69  vtkSetMacro(A,double);
70  vtkGetMacro(A,double);
72 
74 
79  vtkSetMacro(B,double);
80  vtkGetMacro(B,double);
82 
84 
89  vtkSetMacro(C,double);
90  vtkGetMacro(C,double);
92 
94 
99  vtkSetMacro(N,double);
100  vtkGetMacro(N,double);
102 
111  void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) VTK_OVERRIDE;
112 
126  double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) VTK_OVERRIDE;
127 
128 protected:
131 
132  // Variables
133  double A;
134  double B;
135  double C;
136  double N;
137 
138 private:
139  vtkParametricConicSpiral(const vtkParametricConicSpiral&) VTK_DELETE_FUNCTION;
140  void operator=(const vtkParametricConicSpiral&) VTK_DELETE_FUNCTION;
141 };
142 
143 #endif
vtkParametricConicSpiral
Generate conic spiral surfaces that resemble sea-shells.
Definition: vtkParametricConicSpiral.h:42
vtkParametricConicSpiral::New
static vtkParametricConicSpiral * New()
Construct a conic spiral surface with the following parameters: MinimumU = 0, MaximumU = 2Pi,...
vtkParametricConicSpiral::vtkParametricConicSpiral
vtkParametricConicSpiral()
vtkParametricFunction
abstract interface for parametric functions
Definition: vtkParametricFunction.h:63
vtkParametricConicSpiral::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkParametricConicSpiral::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.
vtkParametricFunction.h
vtkParametricConicSpiral::Evaluate
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
A conic spiral surface.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkParametricConicSpiral::GetDimension
int GetDimension() override
Return the parametric dimension of the class.
Definition: vtkParametricConicSpiral.h:62
vtkParametricConicSpiral::~vtkParametricConicSpiral
~vtkParametricConicSpiral() override