VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
DataModel
vtkHyperTreeGridTools.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkHyperTreeGridTools.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright Nonice for more information.
13
14
=========================================================================*/
15
16
#ifndef vtkHyperTreeGridTools_h
17
#define vtkHyperTreeGridTools_h
18
19
namespace
vtk
20
{
21
namespace
hypertreegrid
22
{
23
24
template
<
class
T>
25
bool
HasTree
(
const
T& e)
26
{
27
return
e.GetTree() !=
nullptr
;
28
}
29
30
}
// namespace hypertreegrid
31
}
// namespace vtk
32
33
#endif
// vtHyperTreeGridTools_h
34
// VTK-HeaderTest-Exclude: vtkHyperTreeGridTools.h
vtk::hypertreegrid::HasTree
bool HasTree(const T &e)
Definition:
vtkHyperTreeGridTools.h:25
vtk
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.
Definition:
vtkSMPThreadLocalAPI.h:42
Generated on Sat Feb 25 2023 08:59:35 for VTK by
1.9.4