Refactor to move SphObject and LevelSetObject to Behaviours (SphMethod, LevelSetMethod)
Brief
This is an important milestone in ECS refactoring, as we finally get to delete the DynamicObject
class and convert all Object types (PbdObject, SphObject, LevelSetDeformableObject) into Behaviours (PbdMethod, SphMethod, LevelSetMethod). All simulation objects can be now directly expressed as Entity
and Component / Behaviour
.
Summary of Changes
-
Rename
SphModel
toSphSystem
-
Rename
SphModelConfig
toSphSystemConfig
-
Rename
LevelSetModel
toLevelSetSystem
-
Rename
LevelSetModelConfig
toLevelSetSystemConfig
-
Move
SphObject
functionality toSphMethod
-
Move
LevelSetDeformableObject
functionality toLevelSetMethod
-
Delete
SphObject
-
Delete
LevelSetDeformableObject
-
Delete
DynamicObject
-
Update C# Wrappers
-
Move DynamicModels/ObjectModels/* --> DynamicSystems/*
-
Move DynamicModels/ObjectStates/* --> DynamicSystems/*
Future Work
SceneObject
, however, still prevails. Further discussion is needed to make decisions regarding whether to keep SceneObject
class or not, and if yes, what are the restricted set of classes that should inherit from it. Many current classes that inherit from the SceneObject could
possibly be re-formed as Behaviours (for example, AnimationObject, PbdObjectCutting, PbdObjectGrasping, PbdObjectStitching, PbdObjectCellRemoval).