AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
DisabledCollisionsState.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#pragma once
18
19#include <agx/Vector.h>
20#include <agx/Name.h>
21
22namespace agxCollide
23{
24 class Geometry;
25
26 struct NamePair
27 {
30 };
32
34 {
37 };
39
41 {
44 };
46
52 {
53 public:
58
63
68
73
74 public:
75
76 private:
77 friend class Space;
78 void addDisabled( const agx::Name& name1, const agx::Name& name2 );
79 void addDisabled( agx::UInt32 id1, agx::UInt32 id2 );
80 void addDisabled( agxCollide::Geometry* geometry1, agxCollide::Geometry* geometry2 );
81
82 private:
83 NamePairVector m_disabledNames;
84 GroupIdPairVector m_disabledIds;
85 GeometryPtrPairVector m_disabledGeometryPairs;
86 };
87
88#ifndef SWIG
89 std::ostream& operator << ( std::ostream& output, const DisabledCollisionsState& state );
90#endif
91}
#define AGXPHYSICS_EXPORT
Complete disabled collisions state in a simulation including disabled given name, group id (integer) ...
const NamePairVector & getDisabledNames() const
DisabledCollisionsState()
Default constructor.
const GroupIdPairVector & getDisabledIds() const
const GeometryPtrPairVector & getDisabledGeometryPairs() const
The geometry representation used by the collision detection engine.
Definition: Geometry.h:92
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
Definition: Space.h:86
Representation of a name string.
Definition: Name.h:33
Templated vector class.
Definition: agx/Vector.h:53
This namespace consists of a set of classes for handling geometric intersection tests including boole...
agx::Vector< GeometryPtrPair > GeometryPtrPairVector
std::ostream & operator<<(std::ostream &output, const BoundingAABB &bound)
Definition: BoundingAABB.h:224
agx::Vector< NamePair > NamePairVector
agx::Vector< GroupIdPair > GroupIdPairVector
uint32_t UInt32
Definition: Integer.h:32