AGX Dynamics  2.35.0.1
DeformationData.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 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 #pragma once
18 
19 #include <agx/Vec3.h>
20 #include <agx/Quat.h>
21 
22 
23 namespace agx
24 {
25  class LockJoint;
26 }
27 
28 
29 
30 namespace agxStream
31 {
32  class InputArchive;
33  class OutputArchive;
34 }
35 
36 
37 
38 namespace agxCable
39 {
41  {
45 
49 
50  void update(const agx::LockJoint& lock, const agx::Quat& previousRotation, const agx::Quat& currentRotation);
51 
54  };
55 }
Class for reading a binary stream of serialized data.
Definition: InputArchive.h:52
Class for writing serialized data in binary format to a stream.
Definition: OutputArchive.h:57
Constraint that removes all 6 DOF between two bodies, or one body and the world.
Definition: LockJoint.h:29
Contain classes for 6 DOF lumped element cables/wires/ropes.
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
Definition: InputArchive.h:400
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
void store(agxStream::OutputArchive &out) const
void restore(agxStream::InputArchive &in)
void update(const agx::LockJoint &lock, const agx::Quat &previousRotation, const agx::Quat &currentRotation)
DeformationData(const agx::Vec3 &translationalForce, const agx::Vec3 &rotationalForce, const agx::Quat &relativeRotation)