VMTK
Loading...
Searching...
No Matches
vtkvmtkConcaveAnnularCapPolyData.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 Note: this class was contributed by
17 Martin Sandve Alnaes
18 Simula Research Laboratory
19 Based on vtkvmtkAnnularCapPolyData by Tangui Morvan.
20
21=========================================================================*/
37
38#ifndef __vtkvmtkConcaveAnnularCapPolyData_h
39#define __vtkvmtkConcaveAnnularCapPolyData_h
40
41#include "vtkPolyDataAlgorithm.h"
42#include "vtkIdList.h"
43#include "vtkIdTypeArray.h"
44#include "vtkvmtkWin32Header.h"
45
46class VTK_VMTK_CONTRIB_EXPORT vtkvmtkConcaveAnnularCapPolyData : public vtkPolyDataAlgorithm
47{
48 public:
49 vtkTypeMacro(vtkvmtkConcaveAnnularCapPolyData,vtkPolyDataAlgorithm);
50 void PrintSelf(std::ostream& os, vtkIndent indent) override;
51
53
55
61 vtkSetObjectMacro(BoundaryIds,vtkIdList);
62 vtkGetObjectMacro(BoundaryIds,vtkIdList);
64
66
75 vtkSetStringMacro(CellEntityIdsArrayName);
76 vtkGetStringMacro(CellEntityIdsArrayName);
78
80
85 vtkSetMacro(CellEntityIdOffset,int);
86 vtkGetMacro(CellEntityIdOffset,int);
88
90
101 vtkSetStringMacro(BoundaryLabelsArrayName);
102 vtkGetStringMacro(BoundaryLabelsArrayName);
103 vtkSetStringMacro(BoundaryPointOrderArrayName);
104 vtkGetStringMacro(BoundaryPointOrderArrayName);
106
108
117 vtkSetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
118 vtkGetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
120
121 protected:
124
125 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
126
130 vtkIdType PairCapCellEntityId(vtkIdType positionalId, vtkIdType boundaryId, vtkIdType partnerBoundaryId, bool useBoundaryLabels);
131
132 vtkIdList* BoundaryIds;
135 vtkIdTypeArray* BoundaryCellEntityIds;
138
139 private:
141 void operator=(const vtkvmtkConcaveAnnularCapPolyData&); // Not implemented.
142};
143
144#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkConcaveAnnularCapPolyData * New()
vtkIdType PairCapCellEntityId(vtkIdType positionalId, vtkIdType boundaryId, vtkIdType partnerBoundaryId, bool useBoundaryLabels)