Commit 16ffe343 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

Accelerators/Vtkm: hide vtkm headers from wrappers

parent 7930595b
......@@ -19,6 +19,7 @@
//============================================================================
#ifndef vtkmCellSetExplicit_h
#define vtkmCellSetExplicit_h
#ifndef __VTK_WRAP__
#include "vtkmTags.h"
......@@ -208,5 +209,6 @@ extern template VTKACCELERATORSVTKM_TEMPLATE_EXPORT
}
}
#endif
#endif
// VTK-HeaderTest-Exclude: vtkmCellSetExplicit.h
......@@ -19,6 +19,7 @@
//============================================================================
#ifndef vtkmCellSetSingleType_h
#define vtkmCellSetSingleType_h
#ifndef __VTK_WRAP__
#include "vtkmTags.h"
......@@ -217,5 +218,6 @@ extern template VTKACCELERATORSVTKM_TEMPLATE_EXPORT
}
} // namespace vtkm::cont
#endif
#endif // vtkmlib_vtkmCellSetSingleType_h
// VTK-HeaderTest-Exclude: vtkmCellSetSingleType.h
......@@ -19,6 +19,7 @@
//============================================================================
#ifndef vtkmConnectivityExec_h
#define vtkmConnectivityExec_h
#ifndef __VTK_WRAP__
#include "vtkmTags.h"
......@@ -207,5 +208,6 @@ extern template class VTKACCELERATORSVTKM_TEMPLATE_EXPORT ReverseConnectivityVTK
}
#endif
#endif
// VTK-HeaderTest-Exclude: vtkmConnectivityExec.h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_ArrayConverters_h
#define vtkmlib_ArrayConverters_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h" //required for correct implementation
#include "vtkmConfig.h" //required for general vtkm setup
......@@ -81,4 +82,5 @@ inline tovtkm::FieldsFlag operator|(const tovtkm::FieldsFlag &a,
return static_cast<tovtkm::FieldsFlag>(static_cast<T>(a) | static_cast<T>(b));
}
#endif
#endif // vtkmlib_ArrayConverters_h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_CellSetConverters_h
#define vtkmlib_CellSetConverters_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
#include "vtkmConfig.h" //required for general vtkm setup
......@@ -48,4 +49,5 @@ bool Convert(const vtkm::cont::DynamicCellSet& toConvert,
vtkIdTypeArray* locations = nullptr);
}
#endif
#endif // vtkmlib_CellSetConverters_h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_DataSetConverters_h
#define vtkmlib_DataSetConverters_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
......@@ -48,4 +49,5 @@ vtkm::cont::DataSet Convert(vtkDataSet* input,
FieldsFlag fields = FieldsFlag::None);
}
#endif
#endif // vtkmlib_DataSetConverters_h
......@@ -14,6 +14,7 @@
=========================================================================*/
#ifndef vtkmlib_ImageDataConverter_h
#define vtkmlib_ImageDataConverter_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
......@@ -44,4 +45,5 @@ bool Convert(const vtkm::cont::DataSet& voutput, int extents[6], vtkImageData* o
vtkDataSet* input);
}
#endif
#endif // vtkmlib_ImageDataConverter_h
......@@ -15,6 +15,7 @@
//=============================================================================
#ifndef vtkmlib_ImplicitFunctionConverter_h
#define vtkmlib_ImplicitFunctionConverter_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
#include "vtkmConfig.h" //required for general vtkm setup
......@@ -42,4 +43,5 @@ private:
}
#endif
#endif // vtkmlib_ImplicitFunctionConverter_h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_PolyDataConverter_h
#define vtkmlib_PolyDataConverter_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
......@@ -40,4 +41,5 @@ VTKACCELERATORSVTKM_EXPORT
bool Convert(const vtkm::cont::DataSet& voutput, vtkPolyData* output,
vtkDataSet* input);
}
#endif
#endif // vtkmlib_PolyDataConverter_h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_Portals_h
#define vtkmlib_Portals_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
#include "vtkmConfig.h" //required for general vtkm setup
......@@ -214,4 +215,5 @@ extern template class VTKACCELERATORSVTKM_TEMPLATE_EXPORT
#endif // defined vtkmlib_Portals_cxx
#include "Portals.hxx"
#endif
#endif // vtkmlib_Portals_h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_Storage_h
#define vtkmlib_Storage_h
#ifndef __VTK_WRAP__
#include "Portals.h"
#include "vtkmTags.h"
......@@ -375,4 +376,5 @@ extern template class VTKACCELERATORSVTKM_TEMPLATE_EXPORT
#endif // defined vtkmlib_Storage_cxx
#include "Storage.hxx"
#endif
#endif // vtkmlib_Storage_h
......@@ -16,6 +16,7 @@
#ifndef vtkmlib_UnstructuredGridConverter_h
#define vtkmlib_UnstructuredGridConverter_h
#ifndef __VTK_WRAP__
#include "vtkAcceleratorsVTKmModule.h"
......@@ -41,4 +42,5 @@ VTKACCELERATORSVTKM_EXPORT
bool Convert(const vtkm::cont::DataSet& voutput, vtkUnstructuredGrid* output,
vtkDataSet* input);
}
#endif
#endif // vtkmlib_UnstructuredGridConverter_h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment