AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
MergeIgnoreGroups.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. 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
9having been advised so by Algoryx Simulation AB for a time limited evaluation,
10or having purchased a valid 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
18#pragma once
19
21
22
23namespace agxStream
24{
25 class OutputArchive;
26 class InputArchive;
27}
28
29
30namespace agxSDK
31{
40 {
41 public:
48
54 agx::Bool add(const agx::Name& name);
55
64
72
76 const agx::UInt32Vector& getIds() const;
77
81 const agx::NameVector& getNames() const;
82
83 void store(agxStream::OutputArchive& archive) const;
85
86 private:
88 agx::NameVector m_names;
89 };
90}
#define AGXPHYSICS_EXPORT
A collection of merge ignore groups, some named and some not.
agx::Bool remove(const agx::Name &name)
Remove the given group name.
agx::Bool add(const agx::Name &name)
Add the given group name.
void restore(agxStream::InputArchive &archive)
agx::Bool remove(agx::UInt32 id)
Remove the given group ID.
const agx::NameVector & getNames() const
const agx::UInt32Vector & getIds() const
void store(agxStream::OutputArchive &archive) const
agx::Bool add(agx::UInt32 id)
Add the given group ID.
Class for reading a binary stream of serialized data.
Class for writing serialized data in binary format to a stream.
Representation of a name string.
Definition Name.h:33
Templated vector class.
Definition agx/Vector.h:53
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Definition Constraint.h:31
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
uint32_t UInt32
Definition Integer.h:32
bool Bool
Definition Integer.h:40