VMTK
Loading...
Searching...
No Matches
vtkvmtkCenterlineInterpolateArray.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=========================================================================*/
37
38#ifndef __vtkvmtkCenterlineInterpolateArray_h
39#define __vtkvmtkCenterlineInterpolateArray_h
40
41#include "vtkPolyDataAlgorithm.h"
42//#include "vtkvmtkComputationalGeometryWin32Header.h"
43#include "vtkvmtkWin32Header.h"
44
45#include "vtkDataArray.h"
46#include "vtkIdList.h"
47
48class VTK_VMTK_CONTRIB_EXPORT vtkvmtkCenterlineInterpolateArray : public vtkPolyDataAlgorithm
49{
50public:
52 vtkTypeMacro(vtkvmtkCenterlineInterpolateArray,vtkPolyDataAlgorithm);
53
55
58 vtkSetMacro(DefaultValue,double);
59 vtkGetMacro(DefaultValue,double);
61
63
66 vtkSetObjectMacro(Values,vtkDataArray);
67 vtkGetObjectMacro(Values,vtkDataArray);
69
71
74 vtkSetObjectMacro(ValuesIds,vtkIdList);
75 vtkGetObjectMacro(ValuesIds,vtkIdList);
77
79
83 vtkSetStringMacro(InterpolatedArrayName);
84 vtkGetStringMacro(InterpolatedArrayName);
86
87
88protected:
91
92 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
93
95
97 vtkDataArray *Values;
98 vtkIdList *ValuesIds;
99
100private:
102 void operator=(const vtkvmtkCenterlineInterpolateArray&); // Not implemented.
103};
104
105#endif
106
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkCenterlineInterpolateArray * New()