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