Momentum Scripting v1
Deprecated API version. Use Momentum.v2 for new scripts.
Loading...
Searching...
No Matches
ConveyorBelt.h
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 without having a written signed agreement with Algoryx Simulation AB.
9
10Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
11from using this software, unless otherwise stated in written agreements with
12Algoryx Simulation AB.
13*/
14#ifndef MOMENTUM_CONVEYOR_BELT_H
15#define MOMENTUM_CONVEYOR_BELT_H
16
17#include "momentum_namespace.h"
18#include "momentum_export.h"
19#include "macros.h"
20
21#include <string>
22
24#include "Vec3.h"
25#include "Vec4.h"
27
28#ifndef SWIG
30namespace agxModel
31{
32 class SurfaceVelocityConveyorBelt;
33}
35#endif
36
37namespace MOMENTUM_NAMESPACE
38{
39 class Geometry;
40
44 class MOMENTUM_EXPORT ConveyorBelt
45 {
46 public:
50#ifndef SWIG
52
55 ConveyorBelt( agxModel::SurfaceVelocityConveyorBelt* );
57#endif
58
64 double getSpeed() const;
65
70 std::shared_ptr<Geometry> getGeometry() const;
71
72#ifndef AGX_MOMENTUM_ANALYSIS_API
73
81 void setSpeed( double speed );
82
83#endif
84
89 std::string getName() const;
90
92 std::string __str__() const;
94
95#ifndef SWIG
97 agxModel::SurfaceVelocityConveyorBelt* m_conveyor;
99#endif
100 };
101
102 V1_DECLARE_CONTAINER_TYPE( ConveyorBelt );
103}
104
105#endif
A class that encapsulates the Conveyor Belt objects in the simulation.
Definition: ConveyorBelt.h:45
std::string getName() const
Get the name of the ConveyorBelt.
double getSpeed() const
Get the speed of the Conveyor Belt.
void setSpeed(double speed)
Set the speed of the Conveyor Belt.
std::shared_ptr< Geometry > getGeometry() const
Get the Geometry that the Conveyor Belt is based on.
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29