Momentum Scripting v1
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"
26
27#ifndef SWIG
29namespace agxModel
30{
31 class SurfaceVelocityConveyorBelt;
32}
34#endif
35
36namespace MOMENTUM_NAMESPACE
37{
38 class Geometry;
39
43 class MOMENTUM_EXPORT ConveyorBelt
44 {
45 public:
49#ifndef SWIG
51
54 ConveyorBelt( agxModel::SurfaceVelocityConveyorBelt* );
56#endif
57
63 double getSpeed() const;
64
69 std::shared_ptr<Geometry> getGeometry() const;
70
71#ifndef AGX_MOMENTUM_ANALYSIS_API
72
80 void setSpeed( double speed );
81
82#endif
83
88 std::string getName() const;
89
91 std::string __str__() const;
93
94#ifndef SWIG
96 agxModel::SurfaceVelocityConveyorBelt* m_conveyor;
98#endif
99 };
100
101 V1_DECLARE_CONTAINER_TYPE( ConveyorBelt );
102}
103
104#endif
A class that encapsulates the Conveyor Belt objects in the simulation.
Definition: ConveyorBelt.h:44
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