VMTK
Loading...
Searching...
No Matches
vtkvmtkSimpleCapPolyData.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: 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=========================================================================*/
36
37#ifndef __vtkvmtkSimpleCapPolyData_h
38#define __vtkvmtkSimpleCapPolyData_h
39
40#include "vtkPolyDataAlgorithm.h"
41#include "vtkIdList.h"
42#include "vtkIdTypeArray.h"
43#include "vtkvmtkWin32Header.h"
44
45class VTK_VMTK_MISC_EXPORT vtkvmtkSimpleCapPolyData : public vtkPolyDataAlgorithm
46{
47 public:
48 vtkTypeMacro(vtkvmtkSimpleCapPolyData,vtkPolyDataAlgorithm);
49 void PrintSelf(std::ostream& os, vtkIndent indent) override;
50
52
54
61 vtkSetObjectMacro(BoundaryIds,vtkIdList);
62 vtkGetObjectMacro(BoundaryIds,vtkIdList);
64
66
74 vtkSetStringMacro(CellEntityIdsArrayName);
75 vtkGetStringMacro(CellEntityIdsArrayName);
77
79
84 vtkSetMacro(CellEntityIdOffset,int);
85 vtkGetMacro(CellEntityIdOffset,int);
87
89
104 vtkSetStringMacro(BoundaryLabelsArrayName);
105 vtkGetStringMacro(BoundaryLabelsArrayName);
106 vtkSetStringMacro(BoundaryPointOrderArrayName);
107 vtkGetStringMacro(BoundaryPointOrderArrayName);
109
111
123 vtkSetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
124 vtkGetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
126
127 protected:
130
131 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
132
133 vtkIdList* BoundaryIds;
138 vtkIdTypeArray* BoundaryCellEntityIds;
139
140 private:
141 vtkvmtkSimpleCapPolyData(const vtkvmtkSimpleCapPolyData&); // Not implemented.
142 void operator=(const vtkvmtkSimpleCapPolyData&); // Not implemented.
143};
144
145#endif
static vtkvmtkSimpleCapPolyData * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(std::ostream &os, vtkIndent indent) override