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