Go to the documentation of this file.
19 #ifndef viskores_cont_CellLocatorBoundingIntervalHierarchy_h
20 #define viskores_cont_CellLocatorBoundingIntervalHierarchy_h
61 using LastCell =
typename ExecObjType::LastCell;
68 : NumPlanes(numPlanes)
69 , MaxLeafSize(maxLeafSize)
84 this->NumPlanes = numPlanes;
100 this->MaxLeafSize = maxLeafSize;
117 struct MakeExecObject;
123 #endif // viskores_cont_CellLocatorBoundingIntervalHierarchy_h
Base class for all CellLocator classes.
Definition: CellLocatorBase.h:42
A cell locator that performs a recursive division of space.
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:49
void SetNumberOfSplittingPlanes(viskores::IdComponent numPlanes)
Specify the number of splitting planes to use each time a region is divided.
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:82
viskores::IdComponent GetNumberOfSplittingPlanes()
Specify the number of splitting planes to use each time a region is divided.
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:88
typename ExecObjType::LastCell LastCell
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:61
viskores::cont::ArrayHandle< viskores::Id > ProcessedCellIds
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:113
typename detail::ListApplyImpl< List, Target >::type ListApply
Applies the list of types to a template.
Definition: List.h:146
CellLocatorBoundingIntervalHierarchy(viskores::IdComponent numPlanes=4, viskores::IdComponent maxLeafSize=5)
Construct a CellLocatorBoundingIntervalHierarchy while optionally specifying the number of splitting ...
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:66
Structure for locating cells.
Definition: exec/CellLocatorBoundingIntervalHierarchy.h:82
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
viskores::IdComponent NumPlanes
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:110
viskores::ListTransform< SupportedCellSets, viskores::exec::CellLocatorBoundingIntervalHierarchy > CellLocatorExecList
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:57
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
::viskores::cont::internal::CellSetList SupportedCellSets
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:53
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
#define VISKORES_DEFAULT_CELL_SET_LIST
Definition: DefaultTypes.h:85
typename detail::ListTransformImpl< List, Transform >::type ListTransform
Constructs a list containing all types in a source list applied to a transform template.
Definition: List.h:617
viskores::Id GetMaxLeafSize()
Specify the number of cells in each leaf.
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:104
viskores::IdComponent MaxLeafSize
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:111
An object used to specify a device.
Definition: DeviceAdapterTag.h:66
void SetMaxLeafSize(viskores::IdComponent maxLeafSize)
Specify the number of cells in each leaf.
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:98
viskores::cont::ArrayHandle< viskores::exec::CellLocatorBoundingIntervalHierarchyNode > Nodes
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:112
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:43
viskores::ListApply< CellLocatorExecList, viskores::exec::CellLocatorMultiplexer > ExecObjType
Definition: cont/CellLocatorBoundingIntervalHierarchy.h:60