VTK
vtkParametricKuen.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkParametricKuen.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=========================================================================*/
30#ifndef vtkParametricKuen_h
31#define vtkParametricKuen_h
32
33#include "vtkCommonComputationalGeometryModule.h" // For export macro
35
36class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkParametricKuen : public vtkParametricFunction
37{
38public:
39
41 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42
53
57 int GetDimension() VTK_OVERRIDE {return 2;}
58
67 void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) VTK_OVERRIDE;
68
73 double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) VTK_OVERRIDE;
74
75protected:
77 ~vtkParametricKuen() VTK_OVERRIDE;
78
79private:
80 vtkParametricKuen(const vtkParametricKuen&) VTK_DELETE_FUNCTION;
81 void operator=(const vtkParametricKuen&) VTK_DELETE_FUNCTION;
82};
83
84#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract interface for parametric functions
Generate Kuens' surface.
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
Kuen's surface.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetDimension() override
Return the parametric dimension of the class.
~vtkParametricKuen() override
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.
static vtkParametricKuen * New()
Construct Kuen's surface with the following parameters: (MinimumU, MaximumU) = (-3*pi,...