VTK  9.3.20240422
vtkHyperTreeGridTools.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef vtkHyperTreeGridTools_h
5#define vtkHyperTreeGridTools_h
6
7#include "vtkABINamespace.h"
8
9namespace vtk
10{
11namespace hypertreegrid
12{
13VTK_ABI_NAMESPACE_BEGIN
14
15template <class T>
16bool HasTree(const T& e)
17{
18 return e.GetTree() != nullptr;
19}
20
21VTK_ABI_NAMESPACE_END
22} // namespace hypertreegrid
23} // namespace vtk
24
25#endif // vtHyperTreeGridTools_h
26// VTK-HeaderTest-Exclude: vtkHyperTreeGridTools.h
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.