From 9f687a64f3d73c7a362aa161b05325db01668aa2 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Mon, 22 Feb 2016 13:29:00 -0500 Subject: [PATCH] Derived CellSetExplicit classes can now modify the incremental build state. --- vtkm/cont/CellSetExplicit.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vtkm/cont/CellSetExplicit.h b/vtkm/cont/CellSetExplicit.h index 4a089f0e7..6544ca0e1 100644 --- a/vtkm/cont/CellSetExplicit.h +++ b/vtkm/cont/CellSetExplicit.h @@ -517,8 +517,10 @@ private: #undef VTKM_GET_CONNECTIVITY_METHOD +protected: // These are used in the AddCell and related methods to incrementally add - // cells. + // cells. They need to be protected as subclasses of CellSetExplicit + // need to set these values when implementing Fill() vtkm::Id ConnectivityLength; vtkm::Id NumberOfCells; vtkm::Id NumberOfPoints;