VMTK
Loading...
Searching...
No Matches
vtkvmtkAnnularCapPolyData.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=========================================================================*/
38
39#ifndef __vtkvmtkAnnularCapPolyData_h
40#define __vtkvmtkAnnularCapPolyData_h
41
42#include "vtkPolyDataAlgorithm.h"
43#include "vtkIdList.h"
44#include "vtkIdTypeArray.h"
45#include "vtkvmtkWin32Header.h"
46
47class VTK_VMTK_MISC_EXPORT vtkvmtkAnnularCapPolyData : public vtkPolyDataAlgorithm
48{
49 public:
50 vtkTypeMacro(vtkvmtkAnnularCapPolyData,vtkPolyDataAlgorithm);
51 void PrintSelf(std::ostream& os, vtkIndent indent) override;
52
54
56
63 vtkSetObjectMacro(BoundaryIds,vtkIdList);
64 vtkGetObjectMacro(BoundaryIds,vtkIdList);
66
68
76 vtkSetStringMacro(CellEntityIdsArrayName);
77 vtkGetStringMacro(CellEntityIdsArrayName);
79
81
86 vtkSetMacro(CellEntityIdOffset,int);
87 vtkGetMacro(CellEntityIdOffset,int);
89
91
105 vtkSetStringMacro(BoundaryLabelsArrayName);
106 vtkGetStringMacro(BoundaryLabelsArrayName);
107 vtkSetStringMacro(BoundaryPointOrderArrayName);
108 vtkGetStringMacro(BoundaryPointOrderArrayName);
110
112
126 vtkSetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
127 vtkGetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
129
130 protected:
133
134 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
135
139 vtkIdType PairCapCellEntityId(vtkIdType positionalId, vtkIdType boundaryId, vtkIdType partnerBoundaryId, bool useBoundaryLabels);
140
141 vtkIdList* BoundaryIds;
144 vtkIdTypeArray* BoundaryCellEntityIds;
147
148 private:
149 vtkvmtkAnnularCapPolyData(const vtkvmtkAnnularCapPolyData&); // Not implemented.
150 void operator=(const vtkvmtkAnnularCapPolyData&); // Not implemented.
151};
152
153#endif
static vtkvmtkAnnularCapPolyData * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkIdType PairCapCellEntityId(vtkIdType positionalId, vtkIdType boundaryId, vtkIdType partnerBoundaryId, bool useBoundaryLabels)