mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 22:47:50 +08:00
03766d0834
* [cgns] add port cgns * [paraview] add new port * [paraview] correct dependencies; disable catalyst * [VTK/ParaView] Make ParaView build * [paraview] add missing patch * [paraview] add cgns patch * [paraview] add qt plugin patches back in. Remove in the future * [vtk] slightly improved patches * [vtk] don't disable findPython * [paraview] add more features * [paraview] remove X11Extras from OSX * [vtk] make vtk workcorrectly with python and prepare for paraview with python * [paraview] Python fixes * [paraview] small bin -> lib replacement fix for static builds * [vtk] fix patch path * update baseline to exclude paraview for the time being on osx and linux. requires a fix in qt5-base linkage of libpq. * [paraview]try setting LD_LIBRARY_PATH for unix systems * [paraview] a bit of cleanup * update baseline * fix typo in baseline * [paraview] remove unnecessary patch * [vtk] replace custom patch with upstream patch * [paraview] cleanup in the portfile. * Update ports/paraview/CONTROL Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
90 lines
3.1 KiB
Diff
90 lines
3.1 KiB
Diff
diff --git a/Library/VisItLib/visit_vtk/lightweight/vtkUnstructuredGridFacelistFilter.C b/Library/VisItLib/visit_vtk/lightweight/vtkUnstructuredGridFacelistFilter.C
|
|
index db64a0534..0d987d8e7 100644
|
|
--- a/Library/VisItLib/visit_vtk/lightweight/vtkUnstructuredGridFacelistFilter.C
|
|
+++ b/Library/VisItLib/visit_vtk/lightweight/vtkUnstructuredGridFacelistFilter.C
|
|
@@ -69,7 +69,10 @@
|
|
//
|
|
// Forward declare some of types used to hash faces.
|
|
//
|
|
-class Quad;
|
|
+namespace hidden {
|
|
+ class Quad;
|
|
+}
|
|
+using hidden::Quad;
|
|
class QuadMemoryManager;
|
|
class Tri;
|
|
class TriMemoryManager;
|
|
@@ -322,43 +325,43 @@ class HashEntryList
|
|
// Creation: October 21, 2002
|
|
//
|
|
// ****************************************************************************
|
|
+namespace hidden {
|
|
+ class Quad
|
|
+ {
|
|
+ friend class Tri;
|
|
|
|
-class Quad
|
|
-{
|
|
- friend class Tri;
|
|
-
|
|
- public:
|
|
- Quad() { ordering_case = 255; };
|
|
-
|
|
- vtkIdType AssignNodes(const vtkIdType *);
|
|
- bool Equals(Quad *);
|
|
- bool Equals(Tri *);
|
|
- void AddInRemainingTriangle(Tri *, int);
|
|
- inline void ReRegisterMemory(void)
|
|
- {
|
|
- hashEntryList->qmm.ReRegisterQuad(this);
|
|
- }
|
|
+ public:
|
|
+ Quad() { ordering_case = 255; };
|
|
|
|
- inline void SetOriginalZone(const int &oz) { orig_zone = oz; };
|
|
- inline int GetOriginalZone(void) { return orig_zone; };
|
|
+ vtkIdType AssignNodes(const vtkIdType *);
|
|
+ bool Equals(Quad *);
|
|
+ bool Equals(Tri *);
|
|
+ void AddInRemainingTriangle(Tri *, int);
|
|
+ inline void ReRegisterMemory(void)
|
|
+ {
|
|
+ hashEntryList->qmm.ReRegisterQuad(this);
|
|
+ }
|
|
|
|
- void OutputCell(int,vtkPolyData *, vtkCellData *, vtkCellData *);
|
|
+ inline void SetOriginalZone(const int &oz) { orig_zone = oz; };
|
|
+ inline int GetOriginalZone(void) { return orig_zone; };
|
|
|
|
- inline void RegisterHashEntryList(HashEntryList *hel)
|
|
- { hashEntryList = hel; };
|
|
- inline void SetNumberOfPoints(int np) { npts = np; };
|
|
+ void OutputCell(int,vtkPolyData *, vtkCellData *, vtkCellData *);
|
|
|
|
- protected:
|
|
- unsigned char ordering_case;
|
|
- vtkIdType nodes[3];
|
|
- vtkIdType orig_zone;
|
|
+ inline void RegisterHashEntryList(HashEntryList *hel)
|
|
+ { hashEntryList = hel; };
|
|
+ inline void SetNumberOfPoints(int np) { npts = np; };
|
|
|
|
- HashEntryList *hashEntryList;
|
|
- int npts;
|
|
+ protected:
|
|
+ unsigned char ordering_case;
|
|
+ vtkIdType nodes[3];
|
|
+ vtkIdType orig_zone;
|
|
|
|
- void AddInRemainingTriangle(int, int);
|
|
-};
|
|
+ HashEntryList *hashEntryList;
|
|
+ int npts;
|
|
|
|
+ void AddInRemainingTriangle(int, int);
|
|
+ };
|
|
+}
|
|
//
|
|
// We will be re-ordering the nodes into numerical order. This enumerated
|
|
// type will allow the ordering to be preserved.
|