VTK
9.4.20241222
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
DataModel
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
9
namespace
vtk
10
{
11
namespace
hypertreegrid
12
{
13
VTK_ABI_NAMESPACE_BEGIN
14
15
template
<
class
T>
16
bool
HasTree
(
const
T& e)
17
{
18
return
e.GetTree() !=
nullptr
;
19
}
20
21
VTK_ABI_NAMESPACE_END
22
}
// namespace hypertreegrid
23
}
// namespace vtk
24
25
#endif
// vtHyperTreeGridTools_h
26
// VTK-HeaderTest-Exclude: vtkHyperTreeGridTools.h
vtk::hypertreegrid::HasTree
bool HasTree(const T &e)
Definition
vtkHyperTreeGridTools.h:16
vtk
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.
Definition
vtkSMPThreadLocalAPI.h:30
Generated on Sun Dec 22 2024 09:31:46 for VTK by
1.9.7