|
bool | SurgSim::Physics::parseTruthCubeData (std::shared_ptr< TruthCubeData > truthCubeData) |
| Parsing Truth Cube data from an external file. More...
|
|
size_t | SurgSim::Physics::searchForClosestNodeInState (std::shared_ptr< SurgSim::Math::OdeState > state, Vector3d p) |
| Search the node in the state that is the closest to a given 3d point This is necessary because the structure of the nodes in the state and in the truth cube is not necessarily matching The state is built with a structure aligned on +X +Y +Z, while the truth cube data are defined along +X +Y -Z and rotated (PI/2 along X) to match Y up, so 3d indices don't match. More...
|
|
void | SurgSim::Physics::buildConstrainedSystem (std::shared_ptr< TruthCubeRepresentation > truthCubeRepresentation, SurgSim::Math::Matrix &A, SurgSim::Math::Vector &B) |
| Build the constrained system for a given truth cube representation. More...
|
|
SurgSim::Math::Vector | SurgSim::Physics::staticSolver (std::shared_ptr< TruthCubeRepresentation > truthCubeRepresentation) |
| Using static solver to find the displacement of truth cube. More...
|
|
void | SurgSim::Physics::doSimulation (std::shared_ptr< TruthCubeData > truthCubeData, std::shared_ptr< TruthCubeRepresentation > truthCubeRepresentation, double displacement) |
| Simulate the truth cube statically with the boundary conditions applied. More...
|
|
void | SurgSim::Physics::copySimulationBeadsIntoPointCloud (std::shared_ptr< TruthCubeRepresentation > truthCubeRepresentation, std::shared_ptr< SurgSim::Graphics::OsgPointCloudRepresentation > representation) |
| Copy simulation beads data into point cloud. More...
|
|
void | SurgSim::Physics::copyExperimentalBeadsIntoPointCloud (std::vector< SurgSim::Math::Vector3d > truthCube, std::shared_ptr< SurgSim::Graphics::OsgPointCloudRepresentation > representation) |
|
double | SurgSim::Physics::analyzeError (std::vector< Vector3d > cubeData, std::shared_ptr< SurgSim::Math::OdeState > state) |
| Simple error analysis. More...
|
|
| SurgSim::Physics::TEST_F (Fem3DVSTruthCubeRenderTests, rawDataTest) |
|
| SurgSim::Physics::TEST_F (Fem3DVSTruthCubeRenderTests, Test5percentsStrain) |
| Simulate truth cube with 5% strain (4mm of displacement). More...
|
|
| SurgSim::Physics::TEST_F (Fem3DVSTruthCubeRenderTests, Test12percentsAndHalfStrain) |
| Simulate truth cube with 12.5% strain (10mm of displacement). More...
|
|
| SurgSim::Physics::TEST_F (Fem3DVSTruthCubeRenderTests, Test18percentsAndQuarterStrain) |
| Simulate truth cube with 18.25% strain (14.6mm of displacement). More...
|
|