AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
HierarchicalGrid.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXCOLLIDE_HIERARCHICALGRID_H
18#define AGXCOLLIDE_HIERARCHICALGRID_H
19
21#include <agx/Component.h>
22#include <agx/SymmetricPair.h>
23#include <agxData/Entity.h>
24#include <agx/Task.h>
25
26
27namespace agxCollide
28{
31 {
32 public:
34
37
38 void findOverlaps(const agx::Vec3Vector& positionVector, const agx::RealVector& radiusVector, GridOverlapVector& result);
39
40 protected:
42
43 private:
44 agx::TaskRef m_findOverlapsTask;
45 };
46
47}
48
49
50#endif /* AGXCOLLIDE_HIERARCHICALGRID_H */
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXPHYSICS_EXPORT
agx::SymmetricPair< agx::UInt32 > GridOverlap
void findOverlaps(const agx::Vec3Vector &positionVector, const agx::RealVector &radiusVector, GridOverlapVector &result)
agx::VectorPOD< GridOverlap > GridOverlapVector
A component is an object containing other objects, enabling hierarchical structuring.
Definition: Component.h:39
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
Definition: SymmetricPair.h:32
Vector containing 'raw' data.
Definition: agx/Vector.h:246
This namespace consists of a set of classes for handling geometric intersection tests including boole...