VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataSampleFunction.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16 Note: this class was contributed by
17 Tangui Morvan
18 Kalkulo AS
19 Simula Research Laboratory
20=========================================================================*/
32
33#ifndef __vtkvmtkPolyDataSampleFunction_h
34#define __vtkvmtkPolyDataSampleFunction_h
35
36#include "vtkPolyDataAlgorithm.h"
37#include "vtkvmtkWin32Header.h"
38
39#include "vtkPolyData.h"
40#include "vtkImplicitFunction.h"
41
42class VTK_VMTK_CONTRIB_EXPORT vtkvmtkPolyDataSampleFunction : public vtkPolyDataAlgorithm
43{
44public:
46 vtkTypeMacro(vtkvmtkPolyDataSampleFunction,vtkPolyDataAlgorithm);
47
49
52 virtual void SetImplicitFunction(vtkImplicitFunction*);
53 vtkGetObjectMacro(ImplicitFunction,vtkImplicitFunction);
55
57
62 vtkSetStringMacro(SampleArrayName);
63 vtkGetStringMacro(SampleArrayName);
65
66protected:
69
70 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
71
73
74 vtkImplicitFunction *ImplicitFunction;
75
76
77private:
79 void operator=(const vtkvmtkPolyDataSampleFunction&); // Not implemented.
80};
81
82#endif
83
static vtkvmtkPolyDataSampleFunction * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual void SetImplicitFunction(vtkImplicitFunction *)