AGX Dynamics
2.37.3.2
VariableUtil.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 AGXFMI2_EXPORT_VARIABLEUTIL_H
18
#define AGXFMI2_EXPORT_VARIABLEUTIL_H
19
20
#include <
agxFMI2/export/Variable.h
>
21
#include <
agx/Constraint.h
>
22
#include <
agx/ParticleEmitter.h
>
23
24
namespace
agxFMI2
25
{
26
namespace
Export
27
{
28
namespace
Constraint
29
{
30
// Constraint
31
AGXFMI_EXPORT
InputVariable_Real *
setCompliance
(
agx::Constraint
* constraint);
32
AGXFMI_EXPORT
InputVariable_Real *
setDamping
(
agx::Constraint
* constraint);
33
34
// Motor
35
// AGXFMI_EXPORT InputVariable_Bool *enableMotor(agx::Constraint1DOF* constraint);
36
// AGXFMI_EXPORT InputVariable_Bool *enableMotor(agx::Constraint2DOF* constraint, agx::Constraint2DOF::DOF dof);
37
38
AGXFMI_EXPORT
InputVariable_Real *
setMotorSpeed
(
agx::Constraint1DOF
* constraint);
39
AGXFMI_EXPORT
InputVariable_Real *
setMotorSpeed
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
40
41
AGXFMI_EXPORT
InputVariable_Real *
setMotorMinForceRange
(
agx::Constraint1DOF
* constraint);
42
AGXFMI_EXPORT
InputVariable_Real *
setMotorMinForceRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
43
44
AGXFMI_EXPORT
InputVariable_Real *
setMotorMaxForceRange
(
agx::Constraint1DOF
* constraint);
45
AGXFMI_EXPORT
InputVariable_Real *
setMotorMaxForceRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
46
47
AGXFMI_EXPORT
InputVariable_Real *
setMotorCompliance
(
agx::Constraint1DOF
* constraint);
48
AGXFMI_EXPORT
InputVariable_Real *
setMotorCompliance
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
49
50
// Range
51
// AGXFMI_EXPORT InputVariable_Bool *enableRange(agx::Constraint1DOF* constraint);
52
// AGXFMI_EXPORT InputVariable_Bool *enableRange(agx::Constraint2DOF* constraint, agx::Constraint2DOF::DOF dof);
53
54
AGXFMI_EXPORT
InputVariable_Real *
setRangeMinRange
(
agx::Constraint1DOF
* constraint);
55
AGXFMI_EXPORT
InputVariable_Real *
setRangeMinRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
56
57
AGXFMI_EXPORT
InputVariable_Real *
setRangeMaxRange
(
agx::Constraint1DOF
* constraint);
58
AGXFMI_EXPORT
InputVariable_Real *
setRangeMaxRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
59
60
AGXFMI_EXPORT
InputVariable_Real *
setRangeMinForceRange
(
agx::Constraint1DOF
* constraint);
61
AGXFMI_EXPORT
InputVariable_Real *
setRangeMinForceRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
62
63
AGXFMI_EXPORT
InputVariable_Real *
setRangeMaxForceRange
(
agx::Constraint1DOF
* constraint);
64
AGXFMI_EXPORT
InputVariable_Real *
setRangeMaxForceRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
65
66
AGXFMI_EXPORT
InputVariable_Real *
setRangeCompliance
(
agx::Constraint1DOF
* constraint);
67
AGXFMI_EXPORT
InputVariable_Real *
setRangeCompliance
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
68
69
// Lock
70
// AGXFMI_EXPORT InputVariable_Bool *enableLock(agx::Constraint1DOF* constraint);
71
// AGXFMI_EXPORT InputVariable_Bool *enableLock(agx::Constraint2DOF* constraint, agx::Constraint2DOF::DOF dof);
72
73
AGXFMI_EXPORT
InputVariable_Real *
setLockPosition
(
agx::Constraint1DOF
* constraint);
74
AGXFMI_EXPORT
InputVariable_Real *
setLockPosition
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
75
76
AGXFMI_EXPORT
InputVariable_Real *
setLockMinForceRange
(
agx::Constraint1DOF
* constraint);
77
AGXFMI_EXPORT
InputVariable_Real *
setLockMinForceRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
78
79
AGXFMI_EXPORT
InputVariable_Real *
setLockMaxForceRange
(
agx::Constraint1DOF
* constraint);
80
AGXFMI_EXPORT
InputVariable_Real *
setLockMaxForceRange
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
81
82
AGXFMI_EXPORT
InputVariable_Real *
setLockCompliance
(
agx::Constraint1DOF
* constraint);
83
AGXFMI_EXPORT
InputVariable_Real *
setLockCompliance
(
agx::Constraint2DOF
* constraint,
agx::Constraint2DOF::DOF
dof);
84
85
}
86
87
namespace
ParticleEmitter
88
{
89
AGXFMI_EXPORT
InputVariable_Real *
setEmitterRate
(
agx::ParticleEmitter
* emitter);
90
}
91
92
}
93
94
}
95
96
97
#endif
/* AGXFMI2_EXPORT_VARIABLEUTIL_H */
agxFMI2::Export::Constraint::setMotorMaxForceRange
AGXFMI_EXPORT InputVariable_Real * setMotorMaxForceRange(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setLockMinForceRange
AGXFMI_EXPORT InputVariable_Real * setLockMinForceRange(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setCompliance
AGXFMI_EXPORT InputVariable_Real * setCompliance(agx::Constraint *constraint)
agxFMI2::Export::Constraint::setLockPosition
AGXFMI_EXPORT InputVariable_Real * setLockPosition(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setRangeCompliance
AGXFMI_EXPORT InputVariable_Real * setRangeCompliance(agx::Constraint1DOF *constraint)
agx::Constraint2DOF
Specialization for constraints that have two degree of freedom such as Cylindrical.
Definition:
Constraint.h:761
AGXFMI_EXPORT
#define AGXFMI_EXPORT
ParticleEmitter.h
agx::Constraint
The base class for a constraint.
Definition:
Constraint.h:88
agx::Constraint1DOF
Specialization for constraints that have only one degree of freedom such as Hinge and Prismatic...
Definition:
Constraint.h:673
agxFMI2::Export::Constraint::setRangeMinRange
AGXFMI_EXPORT InputVariable_Real * setRangeMinRange(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setMotorCompliance
AGXFMI_EXPORT InputVariable_Real * setMotorCompliance(agx::Constraint1DOF *constraint)
agxFMI2::Export::ParticleEmitter::setEmitterRate
AGXFMI_EXPORT InputVariable_Real * setEmitterRate(agx::ParticleEmitter *emitter)
agx::Constraint2DOF::DOF
DOF
Specifies a selected degree of freedom.
Definition:
Constraint.h:771
Variable.h
agxFMI2::Export::Constraint::setRangeMaxForceRange
AGXFMI_EXPORT InputVariable_Real * setRangeMaxForceRange(agx::Constraint1DOF *constraint)
Constraint.h
agxFMI2::Export::Constraint::setMotorSpeed
AGXFMI_EXPORT InputVariable_Real * setMotorSpeed(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setLockCompliance
AGXFMI_EXPORT InputVariable_Real * setLockCompliance(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setRangeMinForceRange
AGXFMI_EXPORT InputVariable_Real * setRangeMinForceRange(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setDamping
AGXFMI_EXPORT InputVariable_Real * setDamping(agx::Constraint *constraint)
agxFMI2
This namespace contains functionality for using AGX together with version 2 of the Functional Mockup ...
agx::ParticleEmitter
Spawns new particles inside a given volume given to the Emitter.
Definition:
ParticleEmitter.h:32
agxFMI2::Export::Constraint::setRangeMaxRange
AGXFMI_EXPORT InputVariable_Real * setRangeMaxRange(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setLockMaxForceRange
AGXFMI_EXPORT InputVariable_Real * setLockMaxForceRange(agx::Constraint1DOF *constraint)
agxFMI2::Export::Constraint::setMotorMinForceRange
AGXFMI_EXPORT InputVariable_Real * setMotorMinForceRange(agx::Constraint1DOF *constraint)
include
agxFMI2
export
VariableUtil.h
Generated on Fri Apr 12 2024 12:40:27 for AGX Dynamics by
1.8.13