- Nov 11, 2016
-
-
Sreekanth Arikatla authored
1. Enforces style to move one line code to one line 2. Move multiple lines to .cpp 3. make epsilon part of the class 4. SolvePositionConstraint in the base class is made pure virtual
-
- Nov 10, 2016
-
-
Sreekanth Arikatla authored
-
Sreekanth Arikatla authored
Rename NewtonMethod to NewtonSolver and the files accordingly
-
Sreekanth Arikatla authored
1. Make solve in solverBase class pure virtual 2. Rename DeformableObject to FEMDeformableObject and files accordingly 3. Efficient way to do checks in FEMDeformableObject::initialize() and pbdObject::initialize() 4. Add variable to address which map to apply for the visual geometry
-
Sreekanth Arikatla authored
Removes problemState base class Initialize methods now return bool
-
Sreekanth Arikatla authored
Make PbdConstraint abstract base class with solvePositionConstraint to be implemted in base class
-
Sreekanth Arikatla authored
1. Template parameter in the DunamicalObject and DynamicalModel is named to StateType 2. Rename paramerts in the initialization of the pbd constraints 3. Remove unnecessary APIs in scene object hierarchy
-
- Nov 09, 2016
-
-
Sreekanth Arikatla authored
Renames pbd constraint classes. Renames the selfUpdate to updateGeometries
-
- Nov 08, 2016
-
-
Alexis Girault authored
Update Geometry and Sphere to have scaling and radius respectively > 0;
-
Alexis Girault authored
Allows to create tests in iMSTK using google test and ctest. Ctests are created by test files, and not by gtest functions. Requirements: - Requires a 'Testing' subdirectory with cpp files for each class to test. - Google Test and Google Mock should be used to create unit tests, see the documentation below: https://github.com/google/googletest/blob/master/googletest/docs/Documentation.md https://github.com/google/googletest/blob/master/googlemock/docs/Documentation.md - Test files should be constructed as described under\ `imstk_add_test()` declaration
-
- Nov 03, 2016
-
-
Sreekanth Arikatla authored
-
- Nov 01, 2016
-
-
Sreekanth Arikatla authored
Fix fixed node constraint bug in PbdVolumeConstraint.
-
Sreekanth Arikatla authored
1. Adds self update to the scene objects. The objects now can update themselves instead of explicit way of updating in the sceneManager class. 2. Clear warnings in PbdVolumeeConstraint, DeformableModel, PbdModel, NewtonMethod classes 3. Clean the main() in the sandbox example
-
- Oct 31, 2016
-
-
Sreekanth Arikatla authored
1. Seperate files for separate Pbd colliison constrain classes 2. Preincrement lop variables 3. Refactor collision constraint classes: remove raw pointers, using auto, style corrections 4. Move pbd constraints to seperate folder within constraint folder 5. Clears warnings in Physics module
-
- Oct 30, 2016
-
-
Sreekanth Arikatla authored
Place all dynamicalModel related into separate folder. SceneElements now has just the tangable and intangable objects.
-
Sreekanth Arikatla authored
1. Dynamical object classes are templated with the problem state (Deformable bodies use vectorized state. Pbd objects use pbdState.) 2. Pbd state is refactored to have only the current state 3. Rename deformableBodyState to VectorizedState which can be used in future by all the finite element and vectorized formulations 4. Remove unnecessary mappnig for the cloth example 5. Adds queries to sceneobject for visible, collidable and physics 6. Optional allocation of internal states for pbdState 7. Removes the specialized calls in the sceneManager::runModule. This will be further cleaned. 8. Correct ifdef in imstkNewmarkBeta.h
-
- Oct 28, 2016
-
-
Sreekanth Arikatla authored
Rename DeformableBodyState to VectorizedState Make the ifDefs consistent in style Place and correct the headers in some files. This has to be done for all files at some point.
-
- Oct 27, 2016
-
-
Sreekanth Arikatla authored
Replace int by size_t in pbdModel Rename constraintProjection to projectConstraints
-
Sreekanth Arikatla authored
Clean the pbdState to just have body states. All the physics related parameters, time step size and time integration routines are moved to pbdModel
-
- Oct 26, 2016
-
-
Sreekanth Arikatla authored
Adds a solver base class so that both nonlinear solvers and the pbd solver derives from it. This simplifies the SceneManager::runModule()
-
Sreekanth Arikatla authored
Make a base class for problem state. All math models uses states that are derived from this class. Rename ProblemState class to DeformableBodyState Rename positionBasedModel to positionBasedDynamicsModel Replace raw pointers with smart pointers in pbdModel class rename class functions in pbdModel pbdState: move function definitions to .ccp & replace int by size_t
-
- Oct 25, 2016
-
-
Sreekanth Arikatla authored
Make locals const where ever possible in PBD constraint classes Create separate files for each of PBD constraint classes
-
Sreekanth Arikatla authored
Move the implementation to .cpp for ProblemState class. Adds missing comments for functions in ProblemState class. Make DynamicObject derive from collidableObject rather than sceneObject.
-
- Oct 24, 2016
-
-
Sreekanth Arikatla authored
-
- Oct 20, 2016
-
-
Alexis Girault authored
-
Alexis Girault authored
SceneObjectController: similar to cameraController, it subclasses trackingController to update the transformation of an object master geometry, instead of updating itself. SceneObject: similar to camera, has an interface to easily setup a controller using a device client. CollidingObject: stores the force vector that is to be applied to the device. SceneManager: make the API calls from controller instead of object
-
Alexis Girault authored
We are still wondering how to store/apply our geometries. Having yet another interface to only wrap the API to transform the geometry is not needed: we can directly call them on the geometry themselves for more transparency on what geometry is being updated. This will be investigated later on when we will work with rigib body dynamics.
-
Alexis Girault authored
-
Alexis Girault authored
Colliding geometry is only in CollidingObject. To do this, we also had to : - have PbdObject inherit CollidingObject (in the future there should not be a distinct object class just for Pbd : there should just be dynamical objects that can use different models, like Pbd or FEM) - remove useless checks when creating interactions: even two colliding objects (not dynamic, aka static) could be interacting if they are both controlled by devices
-
- Oct 19, 2016
-
-
Alexis Girault authored
Returns master geometry, defined master in the geometry maps of the objects. Physic geometry will drive the changes to the colliding geometry, which will drive the changes to the visual geometry
-
- Oct 18, 2016
-
-
Alexis Girault authored
- Get rid of scaling in constructor (too many parameters, why choose scaling and not others? Use setTranslationScaling instead) - No more default nullptr value for deviceClient in controller constructor
-
Alexis Girault authored
convert tabs to 4 spaces
-
- Oct 17, 2016
-
-
Alexis Girault authored
Was triggered build errors on windows due to std:to_string
-
- Oct 07, 2016
-
-
Alexis Girault authored
The offset should only be defined at the controller level Also remove useless include in VRPNDeviceServer
-
- Oct 06, 2016
-
-
Alexis Girault authored
Co-authored by: Nicholas Milef <milefn@rpi.edu> 1) DeviceClient : not a module anymore, only stores device info and holds callbacks 2) VRPNDeviceClient : subclasses DeviceClient AND Module, to conserve the ability to run multiple clients in parallel with a VRPN server 3) HDAPIDeviceServer : new module that manages the HDAPIDevice clients execution, which need to be made sequentially. Also helps managing a unique hdScheduler. 4) HDAPIDeviceClient : lets the HDAPIDeviceServer handle the hdScheduler. Also makes use of hdMakeCurrentDevice. 5) SimulationManager : refactor to run modules instead of deviceservers or deviceclients 6) Sandbox : use new simulationManager API to add modules
-
- Aug 19, 2016
-
-
Hong Li authored
- Fix workflow for PBD in SceneManager.cpp. Add/modify related functions for PbdObject/PbdRigidObject/VirtualCoupleingPBDObject. It should work for the most general case where collision/physics/visual meshes are different from each other. - Add LineMesh class and LineMeshRenderDelegate. Add support for LineMesh class in imstkGeometry, imstkMesh, imstkRenderDelegate. - Fix a bug for computeBoundingBox() in imstkMesh. - Fix a bug for applying mapping in TetraTriangleMap. - Fix a bug for computing the center of tetra in TetraTriangleMap.
-
- Aug 11, 2016
-
-
Hong Li authored
-Create PbdRigidObject class for objects that are not deformable but need to interact with deformable pbd objects. -Create VirtualCouplingPbdObject class, which is inherted from PbdRigidObject and TrackingController. The physics and colliding geometry(mesh) need to be translate/rotate manually to interact with deformable objects, which is different from existing VirtualCouplingObject class.
-
- Aug 08, 2016
-
-
NickMilef authored
-
- Aug 04, 2016
-
-
Sreekanth Arikatla authored
Enforces style and place holders for comments in the pbd related code files
-
- Aug 03, 2016
-
-
tuanthienbk authored
-