PeriDyno 1.0.0
Loading...
Searching...
No Matches
ConfigurableBody.h
Go to the documentation of this file.
1
16#pragma once
17#include "ArticulatedBody.h"
18
19#include "STL/Pair.h"
20
21#include "Field/VehicleInfo.h"
22
23namespace dyno
24{
25 template<typename TDataType>
26 class ConfigurableBody : virtual public ArticulatedBody<TDataType>
27 {
29 public:
30 typedef typename TDataType::Real Real;
31 typedef typename TDataType::Coord Coord;
32
34 ~ConfigurableBody() override;
35
36 DEF_VAR(VehicleBind, VehicleConfiguration, VehicleBind(4), "");
37
38 public:
39 DEF_INSTANCE_IN(TextureMesh, TextureMesh, "Input TextureMesh");
40
41 DEF_INSTANCE_IN(TriangleSet<TDataType>, TriangleSet, "TriangleSet of the boundary");
42
43 protected:
44 void resetStates() override;
45 };
46}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
DEF_INSTANCE_IN(TextureMesh, TextureMesh, "Input TextureMesh")
DEF_VAR(VehicleBind, VehicleConfiguration, VehicleBind(4), "")
DEF_INSTANCE_IN(TriangleSet< TDataType >, TriangleSet, "TriangleSet of the boundary")
The VehicleBind class is used to record information about created rigid bodies and joints....
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25